]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpcbox.cpp
do not add files in wxDebugReport::AddFile if copy failed
[wxWidgets.git] / src / xrc / xh_bmpcbox.cpp
index 464f75b79fad172001882c7b04e5a9502cf84c35..43936df9dd8e66eb3dae870e46d1e32041fe1b0a 100644 (file)
@@ -44,8 +44,7 @@ wxObject *wxBitmapComboBoxXmlHandler::DoCreateResource()
     {
         if ( !m_combobox )
         {
     {
         if ( !m_combobox )
         {
-            wxLogError(_("XRC syntex error: ownerdrawnitem only allowed within "
-                         " a bitmapcombobox!"));
+            ReportError("ownerdrawnitem only allowed within a wxBitmapComboBox");
             return NULL;
         }
 
             return NULL;
         }