]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listbk.cpp
fixing param
[wxWidgets.git] / src / xrc / xh_listbk.cpp
index 36138404de0bcdbc162fc734df76c947506df083..470be509bac8231e0426b74327f137672774b914 100644 (file)
@@ -86,12 +86,14 @@ wxObject *wxListbookXmlHandler::DoCreateResource()
                 }
             }
             else
-                wxLogError(wxT("Error in resource."));
+            {
+                ReportError(n, "listbookpage child must be a window");
+            }
             return wnd;
         }
         else
         {
-            wxLogError(wxT("Error in resource: no control within listbook's <page> tag."));
+            ReportError("listbookpage must have a window child");
             return NULL;
         }
     }