]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_statbar.h
Remove connection of MyDllApp::OnIdle() handler in the dll sample.
[wxWidgets.git] / include / wx / xrc / xh_statbar.h
index dfbd2526facfcdf3449ac0fb2e22ab6bd62b8c15..d4213b46e1a3472d758697cf69b11dde2779d78c 100644 (file)
@@ -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
 /////////////////////////////////////////////////////////////////////////////
 
 #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_