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:
@@ -373,6 +373,8 @@ void wxChoice::SetString(unsigned int n, const wxString& str)
|
|||||||
wxASSERT_MSG( label != NULL , wxT("wxChoice: invalid label") );
|
wxASSERT_MSG( label != NULL , wxT("wxChoice: invalid label") );
|
||||||
|
|
||||||
gtk_label_set_text( label, wxGTK_CONV( str ) );
|
gtk_label_set_text( label, wxGTK_CONV( str ) );
|
||||||
|
|
||||||
|
InvalidateBestSize();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user