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:
parent
a29d690d6e
commit
b3f62dd521
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user