Invalidate best size after string change in wxChoice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-05-29 08:09:03 +00:00
parent a29d690d6e
commit b3f62dd521

View File

@ -373,6 +373,8 @@ void wxChoice::SetString(unsigned int n, const wxString& str)
wxASSERT_MSG( label != NULL , wxT("wxChoice: invalid label") );
gtk_label_set_text( label, wxGTK_CONV( str ) );
InvalidateBestSize();
return;
}