X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56456d9faf91dbebaa809333292f1b08b9e682f8..b89f0cb06a187c6fe7e75ab5aa359b019b8ff766:/wxPython/src/gtk/printfw.py?ds=sidebyside diff --git a/wxPython/src/gtk/printfw.py b/wxPython/src/gtk/printfw.py index dd291efec5..6265abcddf 100644 --- a/wxPython/src/gtk/printfw.py +++ b/wxPython/src/gtk/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 @@ -253,6 +258,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 @@ -359,6 +367,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