X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c9ff74f050981e989f09cf5f5d27044b807e73a..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/xrc/xh_scwin.h diff --git a/include/wx/xrc/xh_scwin.h b/include/wx/xrc/xh_scwin.h index f88f7359e8..64723dc446 100644 --- a/include/wx/xrc/xh_scwin.h +++ b/include/wx/xrc/xh_scwin.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_scwin.h +// Name: wx/xrc/xh_scwin.h // Purpose: XML resource handler for wxScrolledWindow // Author: Vaclav Slavik // Created: 2002/10/18 @@ -11,23 +11,20 @@ #ifndef _WX_XH_SCWIN_H_ #define _WX_XH_SCWIN_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xh_scwin.h" -#endif - #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_