X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..64894596ea0351499a68849cb17233d2f16f850d:/src/xrc/xh_mdi.cpp diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index 4cc381ec7e..95fa08e21e 100644 --- a/src/xrc/xh_mdi.cpp +++ b/src/xrc/xh_mdi.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/xrc/xh_mdi.cpp -// Purpose: XRC resource for dialogs +// Purpose: XRC resource for wxMDI // Author: David M. Falkinder & Vaclav Slavik // Created: 14/02/2005 // RCS-ID: $Id$ @@ -18,6 +18,7 @@ #if wxUSE_XRC && wxUSE_MDI #include "wx/xrc/xh_mdi.h" +#include "wx/mdi.h" #ifndef WX_PRECOMP #include "wx/intl.h" @@ -25,8 +26,6 @@ #include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE #endif -#include "wx/mdi.h" - IMPLEMENT_DYNAMIC_CLASS(wxMdiXmlHandler, wxXmlResourceHandler) wxMdiXmlHandler::wxMdiXmlHandler() : wxXmlResourceHandler() @@ -89,7 +88,7 @@ wxWindow *wxMdiXmlHandler::CreateFrame() if ( !mdiParent ) { - wxLogError(wxT("Parent of wxMDIParentFrame must be wxMDIParentFrame.")); + wxLogError(wxT("Parent of wxMDIChildFrame must be wxMDIParentFrame.")); return NULL; }