]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_collpane.cpp
fixing modal dialog quit after nested message box problem
[wxWidgets.git] / src / xrc / xh_collpane.cpp
index bad9bcd9df42ae1213ea6e3f6c1cea2d6aa3e673..93ab13c3973e9dd4fec13fcd76f463109cbe3955 100644 (file)
@@ -54,7 +54,7 @@ wxObject *wxCollapsiblePaneXmlHandler::DoCreateResource()
         }
         else
         {
-            wxLogError(wxT("Error in resource: no control within collapsible pane's <panewindow> tag."));
+            ReportError("no control within panewindow");
             return NULL;
         }
     }
@@ -65,7 +65,7 @@ wxObject *wxCollapsiblePaneXmlHandler::DoCreateResource()
         wxString label = GetParamValue(wxT("label"));
         if (label.empty())
         {
-            wxLogError(wxT("Error in resource: empty label for wxCollapsiblePane"));
+            ReportParamError("label", "label cannot be empty");
             return NULL;
         }