X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c9ff74f050981e989f09cf5f5d27044b807e73a..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/xrc/xh_statbar.h diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index 395170aa02..d4213b46e1 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -1,9 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_statbar.h +// Name: wx/xrc/xh_statbar.h // Purpose: XML resource handler for wxStatusBar // Author: Brian Ravnsgaard Riis // Created: 2004/01/21 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) 2004 Brian Ravnsgaard Riis // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -11,20 +11,20 @@ #ifndef _WX_XH_STATBAR_H_ #define _WX_XH_STATBAR_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xh_statbar.h" -#endif - #include "wx/xrc/xmlres.h" +#if wxUSE_XRC && wxUSE_STATUSBAR + class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) - 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_