wxPython 2.1b1: Very minor changes needed for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,14 @@ from misc import *
|
||||
from gdi import *
|
||||
|
||||
from windows import *
|
||||
|
||||
from frames import *
|
||||
|
||||
from stattool import *
|
||||
|
||||
from controls import *
|
||||
|
||||
from events import *
|
||||
import wx
|
||||
class wxColourDataPtr :
|
||||
def __init__(self,this):
|
||||
@@ -318,259 +326,6 @@ class wxFontDialog(wxFontDialogPtr):
|
||||
|
||||
|
||||
|
||||
class wxPageSetupDialogDataPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self):
|
||||
if self.thisown == 1 :
|
||||
cmndlgsc.delete_wxPageSetupDialogData(self.this)
|
||||
def EnableHelp(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_EnableHelp(self.this,arg0)
|
||||
return val
|
||||
def EnableMargins(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_EnableMargins(self.this,arg0)
|
||||
return val
|
||||
def EnableOrientation(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_EnableOrientation(self.this,arg0)
|
||||
return val
|
||||
def EnablePaper(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_EnablePaper(self.this,arg0)
|
||||
return val
|
||||
def EnablePrinter(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_EnablePrinter(self.this,arg0)
|
||||
return val
|
||||
def GetDefaultMinMargins(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetDefaultMinMargins(self.this)
|
||||
return val
|
||||
def GetEnableMargins(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetEnableMargins(self.this)
|
||||
return val
|
||||
def GetEnableOrientation(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetEnableOrientation(self.this)
|
||||
return val
|
||||
def GetEnablePaper(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetEnablePaper(self.this)
|
||||
return val
|
||||
def GetEnablePrinter(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetEnablePrinter(self.this)
|
||||
return val
|
||||
def GetEnableHelp(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetEnableHelp(self.this)
|
||||
return val
|
||||
def GetDefaultInfo(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetDefaultInfo(self.this)
|
||||
return val
|
||||
def GetMarginTopLeft(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetMarginTopLeft(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetMarginBottomRight(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetMarginBottomRight(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetMinMarginTopLeft(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetMinMarginTopLeft(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetMinMarginBottomRight(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetMinMarginBottomRight(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetPaperId(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetPaperId(self.this)
|
||||
return val
|
||||
def GetPaperSize(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetPaperSize(self.this)
|
||||
val = wxSizePtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetPrintData(self):
|
||||
val = cmndlgsc.wxPageSetupDialogData_GetPrintData(self.this)
|
||||
val = wxPrintDataPtr(val)
|
||||
return val
|
||||
def SetDefaultInfo(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetDefaultInfo(self.this,arg0)
|
||||
return val
|
||||
def SetDefaultMinMargins(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetDefaultMinMargins(self.this,arg0)
|
||||
return val
|
||||
def SetMarginTopLeft(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetMarginTopLeft(self.this,arg0.this)
|
||||
return val
|
||||
def SetMarginBottomRight(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetMarginBottomRight(self.this,arg0.this)
|
||||
return val
|
||||
def SetMinMarginTopLeft(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetMinMarginTopLeft(self.this,arg0.this)
|
||||
return val
|
||||
def SetMinMarginBottomRight(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetMinMarginBottomRight(self.this,arg0.this)
|
||||
return val
|
||||
def SetPaperId(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetPaperId(self.this,arg0)
|
||||
return val
|
||||
def SetPaperSize(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetPaperSize(self.this,arg0.this)
|
||||
return val
|
||||
def SetPrintData(self,arg0):
|
||||
val = cmndlgsc.wxPageSetupDialogData_SetPrintData(self.this,arg0.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPageSetupDialogData instance>"
|
||||
class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
|
||||
def __init__(self) :
|
||||
self.this = cmndlgsc.new_wxPageSetupDialogData()
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPageSetupDialogPtr(wxDialogPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetPageSetupData(self):
|
||||
val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this)
|
||||
val = wxPageSetupDialogDataPtr(val)
|
||||
return val
|
||||
def ShowModal(self):
|
||||
val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPageSetupDialog instance>"
|
||||
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(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args)
|
||||
self.thisown = 1
|
||||
wx._StdDialogCallbacks(self)
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPrintDialogDataPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self):
|
||||
if self.thisown == 1 :
|
||||
cmndlgsc.delete_wxPrintDialogData(self.this)
|
||||
def EnableHelp(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_EnableHelp(self.this,arg0)
|
||||
return val
|
||||
def EnablePageNumbers(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_EnablePageNumbers(self.this,arg0)
|
||||
return val
|
||||
def EnablePrintToFile(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_EnablePrintToFile(self.this,arg0)
|
||||
return val
|
||||
def EnableSelection(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_EnableSelection(self.this,arg0)
|
||||
return val
|
||||
def GetAllPages(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetAllPages(self.this)
|
||||
return val
|
||||
def GetCollate(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetCollate(self.this)
|
||||
return val
|
||||
def GetFromPage(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetFromPage(self.this)
|
||||
return val
|
||||
def GetMaxPage(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetMaxPage(self.this)
|
||||
return val
|
||||
def GetMinPage(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetMinPage(self.this)
|
||||
return val
|
||||
def GetNoCopies(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetNoCopies(self.this)
|
||||
return val
|
||||
def GetPrintData(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetPrintData(self.this)
|
||||
val = wxPrintDataPtr(val)
|
||||
return val
|
||||
def GetPrintToFile(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetPrintToFile(self.this)
|
||||
return val
|
||||
def GetToPage(self):
|
||||
val = cmndlgsc.wxPrintDialogData_GetToPage(self.this)
|
||||
return val
|
||||
def SetCollate(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetCollate(self.this,arg0)
|
||||
return val
|
||||
def SetFromPage(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetFromPage(self.this,arg0)
|
||||
return val
|
||||
def SetMaxPage(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetMaxPage(self.this,arg0)
|
||||
return val
|
||||
def SetMinPage(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetMinPage(self.this,arg0)
|
||||
return val
|
||||
def SetNoCopies(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetNoCopies(self.this,arg0)
|
||||
return val
|
||||
def SetPrintData(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetPrintData(self.this,arg0.this)
|
||||
return val
|
||||
def SetPrintToFile(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetPrintToFile(self.this,arg0)
|
||||
return val
|
||||
def SetSetupDialog(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetSetupDialog(self.this,arg0)
|
||||
return val
|
||||
def SetToPage(self,arg0):
|
||||
val = cmndlgsc.wxPrintDialogData_SetToPage(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintDialogData instance>"
|
||||
class wxPrintDialogData(wxPrintDialogDataPtr):
|
||||
def __init__(self) :
|
||||
self.this = cmndlgsc.new_wxPrintDialogData()
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPrintDialogPtr(wxDialogPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetPrintDialogData(self):
|
||||
val = cmndlgsc.wxPrintDialog_GetPrintDialogData(self.this)
|
||||
val = wxPrintDialogDataPtr(val)
|
||||
return val
|
||||
def GetPrintDC(self):
|
||||
val = cmndlgsc.wxPrintDialog_GetPrintDC(self.this)
|
||||
val = wxDCPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def ShowModal(self):
|
||||
val = cmndlgsc.wxPrintDialog_ShowModal(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintDialog instance>"
|
||||
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(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args)
|
||||
self.thisown = 1
|
||||
wx._StdDialogCallbacks(self)
|
||||
|
||||
|
||||
|
||||
|
||||
class wxMessageDialogPtr(wxDialogPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -593,6 +348,30 @@ class wxMessageDialog(wxMessageDialogPtr):
|
||||
|
||||
|
||||
|
||||
class wxProgressDialogPtr(wxFramePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Update(self,*args):
|
||||
val = apply(cmndlgsc.wxProgressDialog_Update,(self.this,)+args)
|
||||
return val
|
||||
def Resume(self):
|
||||
val = cmndlgsc.wxProgressDialog_Resume(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxProgressDialog instance>"
|
||||
class wxProgressDialog(wxProgressDialogPtr):
|
||||
def __init__(self,arg0,arg1,*args) :
|
||||
argl = map(None,args)
|
||||
try: argl[1] = argl[1].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
self.this = apply(cmndlgsc.new_wxProgressDialog,(arg0,arg1,)+args)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
@@ -66,8 +66,10 @@ extern PyObject *SWIG_newvarlink(void);
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/statline.h>
|
||||
#endif
|
||||
|
||||
|
||||
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
||||
PyObject* o2;
|
||||
PyObject* o3;
|
||||
@@ -1270,6 +1272,14 @@ static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *arg
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxComboBoxTowxChoice(void *ptr) {
|
||||
wxComboBox *src;
|
||||
wxChoice *dest;
|
||||
src = (wxComboBox *) ptr;
|
||||
dest = (wxChoice *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxComboBoxTowxControl(void *ptr) {
|
||||
wxComboBox *src;
|
||||
wxControl *dest;
|
||||
@@ -1881,35 +1891,6 @@ static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxComboBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxComboBox * _arg0;
|
||||
int _arg1;
|
||||
bool _arg2 = (1);
|
||||
char * _argc0 = 0;
|
||||
int tempbool2;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"si|i:wxComboBox_SetSelection",&_argc0,&_arg1,&tempbool2))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg2 = (bool ) tempbool2;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxComboBox_SetSelection(_arg0,_arg1,_arg2);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -2341,6 +2322,76 @@ static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxStaticLineTowxControl(void *ptr) {
|
||||
wxStaticLine *src;
|
||||
wxControl *dest;
|
||||
src = (wxStaticLine *) ptr;
|
||||
dest = (wxControl *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxStaticLineTowxWindow(void *ptr) {
|
||||
wxStaticLine *src;
|
||||
wxWindow *dest;
|
||||
src = (wxStaticLine *) ptr;
|
||||
dest = (wxWindow *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
|
||||
wxStaticLine *src;
|
||||
wxEvtHandler *dest;
|
||||
src = (wxStaticLine *) ptr;
|
||||
dest = (wxEvtHandler *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
||||
static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxStaticLine * _result;
|
||||
wxWindow * _arg0;
|
||||
wxWindowID _arg1;
|
||||
wxPoint * _arg2 = &wxPyDefaultPosition;
|
||||
wxSize * _arg3 = &wxPyDefaultSize;
|
||||
long _arg4 = wxLI_HORIZONTAL;
|
||||
char * _arg5 = "staticLine";
|
||||
char * _argc0 = 0;
|
||||
char * _argc2 = 0;
|
||||
char * _argc3 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"si|ssls:new_wxStaticLine",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc2) {
|
||||
if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticLine. Expected _wxPoint_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc3) {
|
||||
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticLine. Expected _wxSize_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxStaticTextTowxControl(void *ptr) {
|
||||
wxStaticText *src;
|
||||
wxControl *dest;
|
||||
@@ -5293,44 +5344,6 @@ static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxRadioBox_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
|
||||
static PyObject *_wrap_wxRadioBox_SetLabel(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxRadioBox * _arg0;
|
||||
wxString * _arg1;
|
||||
char * _argc0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetLabel",&_argc0,&_obj1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetLabel. Expected _wxRadioBox_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (!PyString_Check(_obj1)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxRadioBox_SetLabel(_arg0,*_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -6231,7 +6244,6 @@ static PyMethodDef controlscMethods[] = {
|
||||
{ "wxRadioBox_SetStringSelection", _wrap_wxRadioBox_SetStringSelection, 1 },
|
||||
{ "wxRadioBox_SetSelection", _wrap_wxRadioBox_SetSelection, 1 },
|
||||
{ "wxRadioBox_SetItemLabel", _wrap_wxRadioBox_SetItemLabel, 1 },
|
||||
{ "wxRadioBox_SetLabel", _wrap_wxRadioBox_SetLabel, 1 },
|
||||
{ "wxRadioBox_Number", _wrap_wxRadioBox_Number, 1 },
|
||||
{ "wxRadioBox_GetStringSelection", _wrap_wxRadioBox_GetStringSelection, 1 },
|
||||
{ "wxRadioBox_GetString", _wrap_wxRadioBox_GetString, 1 },
|
||||
@@ -6316,6 +6328,7 @@ static PyMethodDef controlscMethods[] = {
|
||||
{ "wxStaticText_SetLabel", _wrap_wxStaticText_SetLabel, 1 },
|
||||
{ "wxStaticText_GetLabel", _wrap_wxStaticText_GetLabel, 1 },
|
||||
{ "new_wxStaticText", _wrap_new_wxStaticText, 1 },
|
||||
{ "new_wxStaticLine", _wrap_new_wxStaticLine, 1 },
|
||||
{ "new_wxStaticBox", _wrap_new_wxStaticBox, 1 },
|
||||
{ "wxGauge_SetValue", _wrap_wxGauge_SetValue, 1 },
|
||||
{ "wxGauge_SetShadowWidth", _wrap_wxGauge_SetShadowWidth, 1 },
|
||||
@@ -6328,7 +6341,6 @@ static PyMethodDef controlscMethods[] = {
|
||||
{ "new_wxGauge", _wrap_new_wxGauge, 1 },
|
||||
{ "wxComboBox_SetValue", _wrap_wxComboBox_SetValue, 1 },
|
||||
{ "wxComboBox_SetMark", _wrap_wxComboBox_SetMark, 1 },
|
||||
{ "wxComboBox_SetSelection", _wrap_wxComboBox_SetSelection, 1 },
|
||||
{ "wxComboBox_SetInsertionPointEnd", _wrap_wxComboBox_SetInsertionPointEnd, 1 },
|
||||
{ "wxComboBox_SetInsertionPoint", _wrap_wxComboBox_SetInsertionPoint, 1 },
|
||||
{ "wxComboBox_Remove", _wrap_wxComboBox_Remove, 1 },
|
||||
@@ -6397,6 +6409,13 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
|
||||
@@ -6419,6 +6438,8 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
|
||||
@@ -6439,13 +6460,15 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
||||
SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
|
||||
SWIG_RegisterMapping("_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice);
|
||||
SWIG_RegisterMapping("_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice);
|
||||
SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
|
||||
SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
|
||||
SWIG_RegisterMapping("_long","_wxDash",0);
|
||||
@@ -6458,6 +6481,7 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -6472,15 +6496,16 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -6501,10 +6526,13 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -6526,6 +6554,7 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -6563,6 +6592,8 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
|
||||
@@ -6622,6 +6653,8 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_wxControl","_wxListBox",SwigwxListBoxTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
|
||||
@@ -6640,6 +6673,7 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -6654,16 +6688,20 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
|
||||
SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice);
|
||||
SWIG_RegisterMapping("_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice);
|
||||
SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
|
||||
SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
@@ -6704,6 +6742,8 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_class_wxControl","_wxListBox",SwigwxListBoxTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
|
||||
SWIG_RegisterMapping("_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
|
||||
@@ -6759,6 +6799,8 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
|
||||
@@ -6805,6 +6847,8 @@ SWIGEXPORT(void,initcontrolsc)() {
|
||||
SWIG_RegisterMapping("_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
|
||||
SWIG_RegisterMapping("_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
|
||||
|
@@ -185,7 +185,7 @@ class wxChoice(wxChoicePtr):
|
||||
|
||||
|
||||
|
||||
class wxComboBoxPtr(wxControlPtr):
|
||||
class wxComboBoxPtr(wxChoicePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
@@ -243,9 +243,6 @@ class wxComboBoxPtr(wxControlPtr):
|
||||
def SetInsertionPointEnd(self):
|
||||
val = controlsc.wxComboBox_SetInsertionPointEnd(self.this)
|
||||
return val
|
||||
def SetSelection(self,arg0,*args):
|
||||
val = apply(controlsc.wxComboBox_SetSelection,(self.this,arg0,)+args)
|
||||
return val
|
||||
def SetMark(self,arg0,arg1):
|
||||
val = controlsc.wxComboBox_SetMark(self.this,arg0,arg1)
|
||||
return val
|
||||
@@ -334,6 +331,26 @@ class wxStaticBox(wxStaticBoxPtr):
|
||||
|
||||
|
||||
|
||||
class wxStaticLinePtr(wxControlPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxStaticLine instance>"
|
||||
class wxStaticLine(wxStaticLinePtr):
|
||||
def __init__(self,arg0,arg1,*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(controlsc.new_wxStaticLine,(arg0.this,arg1,)+args)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxStaticTextPtr(wxControlPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -713,9 +730,6 @@ class wxRadioBoxPtr(wxControlPtr):
|
||||
def Number(self):
|
||||
val = controlsc.wxRadioBox_Number(self.this)
|
||||
return val
|
||||
def SetLabel(self,arg0):
|
||||
val = controlsc.wxRadioBox_SetLabel(self.this,arg0)
|
||||
return val
|
||||
def SetItemLabel(self,arg0,arg1):
|
||||
val = controlsc.wxRadioBox_SetItemLabel(self.this,arg0,arg1)
|
||||
return val
|
||||
|
@@ -129,7 +129,13 @@ public:
|
||||
}
|
||||
|
||||
~wxPyTreeItemData() {
|
||||
#ifdef WXP_WITH_THREAD
|
||||
PyEval_RestoreThread(wxPyEventThreadState);
|
||||
#endif
|
||||
Py_DECREF(m_obj);
|
||||
#ifdef WXP_WITH_THREAD
|
||||
PyEval_SaveThread();
|
||||
#endif
|
||||
}
|
||||
|
||||
PyObject* GetData() {
|
||||
@@ -3876,6 +3882,42 @@ static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
size_t _result;
|
||||
wxTreeCtrl * _arg0;
|
||||
wxTreeItemId * _arg1;
|
||||
bool _arg2 = (1);
|
||||
char * _argc0 = 0;
|
||||
char * _argc1 = 0;
|
||||
int tempbool2;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_GetChildrenCount",&_argc0,&_argc1,&tempbool2))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg2 = (bool ) tempbool2;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -4947,6 +4989,7 @@ static PyMethodDef controls2cMethods[] = {
|
||||
{ "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling, 1 },
|
||||
{ "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild, 1 },
|
||||
{ "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild, 1 },
|
||||
{ "wxTreeCtrl_GetChildrenCount", _wrap_wxTreeCtrl_GetChildrenCount, 1 },
|
||||
{ "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
|
||||
{ "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
|
||||
{ "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
|
||||
@@ -5085,6 +5128,7 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
|
||||
PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
|
||||
PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
|
||||
PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
|
||||
PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
|
||||
PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
|
||||
PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
|
||||
@@ -5135,6 +5179,13 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
|
||||
@@ -5146,8 +5197,8 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
@@ -5167,6 +5218,7 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -5181,15 +5233,16 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -5216,11 +5269,14 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -5243,6 +5299,7 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -5293,6 +5350,7 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -5312,12 +5370,14 @@ SWIGEXPORT(void,initcontrols2c)() {
|
||||
SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -469,6 +469,9 @@ class wxTreeCtrlPtr(wxControlPtr):
|
||||
val = wxTreeItemIdPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetChildrenCount(self,arg0,*args):
|
||||
val = apply(controls2c.wxTreeCtrl_GetChildrenCount,(self.this,arg0.this,)+args)
|
||||
return val
|
||||
def GetFirstChild(self,arg0,arg1):
|
||||
val = controls2c.wxTreeCtrl_GetFirstChild(self.this,arg0.this,arg1)
|
||||
return val
|
||||
@@ -601,7 +604,7 @@ class wxTreeCtrlPtr(wxControlPtr):
|
||||
val1.thisown = 1
|
||||
return (val1,val2)
|
||||
def GetNextChild(self,arg0,arg1):
|
||||
val1, val2 = controls2c.wxTreeCtrl_GetFirstChild(self.this,arg0.this,arg1)
|
||||
val1, val2 = controls2c.wxTreeCtrl_GetNextChild(self.this,arg0.this,arg1)
|
||||
val1 = wxTreeItemIdPtr(val1)
|
||||
val1.thisown = 1
|
||||
return (val1,val2)
|
||||
@@ -634,6 +637,7 @@ wxLIST_MASK_IMAGE = controls2c.wxLIST_MASK_IMAGE
|
||||
wxLIST_MASK_DATA = controls2c.wxLIST_MASK_DATA
|
||||
wxLIST_MASK_WIDTH = controls2c.wxLIST_MASK_WIDTH
|
||||
wxLIST_MASK_FORMAT = controls2c.wxLIST_MASK_FORMAT
|
||||
wxLIST_MASK_STATE = controls2c.wxLIST_MASK_STATE
|
||||
wxLIST_STATE_DONTCARE = controls2c.wxLIST_STATE_DONTCARE
|
||||
wxLIST_STATE_DROPHILITED = controls2c.wxLIST_STATE_DROPHILITED
|
||||
wxLIST_STATE_FOCUSED = controls2c.wxLIST_STATE_FOCUSED
|
||||
|
@@ -3002,7 +3002,75 @@ static PyObject *_wrap_wxPyEvent_GetUserData(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
|
||||
wxNotifyEvent *src;
|
||||
wxCommandEvent *dest;
|
||||
src = (wxNotifyEvent *) ptr;
|
||||
dest = (wxCommandEvent *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxNotifyEventTowxEvent(void *ptr) {
|
||||
wxNotifyEvent *src;
|
||||
wxEvent *dest;
|
||||
src = (wxNotifyEvent *) ptr;
|
||||
dest = (wxEvent *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
#define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
|
||||
static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxNotifyEvent * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxNotifyEvent_IsAllowed",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotifyEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (bool )wxNotifyEvent_IsAllowed(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
|
||||
static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxNotifyEvent * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxNotifyEvent_Veto",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotifyEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxNotifyEvent_Veto(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyMethodDef eventscMethods[] = {
|
||||
{ "wxNotifyEvent_Veto", _wrap_wxNotifyEvent_Veto, 1 },
|
||||
{ "wxNotifyEvent_IsAllowed", _wrap_wxNotifyEvent_IsAllowed, 1 },
|
||||
{ "wxPyEvent_GetUserData", _wrap_wxPyEvent_GetUserData, 1 },
|
||||
{ "wxPyEvent_SetUserData", _wrap_wxPyEvent_SetUserData, 1 },
|
||||
{ "delete_wxPyEvent", _wrap_delete_wxPyEvent, 1 },
|
||||
@@ -3120,6 +3188,8 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
* (Used by the SWIG pointer type-checker).
|
||||
*/
|
||||
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
|
||||
@@ -3170,10 +3240,17 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
||||
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
||||
@@ -3181,6 +3258,7 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -3190,15 +3268,17 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
|
||||
SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
|
||||
@@ -3247,6 +3327,8 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
|
||||
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent);
|
||||
@@ -3258,11 +3340,13 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
|
||||
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -3275,6 +3359,7 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
|
||||
SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -3296,6 +3381,7 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -3307,12 +3393,14 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
|
||||
SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
@@ -3333,6 +3421,8 @@ SWIGEXPORT(void,initeventsc)() {
|
||||
SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
|
||||
SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent);
|
||||
|
@@ -628,6 +628,25 @@ class wxPyEvent(wxPyEventPtr):
|
||||
|
||||
|
||||
|
||||
class wxNotifyEventPtr(wxCommandEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def IsAllowed(self):
|
||||
val = eventsc.wxNotifyEvent_IsAllowed(self.this)
|
||||
return val
|
||||
def Veto(self):
|
||||
val = eventsc.wxNotifyEvent_Veto(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxNotifyEvent instance>"
|
||||
class wxNotifyEvent(wxNotifyEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
@@ -881,6 +881,13 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler);
|
||||
@@ -891,7 +898,7 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
@@ -910,6 +917,7 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -925,7 +933,6 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
@@ -933,9 +940,11 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -955,11 +964,14 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -981,6 +993,7 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -1027,6 +1040,7 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -1048,12 +1062,14 @@ SWIGEXPORT(void,initframesc)() {
|
||||
SWIG_RegisterMapping("_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame);
|
||||
SWIG_RegisterMapping("_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame);
|
||||
SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -3158,6 +3158,34 @@ static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
|
||||
static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxDC * _arg0;
|
||||
long _arg1;
|
||||
long _arg2;
|
||||
long _arg3;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"slll:wxDC_DrawCircle",&_argc0,&_arg1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||
static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -3997,8 +4025,8 @@ static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
|
||||
#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxDC * _arg0;
|
||||
int * _arg1;
|
||||
@@ -4014,17 +4042,17 @@ static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
|
||||
{
|
||||
_arg2 = &temp0;
|
||||
}
|
||||
if(!PyArg_ParseTuple(args,"s:wxDC_GetSize",&_argc0))
|
||||
if(!PyArg_ParseTuple(args,"s:wxDC_GetSizeTuple",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxDC_GetSize(_arg0,_arg1,_arg2);
|
||||
wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
@@ -4042,6 +4070,33 @@ static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
|
||||
static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _result;
|
||||
wxDC * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxDC_GetSize",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxSize (wxDC_GetSize(_arg0));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
|
||||
static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -5813,6 +5868,7 @@ static PyMethodDef gdicMethods[] = {
|
||||
{ "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 },
|
||||
{ "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 },
|
||||
{ "wxDC_GetSize", _wrap_wxDC_GetSize, 1 },
|
||||
{ "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple, 1 },
|
||||
{ "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 },
|
||||
{ "wxDC_GetPen", _wrap_wxDC_GetPen, 1 },
|
||||
{ "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 },
|
||||
@@ -5839,6 +5895,7 @@ static PyMethodDef gdicMethods[] = {
|
||||
{ "wxDC_DrawIcon", _wrap_wxDC_DrawIcon, 1 },
|
||||
{ "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc, 1 },
|
||||
{ "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse, 1 },
|
||||
{ "wxDC_DrawCircle", _wrap_wxDC_DrawCircle, 1 },
|
||||
{ "wxDC_DrawArc", _wrap_wxDC_DrawArc, 1 },
|
||||
{ "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel, 1 },
|
||||
{ "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY, 1 },
|
||||
@@ -5991,10 +6048,16 @@ SWIGEXPORT(void,initgdic)() {
|
||||
*/
|
||||
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
||||
@@ -6016,16 +6079,17 @@ SWIGEXPORT(void,initgdic)() {
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC);
|
||||
SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_size_t","_uint",0);
|
||||
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
||||
SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -6040,6 +6104,7 @@ SWIGEXPORT(void,initgdic)() {
|
||||
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -6063,6 +6128,7 @@ SWIGEXPORT(void,initgdic)() {
|
||||
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -6087,6 +6153,7 @@ SWIGEXPORT(void,initgdic)() {
|
||||
SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -6097,12 +6164,14 @@ SWIGEXPORT(void,initgdic)() {
|
||||
SWIG_RegisterMapping("_short","_unsigned_short",0);
|
||||
SWIG_RegisterMapping("_short","_signed_short",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -344,6 +344,9 @@ class wxDCPtr :
|
||||
def DrawArc(self,arg0,arg1,arg2,arg3,arg4,arg5):
|
||||
val = gdic.wxDC_DrawArc(self.this,arg0,arg1,arg2,arg3,arg4,arg5)
|
||||
return val
|
||||
def DrawCircle(self,arg0,arg1,arg2):
|
||||
val = gdic.wxDC_DrawCircle(self.this,arg0,arg1,arg2)
|
||||
return val
|
||||
def DrawEllipse(self,arg0,arg1,arg2,arg3):
|
||||
val = gdic.wxDC_DrawEllipse(self.this,arg0,arg1,arg2,arg3)
|
||||
return val
|
||||
@@ -440,8 +443,13 @@ class wxDCPtr :
|
||||
val = wxColourPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetSizeTuple(self):
|
||||
val = gdic.wxDC_GetSizeTuple(self.this)
|
||||
return val
|
||||
def GetSize(self):
|
||||
val = gdic.wxDC_GetSize(self.this)
|
||||
val = wxSizePtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetTextBackground(self):
|
||||
val = gdic.wxDC_GetTextBackground(self.this)
|
||||
|
@@ -7676,7 +7676,7 @@ static PyObject *_wrap_new_wxGLContext(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxGLContext * _result;
|
||||
bool _arg0;
|
||||
wxWindow * _arg1;
|
||||
wxGLCanvas * _arg1;
|
||||
wxPalette * _arg2 = &wxNullPalette;
|
||||
int tempbool0;
|
||||
char * _argc1 = 0;
|
||||
@@ -7688,8 +7688,8 @@ static PyObject *_wrap_new_wxGLContext(PyObject *self, PyObject *args) {
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxGLContext. Expected _wxWindow_p.");
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxGLCanvas_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxGLContext. Expected _wxGLCanvas_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
@@ -7810,118 +7810,6 @@ static PyObject *_wrap_wxGLContext_SwapBuffers(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGLContext_SetupPixelFormat(_swigobj) (_swigobj->SetupPixelFormat())
|
||||
static PyObject *_wrap_wxGLContext_SetupPixelFormat(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxGLContext * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxGLContext_SetupPixelFormat",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGLContext_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetupPixelFormat. Expected _wxGLContext_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxGLContext_SetupPixelFormat(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGLContext_SetupPalette(_swigobj,_swigarg0) (_swigobj->SetupPalette(_swigarg0))
|
||||
static PyObject *_wrap_wxGLContext_SetupPalette(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxGLContext * _arg0;
|
||||
wxPalette * _arg1;
|
||||
char * _argc0 = 0;
|
||||
char * _argc1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss:wxGLContext_SetupPalette",&_argc0,&_argc1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGLContext_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetupPalette. Expected _wxGLContext_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPalette_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGLContext_SetupPalette. Expected _wxPalette_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxGLContext_SetupPalette(_arg0,*_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGLContext_CreateDefaultPalette(_swigobj) (_swigobj->CreateDefaultPalette())
|
||||
static PyObject *_wrap_wxGLContext_CreateDefaultPalette(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxPalette * _result;
|
||||
wxGLContext * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxGLContext_CreateDefaultPalette",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGLContext_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_CreateDefaultPalette. Expected _wxGLContext_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxPalette (wxGLContext_CreateDefaultPalette(_arg0));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPalette_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGLContext_GetPalette(_swigobj) (_swigobj->GetPalette())
|
||||
static PyObject *_wrap_wxGLContext_GetPalette(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxPalette * _result;
|
||||
wxGLContext * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxGLContext_GetPalette",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGLContext_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetPalette. Expected _wxGLContext_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxPalette *)wxGLContext_GetPalette(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxGLContext_GetWindow(_swigobj) (_swigobj->GetWindow())
|
||||
static PyObject *_wrap_wxGLContext_GetWindow(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -7957,6 +7845,14 @@ static void *SwigwxGLCanvasTowxScrolledWindow(void *ptr) {
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxGLCanvasTowxPanel(void *ptr) {
|
||||
wxGLCanvas *src;
|
||||
wxPanel *dest;
|
||||
src = (wxGLCanvas *) ptr;
|
||||
dest = (wxPanel *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxGLCanvasTowxWindow(void *ptr) {
|
||||
wxGLCanvas *src;
|
||||
wxWindow *dest;
|
||||
@@ -8145,10 +8041,6 @@ static PyMethodDef glcanvascMethods[] = {
|
||||
{ "wxGLCanvas_SetCurrent", _wrap_wxGLCanvas_SetCurrent, 1 },
|
||||
{ "new_wxGLCanvas", _wrap_new_wxGLCanvas, 1 },
|
||||
{ "wxGLContext_GetWindow", _wrap_wxGLContext_GetWindow, 1 },
|
||||
{ "wxGLContext_GetPalette", _wrap_wxGLContext_GetPalette, 1 },
|
||||
{ "wxGLContext_CreateDefaultPalette", _wrap_wxGLContext_CreateDefaultPalette, 1 },
|
||||
{ "wxGLContext_SetupPalette", _wrap_wxGLContext_SetupPalette, 1 },
|
||||
{ "wxGLContext_SetupPixelFormat", _wrap_wxGLContext_SetupPixelFormat, 1 },
|
||||
{ "wxGLContext_SwapBuffers", _wrap_wxGLContext_SwapBuffers, 1 },
|
||||
{ "wxGLContext_SetColour", _wrap_wxGLContext_SetColour, 1 },
|
||||
{ "wxGLContext_SetCurrent", _wrap_wxGLContext_SetCurrent, 1 },
|
||||
@@ -9088,6 +8980,11 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
PyDict_SetItemString(d,"GL_ZERO", PyInt_FromLong((long) GL_ZERO));
|
||||
PyDict_SetItemString(d,"GL_ZOOM_X", PyInt_FromLong((long) GL_ZOOM_X));
|
||||
PyDict_SetItemString(d,"GL_ZOOM_Y", PyInt_FromLong((long) GL_ZOOM_Y));
|
||||
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
wxClassInfo::InitializeClasses();
|
||||
|
||||
/*
|
||||
* These are the pointer type-equivalency mappings.
|
||||
* (Used by the SWIG pointer type-checker).
|
||||
@@ -9104,6 +9001,18 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
|
||||
SWIG_RegisterMapping("_double","_GLclampd",0);
|
||||
SWIG_RegisterMapping("_double","_GLdouble",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_GLuint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_GLsizei",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_GLint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_GLenum",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
@@ -9115,6 +9024,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_GLuint",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_int",0);
|
||||
@@ -9124,17 +9034,19 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_GLsizei","_uint",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_EBool",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_size_t",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_GLenum",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_GLsizei","_GLint",0);
|
||||
SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
|
||||
SWIG_RegisterMapping("_wxPNGHandler","_class_wxPNGHandler",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
|
||||
SWIG_RegisterMapping("_class_wxPageSetupDialogData","_wxPageSetupDialogData",0);
|
||||
SWIG_RegisterMapping("_wxPrinter","_class_wxPrinter",0);
|
||||
SWIG_RegisterMapping("_GLbyte","_signed_char",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
|
||||
@@ -9145,6 +9057,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
|
||||
SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
|
||||
SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
|
||||
SWIG_RegisterMapping("_wxPyPrintout","_class_wxPyPrintout",0);
|
||||
SWIG_RegisterMapping("_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_long","_signed_long",0);
|
||||
@@ -9161,6 +9074,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_GLenum","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_GLenum","_uint",0);
|
||||
SWIG_RegisterMapping("_GLenum","_size_t",0);
|
||||
SWIG_RegisterMapping("_GLenum","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_class_wxPrintDialogData","_wxPrintDialogData",0);
|
||||
SWIG_RegisterMapping("_wxGLContext","_class_wxGLContext",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
||||
@@ -9171,7 +9085,9 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
|
||||
SWIG_RegisterMapping("_wxProgressDialog","_class_wxProgressDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxBMPHandler","_wxBMPHandler",0);
|
||||
SWIG_RegisterMapping("_wxPrintPreview","_class_wxPrintPreview",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_wxSashLayoutWindow","_class_wxSashLayoutWindow",0);
|
||||
SWIG_RegisterMapping("_size_t","_GLuint",0);
|
||||
@@ -9179,6 +9095,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_size_t","_GLint",0);
|
||||
SWIG_RegisterMapping("_size_t","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_size_t","_GLenum",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -9190,33 +9107,39 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
|
||||
SWIG_RegisterMapping("_class_wxGIFHandler","_wxGIFHandler",0);
|
||||
SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel);
|
||||
SWIG_RegisterMapping("_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel);
|
||||
SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
|
||||
SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_signed_char","_GLbyte",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
|
||||
SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxPrinter","_wxPrinter",0);
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyPrintout","_wxPyPrintout",0);
|
||||
SWIG_RegisterMapping("_class_wxSashWindow","_wxSashWindow",0);
|
||||
SWIG_RegisterMapping("_GLuint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_GLuint","_int",0);
|
||||
SWIG_RegisterMapping("_GLuint","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_GLuint","_uint",0);
|
||||
SWIG_RegisterMapping("_GLuint","_size_t",0);
|
||||
SWIG_RegisterMapping("_GLuint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_GLuint","_GLenum",0);
|
||||
SWIG_RegisterMapping("_GLuint","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_GLuint","_GLint",0);
|
||||
@@ -9227,12 +9150,14 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_uint","_GLint",0);
|
||||
SWIG_RegisterMapping("_uint","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_uint","_GLenum",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
|
||||
SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
|
||||
SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
|
||||
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
|
||||
@@ -9255,7 +9180,9 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
|
||||
SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
|
||||
SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
|
||||
SWIG_RegisterMapping("_GLbitfield","_GLuint",0);
|
||||
SWIG_RegisterMapping("_GLbitfield","_GLsizei",0);
|
||||
@@ -9265,6 +9192,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_GLbitfield","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_GLbitfield","_uint",0);
|
||||
SWIG_RegisterMapping("_GLbitfield","_size_t",0);
|
||||
SWIG_RegisterMapping("_GLbitfield","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_GLbitfield","_GLenum",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
|
||||
@@ -9273,23 +9201,28 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
|
||||
SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
|
||||
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_GLsizei",0);
|
||||
SWIG_RegisterMapping("_EBool","_GLint",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
|
||||
SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPreviewFrame","_wxPreviewFrame",0);
|
||||
SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
|
||||
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
|
||||
SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
||||
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
|
||||
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxProgressDialog","_wxProgressDialog",0);
|
||||
SWIG_RegisterMapping("_wxPyApp","_class_wxPyApp",0);
|
||||
SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
|
||||
@@ -9299,6 +9232,8 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
@@ -9306,6 +9241,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
|
||||
SWIG_RegisterMapping("_signed_int","_GLsizei",0);
|
||||
SWIG_RegisterMapping("_signed_int","_GLint",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -9389,6 +9325,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_unsigned_int","_GLint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_GLenum",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -9425,6 +9362,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxWindowID","_GLint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_GLenum",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
@@ -9436,6 +9374,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_int","_GLint",0);
|
||||
SWIG_RegisterMapping("_int","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_int","_GLenum",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
@@ -9444,6 +9383,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_int","_signed_int",0);
|
||||
SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPrintPreview","_wxPrintPreview",0);
|
||||
SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
|
||||
SWIG_RegisterMapping("_class_wxPyApp","_wxPyApp",0);
|
||||
@@ -9474,6 +9414,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
|
||||
SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
|
||||
SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
|
||||
SWIG_RegisterMapping("_wxPreviewFrame","_class_wxPreviewFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_GLint","_GLuint",0);
|
||||
SWIG_RegisterMapping("_GLint","_GLsizei",0);
|
||||
@@ -9484,6 +9425,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_GLint","_uint",0);
|
||||
SWIG_RegisterMapping("_GLint","_EBool",0);
|
||||
SWIG_RegisterMapping("_GLint","_size_t",0);
|
||||
SWIG_RegisterMapping("_GLint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_GLint","_GLenum",0);
|
||||
SWIG_RegisterMapping("_GLint","_GLbitfield",0);
|
||||
SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
|
||||
@@ -9511,6 +9453,7 @@ SWIGEXPORT(void,initglcanvasc)() {
|
||||
SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
|
||||
SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
|
||||
SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
|
||||
SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_wxDash","_long",0);
|
||||
SWIG_RegisterMapping("_class_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow);
|
||||
|
@@ -3,6 +3,8 @@ import glcanvasc
|
||||
|
||||
from misc import *
|
||||
|
||||
from misc2 import *
|
||||
|
||||
from windows import *
|
||||
|
||||
from gdi import *
|
||||
@@ -26,6 +28,8 @@ from cmndlgs import *
|
||||
from windows3 import *
|
||||
|
||||
from image import *
|
||||
|
||||
from printfw import *
|
||||
import wx
|
||||
class wxGLContextPtr :
|
||||
def __init__(self,this):
|
||||
@@ -43,21 +47,6 @@ class wxGLContextPtr :
|
||||
def SwapBuffers(self):
|
||||
val = glcanvasc.wxGLContext_SwapBuffers(self.this)
|
||||
return val
|
||||
def SetupPixelFormat(self):
|
||||
val = glcanvasc.wxGLContext_SetupPixelFormat(self.this)
|
||||
return val
|
||||
def SetupPalette(self,arg0):
|
||||
val = glcanvasc.wxGLContext_SetupPalette(self.this,arg0.this)
|
||||
return val
|
||||
def CreateDefaultPalette(self):
|
||||
val = glcanvasc.wxGLContext_CreateDefaultPalette(self.this)
|
||||
val = wxPalettePtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetPalette(self):
|
||||
val = glcanvasc.wxGLContext_GetPalette(self.this)
|
||||
val = wxPalettePtr(val)
|
||||
return val
|
||||
def GetWindow(self):
|
||||
val = glcanvasc.wxGLContext_GetWindow(self.this)
|
||||
val = wxWindowPtr(val)
|
||||
|
@@ -1461,6 +1461,13 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_class_wxJPEGHandler","_wxJPEGHandler",0);
|
||||
SWIG_RegisterMapping("_wxBMPHandler","_class_wxBMPHandler",0);
|
||||
SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
@@ -1474,7 +1481,6 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler);
|
||||
SWIG_RegisterMapping("_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler);
|
||||
SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPNGHandler","_class_wxPNGHandler",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
@@ -1486,6 +1492,7 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxBMPHandler","_wxBMPHandler",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -1493,11 +1500,11 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
||||
SWIG_RegisterMapping("_class_wxGIFHandler","_wxGIFHandler",0);
|
||||
SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -1509,6 +1516,7 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -1520,6 +1528,7 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -1553,6 +1562,7 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_class_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler);
|
||||
SWIG_RegisterMapping("_class_wxImageHandler","_wxImageHandler",0);
|
||||
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -1564,12 +1574,14 @@ SWIGEXPORT(void,initimagec)() {
|
||||
SWIG_RegisterMapping("_short","_signed_short",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_wxJPEGHandler","_class_wxJPEGHandler",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -643,6 +643,13 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler);
|
||||
@@ -655,7 +662,7 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
@@ -674,6 +681,7 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -689,7 +697,6 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
@@ -697,9 +704,11 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -719,12 +728,15 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -747,6 +759,7 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -797,6 +810,7 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -820,12 +834,14 @@ SWIGEXPORT(void,initmdic)() {
|
||||
SWIG_RegisterMapping("_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame);
|
||||
SWIG_RegisterMapping("_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame);
|
||||
SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -122,14 +122,6 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
wxGetResource(section, entry, &retval, file);
|
||||
return retval;
|
||||
}
|
||||
|
||||
void wxToolTip_Enable(bool flag) {
|
||||
wxToolTip::Enable(flag);
|
||||
}
|
||||
|
||||
void wxToolTip_SetDelay(long milliseconds) {
|
||||
wxToolTip::SetDelay(milliseconds);
|
||||
}
|
||||
static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
@@ -703,84 +695,6 @@ static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
char * _argc1 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
char * _argc1 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
int * _arg0;
|
||||
@@ -854,6 +768,23 @@ static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSleep(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
int _arg0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxSleep",&_arg0))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxSleep(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
@@ -886,6 +817,25 @@ static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _arg0;
|
||||
int tempbool0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxEnableTopLevelWindows",&tempbool0))
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxEnableTopLevelWindows(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
char * _result;
|
||||
@@ -1088,42 +1038,6 @@ static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _arg0;
|
||||
int tempbool0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxToolTip_Enable",&tempbool0))
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxToolTip_Enable(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
long _arg0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"l:wxToolTip_SetDelay",&_arg0))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxToolTip_SetDelay(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
|
||||
static PyObject *_wrap_wxSize_x_set(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1349,6 +1263,108 @@ static PyObject *_wrap_wxSize_GetY(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
|
||||
static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
long _result;
|
||||
wxSize * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxSize_GetWidth",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (long )wxSize_GetWidth(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("l",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
|
||||
static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
long _result;
|
||||
wxSize * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxSize_GetHeight",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (long )wxSize_GetHeight(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("l",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
|
||||
static PyObject *_wrap_wxSize_SetWidth(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _arg0;
|
||||
long _arg1;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"sl:wxSize_SetWidth",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxSize_SetWidth(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
|
||||
static PyObject *_wrap_wxSize_SetHeight(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _arg0;
|
||||
long _arg1;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"sl:wxSize_SetHeight",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxSize_SetHeight(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject * wxSize_asTuple(wxSize *self) {
|
||||
PyObject* tup = PyTuple_New(2);
|
||||
PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
|
||||
@@ -3855,138 +3871,7 @@ static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxToolTip *)new_wxToolTip(*_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _arg0;
|
||||
wxString * _arg1;
|
||||
char * _argc0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"sO:wxToolTip_SetTip",&_argc0,&_obj1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (!PyString_Check(_obj1)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxToolTip_SetTip(_arg0,*_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxToolTip * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxToolTip_GetTip",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxString (wxToolTip_GetTip(_arg0));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
}{
|
||||
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
||||
}
|
||||
{
|
||||
delete _result;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxToolTip * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxToolTip_GetWindow",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxToolTip_GetWindow(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyMethodDef misccMethods[] = {
|
||||
{ "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow, 1 },
|
||||
{ "wxToolTip_GetTip", _wrap_wxToolTip_GetTip, 1 },
|
||||
{ "wxToolTip_SetTip", _wrap_wxToolTip_SetTip, 1 },
|
||||
{ "new_wxToolTip", _wrap_new_wxToolTip, 1 },
|
||||
{ "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable, 1 },
|
||||
{ "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand, 1 },
|
||||
{ "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode, 1 },
|
||||
@@ -4080,8 +3965,10 @@ static PyMethodDef misccMethods[] = {
|
||||
{ "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, 1 },
|
||||
{ "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, 1 },
|
||||
{ "wxSize_asTuple", _wrap_wxSize_asTuple, 1 },
|
||||
{ "wxSize_GetHeight", _wrap_wxSize_GetY, 1 },
|
||||
{ "wxSize_GetWidth", _wrap_wxSize_GetX, 1 },
|
||||
{ "wxSize_SetHeight", _wrap_wxSize_SetHeight, 1 },
|
||||
{ "wxSize_SetWidth", _wrap_wxSize_SetWidth, 1 },
|
||||
{ "wxSize_GetHeight", _wrap_wxSize_GetHeight, 1 },
|
||||
{ "wxSize_GetWidth", _wrap_wxSize_GetWidth, 1 },
|
||||
{ "wxSize_GetY", _wrap_wxSize_GetY, 1 },
|
||||
{ "wxSize_GetX", _wrap_wxSize_GetX, 1 },
|
||||
{ "wxSize_Set", _wrap_wxSize_Set, 1 },
|
||||
@@ -4095,8 +3982,6 @@ static PyMethodDef misccMethods[] = {
|
||||
{ "wxSize_y_set", _wrap_wxSize_y_set, 1 },
|
||||
{ "wxSize_x_get", _wrap_wxSize_x_get, 1 },
|
||||
{ "wxSize_x_set", _wrap_wxSize_x_set, 1 },
|
||||
{ "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay, 1 },
|
||||
{ "wxToolTip_Enable", _wrap_wxToolTip_Enable, 1 },
|
||||
{ "wxResourceParseString", _wrap_wxResourceParseString, 1 },
|
||||
{ "wxResourceParseFile", _wrap_wxResourceParseFile, 1 },
|
||||
{ "wxResourceParseData", _wrap_wxResourceParseData, 1 },
|
||||
@@ -4107,13 +3992,13 @@ static PyMethodDef misccMethods[] = {
|
||||
{ "wxResourceClear", _wrap_wxResourceClear, 1 },
|
||||
{ "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, 1 },
|
||||
{ "wxGetResource", _wrap_wxGetResource, 1 },
|
||||
{ "wxEnableTopLevelWindows", _wrap_wxEnableTopLevelWindows, 1 },
|
||||
{ "wxSafeYield", _wrap_wxSafeYield, 1 },
|
||||
{ "wxYield", _wrap_wxYield, 1 },
|
||||
{ "wxSleep", _wrap_wxSleep, 1 },
|
||||
{ "wxNow", _wrap_wxNow, 1 },
|
||||
{ "wxIsBusy", _wrap_wxIsBusy, 1 },
|
||||
{ "wxGetMousePosition", _wrap_wxGetMousePosition, 1 },
|
||||
{ "wxFindWindowByName", _wrap_wxFindWindowByName, 1 },
|
||||
{ "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 },
|
||||
{ "wxExecute", _wrap_wxExecute, 1 },
|
||||
{ "wxEndBusyCursor", _wrap_wxEndBusyCursor, 1 },
|
||||
{ "wxDisplaySize", _wrap_wxDisplaySize, 1 },
|
||||
@@ -4170,19 +4055,26 @@ SWIGEXPORT(void,initmiscc)() {
|
||||
*/
|
||||
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
||||
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_long","_signed_long",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_size_t","_uint",0);
|
||||
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -4191,6 +4083,7 @@ SWIGEXPORT(void,initmiscc)() {
|
||||
SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
|
||||
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -4199,6 +4092,7 @@ SWIGEXPORT(void,initmiscc)() {
|
||||
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
|
||||
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -4214,6 +4108,7 @@ SWIGEXPORT(void,initmiscc)() {
|
||||
SWIG_RegisterMapping("_signed_short","_short",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -4221,12 +4116,14 @@ SWIGEXPORT(void,initmiscc)() {
|
||||
SWIG_RegisterMapping("_short","_WXTYPE",0);
|
||||
SWIG_RegisterMapping("_short","_unsigned_short",0);
|
||||
SWIG_RegisterMapping("_short","_signed_short",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -22,6 +22,12 @@ class wxSizePtr :
|
||||
def GetHeight(self):
|
||||
val = miscc.wxSize_GetHeight(self.this)
|
||||
return val
|
||||
def SetWidth(self,arg0):
|
||||
val = miscc.wxSize_SetWidth(self.this,arg0)
|
||||
return val
|
||||
def SetHeight(self,arg0):
|
||||
val = miscc.wxSize_SetHeight(self.this,arg0)
|
||||
return val
|
||||
def asTuple(self):
|
||||
val = miscc.wxSize_asTuple(self.this)
|
||||
return val
|
||||
@@ -485,30 +491,6 @@ class wxAcceleratorTable(wxAcceleratorTablePtr):
|
||||
|
||||
|
||||
|
||||
class wxToolTipPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetTip(self,arg0):
|
||||
val = miscc.wxToolTip_SetTip(self.this,arg0)
|
||||
return val
|
||||
def GetTip(self):
|
||||
val = miscc.wxToolTip_GetTip(self.this)
|
||||
return val
|
||||
def GetWindow(self):
|
||||
val = miscc.wxToolTip_GetWindow(self.this)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxToolTip instance>"
|
||||
class wxToolTip(wxToolTipPtr):
|
||||
def __init__(self,arg0) :
|
||||
self.this = miscc.new_wxToolTip(arg0)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
@@ -585,34 +567,20 @@ wxEndBusyCursor = miscc.wxEndBusyCursor
|
||||
|
||||
wxExecute = miscc.wxExecute
|
||||
|
||||
def wxFindWindowByLabel(arg0,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
val = apply(miscc.wxFindWindowByLabel,(arg0,)+args)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
|
||||
def wxFindWindowByName(arg0,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
val = apply(miscc.wxFindWindowByName,(arg0,)+args)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
|
||||
wxGetMousePosition = miscc.wxGetMousePosition
|
||||
|
||||
wxIsBusy = miscc.wxIsBusy
|
||||
|
||||
wxNow = miscc.wxNow
|
||||
|
||||
wxSleep = miscc.wxSleep
|
||||
|
||||
wxYield = miscc.wxYield
|
||||
|
||||
wxSafeYield = miscc.wxSafeYield
|
||||
|
||||
wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows
|
||||
|
||||
wxGetResource = miscc.wxGetResource
|
||||
|
||||
wxResourceAddIdentifier = miscc.wxResourceAddIdentifier
|
||||
@@ -644,10 +612,6 @@ wxResourceParseFile = miscc.wxResourceParseFile
|
||||
|
||||
wxResourceParseString = miscc.wxResourceParseString
|
||||
|
||||
wxToolTip_Enable = miscc.wxToolTip_Enable
|
||||
|
||||
wxToolTip_SetDelay = miscc.wxToolTip_SetDelay
|
||||
|
||||
|
||||
|
||||
#-------------- VARIABLE WRAPPERS ------------------
|
||||
|
532
utils/wxPython/src/gtk/misc2.cpp
Normal file
532
utils/wxPython/src/gtk/misc2.cpp
Normal file
@@ -0,0 +1,532 @@
|
||||
/*
|
||||
* FILE : gtk/misc2.cpp
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 5)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
* Permission is granted to distribute this file in any manner provided
|
||||
* this notice remains intact.
|
||||
*
|
||||
* Do not make changes to this file--changes will be lost!
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define SWIGCODE
|
||||
/* Implementation : PYTHON */
|
||||
|
||||
#define SWIGPYTHON
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
/* Definitions for Windows/Unix exporting */
|
||||
#if defined(__WIN32__)
|
||||
# if defined(_MSC_VER)
|
||||
# define SWIGEXPORT(a,b) __declspec(dllexport) a b
|
||||
# else
|
||||
# if defined(__BORLANDC__)
|
||||
# define SWIGEXPORT(a,b) a _export b
|
||||
# else
|
||||
# define SWIGEXPORT(a,b) a b
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
# define SWIGEXPORT(a,b) a b
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "Python.h"
|
||||
extern void SWIG_MakePtr(char *, void *, char *);
|
||||
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
|
||||
extern char *SWIG_GetPtr(char *, void **, char *);
|
||||
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
|
||||
extern PyObject *SWIG_newvarlink(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define SWIG_init initmisc2c
|
||||
|
||||
#define SWIG_name "misc2c"
|
||||
|
||||
#include "helpers.h"
|
||||
#include <wx/resource.h>
|
||||
#include <wx/tooltip.h>
|
||||
|
||||
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
||||
PyObject* o2;
|
||||
PyObject* o3;
|
||||
if (!target) {
|
||||
target = o;
|
||||
} else if (target == Py_None) {
|
||||
Py_DECREF(Py_None);
|
||||
target = o;
|
||||
} else {
|
||||
if (!PyList_Check(target)) {
|
||||
o2 = target;
|
||||
target = PyList_New(0);
|
||||
PyList_Append(target, o2);
|
||||
Py_XDECREF(o2);
|
||||
}
|
||||
PyList_Append(target,o);
|
||||
Py_XDECREF(o);
|
||||
}
|
||||
return target;
|
||||
}
|
||||
|
||||
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
||||
PyObject* o2;
|
||||
PyObject* o3;
|
||||
|
||||
if (!target) {
|
||||
target = o;
|
||||
} else if (target == Py_None) {
|
||||
Py_DECREF(Py_None);
|
||||
target = o;
|
||||
} else {
|
||||
if (!PyTuple_Check(target)) {
|
||||
o2 = target;
|
||||
target = PyTuple_New(1);
|
||||
PyTuple_SetItem(target, 0, o2);
|
||||
}
|
||||
o3 = PyTuple_New(1);
|
||||
PyTuple_SetItem(o3, 0, o);
|
||||
|
||||
o2 = target;
|
||||
target = PySequence_Concat(o2, o3);
|
||||
Py_DECREF(o2);
|
||||
Py_DECREF(o3);
|
||||
}
|
||||
return target;
|
||||
}
|
||||
|
||||
|
||||
extern byte* byte_LIST_helper(PyObject* source);
|
||||
extern int* int_LIST_helper(PyObject* source);
|
||||
extern long* long_LIST_helper(PyObject* source);
|
||||
extern char** string_LIST_helper(PyObject* source);
|
||||
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
||||
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
||||
extern wxString* wxString_LIST_helper(PyObject* source);
|
||||
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
||||
|
||||
|
||||
static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
|
||||
void wxToolTip_Enable(bool flag) {
|
||||
wxToolTip::Enable(flag);
|
||||
}
|
||||
|
||||
void wxToolTip_SetDelay(long milliseconds) {
|
||||
wxToolTip::SetDelay(milliseconds);
|
||||
}
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
char * _argc1 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
char * _argc1 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _arg0;
|
||||
int tempbool0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxToolTip_Enable",&tempbool0))
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxToolTip_Enable(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
long _arg0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"l:wxToolTip_SetDelay",&_arg0))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxToolTip_SetDelay(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxToolTip *)new_wxToolTip(*_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
{
|
||||
if (_obj0)
|
||||
delete _arg0;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _arg0;
|
||||
wxString * _arg1;
|
||||
char * _argc0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"sO:wxToolTip_SetTip",&_argc0,&_obj1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (!PyString_Check(_obj1)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxToolTip_SetTip(_arg0,*_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxToolTip * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxToolTip_GetTip",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxString (wxToolTip_GetTip(_arg0));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
}{
|
||||
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
||||
}
|
||||
{
|
||||
delete _result;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxToolTip * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxToolTip_GetWindow",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxToolTip_GetWindow(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow, 1 },
|
||||
{ "wxToolTip_GetTip", _wrap_wxToolTip_GetTip, 1 },
|
||||
{ "wxToolTip_SetTip", _wrap_wxToolTip_SetTip, 1 },
|
||||
{ "new_wxToolTip", _wrap_new_wxToolTip, 1 },
|
||||
{ "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay, 1 },
|
||||
{ "wxToolTip_Enable", _wrap_wxToolTip_Enable, 1 },
|
||||
{ "wxFindWindowByName", _wrap_wxFindWindowByName, 1 },
|
||||
{ "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
static PyObject *SWIG_globals;
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
SWIGEXPORT(void,initmisc2c)() {
|
||||
PyObject *m, *d;
|
||||
SWIG_globals = SWIG_newvarlink();
|
||||
m = Py_InitModule("misc2c", misc2cMethods);
|
||||
d = PyModule_GetDict(m);
|
||||
/*
|
||||
* These are the pointer type-equivalency mappings.
|
||||
* (Used by the SWIG pointer type-checker).
|
||||
*/
|
||||
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
||||
SWIG_RegisterMapping("_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_long","_signed_long",0);
|
||||
SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_size_t","_uint",0);
|
||||
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
|
||||
SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
||||
SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
|
||||
SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
|
||||
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
|
||||
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
||||
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
|
||||
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
|
||||
SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
|
||||
SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
|
||||
SWIG_RegisterMapping("_WXTYPE","_short",0);
|
||||
SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
|
||||
SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
|
||||
SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
|
||||
SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
|
||||
SWIG_RegisterMapping("_unsigned_short","_short",0);
|
||||
SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
|
||||
SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
|
||||
SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
|
||||
SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
|
||||
SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
|
||||
SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
|
||||
SWIG_RegisterMapping("_signed_short","_short",0);
|
||||
SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
|
||||
SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
|
||||
SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
|
||||
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_int",0);
|
||||
SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
|
||||
SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
|
||||
SWIG_RegisterMapping("_short","_WXTYPE",0);
|
||||
SWIG_RegisterMapping("_short","_unsigned_short",0);
|
||||
SWIG_RegisterMapping("_short","_signed_short",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
SWIG_RegisterMapping("_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_int","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
|
||||
SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
|
||||
SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
|
||||
SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
|
||||
SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
|
||||
SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
|
||||
SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
|
||||
SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
|
||||
SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
|
||||
SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
|
||||
SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
|
||||
SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
|
||||
SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
|
||||
SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_wxDash","_long",0);
|
||||
SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
|
||||
SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
|
||||
SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
|
||||
}
|
62
utils/wxPython/src/gtk/misc2.py
Normal file
62
utils/wxPython/src/gtk/misc2.py
Normal file
@@ -0,0 +1,62 @@
|
||||
# This file was created automatically by SWIG.
|
||||
import misc2c
|
||||
|
||||
from windows import *
|
||||
|
||||
from misc import *
|
||||
|
||||
from gdi import *
|
||||
class wxToolTipPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def SetTip(self,arg0):
|
||||
val = misc2c.wxToolTip_SetTip(self.this,arg0)
|
||||
return val
|
||||
def GetTip(self):
|
||||
val = misc2c.wxToolTip_GetTip(self.this)
|
||||
return val
|
||||
def GetWindow(self):
|
||||
val = misc2c.wxToolTip_GetWindow(self.this)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxToolTip instance>"
|
||||
class wxToolTip(wxToolTipPtr):
|
||||
def __init__(self,arg0) :
|
||||
self.this = misc2c.new_wxToolTip(arg0)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
||||
def wxFindWindowByLabel(arg0,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
val = apply(misc2c.wxFindWindowByLabel,(arg0,)+args)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
|
||||
def wxFindWindowByName(arg0,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
val = apply(misc2c.wxFindWindowByName,(arg0,)+args)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
|
||||
wxToolTip_Enable = misc2c.wxToolTip_Enable
|
||||
|
||||
wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
|
||||
|
||||
|
||||
|
||||
#-------------- VARIABLE WRAPPERS ------------------
|
||||
|
4301
utils/wxPython/src/gtk/printfw.cpp
Normal file
4301
utils/wxPython/src/gtk/printfw.cpp
Normal file
File diff suppressed because it is too large
Load Diff
551
utils/wxPython/src/gtk/printfw.py
Normal file
551
utils/wxPython/src/gtk/printfw.py
Normal file
@@ -0,0 +1,551 @@
|
||||
# This file was created automatically by SWIG.
|
||||
import printfwc
|
||||
|
||||
from misc import *
|
||||
|
||||
from windows import *
|
||||
|
||||
from gdi import *
|
||||
|
||||
from cmndlgs import *
|
||||
|
||||
from frames import *
|
||||
|
||||
from stattool import *
|
||||
|
||||
from controls import *
|
||||
|
||||
from events import *
|
||||
import wx
|
||||
class wxPrintDataPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self):
|
||||
if self.thisown == 1 :
|
||||
printfwc.delete_wxPrintData(self.this)
|
||||
def GetNoCopies(self):
|
||||
val = printfwc.wxPrintData_GetNoCopies(self.this)
|
||||
return val
|
||||
def GetCollate(self):
|
||||
val = printfwc.wxPrintData_GetCollate(self.this)
|
||||
return val
|
||||
def GetOrientation(self):
|
||||
val = printfwc.wxPrintData_GetOrientation(self.this)
|
||||
return val
|
||||
def GetPrinterName(self):
|
||||
val = printfwc.wxPrintData_GetPrinterName(self.this)
|
||||
return val
|
||||
def GetColour(self):
|
||||
val = printfwc.wxPrintData_GetColour(self.this)
|
||||
return val
|
||||
def GetDuplex(self):
|
||||
val = printfwc.wxPrintData_GetDuplex(self.this)
|
||||
return val
|
||||
def GetPaperId(self):
|
||||
val = printfwc.wxPrintData_GetPaperId(self.this)
|
||||
return val
|
||||
def GetPaperSize(self):
|
||||
val = printfwc.wxPrintData_GetPaperSize(self.this)
|
||||
val = wxSizePtr(val)
|
||||
return val
|
||||
def GetQuality(self):
|
||||
val = printfwc.wxPrintData_GetQuality(self.this)
|
||||
return val
|
||||
def SetNoCopies(self,arg0):
|
||||
val = printfwc.wxPrintData_SetNoCopies(self.this,arg0)
|
||||
return val
|
||||
def SetCollate(self,arg0):
|
||||
val = printfwc.wxPrintData_SetCollate(self.this,arg0)
|
||||
return val
|
||||
def SetOrientation(self,arg0):
|
||||
val = printfwc.wxPrintData_SetOrientation(self.this,arg0)
|
||||
return val
|
||||
def SetPrinterName(self,arg0):
|
||||
val = printfwc.wxPrintData_SetPrinterName(self.this,arg0)
|
||||
return val
|
||||
def SetColour(self,arg0):
|
||||
val = printfwc.wxPrintData_SetColour(self.this,arg0)
|
||||
return val
|
||||
def SetDuplex(self,arg0):
|
||||
val = printfwc.wxPrintData_SetDuplex(self.this,arg0)
|
||||
return val
|
||||
def SetPaperId(self,arg0):
|
||||
val = printfwc.wxPrintData_SetPaperId(self.this,arg0)
|
||||
return val
|
||||
def SetPaperSize(self,arg0):
|
||||
val = printfwc.wxPrintData_SetPaperSize(self.this,arg0.this)
|
||||
return val
|
||||
def SetQuality(self,arg0):
|
||||
val = printfwc.wxPrintData_SetQuality(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintData instance>"
|
||||
class wxPrintData(wxPrintDataPtr):
|
||||
def __init__(self) :
|
||||
self.this = printfwc.new_wxPrintData()
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPageSetupDialogDataPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self):
|
||||
if self.thisown == 1 :
|
||||
printfwc.delete_wxPageSetupDialogData(self.this)
|
||||
def EnableHelp(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_EnableHelp(self.this,arg0)
|
||||
return val
|
||||
def EnableMargins(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_EnableMargins(self.this,arg0)
|
||||
return val
|
||||
def EnableOrientation(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_EnableOrientation(self.this,arg0)
|
||||
return val
|
||||
def EnablePaper(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_EnablePaper(self.this,arg0)
|
||||
return val
|
||||
def EnablePrinter(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_EnablePrinter(self.this,arg0)
|
||||
return val
|
||||
def GetDefaultMinMargins(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetDefaultMinMargins(self.this)
|
||||
return val
|
||||
def GetEnableMargins(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetEnableMargins(self.this)
|
||||
return val
|
||||
def GetEnableOrientation(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetEnableOrientation(self.this)
|
||||
return val
|
||||
def GetEnablePaper(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetEnablePaper(self.this)
|
||||
return val
|
||||
def GetEnablePrinter(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetEnablePrinter(self.this)
|
||||
return val
|
||||
def GetEnableHelp(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetEnableHelp(self.this)
|
||||
return val
|
||||
def GetDefaultInfo(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetDefaultInfo(self.this)
|
||||
return val
|
||||
def GetMarginTopLeft(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetMarginTopLeft(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetMarginBottomRight(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetMarginBottomRight(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetMinMarginTopLeft(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetMinMarginTopLeft(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetMinMarginBottomRight(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetMinMarginBottomRight(self.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetPaperId(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetPaperId(self.this)
|
||||
return val
|
||||
def GetPaperSize(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetPaperSize(self.this)
|
||||
val = wxSizePtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetPrintData(self):
|
||||
val = printfwc.wxPageSetupDialogData_GetPrintData(self.this)
|
||||
val = wxPrintDataPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def SetDefaultInfo(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetDefaultInfo(self.this,arg0)
|
||||
return val
|
||||
def SetDefaultMinMargins(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetDefaultMinMargins(self.this,arg0)
|
||||
return val
|
||||
def SetMarginTopLeft(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetMarginTopLeft(self.this,arg0.this)
|
||||
return val
|
||||
def SetMarginBottomRight(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetMarginBottomRight(self.this,arg0.this)
|
||||
return val
|
||||
def SetMinMarginTopLeft(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetMinMarginTopLeft(self.this,arg0.this)
|
||||
return val
|
||||
def SetMinMarginBottomRight(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetMinMarginBottomRight(self.this,arg0.this)
|
||||
return val
|
||||
def SetPaperId(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetPaperId(self.this,arg0)
|
||||
return val
|
||||
def SetPaperSize(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetPaperSize(self.this,arg0.this)
|
||||
return val
|
||||
def SetPrintData(self,arg0):
|
||||
val = printfwc.wxPageSetupDialogData_SetPrintData(self.this,arg0.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPageSetupDialogData instance>"
|
||||
class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
|
||||
def __init__(self) :
|
||||
self.this = printfwc.new_wxPageSetupDialogData()
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
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)
|
||||
return val
|
||||
def ShowModal(self):
|
||||
val = printfwc.wxPageSetupDialog_ShowModal(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPageSetupDialog instance>"
|
||||
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)
|
||||
self.thisown = 1
|
||||
wx._StdDialogCallbacks(self)
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPrintDialogDataPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self):
|
||||
if self.thisown == 1 :
|
||||
printfwc.delete_wxPrintDialogData(self.this)
|
||||
def EnableHelp(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_EnableHelp(self.this,arg0)
|
||||
return val
|
||||
def EnablePageNumbers(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_EnablePageNumbers(self.this,arg0)
|
||||
return val
|
||||
def EnablePrintToFile(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_EnablePrintToFile(self.this,arg0)
|
||||
return val
|
||||
def EnableSelection(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_EnableSelection(self.this,arg0)
|
||||
return val
|
||||
def GetAllPages(self):
|
||||
val = printfwc.wxPrintDialogData_GetAllPages(self.this)
|
||||
return val
|
||||
def GetCollate(self):
|
||||
val = printfwc.wxPrintDialogData_GetCollate(self.this)
|
||||
return val
|
||||
def GetFromPage(self):
|
||||
val = printfwc.wxPrintDialogData_GetFromPage(self.this)
|
||||
return val
|
||||
def GetMaxPage(self):
|
||||
val = printfwc.wxPrintDialogData_GetMaxPage(self.this)
|
||||
return val
|
||||
def GetMinPage(self):
|
||||
val = printfwc.wxPrintDialogData_GetMinPage(self.this)
|
||||
return val
|
||||
def GetNoCopies(self):
|
||||
val = printfwc.wxPrintDialogData_GetNoCopies(self.this)
|
||||
return val
|
||||
def GetPrintData(self):
|
||||
val = printfwc.wxPrintDialogData_GetPrintData(self.this)
|
||||
val = wxPrintDataPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def GetPrintToFile(self):
|
||||
val = printfwc.wxPrintDialogData_GetPrintToFile(self.this)
|
||||
return val
|
||||
def GetToPage(self):
|
||||
val = printfwc.wxPrintDialogData_GetToPage(self.this)
|
||||
return val
|
||||
def SetCollate(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetCollate(self.this,arg0)
|
||||
return val
|
||||
def SetFromPage(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetFromPage(self.this,arg0)
|
||||
return val
|
||||
def SetMaxPage(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetMaxPage(self.this,arg0)
|
||||
return val
|
||||
def SetMinPage(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetMinPage(self.this,arg0)
|
||||
return val
|
||||
def SetNoCopies(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetNoCopies(self.this,arg0)
|
||||
return val
|
||||
def SetPrintData(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetPrintData(self.this,arg0.this)
|
||||
return val
|
||||
def SetPrintToFile(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetPrintToFile(self.this,arg0)
|
||||
return val
|
||||
def SetSetupDialog(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetSetupDialog(self.this,arg0)
|
||||
return val
|
||||
def SetToPage(self,arg0):
|
||||
val = printfwc.wxPrintDialogData_SetToPage(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintDialogData instance>"
|
||||
class wxPrintDialogData(wxPrintDialogDataPtr):
|
||||
def __init__(self) :
|
||||
self.this = printfwc.new_wxPrintDialogData()
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
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)
|
||||
return val
|
||||
def GetPrintDC(self):
|
||||
val = printfwc.wxPrintDialog_GetPrintDC(self.this)
|
||||
val = wxDCPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def ShowModal(self):
|
||||
val = printfwc.wxPrintDialog_ShowModal(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintDialog instance>"
|
||||
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)
|
||||
self.thisown = 1
|
||||
wx._StdDialogCallbacks(self)
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPrintoutPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self,arg0):
|
||||
val = printfwc.wxPrintout__setSelf(self.this,arg0)
|
||||
return val
|
||||
def Destroy(self):
|
||||
val = printfwc.wxPrintout_Destroy(self.this)
|
||||
return val
|
||||
def GetDC(self):
|
||||
val = printfwc.wxPrintout_GetDC(self.this)
|
||||
val = wxDCPtr(val)
|
||||
return val
|
||||
def GetPageSizeMM(self):
|
||||
val = printfwc.wxPrintout_GetPageSizeMM(self.this)
|
||||
return val
|
||||
def GetPageSizePixels(self):
|
||||
val = printfwc.wxPrintout_GetPageSizePixels(self.this)
|
||||
return val
|
||||
def GetPPIPrinter(self):
|
||||
val = printfwc.wxPrintout_GetPPIPrinter(self.this)
|
||||
return val
|
||||
def GetPPIScreen(self):
|
||||
val = printfwc.wxPrintout_GetPPIScreen(self.this)
|
||||
return val
|
||||
def IsPreview(self):
|
||||
val = printfwc.wxPrintout_IsPreview(self.this)
|
||||
return val
|
||||
def base_OnBeginDocument(self,arg0,arg1):
|
||||
val = printfwc.wxPrintout_base_OnBeginDocument(self.this,arg0,arg1)
|
||||
return val
|
||||
def base_OnEndDocument(self):
|
||||
val = printfwc.wxPrintout_base_OnEndDocument(self.this)
|
||||
return val
|
||||
def base_OnBeginPrinting(self):
|
||||
val = printfwc.wxPrintout_base_OnBeginPrinting(self.this)
|
||||
return val
|
||||
def base_OnEndPrinting(self):
|
||||
val = printfwc.wxPrintout_base_OnEndPrinting(self.this)
|
||||
return val
|
||||
def base_OnPreparePrinting(self):
|
||||
val = printfwc.wxPrintout_base_OnPreparePrinting(self.this)
|
||||
return val
|
||||
def base_GetPageInfo(self):
|
||||
val = printfwc.wxPrintout_base_GetPageInfo(self.this)
|
||||
return val
|
||||
def base_HasPage(self,arg0):
|
||||
val = printfwc.wxPrintout_base_HasPage(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintout instance>"
|
||||
class wxPrintout(wxPrintoutPtr):
|
||||
def __init__(self,*args) :
|
||||
self.this = apply(printfwc.new_wxPrintout,()+args)
|
||||
self.thisown = 1
|
||||
self._setSelf(self)
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPrinterPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self):
|
||||
if self.thisown == 1 :
|
||||
printfwc.delete_wxPrinter(self.this)
|
||||
def CreateAbortWindow(self,arg0,arg1):
|
||||
val = printfwc.wxPrinter_CreateAbortWindow(self.this,arg0.this,arg1.this)
|
||||
return val
|
||||
def GetPrintDialogData(self):
|
||||
val = printfwc.wxPrinter_GetPrintDialogData(self.this)
|
||||
val = wxPrintDialogDataPtr(val)
|
||||
return val
|
||||
def Print(self,arg0,arg1,*args):
|
||||
val = apply(printfwc.wxPrinter_Print,(self.this,arg0.this,arg1.this,)+args)
|
||||
return val
|
||||
def PrintDialog(self,arg0):
|
||||
val = printfwc.wxPrinter_PrintDialog(self.this,arg0.this)
|
||||
val = wxDCPtr(val)
|
||||
return val
|
||||
def ReportError(self,arg0,arg1,arg2):
|
||||
val = printfwc.wxPrinter_ReportError(self.this,arg0.this,arg1.this,arg2)
|
||||
return val
|
||||
def Setup(self,arg0):
|
||||
val = printfwc.wxPrinter_Setup(self.this,arg0.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrinter instance>"
|
||||
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)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPrintPreviewPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetCanvas(self):
|
||||
val = printfwc.wxPrintPreview_GetCanvas(self.this)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
def GetCurrentPage(self):
|
||||
val = printfwc.wxPrintPreview_GetCurrentPage(self.this)
|
||||
return val
|
||||
def GetFrame(self):
|
||||
val = printfwc.wxPrintPreview_GetFrame(self.this)
|
||||
val = wxFramePtr(val)
|
||||
return val
|
||||
def GetMaxPage(self):
|
||||
val = printfwc.wxPrintPreview_GetMaxPage(self.this)
|
||||
return val
|
||||
def GetMinPage(self):
|
||||
val = printfwc.wxPrintPreview_GetMinPage(self.this)
|
||||
return val
|
||||
def GetPrintDialogData(self):
|
||||
val = printfwc.wxPrintPreview_GetPrintDialogData(self.this)
|
||||
val = wxPrintDialogDataPtr(val)
|
||||
return val
|
||||
def GetPrintout(self):
|
||||
val = printfwc.wxPrintPreview_GetPrintout(self.this)
|
||||
val = wxPrintoutPtr(val)
|
||||
return val
|
||||
def GetPrintoutForPrinting(self):
|
||||
val = printfwc.wxPrintPreview_GetPrintoutForPrinting(self.this)
|
||||
val = wxPrintoutPtr(val)
|
||||
return val
|
||||
def GetZoom(self):
|
||||
val = printfwc.wxPrintPreview_GetZoom(self.this)
|
||||
return val
|
||||
def Ok(self):
|
||||
val = printfwc.wxPrintPreview_Ok(self.this)
|
||||
return val
|
||||
def Print(self,arg0):
|
||||
val = printfwc.wxPrintPreview_Print(self.this,arg0)
|
||||
return val
|
||||
def SetCanvas(self,arg0):
|
||||
val = printfwc.wxPrintPreview_SetCanvas(self.this,arg0.this)
|
||||
return val
|
||||
def SetCurrentPage(self,arg0):
|
||||
val = printfwc.wxPrintPreview_SetCurrentPage(self.this,arg0)
|
||||
return val
|
||||
def SetFrame(self,arg0):
|
||||
val = printfwc.wxPrintPreview_SetFrame(self.this,arg0.this)
|
||||
return val
|
||||
def SetPrintout(self,arg0):
|
||||
val = printfwc.wxPrintPreview_SetPrintout(self.this,arg0.this)
|
||||
return val
|
||||
def SetZoom(self,arg0):
|
||||
val = printfwc.wxPrintPreview_SetZoom(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintPreview instance>"
|
||||
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)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxPreviewFramePtr(wxFramePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Initialize(self):
|
||||
val = printfwc.wxPreviewFrame_Initialize(self.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPreviewFrame instance>"
|
||||
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)
|
||||
self.thisown = 1
|
||||
wx._StdFrameCallbacks(self)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------- FUNCTION WRAPPERS ------------------
|
||||
|
||||
|
||||
|
||||
#-------------- VARIABLE WRAPPERS ------------------
|
||||
|
@@ -1928,6 +1928,13 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
|
||||
@@ -1938,7 +1945,7 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
@@ -1957,6 +1964,7 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -1972,7 +1980,6 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
@@ -1980,8 +1987,10 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -2001,11 +2010,14 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -2027,6 +2039,7 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -2075,6 +2088,7 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -2093,12 +2107,14 @@ SWIGEXPORT(void,initstattoolc)() {
|
||||
SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -1233,6 +1233,11 @@ SWIGEXPORT(void,initutilsc)() {
|
||||
SWIG_globals = SWIG_newvarlink();
|
||||
m = Py_InitModule("utilsc", utilscMethods);
|
||||
d = PyModule_GetDict(m);
|
||||
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
wxClassInfo::InitializeClasses();
|
||||
|
||||
/*
|
||||
* These are the pointer type-equivalency mappings.
|
||||
* (Used by the SWIG pointer type-checker).
|
||||
|
@@ -318,6 +318,58 @@ static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _arg0;
|
||||
int _arg1 = (wxHORIZONTAL);
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s|i:wxWindow_CentreOnParent",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxWindow_CentreOnParent(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _arg0;
|
||||
int _arg1 = (wxHORIZONTAL);
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s|i:wxWindow_CenterOnParent",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxWindow_CenterOnParent(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -367,6 +419,41 @@ static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args)
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxPoint * _result;
|
||||
wxWindow * _arg0;
|
||||
wxPoint * _arg1;
|
||||
char * _argc0 = 0;
|
||||
char * _argc1 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss:wxWindow_ClientToScreen",&_argc0,&_argc1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -877,6 +964,44 @@ static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _arg0;
|
||||
wxString * _arg1;
|
||||
char * _argc0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"sO:wxWindow_SetLabel",&_argc0,&_obj1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (!PyString_Check(_obj1)) {
|
||||
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
||||
return NULL;
|
||||
}
|
||||
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxWindow_SetLabel(_arg0,*_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
|
||||
static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1382,6 +1507,31 @@ static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *arg
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
|
||||
static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxWindow * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxWindow_Hide",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (bool )wxWindow_Hide(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
|
||||
static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1482,6 +1632,31 @@ static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
|
||||
static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxWindow * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxWindow_IsTopLevel",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (bool )wxWindow_IsTopLevel(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
|
||||
static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1795,6 +1970,39 @@ static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxWindow * _arg0;
|
||||
wxWindow * _arg1;
|
||||
char * _argc0 = 0;
|
||||
char * _argc1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss:wxWindow_Reparent",&_argc0,&_argc1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (bool )wxWindow_Reparent(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -1844,6 +2052,41 @@ static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args)
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
|
||||
static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxPoint * _result;
|
||||
wxWindow * _arg0;
|
||||
wxPoint * _arg1;
|
||||
char * _argc0 = 0;
|
||||
char * _argc1 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss:wxWindow_ScreenToClient",&_argc0,&_argc1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
|
||||
static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
@@ -2940,6 +3183,66 @@ static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
|
||||
static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxButton * _result;
|
||||
wxPanel * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxPanel_GetDefaultItem",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
|
||||
static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxPanel * _arg0;
|
||||
wxButton * _arg1;
|
||||
char * _argc0 = 0;
|
||||
char * _argc1 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss:wxPanel_SetDefaultItem",&_argc0,&_argc1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argc1) {
|
||||
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxButton_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxPanel_SetDefaultItem(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxDialogTowxPanel(void *ptr) {
|
||||
wxDialog *src;
|
||||
wxPanel *dest;
|
||||
@@ -3353,6 +3656,14 @@ static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
|
||||
wxScrolledWindow *src;
|
||||
wxPanel *dest;
|
||||
src = (wxScrolledWindow *) ptr;
|
||||
dest = (wxPanel *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
|
||||
wxScrolledWindow *src;
|
||||
wxWindow *dest;
|
||||
@@ -5110,6 +5421,8 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxDialog_EndModal", _wrap_wxDialog_EndModal, 1 },
|
||||
{ "wxDialog_Centre", _wrap_wxDialog_Centre, 1 },
|
||||
{ "new_wxDialog", _wrap_new_wxDialog, 1 },
|
||||
{ "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem, 1 },
|
||||
{ "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem, 1 },
|
||||
{ "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 },
|
||||
{ "new_wxPanel", _wrap_new_wxPanel, 1 },
|
||||
{ "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip, 1 },
|
||||
@@ -5146,7 +5459,9 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 },
|
||||
{ "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable, 1 },
|
||||
{ "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 },
|
||||
{ "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient, 1 },
|
||||
{ "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY, 1 },
|
||||
{ "wxWindow_Reparent", _wrap_wxWindow_Reparent, 1 },
|
||||
{ "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse, 1 },
|
||||
{ "wxWindow_Refresh", _wrap_wxWindow_Refresh, 1 },
|
||||
{ "wxWindow_Raise", _wrap_wxWindow_Raise, 1 },
|
||||
@@ -5157,10 +5472,12 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxWindow_Lower", _wrap_wxWindow_Lower, 1 },
|
||||
{ "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource, 1 },
|
||||
{ "wxWindow_Layout", _wrap_wxWindow_Layout, 1 },
|
||||
{ "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel, 1 },
|
||||
{ "wxWindow_IsShown", _wrap_wxWindow_IsShown, 1 },
|
||||
{ "wxWindow_IsRetained", _wrap_wxWindow_IsRetained, 1 },
|
||||
{ "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled, 1 },
|
||||
{ "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 },
|
||||
{ "wxWindow_Hide", _wrap_wxWindow_Hide, 1 },
|
||||
{ "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 },
|
||||
{ "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 },
|
||||
{ "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent, 1 },
|
||||
@@ -5175,6 +5492,7 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple, 1 },
|
||||
{ "wxWindow_GetParent", _wrap_wxWindow_GetParent, 1 },
|
||||
{ "wxWindow_GetName", _wrap_wxWindow_GetName, 1 },
|
||||
{ "wxWindow_SetLabel", _wrap_wxWindow_SetLabel, 1 },
|
||||
{ "wxWindow_GetLabel", _wrap_wxWindow_GetLabel, 1 },
|
||||
{ "wxWindow_GetId", _wrap_wxWindow_GetId, 1 },
|
||||
{ "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent, 1 },
|
||||
@@ -5193,7 +5511,10 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren, 1 },
|
||||
{ "wxWindow_Destroy", _wrap_wxWindow_Destroy, 1 },
|
||||
{ "wxWindow_Close", _wrap_wxWindow_Close, 1 },
|
||||
{ "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen, 1 },
|
||||
{ "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY, 1 },
|
||||
{ "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent, 1 },
|
||||
{ "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent, 1 },
|
||||
{ "wxWindow_Centre", _wrap_wxWindow_Centre, 1 },
|
||||
{ "wxWindow_Center", _wrap_wxWindow_Center, 1 },
|
||||
{ "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 },
|
||||
@@ -5217,6 +5538,13 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
*/
|
||||
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
|
||||
@@ -5236,7 +5564,6 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
@@ -5247,6 +5574,7 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
|
||||
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -5254,14 +5582,16 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
|
||||
SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
|
||||
SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
|
||||
SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
|
||||
SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
|
||||
SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
|
||||
SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -5272,6 +5602,7 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -5283,9 +5614,12 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
||||
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
|
||||
SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -5324,6 +5658,7 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu);
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu);
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -5336,12 +5671,14 @@ SWIGEXPORT(void,initwindowsc)() {
|
||||
SWIG_RegisterMapping("_short","_unsigned_short",0);
|
||||
SWIG_RegisterMapping("_short","_signed_short",0);
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -6,11 +6,17 @@ from misc import *
|
||||
from gdi import *
|
||||
import wx
|
||||
|
||||
def wxDLG_PNT(win, point):
|
||||
return win.ConvertDialogPointToPixels(point)
|
||||
def wxDLG_PNT(win, point_or_x, y=None):
|
||||
if y is None:
|
||||
return win.ConvertDialogPointToPixels(point_or_x)
|
||||
else:
|
||||
return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y))
|
||||
|
||||
def wxDLG_SZE(win, size):
|
||||
return win.ConvertDialogSizeToPixels(size)
|
||||
def wxDLG_SZE(win, size_width, height=None):
|
||||
if height is None:
|
||||
return win.ConvertDialogSizeToPixels(size_width)
|
||||
else:
|
||||
return win.ConvertDialogSizeToPixels(wxSize(size_width, height))
|
||||
|
||||
class wxEvtHandlerPtr :
|
||||
def __init__(self,this):
|
||||
@@ -44,9 +50,20 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
||||
def Centre(self,*args):
|
||||
val = apply(windowsc.wxWindow_Centre,(self.this,)+args)
|
||||
return val
|
||||
def CentreOnParent(self,*args):
|
||||
val = apply(windowsc.wxWindow_CentreOnParent,(self.this,)+args)
|
||||
return val
|
||||
def CenterOnParent(self,*args):
|
||||
val = apply(windowsc.wxWindow_CenterOnParent,(self.this,)+args)
|
||||
return val
|
||||
def ClientToScreenXY(self,arg0,arg1):
|
||||
val = windowsc.wxWindow_ClientToScreenXY(self.this,arg0,arg1)
|
||||
return val
|
||||
def ClientToScreen(self,arg0):
|
||||
val = windowsc.wxWindow_ClientToScreen(self.this,arg0.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def Close(self,*args):
|
||||
val = apply(windowsc.wxWindow_Close,(self.this,)+args)
|
||||
return val
|
||||
@@ -112,6 +129,9 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
||||
def GetLabel(self):
|
||||
val = windowsc.wxWindow_GetLabel(self.this)
|
||||
return val
|
||||
def SetLabel(self,arg0):
|
||||
val = windowsc.wxWindow_SetLabel(self.this,arg0)
|
||||
return val
|
||||
def GetName(self):
|
||||
val = windowsc.wxWindow_GetName(self.this)
|
||||
return val
|
||||
@@ -165,6 +185,9 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
||||
def GetWindowStyleFlag(self):
|
||||
val = windowsc.wxWindow_GetWindowStyleFlag(self.this)
|
||||
return val
|
||||
def Hide(self):
|
||||
val = windowsc.wxWindow_Hide(self.this)
|
||||
return val
|
||||
def InitDialog(self):
|
||||
val = windowsc.wxWindow_InitDialog(self.this)
|
||||
return val
|
||||
@@ -177,6 +200,9 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
||||
def IsShown(self):
|
||||
val = windowsc.wxWindow_IsShown(self.this)
|
||||
return val
|
||||
def IsTopLevel(self):
|
||||
val = windowsc.wxWindow_IsTopLevel(self.this)
|
||||
return val
|
||||
def Layout(self):
|
||||
val = windowsc.wxWindow_Layout(self.this)
|
||||
return val
|
||||
@@ -211,9 +237,17 @@ class wxWindowPtr(wxEvtHandlerPtr):
|
||||
def ReleaseMouse(self):
|
||||
val = windowsc.wxWindow_ReleaseMouse(self.this)
|
||||
return val
|
||||
def Reparent(self,arg0):
|
||||
val = windowsc.wxWindow_Reparent(self.this,arg0.this)
|
||||
return val
|
||||
def ScreenToClientXY(self,arg0,arg1):
|
||||
val = windowsc.wxWindow_ScreenToClientXY(self.this,arg0,arg1)
|
||||
return val
|
||||
def ScreenToClient(self,arg0):
|
||||
val = windowsc.wxWindow_ScreenToClient(self.this,arg0.this)
|
||||
val = wxPointPtr(val)
|
||||
val.thisown = 1
|
||||
return val
|
||||
def ScrollWindow(self,arg0,arg1,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
@@ -357,8 +391,22 @@ class wxPanelPtr(wxWindowPtr):
|
||||
def InitDialog(self):
|
||||
val = windowsc.wxPanel_InitDialog(self.this)
|
||||
return val
|
||||
def GetDefaultItem(self):
|
||||
val = windowsc.wxPanel_GetDefaultItem(self.this)
|
||||
val = wxButtonPtr(val)
|
||||
return val
|
||||
def SetDefaultItem(self,arg0):
|
||||
val = windowsc.wxPanel_SetDefaultItem(self.this,arg0.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPanel instance>"
|
||||
|
||||
def GetDefaultItem(self):
|
||||
import controls
|
||||
val = windowsc.wxPanel_GetDefaultItem(self.this)
|
||||
val = controls.wxButtonPtr(val)
|
||||
return val
|
||||
|
||||
class wxPanel(wxPanelPtr):
|
||||
def __init__(self,arg0,arg1,*args) :
|
||||
argl = map(None,args)
|
||||
@@ -431,7 +479,7 @@ class wxDialog(wxDialogPtr):
|
||||
|
||||
|
||||
|
||||
class wxScrolledWindowPtr(wxWindowPtr):
|
||||
class wxScrolledWindowPtr(wxPanelPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
|
@@ -2856,6 +2856,14 @@ static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
|
||||
wxNotebookEvent *src;
|
||||
wxNotifyEvent *dest;
|
||||
src = (wxNotebookEvent *) ptr;
|
||||
dest = (wxNotifyEvent *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
|
||||
wxNotebookEvent *src;
|
||||
wxCommandEvent *dest;
|
||||
@@ -2922,6 +2930,58 @@ static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxNotebookEvent * _arg0;
|
||||
int _arg1;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetOldSelection",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxNotebookEvent_SetOldSelection(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxNotebookEvent * _arg0;
|
||||
int _arg1;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetSelection",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxNotebookEvent_SetSelection(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxNotebookTowxControl(void *ptr) {
|
||||
wxNotebook *src;
|
||||
wxControl *dest;
|
||||
@@ -3432,7 +3492,7 @@ static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) {
|
||||
#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
|
||||
static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxNotebookPage * _result;
|
||||
wxWindow * _result;
|
||||
wxNotebook * _arg0;
|
||||
int _arg1;
|
||||
char * _argc0 = 0;
|
||||
@@ -3449,10 +3509,10 @@ static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1);
|
||||
_result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p");
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
@@ -3485,6 +3545,150 @@ static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args)
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
|
||||
wxSplitterEvent *src;
|
||||
wxCommandEvent *dest;
|
||||
src = (wxSplitterEvent *) ptr;
|
||||
dest = (wxCommandEvent *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
static void *SwigwxSplitterEventTowxEvent(void *ptr) {
|
||||
wxSplitterEvent *src;
|
||||
wxEvent *dest;
|
||||
src = (wxSplitterEvent *) ptr;
|
||||
dest = (wxEvent *) src;
|
||||
return (void *) dest;
|
||||
}
|
||||
|
||||
#define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
|
||||
static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSplitterEvent * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetSashPosition",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (int )wxSplitterEvent_GetSashPosition(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
|
||||
static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSplitterEvent * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetX",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (int )wxSplitterEvent_GetX(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
|
||||
static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSplitterEvent * _arg0;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetY",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (int )wxSplitterEvent_GetY(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
|
||||
static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxSplitterEvent * _arg0;
|
||||
char * _argc0 = 0;
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetWindowBeingRemoved",&_argc0))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
|
||||
static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxSplitterEvent * _arg0;
|
||||
int _arg1;
|
||||
char * _argc0 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"si:wxSplitterEvent_SetSashPosition",&_argc0,&_arg1))
|
||||
return NULL;
|
||||
if (_argc0) {
|
||||
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxSplitterEvent_SetSashPosition(_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
|
||||
wxSplitterWindow *src;
|
||||
wxWindow *dest;
|
||||
@@ -4051,6 +4255,11 @@ static PyMethodDef windows2cMethods[] = {
|
||||
{ "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
|
||||
{ "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
|
||||
{ "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
|
||||
{ "wxSplitterEvent_SetSashPosition", _wrap_wxSplitterEvent_SetSashPosition, 1 },
|
||||
{ "wxSplitterEvent_GetWindowBeingRemoved", _wrap_wxSplitterEvent_GetWindowBeingRemoved, 1 },
|
||||
{ "wxSplitterEvent_GetY", _wrap_wxSplitterEvent_GetY, 1 },
|
||||
{ "wxSplitterEvent_GetX", _wrap_wxSplitterEvent_GetX, 1 },
|
||||
{ "wxSplitterEvent_GetSashPosition", _wrap_wxSplitterEvent_GetSashPosition, 1 },
|
||||
{ "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren, 1 },
|
||||
{ "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
|
||||
{ "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
|
||||
@@ -4069,6 +4278,8 @@ static PyMethodDef windows2cMethods[] = {
|
||||
{ "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
|
||||
{ "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
|
||||
{ "new_wxNotebook", _wrap_new_wxNotebook, 1 },
|
||||
{ "wxNotebookEvent_SetSelection", _wrap_wxNotebookEvent_SetSelection, 1 },
|
||||
{ "wxNotebookEvent_SetOldSelection", _wrap_wxNotebookEvent_SetOldSelection, 1 },
|
||||
{ "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
|
||||
{ "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
|
||||
{ "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
|
||||
@@ -4193,6 +4404,8 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
* (Used by the SWIG pointer type-checker).
|
||||
*/
|
||||
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
||||
SWIG_RegisterMapping("_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
|
||||
SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
|
||||
@@ -4201,6 +4414,13 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
|
||||
@@ -4213,7 +4433,9 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
@@ -4234,6 +4456,7 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -4250,7 +4473,6 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
|
||||
@@ -4258,21 +4480,28 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
|
||||
SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
|
||||
SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
|
||||
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
|
||||
@@ -4286,10 +4515,15 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -4298,6 +4532,7 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
|
||||
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
|
||||
SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
||||
@@ -4314,6 +4549,7 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -4364,6 +4600,7 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -4383,12 +4620,14 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
|
||||
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
@@ -4425,6 +4664,8 @@ SWIGEXPORT(void,initwindows2c)() {
|
||||
SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
|
||||
SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
|
||||
SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
|
||||
SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
|
||||
|
@@ -361,7 +361,7 @@ class wxGridEvent(wxGridEventPtr):
|
||||
|
||||
|
||||
|
||||
class wxNotebookEventPtr(wxCommandEventPtr):
|
||||
class wxNotebookEventPtr(wxNotifyEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
@@ -371,6 +371,12 @@ class wxNotebookEventPtr(wxCommandEventPtr):
|
||||
def GetOldSelection(self):
|
||||
val = windows2c.wxNotebookEvent_GetOldSelection(self.this)
|
||||
return val
|
||||
def SetOldSelection(self,arg0):
|
||||
val = windows2c.wxNotebookEvent_SetOldSelection(self.this,arg0)
|
||||
return val
|
||||
def SetSelection(self,arg0):
|
||||
val = windows2c.wxNotebookEvent_SetSelection(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxNotebookEvent instance>"
|
||||
class wxNotebookEvent(wxNotebookEventPtr):
|
||||
@@ -432,6 +438,7 @@ class wxNotebookPtr(wxControlPtr):
|
||||
return val
|
||||
def GetPage(self,arg0):
|
||||
val = windows2c.wxNotebook_GetPage(self.this,arg0)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
def ResizeChildren(self):
|
||||
val = windows2c.wxNotebook_ResizeChildren(self.this)
|
||||
@@ -453,6 +460,35 @@ class wxNotebook(wxNotebookPtr):
|
||||
|
||||
|
||||
|
||||
class wxSplitterEventPtr(wxCommandEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetSashPosition(self):
|
||||
val = windows2c.wxSplitterEvent_GetSashPosition(self.this)
|
||||
return val
|
||||
def GetX(self):
|
||||
val = windows2c.wxSplitterEvent_GetX(self.this)
|
||||
return val
|
||||
def GetY(self):
|
||||
val = windows2c.wxSplitterEvent_GetY(self.this)
|
||||
return val
|
||||
def GetWindowBeingRemoved(self):
|
||||
val = windows2c.wxSplitterEvent_GetWindowBeingRemoved(self.this)
|
||||
val = wxWindowPtr(val)
|
||||
return val
|
||||
def SetSashPosition(self,arg0):
|
||||
val = windows2c.wxSplitterEvent_SetSashPosition(self.this,arg0)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxSplitterEvent instance>"
|
||||
class wxSplitterEvent(wxSplitterEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
|
||||
|
||||
|
||||
|
||||
class wxSplitterWindowPtr(wxWindowPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
|
@@ -1655,6 +1655,13 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_signed_long","_long",0);
|
||||
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler);
|
||||
@@ -1665,7 +1672,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
@@ -1691,6 +1698,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_wxSashLayoutWindow","_class_wxSashLayoutWindow",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -1706,7 +1714,6 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
|
||||
@@ -1715,6 +1722,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
|
||||
@@ -1723,6 +1731,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_class_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow);
|
||||
SWIG_RegisterMapping("_class_wxSashWindow","_wxSashWindow",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
@@ -1735,6 +1744,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
|
||||
SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
|
||||
SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
|
||||
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent);
|
||||
@@ -1752,13 +1762,16 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
|
||||
SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
@@ -1767,6 +1780,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
|
||||
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
|
||||
SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
||||
@@ -1782,6 +1796,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -1833,6 +1848,7 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -1856,12 +1872,14 @@ SWIGEXPORT(void,initwindows3c)() {
|
||||
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
|
||||
SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
|
@@ -33,8 +33,8 @@
|
||||
* and things like that.
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.12 1999/05/15 00:56:11 RD
|
||||
* fixes for GetReturnCode/SetReturnCode
|
||||
* Revision 1.13 1999/06/22 17:45:34 RD
|
||||
* wxPython 2.1b1: Very minor changes needed for wxGTK
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
@@ -622,6 +622,7 @@ extern "C" SWIGEXPORT(void,initwindowsc)();
|
||||
extern "C" SWIGEXPORT(void,initwindows2c)();
|
||||
extern "C" SWIGEXPORT(void,initeventsc)();
|
||||
extern "C" SWIGEXPORT(void,initmiscc)();
|
||||
extern "C" SWIGEXPORT(void,initmisc2c)();
|
||||
extern "C" SWIGEXPORT(void,initgdic)();
|
||||
extern "C" SWIGEXPORT(void,initmdic)();
|
||||
extern "C" SWIGEXPORT(void,initcontrolsc)();
|
||||
@@ -631,6 +632,7 @@ extern "C" SWIGEXPORT(void,initstattoolc)();
|
||||
extern "C" SWIGEXPORT(void,initframesc)();
|
||||
extern "C" SWIGEXPORT(void,initwindows3c)();
|
||||
extern "C" SWIGEXPORT(void,initimagec)();
|
||||
extern "C" SWIGEXPORT(void,initprintfwc)();
|
||||
#ifndef SEPARATE
|
||||
extern "C" SWIGEXPORT(void,initutilsc)();
|
||||
extern "C" SWIGEXPORT(void,initglcanvasc)();
|
||||
@@ -1312,6 +1314,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxDEFAULT_FRAME_STYLE", PyInt_FromLong((long) wxDEFAULT_FRAME_STYLE));
|
||||
PyDict_SetItemString(d,"wxDEFAULT_DIALOG_STYLE", PyInt_FromLong((long) wxDEFAULT_DIALOG_STYLE));
|
||||
PyDict_SetItemString(d,"wxFRAME_TOOL_WINDOW", PyInt_FromLong((long) wxFRAME_TOOL_WINDOW));
|
||||
PyDict_SetItemString(d,"wxFRAME_FLOAT_ON_PARENT", PyInt_FromLong((long) wxFRAME_FLOAT_ON_PARENT));
|
||||
PyDict_SetItemString(d,"wxCLIP_CHILDREN", PyInt_FromLong((long) wxCLIP_CHILDREN));
|
||||
PyDict_SetItemString(d,"wxRETAINED", PyInt_FromLong((long) wxRETAINED));
|
||||
PyDict_SetItemString(d,"wxBACKINGSTORE", PyInt_FromLong((long) wxBACKINGSTORE));
|
||||
@@ -1351,6 +1354,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxGA_PROGRESSBAR", PyInt_FromLong((long) wxGA_PROGRESSBAR));
|
||||
PyDict_SetItemString(d,"wxGA_HORIZONTAL", PyInt_FromLong((long) wxGA_HORIZONTAL));
|
||||
PyDict_SetItemString(d,"wxGA_VERTICAL", PyInt_FromLong((long) wxGA_VERTICAL));
|
||||
PyDict_SetItemString(d,"wxGA_SMOOTH", PyInt_FromLong((long) wxGA_SMOOTH));
|
||||
PyDict_SetItemString(d,"wxSL_HORIZONTAL", PyInt_FromLong((long) wxSL_HORIZONTAL));
|
||||
PyDict_SetItemString(d,"wxSL_VERTICAL", PyInt_FromLong((long) wxSL_VERTICAL));
|
||||
PyDict_SetItemString(d,"wxSL_AUTOTICKS", PyInt_FromLong((long) wxSL_AUTOTICKS));
|
||||
@@ -1422,6 +1426,10 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxSIZE_ALLOW_MINUS_ONE", PyInt_FromLong((long) wxSIZE_ALLOW_MINUS_ONE));
|
||||
PyDict_SetItemString(d,"wxPORTRAIT", PyInt_FromLong((long) wxPORTRAIT));
|
||||
PyDict_SetItemString(d,"wxLANDSCAPE", PyInt_FromLong((long) wxLANDSCAPE));
|
||||
PyDict_SetItemString(d,"wxPRINT_QUALITY_HIGH", PyInt_FromLong((long) wxPRINT_QUALITY_HIGH));
|
||||
PyDict_SetItemString(d,"wxPRINT_QUALITY_MEDIUM", PyInt_FromLong((long) wxPRINT_QUALITY_MEDIUM));
|
||||
PyDict_SetItemString(d,"wxPRINT_QUALITY_LOW", PyInt_FromLong((long) wxPRINT_QUALITY_LOW));
|
||||
PyDict_SetItemString(d,"wxPRINT_QUALITY_DRAFT", PyInt_FromLong((long) wxPRINT_QUALITY_DRAFT));
|
||||
PyDict_SetItemString(d,"wxID_OPEN", PyInt_FromLong((long) wxID_OPEN));
|
||||
PyDict_SetItemString(d,"wxID_CLOSE", PyInt_FromLong((long) wxID_CLOSE));
|
||||
PyDict_SetItemString(d,"wxID_NEW", PyInt_FromLong((long) wxID_NEW));
|
||||
@@ -1486,6 +1494,10 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxACCEL_ALT", PyInt_FromLong((long) wxACCEL_ALT));
|
||||
PyDict_SetItemString(d,"wxACCEL_CTRL", PyInt_FromLong((long) wxACCEL_CTRL));
|
||||
PyDict_SetItemString(d,"wxACCEL_SHIFT", PyInt_FromLong((long) wxACCEL_SHIFT));
|
||||
PyDict_SetItemString(d,"wxPD_AUTO_HIDE", PyInt_FromLong((long) wxPD_AUTO_HIDE));
|
||||
PyDict_SetItemString(d,"wxPD_APP_MODAL", PyInt_FromLong((long) wxPD_APP_MODAL));
|
||||
PyDict_SetItemString(d,"wxPD_CAN_ABORT", PyInt_FromLong((long) wxPD_CAN_ABORT));
|
||||
PyDict_SetItemString(d,"wxNO_DEFAULT", PyInt_FromLong((long) wxNO_DEFAULT));
|
||||
PyDict_SetItemString(d,"wxDEFAULT", PyInt_FromLong((long) wxDEFAULT));
|
||||
PyDict_SetItemString(d,"wxDECORATIVE", PyInt_FromLong((long) wxDECORATIVE));
|
||||
PyDict_SetItemString(d,"wxROMAN", PyInt_FromLong((long) wxROMAN));
|
||||
@@ -1706,6 +1718,9 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxPAPER_A2", PyInt_FromLong((long) wxPAPER_A2));
|
||||
PyDict_SetItemString(d,"wxPAPER_A3_TRANSVERSE", PyInt_FromLong((long) wxPAPER_A3_TRANSVERSE));
|
||||
PyDict_SetItemString(d,"wxPAPER_A3_EXTRA_TRANSVERSE", PyInt_FromLong((long) wxPAPER_A3_EXTRA_TRANSVERSE));
|
||||
PyDict_SetItemString(d,"wxDUPLEX_SIMPLEX", PyInt_FromLong((long) wxDUPLEX_SIMPLEX));
|
||||
PyDict_SetItemString(d,"wxDUPLEX_HORIZONTAL", PyInt_FromLong((long) wxDUPLEX_HORIZONTAL));
|
||||
PyDict_SetItemString(d,"wxDUPLEX_VERTICAL", PyInt_FromLong((long) wxDUPLEX_VERTICAL));
|
||||
PyDict_SetItemString(d,"FALSE", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"false", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"TRUE", PyInt_FromLong((long) 1));
|
||||
@@ -1765,6 +1780,13 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLL_PAGEUP", PyInt_FromLong((long) wxEVT_SCROLL_PAGEUP));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong((long) wxEVT_SCROLL_PAGEDOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong((long) wxEVT_SCROLL_THUMBTRACK));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_TOP", PyInt_FromLong((long) wxEVT_SCROLLWIN_TOP));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong((long) wxEVT_SCROLLWIN_BOTTOM));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong((long) wxEVT_SCROLLWIN_LINEUP));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong((long) wxEVT_SCROLLWIN_LINEDOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong((long) wxEVT_SCROLLWIN_PAGEUP));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong((long) wxEVT_SCROLLWIN_PAGEDOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong((long) wxEVT_SCROLLWIN_THUMBTRACK));
|
||||
PyDict_SetItemString(d,"wxEVT_SIZE", PyInt_FromLong((long) wxEVT_SIZE));
|
||||
PyDict_SetItemString(d,"wxEVT_MOVE", PyInt_FromLong((long) wxEVT_MOVE));
|
||||
PyDict_SetItemString(d,"wxEVT_CLOSE_WINDOW", PyInt_FromLong((long) wxEVT_CLOSE_WINDOW));
|
||||
@@ -1839,11 +1861,16 @@ SWIGEXPORT(void,initwxc)() {
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGING));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
|
||||
PyDict_SetItemString(d,"__version__", PyString_FromString("2.0b9"));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
|
||||
PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
|
||||
PyDict_SetItemString(d,"__version__", PyString_FromString("2.1b1"));
|
||||
PyDict_SetItemString(d,"cvar", SWIG_globals);
|
||||
SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
|
||||
SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
|
||||
@@ -1860,6 +1887,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
initwindows2c();
|
||||
initeventsc();
|
||||
initmiscc();
|
||||
initmisc2c();
|
||||
initgdic();
|
||||
initmdic();
|
||||
initcontrolsc();
|
||||
@@ -1869,6 +1897,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
initframesc();
|
||||
initwindows3c();
|
||||
initimagec();
|
||||
initprintfwc();
|
||||
#ifndef SEPARATE
|
||||
initutilsc();
|
||||
#ifdef WITH_GLCANVAS
|
||||
@@ -1887,6 +1916,13 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_class_wxJPEGHandler","_wxJPEGHandler",0);
|
||||
SWIG_RegisterMapping("_wxBMPHandler","_class_wxBMPHandler",0);
|
||||
SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
|
||||
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
|
||||
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
|
||||
@@ -1898,15 +1934,17 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
|
||||
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
|
||||
SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
|
||||
SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
|
||||
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
|
||||
SWIG_RegisterMapping("_wxPNGHandler","_class_wxPNGHandler",0);
|
||||
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
|
||||
SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
|
||||
SWIG_RegisterMapping("_class_wxPageSetupDialogData","_wxPageSetupDialogData",0);
|
||||
SWIG_RegisterMapping("_wxPrinter","_class_wxPrinter",0);
|
||||
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
|
||||
SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
||||
@@ -1914,6 +1952,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
|
||||
SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
|
||||
SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
|
||||
SWIG_RegisterMapping("_wxPyPrintout","_class_wxPyPrintout",0);
|
||||
SWIG_RegisterMapping("_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_long","_signed_long",0);
|
||||
@@ -1928,9 +1967,12 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
|
||||
SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
|
||||
SWIG_RegisterMapping("_wxProgressDialog","_class_wxProgressDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxBMPHandler","_wxBMPHandler",0);
|
||||
SWIG_RegisterMapping("_wxPrintPreview","_class_wxPrintPreview",0);
|
||||
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_wxSashLayoutWindow","_class_wxSashLayoutWindow",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_size_t","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_int",0);
|
||||
SWIG_RegisterMapping("_size_t","_wxWindowID",0);
|
||||
@@ -1947,29 +1989,34 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
|
||||
SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
|
||||
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
|
||||
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
|
||||
SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
|
||||
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
|
||||
SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
|
||||
SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxPrinter","_wxPrinter",0);
|
||||
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
||||
SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0);
|
||||
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
|
||||
SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPyPrintout","_wxPyPrintout",0);
|
||||
SWIG_RegisterMapping("_class_wxSashWindow","_wxSashWindow",0);
|
||||
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_uint","_size_t",0);
|
||||
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_uint","_int",0);
|
||||
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
|
||||
SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
|
||||
SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
|
||||
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
||||
SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
|
||||
@@ -1988,7 +2035,9 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
|
||||
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
|
||||
SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
|
||||
SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
|
||||
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
||||
SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
|
||||
SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
|
||||
SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
|
||||
@@ -1997,21 +2046,26 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
|
||||
SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
|
||||
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
|
||||
SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
|
||||
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
||||
SWIG_RegisterMapping("_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_int",0);
|
||||
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
|
||||
SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPreviewFrame","_wxPreviewFrame",0);
|
||||
SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
|
||||
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
|
||||
SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
|
||||
SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
|
||||
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
||||
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
|
||||
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
|
||||
SWIG_RegisterMapping("_class_wxProgressDialog","_wxProgressDialog",0);
|
||||
SWIG_RegisterMapping("_wxPyApp","_class_wxPyApp",0);
|
||||
SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
|
||||
@@ -2026,6 +2080,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
|
||||
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
|
||||
SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
||||
SWIG_RegisterMapping("_signed_int","_int",0);
|
||||
@@ -2080,6 +2135,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
|
||||
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
|
||||
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
||||
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
||||
@@ -2106,12 +2162,14 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
|
||||
SWIG_RegisterMapping("_wxJPEGHandler","_class_wxJPEGHandler",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_size_t",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
||||
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
||||
SWIG_RegisterMapping("_int","_wxPrintQuality",0);
|
||||
SWIG_RegisterMapping("_int","_size_t",0);
|
||||
SWIG_RegisterMapping("_int","_EBool",0);
|
||||
SWIG_RegisterMapping("_int","_uint",0);
|
||||
@@ -2120,6 +2178,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_int","_signed_int",0);
|
||||
SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
|
||||
SWIG_RegisterMapping("_class_wxPrintPreview","_wxPrintPreview",0);
|
||||
SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
|
||||
SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
|
||||
SWIG_RegisterMapping("_class_wxPyApp","_wxPyApp",0);
|
||||
@@ -2150,6 +2209,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
|
||||
SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
|
||||
SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
|
||||
SWIG_RegisterMapping("_wxPreviewFrame","_class_wxPreviewFrame",0);
|
||||
SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
|
||||
SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
|
||||
SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
|
||||
@@ -2172,6 +2232,7 @@ SWIGEXPORT(void,initwxc)() {
|
||||
SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
|
||||
SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
|
||||
SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
|
||||
SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
|
||||
SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
|
||||
SWIG_RegisterMapping("_wxDash","_long",0);
|
||||
SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
|
||||
|
@@ -3,6 +3,8 @@ import wxc
|
||||
|
||||
from misc import *
|
||||
|
||||
from misc2 import *
|
||||
|
||||
from windows import *
|
||||
|
||||
from gdi import *
|
||||
@@ -26,6 +28,8 @@ from cmndlgs import *
|
||||
from windows3 import *
|
||||
|
||||
from image import *
|
||||
|
||||
from printfw import *
|
||||
class wxPyAppPtr(wxEvtHandlerPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -146,6 +150,7 @@ wxDIALOG_MODELESS = wxc.wxDIALOG_MODELESS
|
||||
wxDEFAULT_FRAME_STYLE = wxc.wxDEFAULT_FRAME_STYLE
|
||||
wxDEFAULT_DIALOG_STYLE = wxc.wxDEFAULT_DIALOG_STYLE
|
||||
wxFRAME_TOOL_WINDOW = wxc.wxFRAME_TOOL_WINDOW
|
||||
wxFRAME_FLOAT_ON_PARENT = wxc.wxFRAME_FLOAT_ON_PARENT
|
||||
wxCLIP_CHILDREN = wxc.wxCLIP_CHILDREN
|
||||
wxRETAINED = wxc.wxRETAINED
|
||||
wxBACKINGSTORE = wxc.wxBACKINGSTORE
|
||||
@@ -185,6 +190,7 @@ wxRB_GROUP = wxc.wxRB_GROUP
|
||||
wxGA_PROGRESSBAR = wxc.wxGA_PROGRESSBAR
|
||||
wxGA_HORIZONTAL = wxc.wxGA_HORIZONTAL
|
||||
wxGA_VERTICAL = wxc.wxGA_VERTICAL
|
||||
wxGA_SMOOTH = wxc.wxGA_SMOOTH
|
||||
wxSL_HORIZONTAL = wxc.wxSL_HORIZONTAL
|
||||
wxSL_VERTICAL = wxc.wxSL_VERTICAL
|
||||
wxSL_AUTOTICKS = wxc.wxSL_AUTOTICKS
|
||||
@@ -256,6 +262,10 @@ wxSIZE_USE_EXISTING = wxc.wxSIZE_USE_EXISTING
|
||||
wxSIZE_ALLOW_MINUS_ONE = wxc.wxSIZE_ALLOW_MINUS_ONE
|
||||
wxPORTRAIT = wxc.wxPORTRAIT
|
||||
wxLANDSCAPE = wxc.wxLANDSCAPE
|
||||
wxPRINT_QUALITY_HIGH = wxc.wxPRINT_QUALITY_HIGH
|
||||
wxPRINT_QUALITY_MEDIUM = wxc.wxPRINT_QUALITY_MEDIUM
|
||||
wxPRINT_QUALITY_LOW = wxc.wxPRINT_QUALITY_LOW
|
||||
wxPRINT_QUALITY_DRAFT = wxc.wxPRINT_QUALITY_DRAFT
|
||||
wxID_OPEN = wxc.wxID_OPEN
|
||||
wxID_CLOSE = wxc.wxID_CLOSE
|
||||
wxID_NEW = wxc.wxID_NEW
|
||||
@@ -320,6 +330,10 @@ wxOVERWRITE_PROMPT = wxc.wxOVERWRITE_PROMPT
|
||||
wxACCEL_ALT = wxc.wxACCEL_ALT
|
||||
wxACCEL_CTRL = wxc.wxACCEL_CTRL
|
||||
wxACCEL_SHIFT = wxc.wxACCEL_SHIFT
|
||||
wxPD_AUTO_HIDE = wxc.wxPD_AUTO_HIDE
|
||||
wxPD_APP_MODAL = wxc.wxPD_APP_MODAL
|
||||
wxPD_CAN_ABORT = wxc.wxPD_CAN_ABORT
|
||||
wxNO_DEFAULT = wxc.wxNO_DEFAULT
|
||||
wxDEFAULT = wxc.wxDEFAULT
|
||||
wxDECORATIVE = wxc.wxDECORATIVE
|
||||
wxROMAN = wxc.wxROMAN
|
||||
@@ -540,6 +554,9 @@ wxPAPER_B5_EXTRA = wxc.wxPAPER_B5_EXTRA
|
||||
wxPAPER_A2 = wxc.wxPAPER_A2
|
||||
wxPAPER_A3_TRANSVERSE = wxc.wxPAPER_A3_TRANSVERSE
|
||||
wxPAPER_A3_EXTRA_TRANSVERSE = wxc.wxPAPER_A3_EXTRA_TRANSVERSE
|
||||
wxDUPLEX_SIMPLEX = wxc.wxDUPLEX_SIMPLEX
|
||||
wxDUPLEX_HORIZONTAL = wxc.wxDUPLEX_HORIZONTAL
|
||||
wxDUPLEX_VERTICAL = wxc.wxDUPLEX_VERTICAL
|
||||
FALSE = wxc.FALSE
|
||||
false = wxc.false
|
||||
TRUE = wxc.TRUE
|
||||
@@ -599,6 +616,13 @@ wxEVT_SCROLL_LINEDOWN = wxc.wxEVT_SCROLL_LINEDOWN
|
||||
wxEVT_SCROLL_PAGEUP = wxc.wxEVT_SCROLL_PAGEUP
|
||||
wxEVT_SCROLL_PAGEDOWN = wxc.wxEVT_SCROLL_PAGEDOWN
|
||||
wxEVT_SCROLL_THUMBTRACK = wxc.wxEVT_SCROLL_THUMBTRACK
|
||||
wxEVT_SCROLLWIN_TOP = wxc.wxEVT_SCROLLWIN_TOP
|
||||
wxEVT_SCROLLWIN_BOTTOM = wxc.wxEVT_SCROLLWIN_BOTTOM
|
||||
wxEVT_SCROLLWIN_LINEUP = wxc.wxEVT_SCROLLWIN_LINEUP
|
||||
wxEVT_SCROLLWIN_LINEDOWN = wxc.wxEVT_SCROLLWIN_LINEDOWN
|
||||
wxEVT_SCROLLWIN_PAGEUP = wxc.wxEVT_SCROLLWIN_PAGEUP
|
||||
wxEVT_SCROLLWIN_PAGEDOWN = wxc.wxEVT_SCROLLWIN_PAGEDOWN
|
||||
wxEVT_SCROLLWIN_THUMBTRACK = wxc.wxEVT_SCROLLWIN_THUMBTRACK
|
||||
wxEVT_SIZE = wxc.wxEVT_SIZE
|
||||
wxEVT_MOVE = wxc.wxEVT_MOVE
|
||||
wxEVT_CLOSE_WINDOW = wxc.wxEVT_CLOSE_WINDOW
|
||||
@@ -673,10 +697,15 @@ wxEVT_COMMAND_LIST_ITEM_DESELECTED = wxc.wxEVT_COMMAND_LIST_ITEM_DESELECTED
|
||||
wxEVT_COMMAND_LIST_KEY_DOWN = wxc.wxEVT_COMMAND_LIST_KEY_DOWN
|
||||
wxEVT_COMMAND_LIST_INSERT_ITEM = wxc.wxEVT_COMMAND_LIST_INSERT_ITEM
|
||||
wxEVT_COMMAND_LIST_COL_CLICK = wxc.wxEVT_COMMAND_LIST_COL_CLICK
|
||||
wxEVT_COMMAND_LIST_ITEM_ACTIVATED = wxc.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
|
||||
wxEVT_COMMAND_TAB_SEL_CHANGED = wxc.wxEVT_COMMAND_TAB_SEL_CHANGED
|
||||
wxEVT_COMMAND_TAB_SEL_CHANGING = wxc.wxEVT_COMMAND_TAB_SEL_CHANGING
|
||||
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = wxc.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
|
||||
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = wxc.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
|
||||
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = wxc.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
|
||||
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wxc.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
|
||||
wxEVT_COMMAND_SPLITTER_UNSPLIT = wxc.wxEVT_COMMAND_SPLITTER_UNSPLIT
|
||||
wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wxc.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
|
||||
__version__ = wxc.__version__
|
||||
cvar = wxc.cvar
|
||||
wxPyDefaultPosition = wxPointPtr(wxc.cvar.wxPyDefaultPosition)
|
||||
@@ -716,6 +745,12 @@ def _checkForCallback(obj, name, event, theID=-1):
|
||||
except: pass
|
||||
else: obj.Connect(theID, -1, event, cb)
|
||||
|
||||
## def _checkClassCallback(obj, name):
|
||||
## try: cb = getattr(obj, name)
|
||||
## except: pass
|
||||
## else: obj._addCallback(name, cb)
|
||||
|
||||
|
||||
def _StdWindowCallbacks(win):
|
||||
_checkForCallback(win, "OnChar", wxEVT_CHAR)
|
||||
_checkForCallback(win, "OnSize", wxEVT_SIZE)
|
||||
@@ -824,6 +859,9 @@ def EVT_NAVIGATION_KEY(win, func):
|
||||
def EVT_IDLE(win, func):
|
||||
win.Connect(-1, -1, wxEVT_IDLE, func)
|
||||
|
||||
def EVT_UPDATE_UI(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_UPDATE_UI, func)
|
||||
|
||||
|
||||
# Mouse Events
|
||||
def EVT_LEFT_DOWN(win, func):
|
||||
@@ -1195,6 +1233,9 @@ def EVT_LIST_SET_INFO(win, id, func):
|
||||
def EVT_LIST_ITEM_SELECTED(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_SELECTED, func)
|
||||
|
||||
def EVT_LIST_ITEM_ACTIVATED(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_ACTIVATED, func)
|
||||
|
||||
def EVT_LIST_ITEM_DESELECTED(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_DESELECTED, func)
|
||||
|
||||
@@ -1207,6 +1248,19 @@ def EVT_LIST_INSERT_ITEM(win, id, func):
|
||||
def EVT_LIST_COL_CLICK(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK, func)
|
||||
|
||||
#wxSplitterWindow
|
||||
def EVT_SPLITTER_SASH_POS_CHANGING(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, func)
|
||||
|
||||
def EVT_SPLITTER_SASH_POS_CHANGED(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, func)
|
||||
|
||||
def EVT_SPLITTER_UNSPLIT(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_SPLITTER_UNSPLIT, func)
|
||||
|
||||
def EVT_SPLITTER_DOUBLECLICKED(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, func)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
@@ -1316,85 +1370,3 @@ class wxApp(wxPyApp):
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.11 1999/05/15 00:56:11 RD
|
||||
# fixes for GetReturnCode/SetReturnCode
|
||||
#
|
||||
# Revision 1.12 1999/04/30 03:29:18 RD
|
||||
#
|
||||
# wxPython 2.0b9, first phase (win32)
|
||||
# Added gobs of stuff, see wxPython/README.txt for details
|
||||
#
|
||||
# Revision 1.11.4.2 1999/03/28 06:35:01 RD
|
||||
#
|
||||
# wxPython 2.0b8
|
||||
# Python thread support
|
||||
# various minor additions
|
||||
# various minor fixes
|
||||
#
|
||||
# Revision 1.11.4.1 1999/03/27 23:29:13 RD
|
||||
#
|
||||
# wxPython 2.0b8
|
||||
# Python thread support
|
||||
# various minor additions
|
||||
# various minor fixes
|
||||
#
|
||||
# Revision 1.11 1999/02/20 09:02:55 RD
|
||||
# Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
|
||||
# window handle. If you can get the window handle into the python code,
|
||||
# it should just work... More news on this later.
|
||||
#
|
||||
# Added wxImageList, wxToolTip.
|
||||
#
|
||||
# Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
|
||||
# wxRegConfig class.
|
||||
#
|
||||
# As usual, some bug fixes, tweaks, etc.
|
||||
#
|
||||
# Revision 1.10 1999/02/01 00:10:39 RD
|
||||
#
|
||||
# Added the missing EVT_LIST_ITEM_SELECTED and friends.
|
||||
#
|
||||
# Revision 1.9 1999/01/30 07:30:09 RD
|
||||
#
|
||||
# Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
|
||||
#
|
||||
# Various cleanup, tweaks, minor additions, etc. to maintain
|
||||
# compatibility with the current wxWindows.
|
||||
#
|
||||
# Revision 1.8 1999/01/29 21:13:42 HH
|
||||
# Added aliases for wxDefaultPosition and wxDefaultSize (from wxPy..) in _extras,
|
||||
# so that C++ documentation applies.
|
||||
#
|
||||
# Revision 1.7 1998/11/25 08:45:21 RD
|
||||
#
|
||||
# Added wxPalette, wxRegion, wxRegionIterator, wxTaskbarIcon
|
||||
# Added events for wxGrid
|
||||
# Other various fixes and additions
|
||||
#
|
||||
# Revision 1.6 1998/11/16 00:00:52 RD
|
||||
# Generic treectrl for wxPython/GTK compiles...
|
||||
#
|
||||
# Revision 1.5 1998/10/20 07:38:02 RD
|
||||
# bug fix
|
||||
#
|
||||
# Revision 1.4 1998/10/20 06:43:54 RD
|
||||
# New wxTreeCtrl wrappers (untested)
|
||||
# some changes in helpers
|
||||
# etc.
|
||||
#
|
||||
# Revision 1.3 1998/10/02 06:40:33 RD
|
||||
#
|
||||
# Version 0.4 of wxPython for MSW.
|
||||
#
|
||||
# Revision 1.2 1998/08/18 19:48:12 RD
|
||||
# more wxGTK compatibility things.
|
||||
#
|
||||
# It builds now but there are serious runtime problems...
|
||||
#
|
||||
# Revision 1.1 1998/08/09 08:25:49 RD
|
||||
# Initial version
|
||||
#
|
||||
#
|
||||
|
||||
|
Reference in New Issue
Block a user