]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_wizrd.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_wizrd.h
index 574e735b89241e7aa74022390428f0ae6dfe7b0c..486cf5d9631660f56dec4a1a3094ab49fe2777de 100644 (file)
@@ -1,29 +1,26 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_wizrd.h
+// Name:        wx/xrc/xh_wizrd.h
 // Purpose:     XML resource handler for wxWizard
 // Author:      Vaclav Slavik
 // Created:     2003/03/02
-// RCS-ID:      $Id$
 // Copyright:   (c) 2000 Vaclav Slavik
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_XH_WIZRD_H_
-#define _WX_XH_WIZRDL_H_
-
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "xh_wizrd.h"
-#endif
+#define _WX_XH_WIZRD_H_
 
 #include "wx/xrc/xmlres.h"
 
-#if wxUSE_WIZARDDLG
+#if wxUSE_XRC && wxUSE_WIZARDDLG
 
-#include "wx/wizard.h"
+class WXDLLIMPEXP_FWD_ADV wxWizard;
+class WXDLLIMPEXP_FWD_ADV wxWizardPageSimple;
 
 class WXDLLIMPEXP_XRC wxWizardXmlHandler : public wxXmlResourceHandler
 {
-DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler)
+
 public:
     wxWizardXmlHandler();
     virtual wxObject *DoCreateResource();
@@ -34,6 +31,6 @@ private:
     wxWizardPageSimple *m_lastSimplePage;
 };
 
-#endif
+#endif // wxUSE_XRC && wxUSE_WIZARDDLG
 
-#endif // _WX_XH_PANEL_H_
+#endif // _WX_XH_WIZRD_H_