]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tabctrl.cpp
don't compare invalid iterators/node pointers
[wxWidgets.git] / src / os2 / tabctrl.cpp
index 8c35755897f7d42611598c9164a419db1c4914d7..17f9df9127f8686dd7580df68314f1b4fa4f12a7 100644 (file)
@@ -12,6 +12,8 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_TAB_DIALOG
+
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
@@ -354,3 +356,5 @@ wxTabEvent::wxTabEvent(wxEventType commandType, int id)
            :wxCommandEvent(commandType, id)
 {
 }
+
+#endif // wxUSE_TAB_DIALOG