Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: gd_on on May 28, 2018, 05:44:03 pm

Title: wxcustombutton and tooltip in wxSmith
Post by: gd_on 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
Title: Re: wxcustombutton and tooltip in wxSmith
Post by: oBFusCATed 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.