]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_mdi.cpp
make sure 10.4 command-key events are routed via the wx-accelerator route as well...
[wxWidgets.git] / src / xrc / xh_mdi.cpp
index f6fea842ddcb9ac6041a4a896fcc0b33d1814143..50a7ed1cb79f8cccf9f59e24cf7988d8019301c6 100644 (file)
@@ -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);