#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()
{
if ( !m_combobox )
{
- wxLogError(_("XRC syntex error: ownerdrawnitem only allowed within "
- " a bitmapcombobox!"));
+ ReportError("ownerdrawnitem only allowed within a wxBitmapComboBox");
return NULL;
}