mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-23 06:33:59 +08:00
version number.
regenerated some sources for gtk. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,6 +6,9 @@ if [ "$1" = "15" ]; then
|
||||
elif [ "$1" = "20" ]; then
|
||||
PYVER=2.0
|
||||
shift
|
||||
elif [ "$1" = "21" ]; then
|
||||
PYVER=2.1
|
||||
shift
|
||||
fi
|
||||
|
||||
|
||||
@@ -21,6 +24,11 @@ if [ "$1" = "c" ]; then
|
||||
CMD="$SETUP $FLAGS $OTHERFLAGS clean"
|
||||
OTHERCMD="rm -f wxPython/*.so"
|
||||
|
||||
# "d" --> clean extension modules only
|
||||
elif [ "$1" = "d" ]; then
|
||||
shift
|
||||
CMD="rm -f wxPython/*.so"
|
||||
|
||||
# "i" --> install
|
||||
elif [ "$1" = "i" ]; then
|
||||
shift
|
||||
|
||||
@@ -1 +1 @@
|
||||
ver = '2.3b3'
|
||||
ver = '2.3b4'
|
||||
|
||||
@@ -153,6 +153,7 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef __WXMSW__
|
||||
wxBitmap* wxBitmapFromData(PyObject* data, long type,
|
||||
int width, int height, int depth = 1) {
|
||||
|
||||
@@ -125,6 +125,11 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
extern wxImage wxNullImage;
|
||||
|
||||
#endif
|
||||
|
||||
wxBitmap* wxBitmapFromImage(const wxImage& img, int depth=-1) {
|
||||
return new wxBitmap(img, depth);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -291,6 +296,40 @@ static PyObject *_wrap_wxNullImage_get() {
|
||||
return pyobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxBitmapFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBitmap * _result;
|
||||
wxImage * _arg0;
|
||||
int _arg1 = (int ) -1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "img","depth", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxBitmapFromImage",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImage_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapFromImage. Expected _wxImage_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (wxBitmap *)wxBitmapFromImage(*_arg0,_arg1);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} if (_result) {
|
||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
} else {
|
||||
Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxImageHandler_GetName(_swigobj) (_swigobj->GetName())
|
||||
static PyObject *_wrap_wxImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -932,6 +971,38 @@ static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *self, PyObject *args, P
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxImage_ConvertToMonoBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ConvertToMonoBitmap(_swigarg0,_swigarg1,_swigarg2))
|
||||
static PyObject *_wrap_wxImage_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBitmap * _result;
|
||||
wxImage * _arg0;
|
||||
unsigned char _arg1;
|
||||
unsigned char _arg2;
|
||||
unsigned char _arg3;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","red","green","blue", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxImage_ConvertToMonoBitmap",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImage_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImage_ConvertToMonoBitmap. Expected _wxImage_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxBitmap (wxImage_ConvertToMonoBitmap(_arg0,_arg1,_arg2,_arg3));
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxImage_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -2204,6 +2275,7 @@ static PyMethodDef imagecMethods[] = {
|
||||
{ "wxImage_Scale", (PyCFunction) _wrap_wxImage_Scale, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Destroy", (PyCFunction) _wrap_wxImage_Destroy, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Create", (PyCFunction) _wrap_wxImage_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_ConvertToMonoBitmap", (PyCFunction) _wrap_wxImage_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_ConvertToBitmap", (PyCFunction) _wrap_wxImage_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxImage", (PyCFunction) _wrap_delete_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxImage", (PyCFunction) _wrap_new_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -2222,6 +2294,7 @@ static PyMethodDef imagecMethods[] = {
|
||||
{ "wxImageHandler_GetType", (PyCFunction) _wrap_wxImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_GetExtension", (PyCFunction) _wrap_wxImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_GetName", (PyCFunction) _wrap_wxImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxBitmapFromImage", (PyCFunction) _wrap_wxBitmapFromImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxInitAllImageHandlers", (PyCFunction) _wrap_wxInitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageFromBitmap", (PyCFunction) _wrap_wxImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageFromMime", (PyCFunction) _wrap_wxImageFromMime, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
@@ -150,6 +150,10 @@ class wxImagePtr :
|
||||
val = apply(imagec.wxImage_ConvertToBitmap,(self,) + _args, _kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def ConvertToMonoBitmap(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToMonoBitmap,(self,) + _args, _kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -281,6 +285,11 @@ def wxImageFromBitmap(*_args, **_kwargs):
|
||||
|
||||
wxInitAllImageHandlers = imagec.wxInitAllImageHandlers
|
||||
|
||||
def wxBitmapFromImage(*_args, **_kwargs):
|
||||
val = apply(imagec.wxBitmapFromImage,_args,_kwargs)
|
||||
if val: val = wxBitmapPtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
wxImage_CanRead = imagec.wxImage_CanRead
|
||||
|
||||
wxImage_AddHandler = imagec.wxImage_AddHandler
|
||||
|
||||
@@ -1032,6 +1032,82 @@ static PyObject *_wrap_wxGetDisplaySizeMM(PyObject *self, PyObject *args, PyObje
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int * _arg0;
|
||||
int temp;
|
||||
int * _arg1;
|
||||
int temp0;
|
||||
int * _arg2;
|
||||
int temp1;
|
||||
int * _arg3;
|
||||
int temp2;
|
||||
char *_kwnames[] = { NULL };
|
||||
|
||||
self = self;
|
||||
{
|
||||
_arg0 = &temp;
|
||||
}
|
||||
{
|
||||
_arg1 = &temp0;
|
||||
}
|
||||
{
|
||||
_arg2 = &temp1;
|
||||
}
|
||||
{
|
||||
_arg3 = &temp2;
|
||||
}
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxClientDisplayRect",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxClientDisplayRect(_arg0,_arg1,_arg2,_arg3);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg0));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg1));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg2));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
{
|
||||
PyObject *o;
|
||||
o = PyInt_FromLong((long) (*_arg3));
|
||||
_resultobj = t_output_helper(_resultobj, o);
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxGetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxRect * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetClientDisplayRect",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = new wxRect (wxGetClientDisplayRect());
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
|
||||
_resultobj = Py_BuildValue("s",_ptemp);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxCursor * _arg0;
|
||||
@@ -5581,6 +5657,8 @@ static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGetClientDisplayRect", (PyCFunction) _wrap_wxGetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxClientDisplayRect", (PyCFunction) _wrap_wxClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
@@ -526,6 +526,13 @@ def wxGetDisplaySizeMM(*_args, **_kwargs):
|
||||
if val: val = wxSizePtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
wxClientDisplayRect = misc2c.wxClientDisplayRect
|
||||
|
||||
def wxGetClientDisplayRect(*_args, **_kwargs):
|
||||
val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs)
|
||||
if val: val = wxRectPtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
wxSetCursor = misc2c.wxSetCursor
|
||||
|
||||
def wxFindWindowByLabel(*_args, **_kwargs):
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -81,6 +81,72 @@ class wxPrintDataPtr :
|
||||
def SetQuality(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetQuality,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrinterCommand(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrinterCommand,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrinterOptions(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrinterOptions,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPreviewCommand(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPreviewCommand,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetFilename(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetFilename,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetFontMetricPath(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetFontMetricPath,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrinterScaleX(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrinterScaleX,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrinterScaleY(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrinterScaleY,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrinterTranslateX(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrinterTranslateX,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrinterTranslateY(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrinterTranslateY,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetPrintMode(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_GetPrintMode,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterCommand(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterCommand,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterOptions(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterOptions,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPreviewCommand(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPreviewCommand,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetFilename(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetFilename,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetFontMetricPath(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetFontMetricPath,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterScaleX(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterScaleX,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterScaleY(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterScaleY,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterScaling(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterScaling,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterTranslateX(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterTranslateX,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterTranslateY(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterTranslateY,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrinterTranslation(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrinterTranslation,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def SetPrintMode(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintData_SetPrintMode,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPrintData instance at %s>" % (self.this,)
|
||||
class wxPrintData(wxPrintDataPtr):
|
||||
|
||||
@@ -661,6 +661,35 @@ static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, P
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static const char * wxEvtHandler_GetClassName(wxEvtHandler *self) {
|
||||
return self->GetClassInfo()->GetClassName();
|
||||
}
|
||||
static PyObject *_wrap_wxEvtHandler_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
char * _result;
|
||||
wxEvtHandler * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetClassName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetClassName. Expected _wxEvtHandler_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (char *)wxEvtHandler_GetClassName(_arg0);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("s", _result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
|
||||
wxValidator *src;
|
||||
wxEvtHandler *dest;
|
||||
@@ -6574,15 +6603,14 @@ static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *k
|
||||
int _arg1;
|
||||
wxString * _arg2;
|
||||
wxString * _arg3 = (wxString *) &wxPyEmptyStr;
|
||||
bool _arg4 = (bool ) FALSE;
|
||||
int _arg4 = (int ) FALSE;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _obj3 = 0;
|
||||
int tempbool4 = (int) FALSE;
|
||||
char *_kwnames[] = { "self","id","item","helpString","checkable", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&tempbool4))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -6628,7 +6656,6 @@ static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *k
|
||||
_arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
|
||||
#endif
|
||||
}
|
||||
_arg4 = (bool ) tempbool4;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
|
||||
@@ -9816,6 +9843,7 @@ static PyMethodDef windowscMethods[] = {
|
||||
{ "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxEvtHandler_GetClassName", (PyCFunction) _wrap_wxEvtHandler_GetClassName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
|
||||
@@ -56,11 +56,11 @@ class wxEvtHandlerPtr :
|
||||
def Disconnect(self, *_args, **_kwargs):
|
||||
val = apply(windowsc.wxEvtHandler_Disconnect,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetClassName(self, *_args, **_kwargs):
|
||||
val = apply(windowsc.wxEvtHandler_GetClassName,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxEvtHandler instance at %s>" % (self.this,)
|
||||
|
||||
_prop_list_ = {}
|
||||
|
||||
class wxEvtHandler(wxEvtHandlerPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(windowsc.new_wxEvtHandler,_args,_kwargs)
|
||||
|
||||
Reference in New Issue
Block a user