#if wxUSE_XRC && wxUSE_MDI
#include "wx/xrc/xh_mdi.h"
+#include "wx/mdi.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE
- #include "wx/mdi.h"
#endif
IMPLEMENT_DYNAMIC_CLASS(wxMdiXmlHandler, wxXmlResourceHandler)
if ( !mdiParent )
{
- wxLogError(wxT("Parent of wxMDIParentFrame must be wxMDIParentFrame."));
+ wxLogError(wxT("Parent of wxMDIChildFrame must be wxMDIParentFrame."));
return NULL;
}