X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..129b8b1a215fc1fcc1b9f06daa0aeaf22bbce614:/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(); } // ============================================================================