Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxSmith isues
sodev:
Different ArtProvider, looks like your application uses another one by default than CodeBlocks, try to set one explicit before loading any ressources.
gtafan:
--- Quote from: sodev on March 21, 2018, 05:06:40 pm ---Different ArtProvider, looks like your application uses another one by default than CodeBlocks, try to set one explicit before loading any ressources.
--- End quote ---
And how should I set it?
sodev:
Well, technically http://docs.wxwidgets.org/trunk/classwx_art_provider.html, but apparently, in contrast to the Art-Providers for the various AUI-Elements, there is only one implementation available.
Your screenshots are from windows so themes are also not a problem. But your previous screenshots show that your CodeBlocks is compiled against wxWidgets 2.8, is your application by chance compiled against wxWidgets 3.x? Because i just did a test with my wxWidgets 3.x trunk version and my icons look like your "wrong" ones. While there are still xpm's with the "correct" look available, there seem to be also tango-style versions present, sadly only as char-arrays with png raw-pixeldata and i didnt convert them into pictures to see how they look. So probably the Art-Provider picks these up instead, no idea how this can be changed.
gtafan:
--- Quote from: sodev on March 22, 2018, 06:28:00 pm ---Well, technically http://docs.wxwidgets.org/trunk/classwx_art_provider.html, but apparently, in contrast to the Art-Providers for the various AUI-Elements, there is only one implementation available.
Your screenshots are from windows so themes are also not a problem. But your previous screenshots show that your CodeBlocks is compiled against wxWidgets 2.8, is your application by chance compiled against wxWidgets 3.x? Because i just did a test with my wxWidgets 3.x trunk version and my icons look like your "wrong" ones. While there are still xpm's with the "correct" look available, there seem to be also tango-style versions present, sadly only as char-arrays with png raw-pixeldata and i didnt convert them into pictures to see how they look. So probably the Art-Provider picks these up instead, no idea how this can be changed.
--- End quote ---
Have no idea which wxWidget version was used to compile my CodeBlocks version agains, as I have instaled a compiled version. Looks like the best solution would be to have that icons included hardcoded in the rc file.
oBFusCATed:
You can see this on the start here page or in the about dialog.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version