]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_mdi.h
implemented GetBestSize() (TODO: make this available in generic version as well)
[wxWidgets.git] / include / wx / xrc / xh_mdi.h
index 7d5d8809cea45122a0485b8b012cb7665f666062..69327ca5e7dc5e52793c0459f341c16613a75155 100644 (file)
 #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)
 };