Using a new version of SWIG

A few minor fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-08-18 22:37:56 +00:00
parent e8ac7bf221
commit 2d0918205a
38 changed files with 21433 additions and 18599 deletions

View File

@@ -21,69 +21,69 @@ class wxPrintDataPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self, printfwc=printfwc):
def __del__(self,printfwc=printfwc):
if self.thisown == 1 :
printfwc.delete_wxPrintData(self.this)
def GetNoCopies(self):
val = printfwc.wxPrintData_GetNoCopies(self.this)
printfwc.delete_wxPrintData(self)
def GetNoCopies(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetNoCopies,(self,) + _args, _kwargs)
return val
def GetCollate(self):
val = printfwc.wxPrintData_GetCollate(self.this)
def GetCollate(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetCollate,(self,) + _args, _kwargs)
return val
def GetOrientation(self):
val = printfwc.wxPrintData_GetOrientation(self.this)
def GetOrientation(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetOrientation,(self,) + _args, _kwargs)
return val
def GetPrinterName(self):
val = printfwc.wxPrintData_GetPrinterName(self.this)
def GetPrinterName(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetPrinterName,(self,) + _args, _kwargs)
return val
def GetColour(self):
val = printfwc.wxPrintData_GetColour(self.this)
def GetColour(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetColour,(self,) + _args, _kwargs)
return val
def GetDuplex(self):
val = printfwc.wxPrintData_GetDuplex(self.this)
def GetDuplex(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetDuplex,(self,) + _args, _kwargs)
return val
def GetPaperId(self):
val = printfwc.wxPrintData_GetPaperId(self.this)
def GetPaperId(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetPaperId,(self,) + _args, _kwargs)
return val
def GetPaperSize(self):
val = printfwc.wxPrintData_GetPaperSize(self.this)
val = wxSizePtr(val)
def GetPaperSize(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetPaperSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val)
return val
def GetQuality(self):
val = printfwc.wxPrintData_GetQuality(self.this)
def GetQuality(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_GetQuality,(self,) + _args, _kwargs)
return val
def SetNoCopies(self,arg0):
val = printfwc.wxPrintData_SetNoCopies(self.this,arg0)
def SetNoCopies(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetNoCopies,(self,) + _args, _kwargs)
return val
def SetCollate(self,arg0):
val = printfwc.wxPrintData_SetCollate(self.this,arg0)
def SetCollate(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetCollate,(self,) + _args, _kwargs)
return val
def SetOrientation(self,arg0):
val = printfwc.wxPrintData_SetOrientation(self.this,arg0)
def SetOrientation(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetOrientation,(self,) + _args, _kwargs)
return val
def SetPrinterName(self,arg0):
val = printfwc.wxPrintData_SetPrinterName(self.this,arg0)
def SetPrinterName(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetPrinterName,(self,) + _args, _kwargs)
return val
def SetColour(self,arg0):
val = printfwc.wxPrintData_SetColour(self.this,arg0)
def SetColour(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetColour,(self,) + _args, _kwargs)
return val
def SetDuplex(self,arg0):
val = printfwc.wxPrintData_SetDuplex(self.this,arg0)
def SetDuplex(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetDuplex,(self,) + _args, _kwargs)
return val
def SetPaperId(self,arg0):
val = printfwc.wxPrintData_SetPaperId(self.this,arg0)
def SetPaperId(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetPaperId,(self,) + _args, _kwargs)
return val
def SetPaperSize(self,arg0):
val = printfwc.wxPrintData_SetPaperSize(self.this,arg0.this)
def SetPaperSize(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetPaperSize,(self,) + _args, _kwargs)
return val
def SetQuality(self,arg0):
val = printfwc.wxPrintData_SetQuality(self.this,arg0)
def SetQuality(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintData_SetQuality,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPrintData instance>"
return "<C wxPrintData instance at %s>" % (self.this,)
class wxPrintData(wxPrintDataPtr):
def __init__(self) :
self.this = printfwc.new_wxPrintData()
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrintData,_args,_kwargs)
self.thisown = 1
@@ -93,110 +93,104 @@ class wxPageSetupDialogDataPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self, printfwc=printfwc):
def __del__(self,printfwc=printfwc):
if self.thisown == 1 :
printfwc.delete_wxPageSetupDialogData(self.this)
def EnableHelp(self,arg0):
val = printfwc.wxPageSetupDialogData_EnableHelp(self.this,arg0)
printfwc.delete_wxPageSetupDialogData(self)
def EnableHelp(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_EnableHelp,(self,) + _args, _kwargs)
return val
def EnableMargins(self,arg0):
val = printfwc.wxPageSetupDialogData_EnableMargins(self.this,arg0)
def EnableMargins(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_EnableMargins,(self,) + _args, _kwargs)
return val
def EnableOrientation(self,arg0):
val = printfwc.wxPageSetupDialogData_EnableOrientation(self.this,arg0)
def EnableOrientation(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_EnableOrientation,(self,) + _args, _kwargs)
return val
def EnablePaper(self,arg0):
val = printfwc.wxPageSetupDialogData_EnablePaper(self.this,arg0)
def EnablePaper(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_EnablePaper,(self,) + _args, _kwargs)
return val
def EnablePrinter(self,arg0):
val = printfwc.wxPageSetupDialogData_EnablePrinter(self.this,arg0)
def EnablePrinter(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_EnablePrinter,(self,) + _args, _kwargs)
return val
def GetDefaultMinMargins(self):
val = printfwc.wxPageSetupDialogData_GetDefaultMinMargins(self.this)
def GetDefaultMinMargins(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetDefaultMinMargins,(self,) + _args, _kwargs)
return val
def GetEnableMargins(self):
val = printfwc.wxPageSetupDialogData_GetEnableMargins(self.this)
def GetEnableMargins(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetEnableMargins,(self,) + _args, _kwargs)
return val
def GetEnableOrientation(self):
val = printfwc.wxPageSetupDialogData_GetEnableOrientation(self.this)
def GetEnableOrientation(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetEnableOrientation,(self,) + _args, _kwargs)
return val
def GetEnablePaper(self):
val = printfwc.wxPageSetupDialogData_GetEnablePaper(self.this)
def GetEnablePaper(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetEnablePaper,(self,) + _args, _kwargs)
return val
def GetEnablePrinter(self):
val = printfwc.wxPageSetupDialogData_GetEnablePrinter(self.this)
def GetEnablePrinter(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetEnablePrinter,(self,) + _args, _kwargs)
return val
def GetEnableHelp(self):
val = printfwc.wxPageSetupDialogData_GetEnableHelp(self.this)
def GetEnableHelp(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetEnableHelp,(self,) + _args, _kwargs)
return val
def GetDefaultInfo(self):
val = printfwc.wxPageSetupDialogData_GetDefaultInfo(self.this)
def GetDefaultInfo(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetDefaultInfo,(self,) + _args, _kwargs)
return val
def GetMarginTopLeft(self):
val = printfwc.wxPageSetupDialogData_GetMarginTopLeft(self.this)
val = wxPointPtr(val)
val.thisown = 1
def GetMarginTopLeft(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetMarginTopLeft,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def GetMarginBottomRight(self):
val = printfwc.wxPageSetupDialogData_GetMarginBottomRight(self.this)
val = wxPointPtr(val)
val.thisown = 1
def GetMarginBottomRight(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetMarginBottomRight,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def GetMinMarginTopLeft(self):
val = printfwc.wxPageSetupDialogData_GetMinMarginTopLeft(self.this)
val = wxPointPtr(val)
val.thisown = 1
def GetMinMarginTopLeft(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetMinMarginTopLeft,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def GetMinMarginBottomRight(self):
val = printfwc.wxPageSetupDialogData_GetMinMarginBottomRight(self.this)
val = wxPointPtr(val)
val.thisown = 1
def GetMinMarginBottomRight(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetMinMarginBottomRight,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def GetPaperId(self):
val = printfwc.wxPageSetupDialogData_GetPaperId(self.this)
def GetPaperId(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetPaperId,(self,) + _args, _kwargs)
return val
def GetPaperSize(self):
val = printfwc.wxPageSetupDialogData_GetPaperSize(self.this)
val = wxSizePtr(val)
val.thisown = 1
def GetPaperSize(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetPaperSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def GetPrintData(self):
val = printfwc.wxPageSetupDialogData_GetPrintData(self.this)
val = wxPrintDataPtr(val)
val.thisown = 1
def GetPrintData(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_GetPrintData,(self,) + _args, _kwargs)
if val: val = wxPrintDataPtr(val) ; val.thisown = 1
return val
def SetDefaultInfo(self,arg0):
val = printfwc.wxPageSetupDialogData_SetDefaultInfo(self.this,arg0)
def SetDefaultInfo(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetDefaultInfo,(self,) + _args, _kwargs)
return val
def SetDefaultMinMargins(self,arg0):
val = printfwc.wxPageSetupDialogData_SetDefaultMinMargins(self.this,arg0)
def SetDefaultMinMargins(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetDefaultMinMargins,(self,) + _args, _kwargs)
return val
def SetMarginTopLeft(self,arg0):
val = printfwc.wxPageSetupDialogData_SetMarginTopLeft(self.this,arg0.this)
def SetMarginTopLeft(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetMarginTopLeft,(self,) + _args, _kwargs)
return val
def SetMarginBottomRight(self,arg0):
val = printfwc.wxPageSetupDialogData_SetMarginBottomRight(self.this,arg0.this)
def SetMarginBottomRight(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetMarginBottomRight,(self,) + _args, _kwargs)
return val
def SetMinMarginTopLeft(self,arg0):
val = printfwc.wxPageSetupDialogData_SetMinMarginTopLeft(self.this,arg0.this)
def SetMinMarginTopLeft(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetMinMarginTopLeft,(self,) + _args, _kwargs)
return val
def SetMinMarginBottomRight(self,arg0):
val = printfwc.wxPageSetupDialogData_SetMinMarginBottomRight(self.this,arg0.this)
def SetMinMarginBottomRight(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetMinMarginBottomRight,(self,) + _args, _kwargs)
return val
def SetPaperId(self,arg0):
val = printfwc.wxPageSetupDialogData_SetPaperId(self.this,arg0)
def SetPaperId(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetPaperId,(self,) + _args, _kwargs)
return val
def SetPaperSize(self,arg0):
val = printfwc.wxPageSetupDialogData_SetPaperSize(self.this,arg0.this)
def SetPaperSize(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetPaperSize,(self,) + _args, _kwargs)
return val
def SetPrintData(self,arg0):
val = printfwc.wxPageSetupDialogData_SetPrintData(self.this,arg0.this)
def SetPrintData(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialogData_SetPrintData,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPageSetupDialogData instance>"
return "<C wxPageSetupDialogData instance at %s>" % (self.this,)
class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
def __init__(self) :
self.this = printfwc.new_wxPageSetupDialogData()
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPageSetupDialogData,_args,_kwargs)
self.thisown = 1
@@ -206,22 +200,18 @@ class wxPageSetupDialogPtr(wxDialogPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPageSetupData(self):
val = printfwc.wxPageSetupDialog_GetPageSetupData(self.this)
val = wxPageSetupDialogDataPtr(val)
def GetPageSetupData(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialog_GetPageSetupData,(self,) + _args, _kwargs)
if val: val = wxPageSetupDialogDataPtr(val)
return val
def ShowModal(self):
val = printfwc.wxPageSetupDialog_ShowModal(self.this)
def ShowModal(self, *_args, **_kwargs):
val = apply(printfwc.wxPageSetupDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPageSetupDialog instance>"
return "<C wxPageSetupDialog instance at %s>" % (self.this,)
class wxPageSetupDialog(wxPageSetupDialogPtr):
def __init__(self,arg0,*args) :
argl = map(None,args)
try: argl[0] = argl[0].this
except: pass
args = tuple(argl)
self.this = apply(printfwc.new_wxPageSetupDialog,(arg0.this,)+args)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPageSetupDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
@@ -232,82 +222,81 @@ class wxPrintDialogDataPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self, printfwc=printfwc):
def __del__(self,printfwc=printfwc):
if self.thisown == 1 :
printfwc.delete_wxPrintDialogData(self.this)
def EnableHelp(self,arg0):
val = printfwc.wxPrintDialogData_EnableHelp(self.this,arg0)
printfwc.delete_wxPrintDialogData(self)
def EnableHelp(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_EnableHelp,(self,) + _args, _kwargs)
return val
def EnablePageNumbers(self,arg0):
val = printfwc.wxPrintDialogData_EnablePageNumbers(self.this,arg0)
def EnablePageNumbers(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_EnablePageNumbers,(self,) + _args, _kwargs)
return val
def EnablePrintToFile(self,arg0):
val = printfwc.wxPrintDialogData_EnablePrintToFile(self.this,arg0)
def EnablePrintToFile(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_EnablePrintToFile,(self,) + _args, _kwargs)
return val
def EnableSelection(self,arg0):
val = printfwc.wxPrintDialogData_EnableSelection(self.this,arg0)
def EnableSelection(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_EnableSelection,(self,) + _args, _kwargs)
return val
def GetAllPages(self):
val = printfwc.wxPrintDialogData_GetAllPages(self.this)
def GetAllPages(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetAllPages,(self,) + _args, _kwargs)
return val
def GetCollate(self):
val = printfwc.wxPrintDialogData_GetCollate(self.this)
def GetCollate(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetCollate,(self,) + _args, _kwargs)
return val
def GetFromPage(self):
val = printfwc.wxPrintDialogData_GetFromPage(self.this)
def GetFromPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetFromPage,(self,) + _args, _kwargs)
return val
def GetMaxPage(self):
val = printfwc.wxPrintDialogData_GetMaxPage(self.this)
def GetMaxPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetMaxPage,(self,) + _args, _kwargs)
return val
def GetMinPage(self):
val = printfwc.wxPrintDialogData_GetMinPage(self.this)
def GetMinPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetMinPage,(self,) + _args, _kwargs)
return val
def GetNoCopies(self):
val = printfwc.wxPrintDialogData_GetNoCopies(self.this)
def GetNoCopies(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetNoCopies,(self,) + _args, _kwargs)
return val
def GetPrintData(self):
val = printfwc.wxPrintDialogData_GetPrintData(self.this)
val = wxPrintDataPtr(val)
val.thisown = 1
def GetPrintData(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetPrintData,(self,) + _args, _kwargs)
if val: val = wxPrintDataPtr(val) ; val.thisown = 1
return val
def GetPrintToFile(self):
val = printfwc.wxPrintDialogData_GetPrintToFile(self.this)
def GetPrintToFile(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetPrintToFile,(self,) + _args, _kwargs)
return val
def GetToPage(self):
val = printfwc.wxPrintDialogData_GetToPage(self.this)
def GetToPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_GetToPage,(self,) + _args, _kwargs)
return val
def SetCollate(self,arg0):
val = printfwc.wxPrintDialogData_SetCollate(self.this,arg0)
def SetCollate(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetCollate,(self,) + _args, _kwargs)
return val
def SetFromPage(self,arg0):
val = printfwc.wxPrintDialogData_SetFromPage(self.this,arg0)
def SetFromPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetFromPage,(self,) + _args, _kwargs)
return val
def SetMaxPage(self,arg0):
val = printfwc.wxPrintDialogData_SetMaxPage(self.this,arg0)
def SetMaxPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetMaxPage,(self,) + _args, _kwargs)
return val
def SetMinPage(self,arg0):
val = printfwc.wxPrintDialogData_SetMinPage(self.this,arg0)
def SetMinPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetMinPage,(self,) + _args, _kwargs)
return val
def SetNoCopies(self,arg0):
val = printfwc.wxPrintDialogData_SetNoCopies(self.this,arg0)
def SetNoCopies(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetNoCopies,(self,) + _args, _kwargs)
return val
def SetPrintData(self,arg0):
val = printfwc.wxPrintDialogData_SetPrintData(self.this,arg0.this)
def SetPrintData(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetPrintData,(self,) + _args, _kwargs)
return val
def SetPrintToFile(self,arg0):
val = printfwc.wxPrintDialogData_SetPrintToFile(self.this,arg0)
def SetPrintToFile(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetPrintToFile,(self,) + _args, _kwargs)
return val
def SetSetupDialog(self,arg0):
val = printfwc.wxPrintDialogData_SetSetupDialog(self.this,arg0)
def SetSetupDialog(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetSetupDialog,(self,) + _args, _kwargs)
return val
def SetToPage(self,arg0):
val = printfwc.wxPrintDialogData_SetToPage(self.this,arg0)
def SetToPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialogData_SetToPage,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPrintDialogData instance>"
return "<C wxPrintDialogData instance at %s>" % (self.this,)
class wxPrintDialogData(wxPrintDialogDataPtr):
def __init__(self) :
self.this = printfwc.new_wxPrintDialogData()
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrintDialogData,_args,_kwargs)
self.thisown = 1
@@ -317,27 +306,22 @@ class wxPrintDialogPtr(wxDialogPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPrintDialogData(self):
val = printfwc.wxPrintDialog_GetPrintDialogData(self.this)
val = wxPrintDialogDataPtr(val)
def GetPrintDialogData(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialog_GetPrintDialogData,(self,) + _args, _kwargs)
if val: val = wxPrintDialogDataPtr(val)
return val
def GetPrintDC(self):
val = printfwc.wxPrintDialog_GetPrintDC(self.this)
val = wxDCPtr(val)
val.thisown = 1
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):
val = printfwc.wxPrintDialog_ShowModal(self.this)
def ShowModal(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPrintDialog instance>"
return "<C wxPrintDialog instance at %s>" % (self.this,)
class wxPrintDialog(wxPrintDialogPtr):
def __init__(self,arg0,*args) :
argl = map(None,args)
try: argl[0] = argl[0].this
except: pass
args = tuple(argl)
self.this = apply(printfwc.new_wxPrintDialog,(arg0.this,)+args)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrintDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
@@ -348,57 +332,57 @@ class wxPrintoutPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def _setSelf(self,arg0):
val = printfwc.wxPrintout__setSelf(self.this,arg0)
def _setSelf(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout__setSelf,(self,) + _args, _kwargs)
return val
def Destroy(self):
val = printfwc.wxPrintout_Destroy(self.this)
def Destroy(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_Destroy,(self,) + _args, _kwargs)
return val
def GetDC(self):
val = printfwc.wxPrintout_GetDC(self.this)
val = wxDCPtr(val)
def GetDC(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetDC,(self,) + _args, _kwargs)
if val: val = wxDCPtr(val)
return val
def GetPageSizeMM(self):
val = printfwc.wxPrintout_GetPageSizeMM(self.this)
def GetPageSizeMM(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetPageSizeMM,(self,) + _args, _kwargs)
return val
def GetPageSizePixels(self):
val = printfwc.wxPrintout_GetPageSizePixels(self.this)
def GetPageSizePixels(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetPageSizePixels,(self,) + _args, _kwargs)
return val
def GetPPIPrinter(self):
val = printfwc.wxPrintout_GetPPIPrinter(self.this)
def GetPPIPrinter(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetPPIPrinter,(self,) + _args, _kwargs)
return val
def GetPPIScreen(self):
val = printfwc.wxPrintout_GetPPIScreen(self.this)
def GetPPIScreen(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_GetPPIScreen,(self,) + _args, _kwargs)
return val
def IsPreview(self):
val = printfwc.wxPrintout_IsPreview(self.this)
def IsPreview(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_IsPreview,(self,) + _args, _kwargs)
return val
def base_OnBeginDocument(self,arg0,arg1):
val = printfwc.wxPrintout_base_OnBeginDocument(self.this,arg0,arg1)
def base_OnBeginDocument(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_OnBeginDocument,(self,) + _args, _kwargs)
return val
def base_OnEndDocument(self):
val = printfwc.wxPrintout_base_OnEndDocument(self.this)
def base_OnEndDocument(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_OnEndDocument,(self,) + _args, _kwargs)
return val
def base_OnBeginPrinting(self):
val = printfwc.wxPrintout_base_OnBeginPrinting(self.this)
def base_OnBeginPrinting(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_OnBeginPrinting,(self,) + _args, _kwargs)
return val
def base_OnEndPrinting(self):
val = printfwc.wxPrintout_base_OnEndPrinting(self.this)
def base_OnEndPrinting(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_OnEndPrinting,(self,) + _args, _kwargs)
return val
def base_OnPreparePrinting(self):
val = printfwc.wxPrintout_base_OnPreparePrinting(self.this)
def base_OnPreparePrinting(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_OnPreparePrinting,(self,) + _args, _kwargs)
return val
def base_GetPageInfo(self):
val = printfwc.wxPrintout_base_GetPageInfo(self.this)
def base_GetPageInfo(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_GetPageInfo,(self,) + _args, _kwargs)
return val
def base_HasPage(self,arg0):
val = printfwc.wxPrintout_base_HasPage(self.this,arg0)
def base_HasPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintout_base_HasPage,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPrintout instance>"
return "<C wxPrintout instance at %s>" % (self.this,)
class wxPrintout(wxPrintoutPtr):
def __init__(self,*args) :
self.this = apply(printfwc.new_wxPrintout,()+args)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrintout,_args,_kwargs)
self.thisown = 1
self._setSelf(self)
@@ -409,38 +393,34 @@ class wxPrinterPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self, printfwc=printfwc):
def __del__(self,printfwc=printfwc):
if self.thisown == 1 :
printfwc.delete_wxPrinter(self.this)
def CreateAbortWindow(self,arg0,arg1):
val = printfwc.wxPrinter_CreateAbortWindow(self.this,arg0.this,arg1.this)
printfwc.delete_wxPrinter(self)
def CreateAbortWindow(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_CreateAbortWindow,(self,) + _args, _kwargs)
return val
def GetPrintDialogData(self):
val = printfwc.wxPrinter_GetPrintDialogData(self.this)
val = wxPrintDialogDataPtr(val)
def GetPrintDialogData(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_GetPrintDialogData,(self,) + _args, _kwargs)
if val: val = wxPrintDialogDataPtr(val)
return val
def Print(self,arg0,arg1,*args):
val = apply(printfwc.wxPrinter_Print,(self.this,arg0.this,arg1.this,)+args)
def Print(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_Print,(self,) + _args, _kwargs)
return val
def PrintDialog(self,arg0):
val = printfwc.wxPrinter_PrintDialog(self.this,arg0.this)
val = wxDCPtr(val)
def PrintDialog(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_PrintDialog,(self,) + _args, _kwargs)
if val: val = wxDCPtr(val)
return val
def ReportError(self,arg0,arg1,arg2):
val = printfwc.wxPrinter_ReportError(self.this,arg0.this,arg1.this,arg2)
def ReportError(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_ReportError,(self,) + _args, _kwargs)
return val
def Setup(self,arg0):
val = printfwc.wxPrinter_Setup(self.this,arg0.this)
def Setup(self, *_args, **_kwargs):
val = apply(printfwc.wxPrinter_Setup,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPrinter instance>"
return "<C wxPrinter instance at %s>" % (self.this,)
class wxPrinter(wxPrinterPtr):
def __init__(self,*args) :
argl = map(None,args)
try: argl[0] = argl[0].this
except: pass
args = tuple(argl)
self.this = apply(printfwc.new_wxPrinter,()+args)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrinter,_args,_kwargs)
self.thisown = 1
@@ -450,68 +430,64 @@ class wxPrintPreviewPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def GetCanvas(self):
val = printfwc.wxPrintPreview_GetCanvas(self.this)
val = wxWindowPtr(val)
def GetCanvas(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetCanvas,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def GetCurrentPage(self):
val = printfwc.wxPrintPreview_GetCurrentPage(self.this)
def GetCurrentPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetCurrentPage,(self,) + _args, _kwargs)
return val
def GetFrame(self):
val = printfwc.wxPrintPreview_GetFrame(self.this)
val = wxFramePtr(val)
def GetFrame(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetFrame,(self,) + _args, _kwargs)
if val: val = wxFramePtr(val)
return val
def GetMaxPage(self):
val = printfwc.wxPrintPreview_GetMaxPage(self.this)
def GetMaxPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetMaxPage,(self,) + _args, _kwargs)
return val
def GetMinPage(self):
val = printfwc.wxPrintPreview_GetMinPage(self.this)
def GetMinPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetMinPage,(self,) + _args, _kwargs)
return val
def GetPrintDialogData(self):
val = printfwc.wxPrintPreview_GetPrintDialogData(self.this)
val = wxPrintDialogDataPtr(val)
def GetPrintDialogData(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetPrintDialogData,(self,) + _args, _kwargs)
if val: val = wxPrintDialogDataPtr(val)
return val
def GetPrintout(self):
val = printfwc.wxPrintPreview_GetPrintout(self.this)
val = wxPrintoutPtr(val)
def GetPrintout(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetPrintout,(self,) + _args, _kwargs)
if val: val = wxPrintoutPtr(val)
return val
def GetPrintoutForPrinting(self):
val = printfwc.wxPrintPreview_GetPrintoutForPrinting(self.this)
val = wxPrintoutPtr(val)
def GetPrintoutForPrinting(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetPrintoutForPrinting,(self,) + _args, _kwargs)
if val: val = wxPrintoutPtr(val)
return val
def GetZoom(self):
val = printfwc.wxPrintPreview_GetZoom(self.this)
def GetZoom(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_GetZoom,(self,) + _args, _kwargs)
return val
def Ok(self):
val = printfwc.wxPrintPreview_Ok(self.this)
def Ok(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_Ok,(self,) + _args, _kwargs)
return val
def Print(self,arg0):
val = printfwc.wxPrintPreview_Print(self.this,arg0)
def Print(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_Print,(self,) + _args, _kwargs)
return val
def SetCanvas(self,arg0):
val = printfwc.wxPrintPreview_SetCanvas(self.this,arg0.this)
def SetCanvas(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_SetCanvas,(self,) + _args, _kwargs)
return val
def SetCurrentPage(self,arg0):
val = printfwc.wxPrintPreview_SetCurrentPage(self.this,arg0)
def SetCurrentPage(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_SetCurrentPage,(self,) + _args, _kwargs)
return val
def SetFrame(self,arg0):
val = printfwc.wxPrintPreview_SetFrame(self.this,arg0.this)
def SetFrame(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_SetFrame,(self,) + _args, _kwargs)
return val
def SetPrintout(self,arg0):
val = printfwc.wxPrintPreview_SetPrintout(self.this,arg0.this)
def SetPrintout(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_SetPrintout,(self,) + _args, _kwargs)
return val
def SetZoom(self,arg0):
val = printfwc.wxPrintPreview_SetZoom(self.this,arg0)
def SetZoom(self, *_args, **_kwargs):
val = apply(printfwc.wxPrintPreview_SetZoom,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPrintPreview instance>"
return "<C wxPrintPreview instance at %s>" % (self.this,)
class wxPrintPreview(wxPrintPreviewPtr):
def __init__(self,arg0,arg1,*args) :
argl = map(None,args)
try: argl[0] = argl[0].this
except: pass
args = tuple(argl)
self.this = apply(printfwc.new_wxPrintPreview,(arg0.this,arg1.this,)+args)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPrintPreview,_args,_kwargs)
self.thisown = 1
@@ -521,20 +497,14 @@ class wxPreviewFramePtr(wxFramePtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def Initialize(self):
val = printfwc.wxPreviewFrame_Initialize(self.this)
def Initialize(self, *_args, **_kwargs):
val = apply(printfwc.wxPreviewFrame_Initialize,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPreviewFrame instance>"
return "<C wxPreviewFrame instance at %s>" % (self.this,)
class wxPreviewFrame(wxPreviewFramePtr):
def __init__(self,arg0,arg1,arg2,*args) :
argl = map(None,args)
try: argl[0] = argl[0].this
except: pass
try: argl[1] = argl[1].this
except: pass
args = tuple(argl)
self.this = apply(printfwc.new_wxPreviewFrame,(arg0.this,arg1.this,arg2,)+args)
def __init__(self,*_args,**_kwargs):
self.this = apply(printfwc.new_wxPreviewFrame,_args,_kwargs)
self.thisown = 1
wx._StdFrameCallbacks(self)