Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5580
Modified Files:
win32uiExt.h
Log Message:
[ 1043740 ] Added PyCWnd.OnTimer virtual handler, from Adal Chiriliuc.
Index: win32uiExt.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uiExt.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** win32uiExt.h 5 Mar 2005 03:24:11 -0000 1.6
--- win32uiExt.h 10 Jan 2006 04:26:07 -0000 1.7
***************
*** 223,226 ****
--- 223,233 ----
T::OnPaint();
}
+ afx_msg void OnTimer(UINT nIDEvent) {
+ // @pyvirtual void|PyCWnd|OnTimer|Called for the WM_TIMER message.
+ // @pyparm <int>|nIDEvent||Specifies the identifier of the timer.
+ CVirtualHelper helper( "OnTimer", this );
+ if (!helper.HaveHandler() || !helper.call(static_cast<int>(nIDEvent)))
+ T::OnTimer(nIDEvent);
+ }
afx_msg HCURSOR OnQueryDragIcon() {
// @pyvirtual int|PyCWnd|OnQueryDragIcon|Called for the WM_QUERYDRAGICON message.
***************
*** 386,389 ****
--- 393,397 ----
ON_WM_QUERYNEWPALETTE()
ON_WM_PAINT()
+ ON_WM_TIMER()
ON_WM_QUERYDRAGICON()
ON_WM_CREATE()
|