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

Offline gd_on

  • Regular
  • ***
  • Posts: 467
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 3.1.2, Compilers 8.1.0, 32 bits (sjlj, posix : gcc and gfortran installed in C:\MinGW32) or 64 bits by Compilers 8.1.0 (seh, posix : in C:\MinGW64).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11899
    • 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!]