News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

wxSmith, wxAui with custom wxArtProvider

Started by cacb, January 18, 2017, 11:07:11 PM

Previous topic - Next topic

cacb

Hi I use Code::Blocks, wxSmith and wxAui for some time, and recently figured I would use a custom wxArtProvider in a wxAuiToolBar generated by wxSmith. This works as you can specify string identifiers as well as the usual wxART_FILE_OPEN etc.

However, if you do that, wxAuiToolBar editing in wxSmith becomes complicated because the toolbar items do not show any bitmap at all when using custom string identifiers (true for both Windows and Linux). It is quite understandable that wxSmith does not know about the custom identifiers, but it would be much easier if the toolbar items had some kind of default item image, e.g. the "custom control" icon used elsewhere.

Is there something I have overlooked with this? If not, I suggest using a default icon such as "custom control" when wxSmith gets an identifier it does not recognise.

oBFusCATed

All I can say is patches are welcome.  8)
Shouldn't be that hard to add this feature.
(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!]