]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/bmpcboxg.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / generic / bmpcboxg.cpp
index 010132792fc4e928fec16bb00f8107a9817fcc39..029d8a5463ef7d28073fb3b20f50730472c44764 100644 (file)
@@ -128,7 +128,7 @@ bool wxBitmapComboBox::Create(wxWindow *parent,
 
 wxBitmapComboBox::~wxBitmapComboBox()
 {
-    Clear();
+    DoClear();
 }
 
 // ----------------------------------------------------------------------------
@@ -337,7 +337,7 @@ void wxBitmapComboBox::OnDrawItem(wxDC& dc,
     {
         text = GetString(item);
     }
-    
+
     wxBitmapComboBoxBase::DrawItem(dc, rect, item, text, flags);
 }