]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
Made wxDataViewCtrl sample use a real, expandabl data tree
[wxWidgets.git] / src / gtk / choice.cpp
index ef4a9e61d197c48d62cf9547f9a52dd7adaa55d3..69ca48117405b9041650a3cbf8c024edf6572967 100644 (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;
         }