From: Robert Roebling Date: Tue, 29 May 2007 08:09:03 +0000 (+0000) Subject: Invalidate best size after string change in wxChoice. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b3f62dd5210576c97fcb5f3a74c210e7d5201494 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 --- diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index ef4a9e61d1..69ca481174 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -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; }