]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/bmpcboxg.cpp
Added wxDataViewBitmapCell
[wxWidgets.git] / src / generic / bmpcboxg.cpp
index 88d9cd721898a24050698a81be91b18850adb300..d7af0024032027fc7aebb41d25ba896bb441f0de 100644 (file)
@@ -35,6 +35,7 @@
 
 #include "wx/odcombo.h"
 #include "wx/settings.h"
+#include "wx/dc.h"
 
 #if wxUSE_IMAGE
     #include "wx/image.h"
@@ -65,7 +66,7 @@ const wxChar wxBitmapComboBoxNameStr[] = wxT("bitmapComboBox");
 
 
 BEGIN_EVENT_TABLE(wxBitmapComboBox, wxOwnerDrawnComboBox)
-    EVT_SIZE(wxBitmapComboBox::OnResize)
+    EVT_SIZE(wxBitmapComboBox::OnSize)
 END_EVENT_TABLE()
 
 
@@ -325,7 +326,7 @@ void wxBitmapComboBox::DetermineIndent()
     SetCustomPaintWidth(indent);
 }
 
-void wxBitmapComboBox::OnResize(wxSizeEvent& event)
+void wxBitmapComboBox::OnSize(wxSizeEvent& event)
 {
     // Prevent infinite looping
     if ( !m_inResize )