X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..777469ca936965a1ed15f70f3fe81f665833bf6a:/src/xrc/xh_dlg.cpp?ds=sidebyside diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index 95a930b86c..3edffae5ef 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -3,7 +3,6 @@ // Purpose: XRC resource for dialogs // Author: Vaclav Slavik // Created: 2000/03/05 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,11 +21,10 @@ #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/log.h" + #include "wx/frame.h" + #include "wx/dialog.h" #endif -#include "wx/dialog.h" -#include "wx/frame.h" - IMPLEMENT_DYNAMIC_CLASS(wxDialogXmlHandler, wxXmlResourceHandler) wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler() @@ -74,7 +72,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource() if (HasParam(wxT("pos"))) dlg->Move(GetPosition()); if (HasParam(wxT("icon"))) - dlg->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON)); + dlg->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON)); SetupWindow(dlg);