X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819559b2ac7d2250097ce0b1d9d443164752be09..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/xrc/xh_propdlg.cpp diff --git a/src/xrc/xh_propdlg.cpp b/src/xrc/xh_propdlg.cpp index 0dd4f168f8..8a7b102e93 100644 --- a/src/xrc/xh_propdlg.cpp +++ b/src/xrc/xh_propdlg.cpp @@ -113,7 +113,8 @@ wxObject *wxPropertySheetDialogXmlHandler::DoCreateResource() GetStyle(), GetName()); - if (HasParam(wxT("icon"))) dlg->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON)); + if (HasParam(wxT("icon"))) + dlg->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON)); SetupWindow(dlg);