X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..cf25a599cd5ec86b3e054efb799dfbafe26a0d50:/src/xrc/xh_dlg.cpp diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index cd50f4a96c..268d60f4f1 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -73,7 +73,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);