diff --git a/include/wx/control.h b/include/wx/control.h index 3d745c679e..e2db727b4c 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -74,7 +74,7 @@ public: void SetLabelText(const wxString& text) { - return SetLabel(EscapeMnemonics(text)); + SetLabel(EscapeMnemonics(text)); } // static utilities: