X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ff9d30c0aab3b281ef9b380eac17435556c5088..b3cec67186d678d2c3985923bdb8c787455cf369:/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() ); }