X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07acc3cc570b75b625234225bf2e3b3be2ad3a97..815f65bd0f673965230ed915d794497a8818dd35:/src/xrc/xh_bmpcbox.cpp diff --git a/src/xrc/xh_bmpcbox.cpp b/src/xrc/xh_bmpcbox.cpp index 87c4c20e19..43936df9dd 100644 --- a/src/xrc/xh_bmpcbox.cpp +++ b/src/xrc/xh_bmpcbox.cpp @@ -21,6 +21,7 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/log.h" #endif #include "wx/bmpcbox.h" @@ -43,8 +44,7 @@ wxObject *wxBitmapComboBoxXmlHandler::DoCreateResource() { if ( !m_combobox ) { - wxLogError(_("XRC syntex error: ownerdrawnitem only allowed within " - " a bitmapcombobox!")); + ReportError("ownerdrawnitem only allowed within a wxBitmapComboBox"); return NULL; }