]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_statbar.h
added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide...
[wxWidgets.git] / include / wx / xrc / xh_statbar.h
index 395170aa02963f3fd741bd30c6ff5b246e16d208..1a2787b125cdfa9e380a3c3be833ee33a19e655a 100644 (file)
@@ -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
 #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_