X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a0348c44940b6cb06811fc99e9c0218cc856ec3..87cc1cc772c106ebd7e9bae9941ed2c002f4706a:/include/wx/xrc/xh_mdi.h diff --git a/include/wx/xrc/xh_mdi.h b/include/wx/xrc/xh_mdi.h index 7d5d8809ce..3ee7fbe973 100644 --- a/include/wx/xrc/xh_mdi.h +++ b/include/wx/xrc/xh_mdi.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_mdi.h +// Name: wx/xrc/xh_mdi.h // Purpose: XML resource handler for dialogs // Author: David M. Falkinder & Vaclav Slavik // Created: 14/02/2005 @@ -11,15 +11,11 @@ #ifndef _WX_XH_MDI_H_ #define _WX_XH_MDI_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xh_mdi.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_MDI -class WXDLLIMPEXP_CORE wxFrame; +class WXDLLIMPEXP_CORE wxWindow; class WXDLLIMPEXP_XRC wxMdiXmlHandler : public wxXmlResourceHandler { @@ -29,7 +25,7 @@ public: virtual bool CanHandle(wxXmlNode *node); private: - wxFrame *CreateFrame(); + wxWindow *CreateFrame(); DECLARE_DYNAMIC_CLASS(wxMdiXmlHandler) };