#ifndef WX_PRECOMP
#include "wx/intl.h"
+ #include "wx/log.h"
#endif
#include "wx/bmpcbox.h"
{
if ( !m_combobox )
{
- wxLogError(_("XRC syntex error: ownerdrawnitem only allowed within "
- " a bitmapcombobox!"));
+ ReportError("ownerdrawnitem only allowed within a wxBitmapComboBox");
return NULL;
}