compilation fix after last change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-04-09 12:19:12 +00:00
parent 32a2c06eed
commit ebc0b15552

View File

@ -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