reverted last changes by DW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user