Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/app
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv305/Pythonwin/pywin/Demos/app
Modified Files:
helloapp.py
Log Message:
various improvements and modernizations from py3k branch.
Index: helloapp.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/app/helloapp.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** helloapp.py 1 Sep 1999 23:33:39 -0000 1.1
--- helloapp.py 23 Oct 2008 07:39:11 -0000 1.2
***************
*** 15,19 ****
import win32con
import win32ui
! from pywin.mfc import window, dialog, thread, afxres
# The main frame.
--- 15,20 ----
import win32con
import win32ui
! from pywin.mfc import window, dialog, afxres
! from pywin.mfc.thread import WinApp
# The main frame.
***************
*** 33,37 ****
# The application object itself.
! class HelloApp(thread.WinApp):
def InitInstance(self):
--- 34,38 ----
# The application object itself.
! class HelloApp(WinApp):
def InitInstance(self):
|