]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tabctrl.cpp
fixes for non precompiled headers
[wxWidgets.git] / src / msw / tabctrl.cpp
index b2a69f6e77ad7f8909344153e5b0a7e7737071e8..21eb96131ece31557585261e9858108e1fda0545 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
+#if wxUSE_TAB_DIALOG
+
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
+    #include "wx/msw/wrapcctl.h" // include <commctrl.h> "properly"
+    #include "wx/wx.h"
+    #include "wx/app.h"
 #endif
 
 #include "wx/msw/private.h"
 
-// include <commctrl.h> "properly"
-#include "wx/msw/wrapcctl.h"
-
 #include "wx/tabctrl.h"
-#include "wx/app.h"
 #include "wx/msw/imaglist.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
@@ -428,3 +428,5 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height)
 
 }
 #endif
+
+#endif // wxUSE_TAB_DIALOG