DissociateHandle();
::DestroyWindow(hwnd);
- if ( !MSWCreateControl(wxT("COMBOBOX"), value, pos, size) )
+ if ( !MSWCreateControl(wxT("COMBOBOX"), wxEmptyString, pos, size) )
return;
// initialize the controls contents
}
::SendMessage(GetHwnd(), CB_SETITEMHEIGHT, 0, MeasureItem(0));
+
+ // Revert the old string value
+ ChangeValue(value);
}
wxBitmapComboBox::~wxBitmapComboBox()