X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..bb8afd6543a0301574120fbe2552e15144d85ccb:/src/xrc/xh_frame.cpp?ds=inline 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);