X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819559b2ac7d2250097ce0b1d9d443164752be09..64ea838d8f4d1853b7d850db93ee565e901d099a:/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);