]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/helpwin.cpp
fix crash which happened if you called SetAttr(NULL) followed by SetAttr(attr) (...
[wxWidgets.git] / src / os2 / helpwin.cpp
index 19c6c00e4a924c279c8b6c41b0d56877c912b800..dacf83e5249621dc793114c7d77116aca35029e4 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_HELP
+
 #ifndef WX_PRECOMP
-#include "wx/defs.h"
 #endif
 
 #include "wx/os2/helpwin.h"
 
-#if wxUSE_HELP
 #include <time.h>
 
 #include "wx/os2/private.h"
@@ -150,4 +150,5 @@ bool wxWinHelpController::Quit()
 void wxWinHelpController::OnQuit()
 {
 }
+
 #endif // wxUSE_HELP