from gdi import *
+from fonts import *
+
from clip_dnd import *
from cmndlgs import *
+from events import *
+
from frames import *
from stattool import *
from controls import *
-
-from events import *
import wx
-class wxPrintDataPtr :
+class wxPrintDataPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
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
-class wxPageSetupDialogDataPtr :
+class wxPostScriptDCPtr(wxDCPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetPrintData(self, *_args, **_kwargs):
+ val = apply(printfwc.wxPostScriptDC_GetPrintData,(self,) + _args, _kwargs)
+ if val: val = wxPrintDataPtr(val)
+ return val
+ def SetPrintData(self, *_args, **_kwargs):
+ val = apply(printfwc.wxPostScriptDC_SetPrintData,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxPostScriptDC instance at %s>" % (self.this,)
+class wxPostScriptDC(wxPostScriptDCPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(printfwc.new_wxPostScriptDC,_args,_kwargs)
+ self.thisown = 1
+
+
+
+def wxPostScriptDC2(*_args,**_kwargs):
+ val = wxPostScriptDCPtr(apply(printfwc.new_wxPostScriptDC2,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+
+class wxPageSetupDialogDataPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
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
-class wxPrintDialogDataPtr :
+class wxPrintDialogDataPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
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
return val
def GetPrintDC(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialog_GetPrintDC,(self,) + _args, _kwargs)
- if val: val = wxDCPtr(val) ; val.thisown = 1
return val
def ShowModal(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialog_ShowModal,(self,) + _args, _kwargs)
-class wxPrintoutPtr :
+class wxPrintoutPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(printfwc.wxPrintout__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(printfwc.wxPrintout__setCallbackInfo,(self,) + _args, _kwargs)
return val
def Destroy(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_Destroy,(self,) + _args, _kwargs)
return val
def GetDC(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetDC,(self,) + _args, _kwargs)
- if val: val = wxDCPtr(val)
return val
def GetPageSizeMM(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetPageSizeMM,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrintout,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPrintout)
+ self._setCallbackInfo(self, wxPrintout)
-class wxPrinterPtr :
+class wxPrinterPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
return val
def PrintDialog(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_PrintDialog,(self,) + _args, _kwargs)
- if val: val = wxDCPtr(val)
return val
def ReportError(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_ReportError,(self,) + _args, _kwargs)
-class wxPrintPreviewPtr :
+class wxPrintPreviewPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetCanvas(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetCanvas,(self,) + _args, _kwargs)
- if val: val = wxWindowPtr(val)
return val
def GetCurrentPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetCurrentPage,(self,) + _args, _kwargs)
return val
def GetFrame(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetFrame,(self,) + _args, _kwargs)
- if val: val = wxFramePtr(val)
return val
def GetMaxPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetMaxPage,(self,) + _args, _kwargs)
return val
def GetPrintout(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetPrintout,(self,) + _args, _kwargs)
- if val: val = wxPrintoutPtr(val)
return val
def GetPrintoutForPrinting(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetPrintoutForPrinting,(self,) + _args, _kwargs)
- if val: val = wxPrintoutPtr(val)
return val
def GetZoom(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetZoom,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPreviewFrame,_args,_kwargs)
self.thisown = 1
- #wx._StdFrameCallbacks(self)
+ self._setOORInfo(self)
#-------------- FUNCTION WRAPPERS ------------------
+wxPostScriptDC_SetResolution = printfwc.wxPostScriptDC_SetResolution
+
+wxPostScriptDC_GetResolution = printfwc.wxPostScriptDC_GetResolution
+
#-------------- VARIABLE WRAPPERS ------------------