projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add PrivData() field to wxPrintData since MSW's printer
[wxWidgets.git]
/
src
/
common
/
timercmn.cpp
diff --git
a/src/common/timercmn.cpp
b/src/common/timercmn.cpp
index ffcf0358a91f390f18a6624592d9cc31dcb27dca..2b310c05996c0019731346db112fcee3f5190306 100644
(file)
--- a/
src/common/timercmn.cpp
+++ b/
src/common/timercmn.cpp
@@
-57,6
+57,7
@@
void wxTimerBase::Notify()
wxCHECK_RET( m_owner, _T("wxTimer::Notify() should be overridden.") );
wxTimerEvent event(m_idTimer, m_milli);
wxCHECK_RET( m_owner, _T("wxTimer::Notify() should be overridden.") );
wxTimerEvent event(m_idTimer, m_milli);
+ event.SetEventObject(this);
(void)m_owner->ProcessEvent(event);
}
(void)m_owner->ProcessEvent(event);
}
@@
-84,7
+85,7
@@
bool wxTimerBase::Start(int milliseconds, bool oneShot)
m_oneShot = oneShot;
m_oneShot = oneShot;
- return
TRUE
;
+ return
true
;
}
#endif // wxUSE_TIMER
}
#endif // wxUSE_TIMER