X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5db28fd7cda3943b41e86a731c65358284bb0ce..c33edc08d6a5f6937624347f25934937164c13a1:/include/wx/xrc/xh_wizrd.h diff --git a/include/wx/xrc/xh_wizrd.h b/include/wx/xrc/xh_wizrd.h index aa5dfbf972..a9ff5d0768 100644 --- a/include/wx/xrc/xh_wizrd.h +++ b/include/wx/xrc/xh_wizrd.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_wizrd.h +// Name: wx/xrc/xh_wizrd.h // Purpose: XML resource handler for wxWizard // Author: Vaclav Slavik // Created: 2003/03/02 @@ -9,20 +9,19 @@ ///////////////////////////////////////////////////////////////////////////// #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_CORE wxWizard; +class WXDLLIMPEXP_FWD_CORE wxWizardPageSimple; -class WXXMLDLLEXPORT wxWizardXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxWizardXmlHandler : public wxXmlResourceHandler { + DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler) + public: wxWizardXmlHandler(); virtual wxObject *DoCreateResource(); @@ -33,6 +32,6 @@ private: wxWizardPageSimple *m_lastSimplePage; }; -#endif +#endif // wxUSE_XRC && wxUSE_WIZARDDLG -#endif // _WX_XH_PANEL_H_ +#endif // _WX_XH_WIZRD_H_