Bug #13500 2008-03-30 11:23
riban
Setting the icon of a wxFrame causes compile error
If you use wxSmith to set the icon of a wxFrame to an image from file, an error is thrown at compile time:
error: aggregate `wxIcon FrameIcon' has incomplete type and cannot be defined
I believe this is because <wx/icon.h> is not included. I manually added the include and it works okay.
This is true in release 8.02 on Windows and Ubuntu.
- Category
- Plugin::wxSmith
- Group
- Status
- Closed
- Close date
- 2008-04-27 09:32
- Assigned to
- biplab
History
biplab 2008-04-27 09:32
This bug is now fixed in HEAD.
Thank you for reporting it.