The class wxImagePanel is not part of wxWidgets, but when the class is inserted using wxSmith the code generator adds the line
#include "wx/wxImagePanel"
This would force the user to add an own implementation of this class to the original wxWidgets source folder (which certainly is a bad idea) or put in in a "wx" folder in the projects root folder. Thats what I did to be able to use it with wxSmith. But i think its very rude to force the developer how to structure his/her project.
So I suggest to remove this include line altogether from the generated code.
Reason: when I include a wxSmith "Contrib" item, I am well aware that an #include us required in the header file.
I manually did this. (I mean I create a "wx" folder in my project's root folder)
I think the original idea about this "wx/" prefix is that it follows the wx's code base structure.
There is another issue about the path, I see that the
.wxs
file is always located in the root folder of the cbp, sometimes, my code has many plugins, and I would like that the.wxs
file should go to some sub folders, but there is no way to change it.The only way I can do is to manually edit the
.cbp
file, and change the path inside this file.Last edit: ollydbg 2024-06-03