X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eedf876b34d35c4a2b86cff70278043f89dab605..a4353f07c6b37712634d4b2d86527b647a08044f:/wxPython/src/msw/printfw.py diff --git a/wxPython/src/msw/printfw.py b/wxPython/src/msw/printfw.py index 191f6d9b9e..1800f47407 100644 --- a/wxPython/src/msw/printfw.py +++ b/wxPython/src/msw/printfw.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from fonts import * + from clip_dnd import * from cmndlgs import * @@ -35,6 +37,9 @@ class wxPrintDataPtr(wxObjectPtr): def GetOrientation(self, *_args, **_kwargs): val = apply(printfwc.wxPrintData_GetOrientation,(self,) + _args, _kwargs) return val + def Ok(self, *_args, **_kwargs): + val = apply(printfwc.wxPrintData_Ok,(self,) + _args, _kwargs) + return val def GetPrinterName(self, *_args, **_kwargs): val = apply(printfwc.wxPrintData_GetPrinterName,(self,) + _args, _kwargs) return val @@ -196,11 +201,6 @@ class wxPostScriptDC(wxPostScriptDCPtr): -def wxPostScriptDC2(*_args,**_kwargs): - val = wxPostScriptDCPtr(apply(printfwc.new_wxPostScriptDC2,_args,_kwargs)) - val.thisown = 1 - return val - class wxPageSetupDialogDataPtr(wxObjectPtr): def __init__(self,this): @@ -272,6 +272,9 @@ class wxPageSetupDialogDataPtr(wxObjectPtr): val = apply(printfwc.wxPageSetupDialogData_GetPrintData,(self,) + _args, _kwargs) if val: val = wxPrintDataPtr(val) ; val.thisown = 1 return val + def Ok(self, *_args, **_kwargs): + val = apply(printfwc.wxPageSetupDialogData_Ok,(self,) + _args, _kwargs) + return val def SetDefaultInfo(self, *_args, **_kwargs): val = apply(printfwc.wxPageSetupDialogData_SetDefaultInfo,(self,) + _args, _kwargs) return val @@ -378,6 +381,9 @@ class wxPrintDialogDataPtr(wxObjectPtr): def GetToPage(self, *_args, **_kwargs): val = apply(printfwc.wxPrintDialogData_GetToPage,(self,) + _args, _kwargs) return val + def Ok(self, *_args, **_kwargs): + val = apply(printfwc.wxPrintDialogData_Ok,(self,) + _args, _kwargs) + return val def SetCollate(self, *_args, **_kwargs): val = apply(printfwc.wxPrintDialogData_SetCollate,(self,) + _args, _kwargs) return val