]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_scwin.h
Make SaveFile and LoadFile virtual so they can be overridden
[wxWidgets.git] / include / wx / xrc / xh_scwin.h
index c30c082166196cd86670b386453eacc061ecd80c..64723dc446a1fbcada503e864f331faa96caa1fc 100644 (file)
 #define _WX_XH_SCWIN_H_
 
 #include "wx/xrc/xmlres.h"
-#include "wx/defs.h"
-
 
+#if wxUSE_XRC
 
 class WXDLLIMPEXP_XRC wxScrolledWindowXmlHandler : public wxXmlResourceHandler
 {
-DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler)
+
 public:
     wxScrolledWindowXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 };
 
+#endif // wxUSE_XRC
 
 #endif // _WX_XH_SCWIN_H_