X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819559b2ac7d2250097ce0b1d9d443164752be09..f740587c9d406b5c7087853b85dbbb353362cb9a:/src/xrc/xh_mdi.cpp?ds=sidebyside diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index f6fea842dd..50a7ed1cb7 100644 --- a/src/xrc/xh_mdi.cpp +++ b/src/xrc/xh_mdi.cpp @@ -117,7 +117,7 @@ wxObject *wxMdiXmlHandler::DoCreateResource() { wxFrame* f = wxDynamicCast(frame, wxFrame); if (f) - f->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON)); + f->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON)); } SetupWindow(frame);