]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed toolbar crash for MinGW/Cygwin
authorMattia Barbon <mbarbon@cpan.org>
Sat, 16 Feb 2002 20:19:16 +0000 (20:19 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 16 Feb 2002 20:19:16 +0000 (20:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/tbarbase.cpp
src/msw/tbar95.cpp

index 4279126dd41d706ba3d1b64d6c5ff2096232c147..91b6a23e2891d1606f67cdf64efcca9df6150481 100644 (file)
@@ -31,6 +31,7 @@
 #if wxUSE_TOOLBAR
 
 #ifndef WX_PRECOMP
+    #include "wx/control.h"
 #endif
 
 #include "wx/frame.h"
index af6e2fae7f481df2cf07e0171b1ac957931ad4c5..7ec5232a1726dc54876ddf7dcfe858b41bae64ee 100644 (file)
@@ -36,6 +36,7 @@
     #include "wx/settings.h"
     #include "wx/bitmap.h"
     #include "wx/dcmemory.h"
+    #include "wx/control.h"
 #endif
 
 #if wxUSE_TOOLBAR && defined(__WIN95__) && wxUSE_TOOLBAR_NATIVE