X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..d43803715268f5396741b3f0eb4b94d1408c9f9d:/src/univ/button.cpp?ds=sidebyside 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(); } // ============================================================================