News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

rev3645 and wxListImage in wxSmith

Started by SharkCZ, February 28, 2007, 03:15:30 PM

Previous topic - Next topic

SharkCZ

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
Code::Blocks package maintainer for Fedora and EPEL

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