/////////////////////////////////////////////////////////////////////////////
-// 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"
 
 //#include "wx/msw/dib.h"
 #include "wx/os2/tabctrl.h"
-#include "wx/app.h"
 #include "wx/os2/private.h"
 #include "wx/generic/imaglist.h"
 
 
     SubclassWin((WXHWND) hWndTabCtrl);
 
-    return FALSE;
+    return false;
 }
 
 wxTabCtrl::~wxTabCtrl()
            :wxCommandEvent(commandType, id)
 {
 }
+
+#endif // wxUSE_TAB_DIALOG