]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpcbox.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / xrc / xh_bmpcbox.cpp
index 464f75b79fad172001882c7b04e5a9502cf84c35..f88dc7bc3fb3c0e58eac0288f2675797ebb593cf 100644 (file)
@@ -26,6 +26,8 @@
 
 #include "wx/bmpcbox.h"
 
+#include "wx/xml/xml.h"
+
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler, wxXmlResourceHandler)
 
 wxBitmapComboBoxXmlHandler::wxBitmapComboBoxXmlHandler()
@@ -44,8 +46,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;
         }