News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wxcustombutton and tooltip in wxSmith

Started by gd_on, May 28, 2018, 05:44:03 PM

Previous topic - Next topic

gd_on

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
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

oBFusCATed

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!]