X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..9e565667d0f29605c948ad6e742310798e3b2d0d:/src/xrc/xh_frame.cpp diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index 892a9e38aa..b575f8bd8b 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -79,7 +79,7 @@ wxObject *wxFrameXmlHandler::DoCreateResource() if (HasParam(wxT("pos"))) frame->Move(GetPosition()); if (HasParam(wxT("icon"))) - frame->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON)); + frame->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON)); SetupWindow(frame);