]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/combobox.cpp
try to create smaller executables
[wxWidgets.git] / src / mac / combobox.cpp
index 664d142f402dc35e411292b4ad9bf24bbd206561..feee187143e5a192f0a9ebe4217250aec6bf9420 100644 (file)
@@ -408,6 +408,10 @@ void wxComboBox::Append(const wxString& item)
 
 void wxComboBox::Delete(int n)
 {
+    if ( HasClientObjectData() )
+    {
+        SetClientObject(n, NULL);
+    }
     m_choice->Delete( n );
 }