X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..f0adbe0ffd7c1f1d3fd21926092d6fafd4fc47dc:/src/msw/stattext.cpp diff --git a/src/msw/stattext.cpp b/src/msw/stattext.cpp index 238c9ce243..a83000876e 100644 --- a/src/msw/stattext.cpp +++ b/src/msw/stattext.cpp @@ -150,6 +150,8 @@ void wxStaticText::SetLabel(const wxString& label) if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) ) { DoSetSize(-1, -1, -1, -1, wxSIZE_AUTO_WIDTH | wxSIZE_AUTO_HEIGHT); + + Refresh(); } }