X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..f014d4bf3e18198c273b3c119ad1a08d46d12c82:/include/wx/xrc/xh_scwin.h?ds=inline diff --git a/include/wx/xrc/xh_scwin.h b/include/wx/xrc/xh_scwin.h index 1befc41215..f88f7359e8 100644 --- a/include/wx/xrc/xh_scwin.h +++ b/include/wx/xrc/xh_scwin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SCWIN_H_ #define _WX_XH_SCWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_scwin.h" #endif @@ -20,8 +20,9 @@ -class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxScrolledWindowXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler) public: wxScrolledWindowXmlHandler(); virtual wxObject *DoCreateResource();