X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..3396739da180ef3f8d006f11f8a13a9e0df7d88d:/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);