X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0fb0f3c71c527b5c5cb839355c88766b6f8c888..67393addd823ea1a9b653a93c8554e7fd013ecfa:/include/wx/xrc/xh_statbar.h diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index 7e57e00d2f..1a2787b125 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_statbar.h +// Name: wx/xrc/xh_statbar.h // Purpose: XML resource handler for wxStatusBar // Author: Brian Ravnsgaard Riis // Created: 2004/01/21 @@ -11,19 +11,20 @@ #ifndef _WX_XH_STATBAR_H_ #define _WX_XH_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_statbar.h" -#endif - #include "wx/xrc/xmlres.h" -class WXXMLDLLEXPORT wxStatusBarXmlHandler : public wxXmlResourceHandler +#if wxUSE_XRC && wxUSE_STATUSBAR + +class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler { - public: - wxStatusBarXmlHandler(); - virtual wxObject *DoCreateResource(); - virtual bool CanHandle(wxXmlNode *node); + DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) + +public: + wxStatusBarXmlHandler(); + virtual wxObject *DoCreateResource(); + virtual bool CanHandle(wxXmlNode *node); }; -#endif // _WX_XH_STATBAR_H_ +#endif // wxUSE_XRC && wxUSE_STATUSBAR +#endif // _WX_XH_STATBAR_H_