X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..a9dbb4f6815f5f43363ded1a20907f66649977c7:/src/univ/button.cpp diff --git a/src/univ/button.cpp b/src/univ/button.cpp index c1a5aa5b20..7bda74e449 100644 --- a/src/univ/button.cpp +++ b/src/univ/button.cpp @@ -330,9 +330,11 @@ void wxButton::SetImageMargins(wxCoord x, wxCoord y) SetInitialSize(wxDefaultSize); } -void wxButton::SetDefault() +wxWindow *wxButton::SetDefault() { m_isDefault = true; + + return wxButtonBase::SetDefault(); } // ============================================================================