]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/tabctrl.cpp
[ 1509599 ] 'Split pickers page in widgets sample' with more icons and rebaking.
[wxWidgets.git] / src / palmos / tabctrl.cpp
index b9afda7b3df2bcb416e4fd95491e373f78e9a9cc..17f24e94204eb231658c1abaf57df6b7231b856b 100644 (file)
@@ -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