Author Topic: wxcustombutton and tooltip in wxSmith  (Read 390 times)

Offline gd_on

  • Regular
  • ***
  • Posts: 416
wxcustombutton and tooltip in wxSmith
« on: May 28, 2018, 05:44:03 pm »
With wxSmith, I can create a wxcustombutton which displays a small image and use it as a toggle button or standard button. I can also set a tooltip text. This tooltip is effectively written in the .wxs file but nothing seems to be written by wxSmith or available in automatically updated .cpp or .h files. How I can retrieve my tooltip text and display it when I pass the mouse over my button ? Is it possible with wxSmith ?
gd_on
« Last Edit: May 28, 2018, 06:24:17 pm by gd_on »
Windows 10 or 7, svn C::B (last version or almost!), WxWidgets 2.8.12, Compilers TDM 4.9.2 32 bits (gcc and gfortran installed in C:\MinGW32). Tests with C::B 64 bits and WxWidgets 2.8.12 or 3.1.1 (64 bits) compiled by TDM 4.9.2 in C:\MinGW64

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11131
    • Travis build status
Re: wxcustombutton and tooltip in wxSmith
« Reply #1 on: May 28, 2018, 07:57:16 pm »
Probably it is a bug. It will probably be fastest to study the code of wxsmith and see why it doesn't set the tooltip. :(
I guess you could search for files with names like wxscustombutton or similar.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]