X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..eeea3b039ef9bf03c17f80ab911cf65f084731bd:/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);