]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_notbk.cpp
todos, cleanups, detabified
[wxWidgets.git] / src / xrc / xh_notbk.cpp
index 1a0c7b14b4d834d7c3c0b0a924bcc40e1d43d9fd..5248793026e29af0cfaefa808a1e2b61dab4ec97 100644 (file)
@@ -19,9 +19,9 @@
     #pragma hdrstop
 #endif
 
-#include "wx/xrc/xh_notbk.h"
+#if wxUSE_XRC && wxUSE_NOTEBOOK
 
-#if wxUSE_NOTEBOOK
+#include "wx/xrc/xh_notbk.h"
 
 #include "wx/log.h"
 #include "wx/notebook.h"
@@ -98,4 +98,4 @@ bool wxNotebookXmlHandler::CanHandle(wxXmlNode *node)
             (m_isInside && IsOfClass(node, wxT("notebookpage"))));
 }
 
-#endif
+#endif // wxUSE_XRC && wxUSE_NOTEBOOK