X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94aff5ff86189e39b7a95fc62e886374c060a2cf..ee5aa9d44fa75e88bce9981d7d02dea9f6d5f3c4:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index c237d91542..41fa9c9cbc 100644 --- a/src/os2/button.cpp +++ b/src/os2/button.cpp @@ -231,12 +231,12 @@ bool wxButton::SendClickEvent() return ProcessCommand(vEvent); } // end of wxButton::SendClickEvent -void wxButton::SetDefault() +wxWindow *wxButton::SetDefault() { // // Set this one as the default button both for wxWidgets and Windows // - wxWindow* pWinOldDefault = wxButtonBase::Set(); + wxWindow* pWinOldDefault = wxButtonBase::SetDefault(); SetDefaultStyle( wxDynamicCast(pWinOldDefault, wxButton), false); SetDefaultStyle( this, true );