]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tabctrl.cpp
fix printf() argument type in GetOsInfo()
[wxWidgets.git] / src / os2 / tabctrl.cpp
index 8c35755897f7d42611598c9164a419db1c4914d7..6371d7a13af1fe83597902f7d101c55f8b734d16 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        tabctrl.cpp
+// Name:        src/os2/tabctrl.cpp
 // Purpose:     wxTabCtrl
 // Author:      David Webster
 // Modified by:
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_TAB_DIALOG
+
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
+    #include "wx/wx.h"
+    #include "wx/app.h"
 #endif
 
 #include "malloc.h"
@@ -23,7 +26,6 @@
 
 //#include "wx/msw/dib.h"
 #include "wx/os2/tabctrl.h"
-#include "wx/app.h"
 #include "wx/os2/private.h"
 #include "wx/generic/imaglist.h"
 
@@ -79,7 +81,7 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
 
     SubclassWin((WXHWND) hWndTabCtrl);
 
-    return FALSE;
+    return false;
 }
 
 wxTabCtrl::~wxTabCtrl()
@@ -354,3 +356,5 @@ wxTabEvent::wxTabEvent(wxEventType commandType, int id)
            :wxCommandEvent(commandType, id)
 {
 }
+
+#endif // wxUSE_TAB_DIALOG