From: Vadim Zeitlin Date: Mon, 9 Apr 2007 12:19:12 +0000 (+0000) Subject: compilation fix after last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ebc0b1555201fe4f09a9d5b8b763cd816202b206 compilation fix after last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 7ca213e413..1470b0c044 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -351,6 +351,8 @@ wxWindow *wxButton::SetDefault() // ... and Windows SetDefaultStyle(wxDynamicCast(winOldDefault, wxButton), false); SetDefaultStyle(this, true); + + return winOldDefault; } // set this button as being currently default