Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: SharkCZ on February 28, 2007, 03:15:30 PM

Title: rev3645 and wxListImage in wxSmith
Post by: SharkCZ on February 28, 2007, 03:15:30 PM
Hello,
I needed to include <wx/imaglist.h> in wxSmith/wxsresourcetree.cpp to fix a compile error.


--- 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"


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
Title: Re: rev3645 and wxListImage in wxSmith
Post by: byo on March 01, 2007, 12:43:03 AM
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