]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
compilation fix
[wxWidgets.git] / src / msw / choice.cpp
index c6a9f7909f1286279a058759f7965290cddc90df..0f7d86ec3bca2c99dc17f276a4b23330169fea14 100644 (file)
@@ -85,10 +85,12 @@ bool wxChoice::Create(wxWindow *parent,
     return TRUE;
 }
 
+/*
 wxChoice::~wxChoice()
 {
     Free();
 }
+*/
 
 // ----------------------------------------------------------------------------
 // adding/deleting items to/from the list
@@ -119,11 +121,12 @@ void wxChoice::Delete(int n)
 
 void wxChoice::Clear()
 {
-    Free();
+//    Free();
 
     SendMessage(GetHwnd(), CB_RESETCONTENT, 0, 0);
 }
 
+/*
 void wxChoice::Free()
 {
     if ( HasClientObjectData() )
@@ -135,6 +138,7 @@ void wxChoice::Free()
         }
     }
 }
+*/
 
 // ----------------------------------------------------------------------------
 // selection