X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ff9d30c0aab3b281ef9b380eac17435556c5088..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index e9366a1e38..ebbd47c37c 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -131,7 +131,7 @@ void wxStaticText::SetLabel( const wxString& str ) GTKSetLabelForLabel(GTK_LABEL(m_widget), label); // adjust the label size to the new label unless disabled - if ( !HasFlag(wxST_NO_AUTORESIZE) && + if ( !HasFlag(wxST_NO_AUTORESIZE) && !IsEllipsized() ) // if ellipsize is ON, then we don't want to get resized! SetSize( GetBestSize() ); }