// Purpose: XRC resource for wxBitmapComboBox
// Author: Jaakko Salli
// Created: Sep-10-2006
-// RCS-ID: $Id$
// Copyright: (c) 2006 Jaakko Salli
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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;
}