From e583c01cceb69093e97830a0cf57385488cda027 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Tue, 29 May 2007 08:10:06 +0000 Subject: [PATCH] Invalidate best size after wxChoice::SetString() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/choice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 02b6c41b2a..8de9414838 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -382,6 +382,8 @@ void wxChoice::SetString(unsigned int n, const wxString& str) gtk_label_set_text( label, wxGTK_CONV( str ) ); + InvalidateBestSize(); + return; } child = child->next;