]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_propdlg.cpp
Check the result of ToWChar() call in wxTextInputStream::NextChar() better.
[wxWidgets.git] / src / xrc / xh_propdlg.cpp
index 0dd4f168f86eb683294d72eb2bb0a73cad23d510..8a7b102e9346cf65a3efd97125263b4db25f4e8b 100644 (file)
@@ -113,7 +113,8 @@ wxObject *wxPropertySheetDialogXmlHandler::DoCreateResource()
                    GetStyle(),
                    GetName());
 
                    GetStyle(),
                    GetName());
 
-        if (HasParam(wxT("icon"))) dlg->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON));
+        if (HasParam(wxT("icon")))
+            dlg->SetIcons(GetIconBundle(wxT("icon"), wxART_FRAME_ICON));
 
         SetupWindow(dlg);
 
 
         SetupWindow(dlg);