projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update from Laurent.
[wxWidgets.git]
/
src
/
os2
/
button.cpp
diff --git
a/src/os2/button.cpp
b/src/os2/button.cpp
index c237d9154278d006b74361dbd56057902d346bb5..41fa9c9cbc19ab5b7ced118f03c7480482e3ab28 100644
(file)
--- a/
src/os2/button.cpp
+++ b/
src/os2/button.cpp
@@
-231,12
+231,12
@@
bool wxButton::SendClickEvent()
return ProcessCommand(vEvent);
} // end of wxButton::SendClickEvent
return ProcessCommand(vEvent);
} // end of wxButton::SendClickEvent
-
void
wxButton::SetDefault()
+
wxWindow *
wxButton::SetDefault()
{
//
// Set this one as the default button both for wxWidgets and Windows
//
{
//
// Set this one as the default button both for wxWidgets and Windows
//
- wxWindow* pWinOldDefault = wxButtonBase::Set();
+ wxWindow* pWinOldDefault = wxButtonBase::Set
Default
();
SetDefaultStyle( wxDynamicCast(pWinOldDefault, wxButton), false);
SetDefaultStyle( this, true );
SetDefaultStyle( wxDynamicCast(pWinOldDefault, wxButton), false);
SetDefaultStyle( this, true );