#include "wx/odcombo.h"
#include "wx/settings.h"
+#include "wx/dc.h"
#if wxUSE_IMAGE
#include "wx/image.h"
BEGIN_EVENT_TABLE(wxBitmapComboBox, wxOwnerDrawnComboBox)
- EVT_SIZE(wxBitmapComboBox::OnResize)
+ EVT_SIZE(wxBitmapComboBox::OnSize)
END_EVENT_TABLE()
SetCustomPaintWidth(indent);
}
-void wxBitmapComboBox::OnResize(wxSizeEvent& event)
+void wxBitmapComboBox::OnSize(wxSizeEvent& event)
{
// Prevent infinite looping
if ( !m_inResize )