mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-24 07:24:31 +08:00
Prep for wxPython 2.1b3 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+264
-198
File diff suppressed because it is too large
Load Diff
+697
-523
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+412
-309
File diff suppressed because it is too large
Load Diff
@@ -135,7 +135,7 @@ static void *SwigwxFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -149,10 +149,11 @@ static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -202,14 +203,15 @@ static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
int _arg1 = (int ) wxBOTH;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","direction", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxFrame_Centre",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -229,7 +231,7 @@ static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||
static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStatusBar * _result;
|
||||
wxFrame * _arg0;
|
||||
@@ -238,10 +240,11 @@ static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
|
||||
wxWindowID _arg3 = (wxWindowID ) -1;
|
||||
char * _arg4 = (char *) "statusBar";
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","number","style","id","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|ilis:wxFrame_CreateStatusBar",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -266,7 +269,7 @@ static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
|
||||
static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolBar * _result;
|
||||
wxFrame * _arg0;
|
||||
@@ -274,10 +277,11 @@ static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) {
|
||||
wxWindowID _arg2 = (wxWindowID ) -1;
|
||||
char * _arg3 = (char *) "toolBar";
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","style","id","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|lis:wxFrame_CreateToolBar",&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -302,15 +306,16 @@ static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
|
||||
static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMenuBar * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetMenuBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -335,15 +340,16 @@ static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
|
||||
static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStatusBar * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetStatusBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -368,14 +374,15 @@ static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
|
||||
static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetTitle",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -399,15 +406,16 @@ static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
|
||||
static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolBar * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetToolBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -432,15 +440,16 @@ static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","iconize", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxFrame_Iconize",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -461,14 +470,15 @@ static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
|
||||
static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_IsIconized",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -487,15 +497,16 @@ static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","maximize", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxFrame_Maximize",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -516,15 +527,16 @@ static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxAcceleratorTable * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","accel", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetAcceleratorTable",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -551,15 +563,16 @@ static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxIcon * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","icon", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetIcon",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -586,15 +599,16 @@ static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxMenuBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","menuBar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetMenuBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -621,15 +635,16 @@ static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxStatusBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","statusBar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetStatusBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -656,16 +671,17 @@ static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxString * _arg1;
|
||||
int _arg2 = (int ) 0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","text","number", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|i:wxFrame_SetStatusText",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -696,16 +712,17 @@ static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
int _arg1;
|
||||
int * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","LIST", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetStatusWidths",&_argo0,&_obj2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -743,15 +760,16 @@ static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","title", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetTitle",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -782,15 +800,16 @@ static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxToolBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","toolbar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetToolBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -841,7 +860,7 @@ static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMiniFrame * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -855,10 +874,11 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMiniFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -908,26 +928,26 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef framescMethods[] = {
|
||||
{ "new_wxMiniFrame", _wrap_new_wxMiniFrame, METH_VARARGS },
|
||||
{ "wxFrame_SetToolBar", _wrap_wxFrame_SetToolBar, METH_VARARGS },
|
||||
{ "wxFrame_SetTitle", _wrap_wxFrame_SetTitle, METH_VARARGS },
|
||||
{ "wxFrame_SetStatusWidths", _wrap_wxFrame_SetStatusWidths, METH_VARARGS },
|
||||
{ "wxFrame_SetStatusText", _wrap_wxFrame_SetStatusText, METH_VARARGS },
|
||||
{ "wxFrame_SetStatusBar", _wrap_wxFrame_SetStatusBar, METH_VARARGS },
|
||||
{ "wxFrame_SetMenuBar", _wrap_wxFrame_SetMenuBar, METH_VARARGS },
|
||||
{ "wxFrame_SetIcon", _wrap_wxFrame_SetIcon, METH_VARARGS },
|
||||
{ "wxFrame_SetAcceleratorTable", _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS },
|
||||
{ "wxFrame_Maximize", _wrap_wxFrame_Maximize, METH_VARARGS },
|
||||
{ "wxFrame_IsIconized", _wrap_wxFrame_IsIconized, METH_VARARGS },
|
||||
{ "wxFrame_Iconize", _wrap_wxFrame_Iconize, METH_VARARGS },
|
||||
{ "wxFrame_GetToolBar", _wrap_wxFrame_GetToolBar, METH_VARARGS },
|
||||
{ "wxFrame_GetTitle", _wrap_wxFrame_GetTitle, METH_VARARGS },
|
||||
{ "wxFrame_GetStatusBar", _wrap_wxFrame_GetStatusBar, METH_VARARGS },
|
||||
{ "wxFrame_GetMenuBar", _wrap_wxFrame_GetMenuBar, METH_VARARGS },
|
||||
{ "wxFrame_CreateToolBar", _wrap_wxFrame_CreateToolBar, METH_VARARGS },
|
||||
{ "wxFrame_CreateStatusBar", _wrap_wxFrame_CreateStatusBar, METH_VARARGS },
|
||||
{ "wxFrame_Centre", _wrap_wxFrame_Centre, METH_VARARGS },
|
||||
{ "new_wxFrame", _wrap_new_wxFrame, METH_VARARGS },
|
||||
{ "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
+678
-522
File diff suppressed because it is too large
Load Diff
+176
-132
File diff suppressed because it is too large
Load Diff
@@ -142,7 +142,7 @@ static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -156,10 +156,11 @@ static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMDIParentFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIParentFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -209,13 +210,14 @@ static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ActivateNext",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivateNext",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -235,13 +237,14 @@ static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ActivatePrevious",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivatePrevious",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -261,13 +264,14 @@ static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
|
||||
static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ArrangeIcons",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ArrangeIcons",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -287,13 +291,14 @@ static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
|
||||
static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_Cascade",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Cascade",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -313,15 +318,16 @@ static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetActiveChild",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetActiveChild",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -346,15 +352,16 @@ static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIClientWindow * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetClientWindow",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetClientWindow",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -379,15 +386,16 @@ static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetToolBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetToolBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -412,13 +420,14 @@ static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
|
||||
static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_Tile",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Tile",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -462,7 +471,7 @@ static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
@@ -476,10 +485,11 @@ static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMDIChildFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIChildFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -529,13 +539,14 @@ static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
|
||||
static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIChildFrame_Activate",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Activate",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -555,15 +566,16 @@ static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
|
||||
static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","maximize", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxMDIChildFrame_Maximize",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMDIChildFrame_Maximize",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -584,13 +596,14 @@ static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
|
||||
static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIChildFrame_Restore",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Restore",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -626,16 +639,17 @@ static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIClientWindow * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
long _arg1 = (long ) 0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "parent","style", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|l:new_wxMDIClientWindow",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:new_wxMDIClientWindow",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -660,20 +674,20 @@ static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef mdicMethods[] = {
|
||||
{ "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow, METH_VARARGS },
|
||||
{ "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore, METH_VARARGS },
|
||||
{ "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize, METH_VARARGS },
|
||||
{ "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate, METH_VARARGS },
|
||||
{ "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS },
|
||||
{ "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame, METH_VARARGS },
|
||||
{ "new_wxMDIClientWindow", (PyCFunction) _wrap_new_wxMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIChildFrame_Restore", (PyCFunction) _wrap_wxMDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIChildFrame_Maximize", (PyCFunction) _wrap_wxMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIChildFrame_Activate", (PyCFunction) _wrap_wxMDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxMDIChildFrame", (PyCFunction) _wrap_new_wxMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_Tile", (PyCFunction) _wrap_wxMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_GetToolBar", (PyCFunction) _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_GetClientWindow", (PyCFunction) _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_GetActiveChild", (PyCFunction) _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_Cascade", (PyCFunction) _wrap_wxMDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_ActivateNext", (PyCFunction) _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxMDIParentFrame", (PyCFunction) _wrap_new_wxMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
+648
-436
File diff suppressed because it is too large
Load Diff
@@ -74,6 +74,12 @@ class wxRealPointPtr :
|
||||
def __del__(self,miscc=miscc):
|
||||
if self.thisown == 1 :
|
||||
miscc.delete_wxRealPoint(self)
|
||||
def Set(self, *_args, **_kwargs):
|
||||
val = apply(miscc.wxRealPoint_Set,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def asTuple(self, *_args, **_kwargs):
|
||||
val = apply(miscc.wxRealPoint_asTuple,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __setattr__(self,name,value):
|
||||
if name == "x" :
|
||||
miscc.wxRealPoint_x_set(self,value)
|
||||
@@ -90,6 +96,8 @@ class wxRealPointPtr :
|
||||
raise AttributeError,name
|
||||
def __repr__(self):
|
||||
return "<C wxRealPoint instance at %s>" % (self.this,)
|
||||
def __str__(self): return str(self.asTuple())
|
||||
def __repr__(self): return str(self.asTuple())
|
||||
class wxRealPoint(wxRealPointPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(miscc.new_wxRealPoint,_args,_kwargs)
|
||||
|
||||
@@ -127,17 +127,18 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = (wxWindow *) NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "label","parent", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|O:wxFindWindowByLabel",&_obj0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -172,17 +173,18 @@ static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = (wxWindow *) NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "name","parent", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|O:wxFindWindowByName",&_obj0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -217,13 +219,14 @@ static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _arg0;
|
||||
int tempbool0;
|
||||
char *_kwnames[] = { "flag", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxToolTip_Enable",&tempbool0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
{
|
||||
@@ -236,12 +239,13 @@ static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
long _arg0;
|
||||
char *_kwnames[] = { "milliseconds", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"l:wxToolTip_SetDelay",&_arg0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -254,15 +258,16 @@ static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "tip", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -291,15 +296,16 @@ static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","tip", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxToolTip_SetTip",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -330,14 +336,15 @@ static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxToolTip * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxToolTip_GetTip",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -361,15 +368,16 @@ static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxToolTip * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxToolTip_GetWindow",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -394,14 +402,14 @@ static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow, METH_VARARGS },
|
||||
{ "wxToolTip_GetTip", _wrap_wxToolTip_GetTip, METH_VARARGS },
|
||||
{ "wxToolTip_SetTip", _wrap_wxToolTip_SetTip, METH_VARARGS },
|
||||
{ "new_wxToolTip", _wrap_new_wxToolTip, METH_VARARGS },
|
||||
{ "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay, METH_VARARGS },
|
||||
{ "wxToolTip_Enable", _wrap_wxToolTip_Enable, METH_VARARGS },
|
||||
{ "wxFindWindowByName", _wrap_wxFindWindowByName, METH_VARARGS },
|
||||
{ "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, METH_VARARGS },
|
||||
{ "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
+497
-375
File diff suppressed because it is too large
Load Diff
+216
-162
File diff suppressed because it is too large
Load Diff
+684
-491
File diff suppressed because it is too large
Load Diff
@@ -538,6 +538,9 @@ class wxMenuPtr(wxEvtHandlerPtr):
|
||||
def UpdateUI(self, *_args, **_kwargs):
|
||||
val = apply(windowsc.wxMenu_UpdateUI,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def Destroy(self, *_args, **_kwargs):
|
||||
val = apply(windowsc.wxMenu_Destroy,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMenu instance at %s>" % (self.this,)
|
||||
class wxMenu(wxMenuPtr):
|
||||
|
||||
+592
-444
File diff suppressed because it is too large
Load Diff
+196
-147
File diff suppressed because it is too large
Load Diff
+123
-93
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user