]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_panel.h
Add new wxEVT_COMMAND_WEB_VIEW_TITLE_CHANGED event. Implement for all backends, exten...
[wxWidgets.git] / include / wx / xrc / xh_panel.h
index b782b381e308de7d73f76b04a7f46360cadd7cb9..9c1bfc0378b221a4debf5253014db760b748c805 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_panel.h
-// Purpose:     XML resource handler for panels
+// Name:        wx/xrc/xh_panel.h
+// Purpose:     XML resource handler for wxPanel
 // Author:      Vaclav Slavik
 // Created:     2000/03/05
 // RCS-ID:      $Id$
 
 #include "wx/xrc/xmlres.h"
 
+#if wxUSE_XRC
+
 class WXDLLIMPEXP_XRC wxPanelXmlHandler : public wxXmlResourceHandler
 {
-DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler)
+
 public:
     wxPanelXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 };
 
+#endif // wxUSE_XRC
 
 #endif // _WX_XH_PANEL_H_