X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..fc2bb342ec223d558682385992f3715e6f092672:/src/xrc/xh_mdi.cpp?ds=sidebyside diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index 9cb9ee2e7c..772c989229 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$ @@ -21,12 +21,11 @@ #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 -#include "wx/mdi.h" -#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE -#include "wx/log.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; }