]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dlg.cpp
Backed-out PNG8 patch (no time to look at why
[wxWidgets.git] / src / xrc / xh_dlg.cpp
index eef07949ec13f492197f863e706d1275055d9a78..b377eab61c0d7851962daa0c70edac421005b43e 100644 (file)
@@ -66,6 +66,8 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
         dlg->SetClientSize(GetSize());
     if (HasParam(wxT("pos")))
         dlg->Move(GetPosition());
+    if (HasParam(wxT("icon")))
+        dlg->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON));
 
     SetupWindow(dlg);