]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
Include wx/scrolwin.h and wx/dirdlg.h according to precompiled headers of wx/wx.h...
[wxWidgets.git] / src / msw / frame.cpp
index 1f06b6cefec6f3f79bfd9ccfcdff76bb33f4a56f..f438b28bb7d51f767760ae78d4d5bf2b1c045267 100644 (file)
@@ -24,8 +24,9 @@
     #pragma hdrstop
 #endif
 
+#include "wx/frame.h"
+
 #ifndef WX_PRECOMP
-    #include "wx/frame.h"
     #include "wx/app.h"
     #include "wx/menu.h"
     #include "wx/utils.h"
     #include "wx/dcclient.h"
     #include "wx/mdi.h"
     #include "wx/panel.h"
+    #include "wx/log.h"
 #endif // WX_PRECOMP
 
 #include "wx/msw/private.h"
 
-#ifdef __WXWINCE__
-#include <commctrl.h>
-#endif
+// include <commctrl.h> "properly"
+#include "wx/msw/wrapcctl.h"
 
 #if defined(__POCKETPC__) || defined(__SMARTPHONE__)
     #include <ole2.h>
@@ -58,7 +59,6 @@
 #endif // wxUSE_TOOLBAR
 
 #include "wx/menuitem.h"
-#include "wx/log.h"
 
 #ifdef __WXUNIVERSAL__
     #include "wx/univ/theme.h"