]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_frame.cpp
Fixed wxRichTextCtrl caret test case
[wxWidgets.git] / src / xrc / xh_frame.cpp
index 892a9e38aa8cc2d98d4b8b16ff258ef762313c25..b575f8bd8bfadce6d3eb0698149917994cedfdff 100644 (file)
@@ -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);