X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..ce5abbf9f5dc0208d9fbc91ad48101f7777299ea:/src/xrc/xh_dlg.cpp?ds=inline 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);