X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324eeecb3cdc9522e136af6670443148772b412a..129b8b1a215fc1fcc1b9f06daa0aeaf22bbce614:/src/palmos/tabctrl.cpp

diff --git a/src/palmos/tabctrl.cpp b/src/palmos/tabctrl.cpp
index b9afda7b3d..17f24e9420 100644
--- a/src/palmos/tabctrl.cpp
+++ b/src/palmos/tabctrl.cpp
@@ -9,25 +9,23 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "tabctrl.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
+#if wxUSE_TAB_DIALOG
+
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
+    #include "wx/wx.h"
+    #include "wx/app.h"
 #endif
 
 #if defined(__WIN95__)
 
 #include "wx/tabctrl.h"
-#include "wx/app.h"
 #include "wx/palmos/imaglist.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
@@ -181,3 +179,4 @@ void wxTabCtrl::SetPadding(const wxSize& padding)
 #endif
     // __WIN95__
 
+#endif // wxUSE_TAB_DIALOG