Author Topic: wxSmith, wxAui with custom wxArtProvider  (Read 1002 times)

Offline cacb

  • Regular
  • ***
  • Posts: 395
wxSmith, wxAui with custom wxArtProvider
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12005
    • Travis build status
Re: wxSmith, wxAui with custom wxArtProvider
« Reply #1 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.
(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!]