]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_choicbk.h
wxXML load/save improvements: added ability to not ignore whitespace and specify...
[wxWidgets.git] / include / wx / xrc / xh_choicbk.h
index 0b156838c3c7b49b40db77dc729e79348c079db3..fd6bfb03c527ae90f5f168749ebef33b0fbd64d5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_choicbk.h
+// Name:        wx/xrc/xh_choicbk.h
 // Purpose:     XML resource handler for wxChoicebook
 // Author:      Vaclav Slavik
 // Copyright:   (c) 2000 Vaclav Slavik
@@ -9,9 +9,11 @@
 #ifndef _WX_XH_CHOICEBK_H_
 #define _WX_XH_CHOICEBK_H_
 
-#include "wx/xrc/xmlres.h"
+#include "wx/defs.h"
+
+#if wxUSE_XRC && wxUSE_CHOICEBOOK
 
-#if wxUSE_CHOICEBOOK
+#include "wx/xrc/xmlres.h"
 
 class WXDLLEXPORT wxChoicebook;
 
@@ -28,6 +30,6 @@ private:
     wxChoicebook *m_choicebook;
 };
 
-#endif
+#endif // wxUSE_XRC && wxUSE_CHOICEBOOK
 
 #endif // _WX_XH_CHOICEBK_H_