X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07acc3cc570b75b625234225bf2e3b3be2ad3a97..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/xrc/xh_bmpcbox.cpp diff --git a/src/xrc/xh_bmpcbox.cpp b/src/xrc/xh_bmpcbox.cpp index 87c4c20e19..533f52fd84 100644 --- a/src/xrc/xh_bmpcbox.cpp +++ b/src/xrc/xh_bmpcbox.cpp @@ -3,7 +3,6 @@ // Purpose: XRC resource for wxBitmapComboBox // Author: Jaakko Salli // Created: Sep-10-2006 -// RCS-ID: $Id$ // Copyright: (c) 2006 Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -21,10 +20,13 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/log.h" #endif #include "wx/bmpcbox.h" +#include "wx/xml/xml.h" + IMPLEMENT_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler, wxXmlResourceHandler) wxBitmapComboBoxXmlHandler::wxBitmapComboBoxXmlHandler() @@ -43,8 +45,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; }