X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32c77a71336262a7d7d5e79ac690a4bff78d1c92..93cf77c076b699e8e0b3b0049bd4f80de15997dd:/src/gtk1/control.cpp diff --git a/src/gtk1/control.cpp b/src/gtk1/control.cpp index 3c7f89d95b..7979f34d5c 100644 --- a/src/gtk1/control.cpp +++ b/src/gtk1/control.cpp @@ -38,6 +38,7 @@ void wxControl::Command( wxCommandEvent &WXUNUSED(event) ) void wxControl::SetLabel( const wxString &label ) { + m_label = ""; for ( const char *pc = label; *pc != '\0'; pc++ ) { if ( *pc == '&' ) { pc++; // skip it