Added all the thirdparty code.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@11 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
kenneth.skovhede@gmail.com
2008-06-19 19:34:31 +00:00
parent 56ac0668b2
commit 20a6757d56
658 changed files with 131155 additions and 6 deletions
@@ -0,0 +1,13 @@
# Framework Window classes.
# Most Pythonwin windows should use these classes rather than
# the raw MFC ones if they want Pythonwin specific functionality.
import pywin.mfc.window
import win32con
class MDIChildWnd(pywin.mfc.window.MDIChildWnd):
def AutoRestore(self):
"If the window is minimised or maximised, restore it."
p = self.GetWindowPlacement()
if p[1]==win32con.SW_MINIMIZE or p[1]==win32con.SW_SHOWMINIMIZED:
self.SetWindowPlacement(p[0], win32con.SW_RESTORE, p[2], p[3], p[4])