X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/xrc/xh_scwin.h diff --git a/include/wx/xrc/xh_scwin.h b/include/wx/xrc/xh_scwin.h index 1befc41215..c2e370016f 100644 --- a/include/wx/xrc/xh_scwin.h +++ b/include/wx/xrc/xh_scwin.h @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_scwin.h +// Name: wx/xrc/xh_scwin.h // Purpose: XML resource handler for wxScrolledWindow // Author: Vaclav Slavik // Created: 2002/10/18 -// RCS-ID: $Id$ // Copyright: (c) 2002 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -11,22 +10,20 @@ #ifndef _WX_XH_SCWIN_H_ #define _WX_XH_SCWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_scwin.h" -#endif - #include "wx/xrc/xmlres.h" -#include "wx/defs.h" - +#if wxUSE_XRC -class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxScrolledWindowXmlHandler : public wxXmlResourceHandler { + DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler) + public: wxScrolledWindowXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC #endif // _WX_XH_SCWIN_H_