From: Vadim Zeitlin Date: Tue, 26 Oct 1999 16:14:24 +0000 (+0000) Subject: reverted last changes by DW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92d2389ec513410bbac3bdea8dc8fdd32476e1df reverted last changes by DW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 0f7d86ec3b..c6a9f7909f 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -85,12 +85,10 @@ bool wxChoice::Create(wxWindow *parent, return TRUE; } -/* wxChoice::~wxChoice() { Free(); } -*/ // ---------------------------------------------------------------------------- // adding/deleting items to/from the list @@ -121,12 +119,11 @@ void wxChoice::Delete(int n) void wxChoice::Clear() { -// Free(); + Free(); SendMessage(GetHwnd(), CB_RESETCONTENT, 0, 0); } -/* void wxChoice::Free() { if ( HasClientObjectData() ) @@ -138,7 +135,6 @@ void wxChoice::Free() } } } -*/ // ---------------------------------------------------------------------------- // selection