Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: cacb on January 18, 2017, 11:07:11 pm

Title: wxSmith, wxAui with custom wxArtProvider
Post by: cacb on January 18, 2017, 11:07:11 pm
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.
Title: Re: wxSmith, wxAui with custom wxArtProvider
Post by: oBFusCATed on January 19, 2017, 01:23:44 am
All I can say is patches are welcome.  8)
Shouldn't be that hard to add this feature.