]> 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 bf888438444a7a141b753820ff81c49488fe5f32..029d8a5463ef7d28073fb3b20f50730472c44764 100644 (file)
@@ -128,7 +128,7 @@ bool wxBitmapComboBox::Create(wxWindow *parent,
 
 wxBitmapComboBox::~wxBitmapComboBox()
 {
 
 wxBitmapComboBox::~wxBitmapComboBox()
 {
-    Clear();
+    DoClear();
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------