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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 795
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 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline oBFusCATed

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