]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_statbar.cpp
better native types for carbon
[wxWidgets.git] / src / xrc / xh_statbar.cpp
index fe14c250d795d4078167fbf72c3bf529a25fb96c..0df6782e19490274dabe8e2b89a49b7410b04a9e 100644 (file)
@@ -79,7 +79,17 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
             else if (first == wxT("wxSB_RAISED"))
                 style[i] = wxSB_RAISED;
             else if (!first.empty())
-                wxLogError(wxT("Error in resource, unknown statusbar field style: ") + first);
+            {
+                ReportParamError
+                (
+                    "styles",
+                    wxString::Format
+                    (
+                        "unknown status bar field style \"%s\"",
+                        first
+                    )
+                );
+            }
 
             if(styles.Find(wxT(',')))
                 styles.Remove(0, styles.Find(wxT(',')) + 1);