X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68bc8549d81adc1b6f031bdbb03b91a71944197c..a4353f07c6b37712634d4b2d86527b647a08044f:/wxPython/src/msw/printfw.py diff --git a/wxPython/src/msw/printfw.py b/wxPython/src/msw/printfw.py index 7a77c24f2b..1800f47407 100644 --- a/wxPython/src/msw/printfw.py +++ b/wxPython/src/msw/printfw.py @@ -37,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 @@ -198,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): @@ -274,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 @@ -380,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