Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

rev3645 and wxListImage in wxSmith

(1/1)

SharkCZ:
Hello,
I needed to include <wx/imaglist.h> in wxSmith/wxsresourcetree.cpp to fix a compile error.


--- Code: ------ src/plugins/contrib/wxSmith/wxsresourcetree.cpp     (revision 3648)
+++ src/plugins/contrib/wxSmith/wxsresourcetree.cpp     (working copy)
@@ -25,6 +25,7 @@
 #include "wxsresourcetreeitemdata.h"
 
 #include <wx/image.h>
+#include <wx/imaglist.h>
 #include <wx/intl.h>
 
 #include "configmanager.h"

--- End code ---

C::B rev3645, wxGTK 2.8, Fedora Development

It looks like that in wxMSW imaglist.h is included automaticly via wx.h -> toolbar.h -> tbar95.h

byo:
Yup, it's really annoying :( Sometimes even different distributions / compilers (or whatever) require different set of headers.

Fix committed at rev 3654 :)

Thanks for feedback

BYO

Navigation

[0] Message Index

Go to full version