Patch #1994 2007-05-10 23:44

stahta01

Enable wxSmith build using wxMSW without PCH
Download
1994-Enable_wxSmith.patch (515 bytes)
Category
Plugin::Bugfix
Status
Accepted
Close date
2007-06-04 20:41
Assigned to
 
Index: src/plugins/contrib/wxSmith/wxsresourcetree.h
===================================================================
--- src/plugins/contrib/wxSmith/wxsresourcetree.h    (revision 4032)
+++ src/plugins/contrib/wxSmith/wxsresourcetree.h    (working copy)
@@ -1,6 +1,12 @@
 #ifndef WXSRESOURCETREE_H
 #define WXSRESOURCETREE_H
 
+#ifndef WX_PRECOMP
+#   ifdef __WXMSW__
+#       include <wx/msw/wrapwin.h>  // Needed to prevent LoadImage define bug.
+#   endif
+#endif
+
 #include <wx/treectrl.h>
 
 class wxsResource;
stahta01 2007-05-10 23:51

Please use forum thread for long comments or questions http://forums.codeblocks.org/index.php/topic,5881.msg45006.html#msg45006

stahta01 2007-05-11 01:38

Added CB_PRECOMP guard.

stahta01 2007-05-19 02:41

Updated to match SVN Changes

stahta01 2007-06-01 13:16

Updated to SVN 4032