2 * FILE : src/mac/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 static const wxString
wxPyEmptyString(wxT(""));
93 class wxPyValidator
: public wxValidator
{
94 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
102 wxObject
* Clone() const {
103 wxPyValidator
* ptr
= NULL
;
104 wxPyValidator
* self
= (wxPyValidator
*)this;
106 wxPyBeginBlockThreads();
107 if (self
->m_myInst
.findCallback("Clone")) {
109 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
111 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
115 wxPyEndBlockThreads();
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
140 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
141 return wxWindow::FindWindowById(id
, parent
);
144 wxWindow
* wxFindWindowByName( const wxString
& name
,
145 const wxWindow
*parent
= NULL
) {
146 return wxWindow::FindWindowByName(name
, parent
);
149 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
150 const wxWindow
*parent
= NULL
) {
151 return wxWindow::FindWindowByLabel(label
, parent
);
156 static PyObject
*_wrap_wxFindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
160 wxWindow
* _arg1
= (wxWindow
*) NULL
;
161 PyObject
* _argo1
= 0;
162 char *_kwnames
[] = { "id","parent", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l|O:wxFindWindowById",_kwnames
,&_arg0
,&_argo1
))
168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
176 _result
= (wxWindow
*)wxFindWindowById(_arg0
,_arg1
);
178 wxPyEndAllowThreads(__tstate
);
179 if (PyErr_Occurred()) return NULL
;
180 }{ _resultobj
= wxPyMake_wxObject(_result
); }
184 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
185 PyObject
* _resultobj
;
188 wxWindow
* _arg1
= (wxWindow
*) NULL
;
189 PyObject
* _obj0
= 0;
190 PyObject
* _argo1
= 0;
191 char *_kwnames
[] = { "name","parent", NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
197 _arg0
= wxString_in_helper(_obj0
);
202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
210 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
212 wxPyEndAllowThreads(__tstate
);
213 if (PyErr_Occurred()) return NULL
;
214 }{ _resultobj
= wxPyMake_wxObject(_result
); }
222 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
226 wxWindow
* _arg1
= (wxWindow
*) NULL
;
227 PyObject
* _obj0
= 0;
228 PyObject
* _argo1
= 0;
229 char *_kwnames
[] = { "label","parent", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
235 _arg0
= wxString_in_helper(_obj0
);
240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
248 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
250 wxPyEndAllowThreads(__tstate
);
251 if (PyErr_Occurred()) return NULL
;
252 }{ _resultobj
= wxPyMake_wxObject(_result
); }
260 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
263 src
= (wxEvtHandler
*) ptr
;
264 dest
= (wxObject
*) src
;
265 return (void *) dest
;
268 #define new_wxEvtHandler() (new wxEvtHandler())
269 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
270 PyObject
* _resultobj
;
271 wxEvtHandler
* _result
;
272 char *_kwnames
[] = { NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
280 _result
= (wxEvtHandler
*)new_wxEvtHandler();
282 wxPyEndAllowThreads(__tstate
);
283 if (PyErr_Occurred()) return NULL
;
285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
286 _resultobj
= Py_BuildValue("s",_ptemp
);
289 _resultobj
= Py_None
;
294 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
295 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 wxEvtHandler
* _arg0
;
300 PyObject
* _argo0
= 0;
301 PyObject
* _argo1
= 0;
302 char *_kwnames
[] = { "self","event", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
323 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
325 wxPyEndAllowThreads(__tstate
);
326 if (PyErr_Occurred()) return NULL
;
327 } _resultobj
= Py_BuildValue("i",_result
);
331 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
332 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxEvtHandler
* _arg0
;
336 PyObject
* _argo0
= 0;
337 PyObject
* _argo1
= 0;
338 char *_kwnames
[] = { "self","event", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
351 if (_argo1
== Py_None
) { _arg1
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
369 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
372 wxEvtHandler
* _arg0
;
373 PyObject
* _argo0
= 0;
374 char *_kwnames
[] = { "self", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
388 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
390 wxPyEndAllowThreads(__tstate
);
391 if (PyErr_Occurred()) return NULL
;
392 } _resultobj
= Py_BuildValue("i",_result
);
396 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
397 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
399 wxEvtHandler
* _arg0
;
401 PyObject
* _argo0
= 0;
403 char *_kwnames
[] = { "self","enabled", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
415 _arg1
= (bool ) tempbool1
;
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } Py_INCREF(Py_None
);
423 _resultobj
= Py_None
;
427 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
428 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
430 wxEvtHandler
* _result
;
431 wxEvtHandler
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
447 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
449 wxPyEndAllowThreads(__tstate
);
450 if (PyErr_Occurred()) return NULL
;
451 }{ _resultobj
= wxPyMake_wxObject(_result
); }
455 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
456 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxEvtHandler
* _result
;
459 wxEvtHandler
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 }{ _resultobj
= wxPyMake_wxObject(_result
); }
483 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
484 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
486 wxEvtHandler
* _arg0
;
487 wxEvtHandler
* _arg1
;
488 PyObject
* _argo0
= 0;
489 PyObject
* _argo1
= 0;
490 char *_kwnames
[] = { "self","handler", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
515 } Py_INCREF(Py_None
);
516 _resultobj
= Py_None
;
520 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
521 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
523 wxEvtHandler
* _arg0
;
524 wxEvtHandler
* _arg1
;
525 PyObject
* _argo0
= 0;
526 PyObject
* _argo1
= 0;
527 char *_kwnames
[] = { "self","handler", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
548 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
550 wxPyEndAllowThreads(__tstate
);
551 if (PyErr_Occurred()) return NULL
;
552 } Py_INCREF(Py_None
);
553 _resultobj
= Py_None
;
557 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
558 if (PyCallable_Check(func
)) {
559 self
->Connect(id
, lastId
, eventType
,
560 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
561 new wxPyCallback(func
));
563 else if (func
== Py_None
) {
564 self
->Disconnect(id
, lastId
, eventType
,
565 (wxObjectEventFunction
)
566 &wxPyCallback::EventThunker
);
569 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
572 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
574 wxEvtHandler
* _arg0
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _obj4
= 0;
581 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
598 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
600 wxPyEndAllowThreads(__tstate
);
601 if (PyErr_Occurred()) return NULL
;
602 } Py_INCREF(Py_None
);
603 _resultobj
= Py_None
;
607 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
608 return self
->Disconnect(id
, lastId
, eventType
,
609 (wxObjectEventFunction
)
610 &wxPyCallback::EventThunker
);
612 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
613 PyObject
* _resultobj
;
615 wxEvtHandler
* _arg0
;
617 int _arg2
= (int ) -1;
618 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
634 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
636 wxPyEndAllowThreads(__tstate
);
637 if (PyErr_Occurred()) return NULL
;
638 } _resultobj
= Py_BuildValue("i",_result
);
642 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
643 self
->SetClientObject(new wxPyOORClientData(_self
));
645 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
647 wxEvtHandler
* _arg0
;
649 PyObject
* _argo0
= 0;
650 PyObject
* _obj1
= 0;
651 char *_kwnames
[] = { "self","_self", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
668 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
670 wxPyEndAllowThreads(__tstate
);
671 if (PyErr_Occurred()) return NULL
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
680 src
= (wxValidator
*) ptr
;
681 dest
= (wxEvtHandler
*) src
;
682 return (void *) dest
;
685 static void *SwigwxValidatorTowxObject(void *ptr
) {
688 src
= (wxValidator
*) ptr
;
689 dest
= (wxObject
*) src
;
690 return (void *) dest
;
693 #define new_wxValidator() (new wxValidator())
694 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
696 wxValidator
* _result
;
697 char *_kwnames
[] = { NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
705 _result
= (wxValidator
*)new_wxValidator();
707 wxPyEndAllowThreads(__tstate
);
708 if (PyErr_Occurred()) return NULL
;
710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
711 _resultobj
= Py_BuildValue("s",_ptemp
);
714 _resultobj
= Py_None
;
719 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
720 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
722 wxValidator
* _result
;
724 PyObject
* _argo0
= 0;
725 char *_kwnames
[] = { "self", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
739 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
741 wxPyEndAllowThreads(__tstate
);
742 if (PyErr_Occurred()) return NULL
;
743 }{ _resultobj
= wxPyMake_wxObject(_result
); }
747 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
748 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
752 PyObject
* _argo0
= 0;
753 char *_kwnames
[] = { "self", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
771 }{ _resultobj
= wxPyMake_wxObject(_result
); }
775 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
776 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
780 PyObject
* _argo0
= 0;
781 PyObject
* _argo1
= 0;
782 char *_kwnames
[] = { "self","window", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
803 wxValidator_SetWindow(_arg0
,_arg1
);
805 wxPyEndAllowThreads(__tstate
);
806 if (PyErr_Occurred()) return NULL
;
807 } Py_INCREF(Py_None
);
808 _resultobj
= Py_None
;
812 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
815 char *_kwnames
[] = { NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= (bool )wxValidator::IsSilent();
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } _resultobj
= Py_BuildValue("i",_result
);
830 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
832 int _arg0
= (int ) TRUE
;
833 char *_kwnames
[] = { "doIt", NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
840 wxValidator::SetBellOnError(_arg0
);
842 wxPyEndAllowThreads(__tstate
);
843 if (PyErr_Occurred()) return NULL
;
844 } Py_INCREF(Py_None
);
845 _resultobj
= Py_None
;
849 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
852 src
= (wxPyValidator
*) ptr
;
853 dest
= (wxValidator
*) src
;
854 return (void *) dest
;
857 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
860 src
= (wxPyValidator
*) ptr
;
861 dest
= (wxEvtHandler
*) src
;
862 return (void *) dest
;
865 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
868 src
= (wxPyValidator
*) ptr
;
869 dest
= (wxObject
*) src
;
870 return (void *) dest
;
873 #define new_wxPyValidator() (new wxPyValidator())
874 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
876 wxPyValidator
* _result
;
877 char *_kwnames
[] = { NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 _result
= (wxPyValidator
*)new_wxPyValidator();
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
891 _resultobj
= Py_BuildValue("s",_ptemp
);
894 _resultobj
= Py_None
;
899 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
900 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
902 wxPyValidator
* _arg0
;
905 int _arg3
= (int ) TRUE
;
906 PyObject
* _argo0
= 0;
907 PyObject
* _obj1
= 0;
908 PyObject
* _obj2
= 0;
909 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
931 wxPyEndAllowThreads(__tstate
);
932 if (PyErr_Occurred()) return NULL
;
933 } Py_INCREF(Py_None
);
934 _resultobj
= Py_None
;
938 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
941 src
= (wxWindow
*) ptr
;
942 dest
= (wxEvtHandler
*) src
;
943 return (void *) dest
;
946 static void *SwigwxWindowTowxObject(void *ptr
) {
949 src
= (wxWindow
*) ptr
;
950 dest
= (wxObject
*) src
;
951 return (void *) dest
;
954 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
955 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
960 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
961 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
962 long _arg4
= (long ) 0;
963 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
964 PyObject
* _argo0
= 0;
966 PyObject
* _obj2
= 0;
968 PyObject
* _obj3
= 0;
969 PyObject
* _obj5
= 0;
970 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
986 if (! wxPoint_helper(_obj2
, &_arg2
))
992 if (! wxSize_helper(_obj3
, &_arg3
))
997 _arg5
= wxString_in_helper(_obj5
);
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1009 _resultobj
= Py_BuildValue("s",_ptemp
);
1012 _resultobj
= Py_None
;
1021 #define new_wxPreWindow() (new wxWindow())
1022 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
* _resultobj
;
1025 char *_kwnames
[] = { NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (wxWindow
*)new_wxPreWindow();
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1039 _resultobj
= Py_BuildValue("s",_ptemp
);
1042 _resultobj
= Py_None
;
1047 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1048 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1054 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1055 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1056 long _arg5
= (long ) 0;
1057 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
1058 PyObject
* _argo0
= 0;
1059 PyObject
* _argo1
= 0;
1061 PyObject
* _obj3
= 0;
1063 PyObject
* _obj4
= 0;
1064 PyObject
* _obj6
= 0;
1065 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1087 if (! wxPoint_helper(_obj3
, &_arg3
))
1093 if (! wxSize_helper(_obj4
, &_arg4
))
1098 _arg6
= wxString_in_helper(_obj6
);
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1116 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1117 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 int _arg1
= (int ) wxBOTH
;
1121 PyObject
* _argo0
= 0;
1122 char *_kwnames
[] = { "self","direction", NULL
};
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 wxWindow_Center(_arg0
,_arg1
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) return NULL
;
1140 } Py_INCREF(Py_None
);
1141 _resultobj
= Py_None
;
1145 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1146 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1149 int _arg1
= (int ) wxBOTH
;
1150 PyObject
* _argo0
= 0;
1151 char *_kwnames
[] = { "self","direction", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 wxWindow_Centre(_arg0
,_arg1
);
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) return NULL
;
1169 } Py_INCREF(Py_None
);
1170 _resultobj
= Py_None
;
1174 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1175 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1178 int _arg1
= (int ) wxBOTH
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self","direction", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1194 wxWindow_CentreOnParent(_arg0
,_arg1
);
1196 wxPyEndAllowThreads(__tstate
);
1197 if (PyErr_Occurred()) return NULL
;
1198 } Py_INCREF(Py_None
);
1199 _resultobj
= Py_None
;
1203 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1204 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1207 int _arg1
= (int ) wxBOTH
;
1208 PyObject
* _argo0
= 0;
1209 char *_kwnames
[] = { "self","direction", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 wxWindow_CenterOnParent(_arg0
,_arg1
);
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } Py_INCREF(Py_None
);
1228 _resultobj
= Py_None
;
1232 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1233 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1236 int _arg1
= (int ) wxBOTH
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self","direction", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1256 } Py_INCREF(Py_None
);
1257 _resultobj
= Py_None
;
1261 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1262 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1265 int _arg1
= (int ) wxBOTH
;
1266 PyObject
* _argo0
= 0;
1267 char *_kwnames
[] = { "self","direction", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) return NULL
;
1285 } Py_INCREF(Py_None
);
1286 _resultobj
= Py_None
;
1290 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1291 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1294 PyObject
* _argo0
= 0;
1295 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 wxWindow_Clear(_arg0
);
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1319 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1324 PyObject
* _argo0
= 0;
1326 PyObject
* _obj1
= 0;
1328 PyObject
* _obj2
= 0;
1329 char *_kwnames
[] = { "self","x","y", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1342 temp
= (int) PyInt_AsLong(_obj1
);
1346 temp0
= (int) PyInt_AsLong(_obj2
);
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) return NULL
;
1355 } Py_INCREF(Py_None
);
1356 _resultobj
= Py_None
;
1359 o
= PyInt_FromLong((long) (*_arg1
));
1360 _resultobj
= t_output_helper(_resultobj
, o
);
1364 o
= PyInt_FromLong((long) (*_arg2
));
1365 _resultobj
= t_output_helper(_resultobj
, o
);
1370 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1371 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1378 PyObject
* _obj1
= 0;
1379 char *_kwnames
[] = { "self","pt", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1394 if (! wxPoint_helper(_obj1
, &_arg1
))
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) return NULL
;
1403 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1404 _resultobj
= Py_BuildValue("s",_ptemp
);
1408 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1409 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1413 int _arg1
= (int ) FALSE
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "self","force", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 } _resultobj
= Py_BuildValue("i",_result
);
1437 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1438 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 _result
= (bool )wxWindow_Destroy(_arg0
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) return NULL
;
1461 } _resultobj
= Py_BuildValue("i",_result
);
1465 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1466 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1469 PyObject
* _argo0
= 0;
1470 char *_kwnames
[] = { "self", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 wxWindow_DestroyChildren(_arg0
);
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } Py_INCREF(Py_None
);
1489 _resultobj
= Py_None
;
1493 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1494 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } _resultobj
= Py_BuildValue("i",_result
);
1521 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1522 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1526 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self","enable", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1540 _arg1
= (bool ) tempbool1
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 wxWindow_Enable(_arg0
,_arg1
);
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) return NULL
;
1547 } Py_INCREF(Py_None
);
1548 _resultobj
= Py_None
;
1552 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1553 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self","id", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1581 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1582 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1587 PyObject
* _argo0
= 0;
1588 PyObject
* _obj1
= 0;
1589 char *_kwnames
[] = { "self","name", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1602 _arg1
= wxString_in_helper(_obj1
);
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1612 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1620 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1621 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 wxWindow_Fit(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } Py_INCREF(Py_None
);
1644 _resultobj
= Py_None
;
1648 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1649 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1674 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1679 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) return NULL
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1707 wxWindowList
& list
= self
->GetChildren();
1708 return wxPy_ConvertList(&list
, "wxWindow");
1710 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1714 PyObject
* _argo0
= 0;
1715 char *_kwnames
[] = { "self", NULL
};
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) return NULL
;
1734 _resultobj
= _result
;
1739 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1740 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) return NULL
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1768 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1796 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1803 PyObject
* _argo0
= 0;
1804 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1832 o
= PyInt_FromLong((long) (*_arg1
));
1833 _resultobj
= t_output_helper(_resultobj
, o
);
1837 o
= PyInt_FromLong((long) (*_arg2
));
1838 _resultobj
= t_output_helper(_resultobj
, o
);
1843 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1844 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1868 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1869 _resultobj
= Py_BuildValue("s",_ptemp
);
1873 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1874 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) return NULL
;
1898 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1903 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1904 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) return NULL
;
1928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1929 _resultobj
= Py_BuildValue("s",_ptemp
);
1933 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1934 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1936 wxLayoutConstraints
* _result
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) return NULL
;
1959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1960 _resultobj
= Py_BuildValue("s",_ptemp
);
1963 _resultobj
= Py_None
;
1968 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1969 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1971 wxEvtHandler
* _result
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1996 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1997 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 _result
= new wxFont (wxWindow_GetFont(_arg0
));
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2022 _resultobj
= Py_BuildValue("s",_ptemp
);
2026 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2027 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2052 _resultobj
= Py_BuildValue("s",_ptemp
);
2056 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2057 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2080 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2084 static long wxWindow_GetHandle(wxWindow
*self
) {
2085 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2087 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 _result
= (long )wxWindow_GetHandle(_arg0
);
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) return NULL
;
2110 } _resultobj
= Py_BuildValue("l",_result
);
2114 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2115 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "self", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 _result
= (int )wxWindow_GetId(_arg0
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) return NULL
;
2138 } _resultobj
= Py_BuildValue("i",_result
);
2142 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2143 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2147 PyObject
* _argo0
= 0;
2148 char *_kwnames
[] = { "self", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2168 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2170 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2179 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2180 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2184 PyObject
* _argo0
= 0;
2185 PyObject
* _obj1
= 0;
2186 char *_kwnames
[] = { "self","label", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2199 _arg1
= wxString_in_helper(_obj1
);
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 wxWindow_SetLabel(_arg0
,*_arg1
);
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) return NULL
;
2209 } Py_INCREF(Py_None
);
2210 _resultobj
= Py_None
;
2218 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2219 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2223 PyObject
* _argo0
= 0;
2224 char *_kwnames
[] = { "self", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 _result
= new wxString (wxWindow_GetName(_arg0
));
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) return NULL
;
2244 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2246 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2255 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2256 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2260 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2283 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2284 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2291 PyObject
* _argo0
= 0;
2292 char *_kwnames
[] = { "self", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) return NULL
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2320 o
= PyInt_FromLong((long) (*_arg1
));
2321 _resultobj
= t_output_helper(_resultobj
, o
);
2325 o
= PyInt_FromLong((long) (*_arg2
));
2326 _resultobj
= t_output_helper(_resultobj
, o
);
2331 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2332 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2356 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2357 _resultobj
= Py_BuildValue("s",_ptemp
);
2361 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2362 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2387 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2392 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2397 PyObject
* _argo0
= 0;
2398 char *_kwnames
[] = { "self","orientation", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) return NULL
;
2416 } _resultobj
= Py_BuildValue("i",_result
);
2420 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2421 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2427 char *_kwnames
[] = { "self","orientation", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2445 } _resultobj
= Py_BuildValue("i",_result
);
2449 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2450 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self","orientation", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } _resultobj
= Py_BuildValue("i",_result
);
2478 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2479 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2486 PyObject
* _argo0
= 0;
2487 char *_kwnames
[] = { "self", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) return NULL
;
2511 } Py_INCREF(Py_None
);
2512 _resultobj
= Py_None
;
2515 o
= PyInt_FromLong((long) (*_arg1
));
2516 _resultobj
= t_output_helper(_resultobj
, o
);
2520 o
= PyInt_FromLong((long) (*_arg2
));
2521 _resultobj
= t_output_helper(_resultobj
, o
);
2526 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2527 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) return NULL
;
2551 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2552 _resultobj
= Py_BuildValue("s",_ptemp
);
2556 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2557 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2565 PyObject
* _argo0
= 0;
2566 PyObject
* _obj1
= 0;
2567 char *_kwnames
[] = { "self","string", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2586 _arg1
= wxString_in_helper(_obj1
);
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2600 o
= PyInt_FromLong((long) (*_arg2
));
2601 _resultobj
= t_output_helper(_resultobj
, o
);
2605 o
= PyInt_FromLong((long) (*_arg3
));
2606 _resultobj
= t_output_helper(_resultobj
, o
);
2615 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2616 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2628 wxFont
* _arg6
= (wxFont
*) NULL
;
2629 PyObject
* _argo0
= 0;
2630 PyObject
* _obj1
= 0;
2631 PyObject
* _argo6
= 0;
2632 char *_kwnames
[] = { "self","string","font", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2657 _arg1
= wxString_in_helper(_obj1
);
2662 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) return NULL
;
2674 } Py_INCREF(Py_None
);
2675 _resultobj
= Py_None
;
2678 o
= PyInt_FromLong((long) (*_arg2
));
2679 _resultobj
= t_output_helper(_resultobj
, o
);
2683 o
= PyInt_FromLong((long) (*_arg3
));
2684 _resultobj
= t_output_helper(_resultobj
, o
);
2688 o
= PyInt_FromLong((long) (*_arg4
));
2689 _resultobj
= t_output_helper(_resultobj
, o
);
2693 o
= PyInt_FromLong((long) (*_arg5
));
2694 _resultobj
= t_output_helper(_resultobj
, o
);
2703 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2704 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) return NULL
;
2729 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2731 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2740 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2741 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2745 PyObject
* _argo0
= 0;
2746 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) return NULL
;
2765 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2766 _resultobj
= Py_BuildValue("s",_ptemp
);
2770 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2771 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) return NULL
;
2794 } _resultobj
= Py_BuildValue("l",_result
);
2798 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2799 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self","style", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2822 } Py_INCREF(Py_None
);
2823 _resultobj
= Py_None
;
2827 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2828 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self","style", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) return NULL
;
2851 } Py_INCREF(Py_None
);
2852 _resultobj
= Py_None
;
2856 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2857 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
* _resultobj
;
2862 PyObject
* _argo0
= 0;
2863 char *_kwnames
[] = { "self","orient", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 } _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2886 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 _result
= (bool )wxWindow_Hide(_arg0
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) return NULL
;
2909 } _resultobj
= Py_BuildValue("i",_result
);
2913 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2914 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2921 PyObject
* _obj1
= 0;
2922 char *_kwnames
[] = { "self","pt", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2936 if (! wxPoint_helper(_obj1
, &_arg1
))
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) return NULL
;
2945 } _resultobj
= Py_BuildValue("i",_result
);
2949 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2950 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 wxWindow_InitDialog(_arg0
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2978 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) return NULL
;
3001 } _resultobj
= Py_BuildValue("i",_result
);
3005 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3006 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3012 int _arg3
= (int ) 0;
3013 int _arg4
= (int ) 0;
3014 PyObject
* _argo0
= 0;
3015 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3037 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3038 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3043 PyObject
* _argo0
= 0;
3045 PyObject
* _obj1
= 0;
3046 char *_kwnames
[] = { "self","pt", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3060 if (! wxPoint_helper(_obj1
, &_arg1
))
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } _resultobj
= Py_BuildValue("i",_result
);
3073 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3074 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3079 PyObject
* _argo0
= 0;
3081 PyObject
* _obj1
= 0;
3082 char *_kwnames
[] = { "self","rect", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3096 if (! wxRect_helper(_obj1
, &_arg1
))
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) return NULL
;
3105 } _resultobj
= Py_BuildValue("i",_result
);
3109 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3110 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 _result
= (bool )wxWindow_IsRetained(_arg0
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) return NULL
;
3133 } _resultobj
= Py_BuildValue("i",_result
);
3137 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3138 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 _result
= (bool )wxWindow_IsShown(_arg0
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) return NULL
;
3161 } _resultobj
= Py_BuildValue("i",_result
);
3165 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3166 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } _resultobj
= Py_BuildValue("i",_result
);
3193 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3194 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3197 PyObject
* _argo0
= 0;
3198 char *_kwnames
[] = { "self", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 wxWindow_Layout(_arg0
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 } Py_INCREF(Py_None
);
3217 _resultobj
= Py_None
;
3221 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3222 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3228 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3229 PyObject
* _argo0
= 0;
3230 PyObject
* _argo1
= 0;
3231 PyObject
* _obj2
= 0;
3232 PyObject
* _argo3
= 0;
3233 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3253 _arg2
= wxString_in_helper(_obj2
);
3258 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) return NULL
;
3270 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3279 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 PyObject
* _argo0
= 0;
3283 char *_kwnames
[] = { "self", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 wxWindow_Lower(_arg0
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) return NULL
;
3301 } Py_INCREF(Py_None
);
3302 _resultobj
= Py_None
;
3306 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3307 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 bool _arg1
= (bool ) TRUE
;
3311 PyObject
* _argo0
= 0;
3312 int tempbool1
= (int) TRUE
;
3313 char *_kwnames
[] = { "self","flag", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3325 _arg1
= (bool ) tempbool1
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 wxWindow_MakeModal(_arg0
,_arg1
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3337 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3338 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3343 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3363 } Py_INCREF(Py_None
);
3364 _resultobj
= Py_None
;
3368 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3369 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3373 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3374 PyObject
* _argo0
= 0;
3376 PyObject
* _obj1
= 0;
3377 char *_kwnames
[] = { "self","point","flags", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3391 if (! wxPoint_helper(_obj1
, &_arg1
))
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) return NULL
;
3400 } Py_INCREF(Py_None
);
3401 _resultobj
= Py_None
;
3405 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3406 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxEvtHandler
* _result
;
3410 bool _arg1
= (bool ) FALSE
;
3411 PyObject
* _argo0
= 0;
3412 int tempbool1
= (int) FALSE
;
3413 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3425 _arg1
= (bool ) tempbool1
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) return NULL
;
3432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3436 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3437 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3440 wxEvtHandler
* _arg1
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _argo1
= 0;
3443 char *_kwnames
[] = { "self","handler", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxWindow_PushEventHandler(_arg0
,_arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3473 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3474 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3478 wxEvtHandler
* _arg1
;
3479 PyObject
* _argo0
= 0;
3480 PyObject
* _argo1
= 0;
3481 char *_kwnames
[] = { "self","handler", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) return NULL
;
3506 } _resultobj
= Py_BuildValue("i",_result
);
3510 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3511 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3518 PyObject
* _argo0
= 0;
3519 PyObject
* _argo1
= 0;
3520 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) return NULL
;
3545 } _resultobj
= Py_BuildValue("i",_result
);
3549 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3550 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3557 PyObject
* _argo1
= 0;
3559 PyObject
* _obj2
= 0;
3560 char *_kwnames
[] = { "self","menu","pos", NULL
};
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3581 if (! wxPoint_helper(_obj2
, &_arg2
))
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3590 } _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3595 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3598 PyObject
* _argo0
= 0;
3599 char *_kwnames
[] = { "self", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 wxWindow_Raise(_arg0
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) return NULL
;
3617 } Py_INCREF(Py_None
);
3618 _resultobj
= Py_None
;
3622 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3623 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3626 bool _arg1
= (bool ) TRUE
;
3627 wxRect
* _arg2
= (wxRect
*) NULL
;
3628 PyObject
* _argo0
= 0;
3629 int tempbool1
= (int) TRUE
;
3631 PyObject
* _obj2
= 0;
3632 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3644 _arg1
= (bool ) tempbool1
;
3648 if (! wxRect_helper(_obj2
, &_arg2
))
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3662 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3663 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3667 PyObject
* _argo0
= 0;
3669 PyObject
* _obj1
= 0;
3670 char *_kwnames
[] = { "self","rect", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3684 if (! wxRect_helper(_obj1
, &_arg1
))
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 wxWindow_RefreshRect(_arg0
,*_arg1
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) return NULL
;
3693 } Py_INCREF(Py_None
);
3694 _resultobj
= Py_None
;
3698 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3699 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
* _resultobj
;
3703 PyObject
* _argo0
= 0;
3704 PyObject
* _argo1
= 0;
3705 char *_kwnames
[] = { "self","child", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_AddChild",_kwnames
,&_argo0
,&_argo1
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 wxWindow_AddChild(_arg0
,_arg1
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) return NULL
;
3730 } Py_INCREF(Py_None
);
3731 _resultobj
= Py_None
;
3735 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3736 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3740 PyObject
* _argo0
= 0;
3741 PyObject
* _argo1
= 0;
3742 char *_kwnames
[] = { "self","child", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 wxWindow_RemoveChild(_arg0
,_arg1
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3767 } Py_INCREF(Py_None
);
3768 _resultobj
= Py_None
;
3772 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3773 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3778 PyObject
* _argo0
= 0;
3779 PyObject
* _argo1
= 0;
3780 char *_kwnames
[] = { "self","newParent", NULL
};
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3793 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) return NULL
;
3805 } _resultobj
= Py_BuildValue("i",_result
);
3809 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3810 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3815 PyObject
* _argo0
= 0;
3817 PyObject
* _obj1
= 0;
3819 PyObject
* _obj2
= 0;
3820 char *_kwnames
[] = { "self","x","y", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3833 temp
= (int) PyInt_AsLong(_obj1
);
3837 temp0
= (int) PyInt_AsLong(_obj2
);
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) return NULL
;
3846 } Py_INCREF(Py_None
);
3847 _resultobj
= Py_None
;
3850 o
= PyInt_FromLong((long) (*_arg1
));
3851 _resultobj
= t_output_helper(_resultobj
, o
);
3855 o
= PyInt_FromLong((long) (*_arg2
));
3856 _resultobj
= t_output_helper(_resultobj
, o
);
3861 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3862 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3867 PyObject
* _argo0
= 0;
3869 PyObject
* _obj1
= 0;
3870 char *_kwnames
[] = { "self","pt", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3885 if (! wxPoint_helper(_obj1
, &_arg1
))
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3895 _resultobj
= Py_BuildValue("s",_ptemp
);
3899 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3900 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3905 wxRect
* _arg3
= (wxRect
*) NULL
;
3906 PyObject
* _argo0
= 0;
3908 PyObject
* _obj3
= 0;
3909 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3924 if (! wxRect_helper(_obj3
, &_arg3
))
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) return NULL
;
3933 } Py_INCREF(Py_None
);
3934 _resultobj
= Py_None
;
3938 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3939 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3943 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "self","autoLayout", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3957 _arg1
= (bool ) tempbool1
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) return NULL
;
3964 } Py_INCREF(Py_None
);
3965 _resultobj
= Py_None
;
3969 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3970 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3993 } _resultobj
= Py_BuildValue("i",_result
);
3997 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3998 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4002 PyObject
* _argo0
= 0;
4004 PyObject
* _obj1
= 0;
4005 char *_kwnames
[] = { "self","colour", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4019 if (! wxColour_helper(_obj1
, &_arg1
))
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) return NULL
;
4028 } Py_INCREF(Py_None
);
4029 _resultobj
= Py_None
;
4033 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4034 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxLayoutConstraints
* _arg1
;
4038 PyObject
* _argo0
= 0;
4039 PyObject
* _argo1
= 0;
4040 char *_kwnames
[] = { "self","constraints", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 wxWindow_SetConstraints(_arg0
,_arg1
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) return NULL
;
4065 } Py_INCREF(Py_None
);
4066 _resultobj
= Py_None
;
4070 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4071 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4074 wxLayoutConstraints
* _arg1
;
4075 PyObject
* _argo0
= 0;
4076 PyObject
* _argo1
= 0;
4077 char *_kwnames
[] = { "self","constraints", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) return NULL
;
4102 } Py_INCREF(Py_None
);
4103 _resultobj
= Py_None
;
4107 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4108 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4111 PyObject
* _argo0
= 0;
4112 char *_kwnames
[] = { "self", NULL
};
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 wxWindow_SetFocus(_arg0
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) return NULL
;
4130 } Py_INCREF(Py_None
);
4131 _resultobj
= Py_None
;
4135 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4136 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4139 PyObject
* _argo0
= 0;
4140 char *_kwnames
[] = { "self", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 wxWindow_SetFocusFromKbd(_arg0
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) return NULL
;
4158 } Py_INCREF(Py_None
);
4159 _resultobj
= Py_None
;
4163 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4164 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) return NULL
;
4187 } _resultobj
= Py_BuildValue("i",_result
);
4191 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4192 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _argo1
= 0;
4198 char *_kwnames
[] = { "self","font", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 wxWindow_SetFont(_arg0
,*_arg1
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) return NULL
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4228 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4229 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4233 PyObject
* _argo0
= 0;
4235 PyObject
* _obj1
= 0;
4236 char *_kwnames
[] = { "self","colour", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4250 if (! wxColour_helper(_obj1
, &_arg1
))
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) return NULL
;
4259 } Py_INCREF(Py_None
);
4260 _resultobj
= Py_None
;
4264 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4265 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4269 PyObject
* _argo0
= 0;
4270 char *_kwnames
[] = { "self","id", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 wxWindow_SetId(_arg0
,_arg1
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) return NULL
;
4288 } Py_INCREF(Py_None
);
4289 _resultobj
= Py_None
;
4293 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4294 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4298 PyObject
* _argo0
= 0;
4299 PyObject
* _obj1
= 0;
4300 char *_kwnames
[] = { "self","name", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4313 _arg1
= wxString_in_helper(_obj1
);
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 wxWindow_SetName(_arg0
,*_arg1
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) return NULL
;
4323 } Py_INCREF(Py_None
);
4324 _resultobj
= Py_None
;
4332 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4333 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4340 int _arg5
= (int ) TRUE
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } Py_INCREF(Py_None
);
4361 _resultobj
= Py_None
;
4365 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4366 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4371 bool _arg3
= (bool ) TRUE
;
4372 PyObject
* _argo0
= 0;
4373 int tempbool3
= (int) TRUE
;
4374 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4386 _arg3
= (bool ) tempbool3
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4398 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4399 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4406 int _arg5
= (int ) wxSIZE_AUTO
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4426 } Py_INCREF(Py_None
);
4427 _resultobj
= Py_None
;
4431 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4432 self
->SetSize(size
);
4434 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
* _resultobj
;
4438 PyObject
* _argo0
= 0;
4440 PyObject
* _obj1
= 0;
4441 char *_kwnames
[] = { "self","size", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4455 if (! wxSize_helper(_obj1
, &_arg1
))
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 wxWindow_SetSize(_arg0
,*_arg1
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) return NULL
;
4464 } Py_INCREF(Py_None
);
4465 _resultobj
= Py_None
;
4469 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4470 self
->Move(pos
, flags
);
4472 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4476 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4477 PyObject
* _argo0
= 0;
4479 PyObject
* _obj1
= 0;
4480 char *_kwnames
[] = { "self","pos","flags", NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4494 if (! wxPoint_helper(_obj1
, &_arg1
))
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4503 } Py_INCREF(Py_None
);
4504 _resultobj
= Py_None
;
4508 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4509 self
->SetSize(rect
, sizeFlags
);
4511 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
* _resultobj
;
4515 int _arg2
= (int ) wxSIZE_AUTO
;
4516 PyObject
* _argo0
= 0;
4518 PyObject
* _obj1
= 0;
4519 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4533 if (! wxRect_helper(_obj1
, &_arg1
))
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) return NULL
;
4542 } Py_INCREF(Py_None
);
4543 _resultobj
= Py_None
;
4547 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4548 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4553 int _arg3
= (int ) -1;
4554 int _arg4
= (int ) -1;
4555 int _arg5
= (int ) -1;
4556 int _arg6
= (int ) -1;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } Py_INCREF(Py_None
);
4577 _resultobj
= Py_None
;
4581 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4582 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
* _resultobj
;
4587 int _arg3
= (int ) -1;
4588 int _arg4
= (int ) -1;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) return NULL
;
4608 } Py_INCREF(Py_None
);
4609 _resultobj
= Py_None
;
4613 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4614 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
* _resultobj
;
4618 PyObject
* _argo0
= 0;
4620 PyObject
* _obj1
= 0;
4621 char *_kwnames
[] = { "self","size", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetVirtualSize",_kwnames
,&_argo0
,&_obj1
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4635 if (! wxSize_helper(_obj1
, &_arg1
))
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4644 } Py_INCREF(Py_None
);
4645 _resultobj
= Py_None
;
4649 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4650 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4655 PyObject
* _argo0
= 0;
4656 char *_kwnames
[] = { "self","x","y", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) return NULL
;
4674 } Py_INCREF(Py_None
);
4675 _resultobj
= Py_None
;
4679 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4680 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4684 PyObject
* _argo0
= 0;
4685 char *_kwnames
[] = { "self", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) return NULL
;
4704 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4705 _resultobj
= Py_BuildValue("s",_ptemp
);
4709 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4710 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4746 o
= PyInt_FromLong((long) (*_arg1
));
4747 _resultobj
= t_output_helper(_resultobj
, o
);
4751 o
= PyInt_FromLong((long) (*_arg2
));
4752 _resultobj
= t_output_helper(_resultobj
, o
);
4757 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4758 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
* _resultobj
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self","width","height", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) return NULL
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4788 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4792 PyObject
* _argo0
= 0;
4794 PyObject
* _obj1
= 0;
4795 char *_kwnames
[] = { "self","size", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4809 if (! wxSize_helper(_obj1
, &_arg1
))
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxWindow_SetClientSize(_arg0
,*_arg1
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4823 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4824 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4829 PyObject
* _argo0
= 0;
4830 PyObject
* _argo1
= 0;
4831 char *_kwnames
[] = { "self","cursor", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 _result
= (bool )wxWindow_SetCursor(_arg0
,*_arg1
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) return NULL
;
4856 } _resultobj
= Py_BuildValue("i",_result
);
4860 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4861 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4865 PyObject
* _argo0
= 0;
4866 char *_kwnames
[] = { "self", NULL
};
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCursor",_kwnames
,&_argo0
))
4873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 wxCursor
& _result_ref
= wxWindow_GetCursor(_arg0
);
4882 _result
= (wxCursor
*) &_result_ref
;
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) return NULL
;
4887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
4888 _resultobj
= Py_BuildValue("s",_ptemp
);
4891 _resultobj
= Py_None
;
4896 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4897 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4900 wxEvtHandler
* _arg1
;
4901 PyObject
* _argo0
= 0;
4902 PyObject
* _argo1
= 0;
4903 char *_kwnames
[] = { "self","handler", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 wxWindow_SetEventHandler(_arg0
,_arg1
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4928 } Py_INCREF(Py_None
);
4929 _resultobj
= Py_None
;
4933 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4934 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4938 PyObject
* _argo0
= 0;
4939 char *_kwnames
[] = { "self","exStyle", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) return NULL
;
4957 } Py_INCREF(Py_None
);
4958 _resultobj
= Py_None
;
4962 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4963 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4967 PyObject
* _argo0
= 0;
4968 PyObject
* _obj1
= 0;
4969 char *_kwnames
[] = { "self","title", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4982 _arg1
= wxString_in_helper(_obj1
);
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 wxWindow_SetTitle(_arg0
,*_arg1
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) return NULL
;
4992 } Py_INCREF(Py_None
);
4993 _resultobj
= Py_None
;
5001 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5002 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5006 bool _arg1
= (bool ) TRUE
;
5007 PyObject
* _argo0
= 0;
5008 int tempbool1
= (int) TRUE
;
5009 char *_kwnames
[] = { "self","show", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5021 _arg1
= (bool ) tempbool1
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) return NULL
;
5028 } _resultobj
= Py_BuildValue("i",_result
);
5032 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5033 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5037 PyObject
* _argo0
= 0;
5038 char *_kwnames
[] = { "self", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) return NULL
;
5056 } _resultobj
= Py_BuildValue("i",_result
);
5060 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5061 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5065 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } _resultobj
= Py_BuildValue("i",_result
);
5088 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
5089 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxWindow_UpdateWindowUI(_arg0
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5116 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5117 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5121 PyObject
* _argo0
= 0;
5122 char *_kwnames
[] = { "self", NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 _result
= (bool )wxWindow_Validate(_arg0
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) return NULL
;
5140 } _resultobj
= Py_BuildValue("i",_result
);
5144 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5145 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5150 PyObject
* _argo0
= 0;
5152 PyObject
* _obj1
= 0;
5153 char *_kwnames
[] = { "self","pt", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5168 if (! wxPoint_helper(_obj1
, &_arg1
))
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) return NULL
;
5177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5178 _resultobj
= Py_BuildValue("s",_ptemp
);
5182 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5183 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5188 PyObject
* _argo0
= 0;
5190 PyObject
* _obj1
= 0;
5191 char *_kwnames
[] = { "self","sz", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5206 if (! wxSize_helper(_obj1
, &_arg1
))
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) return NULL
;
5215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5216 _resultobj
= Py_BuildValue("s",_ptemp
);
5220 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5221 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5226 PyObject
* _argo0
= 0;
5228 PyObject
* _obj1
= 0;
5229 char *_kwnames
[] = { "self","pt", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5244 if (! wxPoint_helper(_obj1
, &_arg1
))
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) return NULL
;
5253 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5254 _resultobj
= Py_BuildValue("s",_ptemp
);
5258 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5259 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5264 PyObject
* _argo0
= 0;
5266 PyObject
* _obj1
= 0;
5267 char *_kwnames
[] = { "self","sz", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5282 if (! wxSize_helper(_obj1
, &_arg1
))
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) return NULL
;
5291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5292 _resultobj
= Py_BuildValue("s",_ptemp
);
5296 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5297 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 PyObject
* _obj1
= 0;
5303 char *_kwnames
[] = { "self","tip", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5316 _arg1
= wxString_in_helper(_obj1
);
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5326 } Py_INCREF(Py_None
);
5327 _resultobj
= Py_None
;
5335 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5336 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5340 PyObject
* _argo0
= 0;
5341 PyObject
* _argo1
= 0;
5342 char *_kwnames
[] = { "self","tooltip", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 wxWindow_SetToolTip(_arg0
,_arg1
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) return NULL
;
5367 } Py_INCREF(Py_None
);
5368 _resultobj
= Py_None
;
5372 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5373 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
* _resultobj
;
5375 wxToolTip
* _result
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5396 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5400 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5401 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5405 bool _arg2
= (bool ) TRUE
;
5406 PyObject
* _argo0
= 0;
5407 PyObject
* _argo1
= 0;
5408 int tempbool2
= (int) TRUE
;
5409 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5428 _arg2
= (bool ) tempbool2
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) return NULL
;
5435 } Py_INCREF(Py_None
);
5436 _resultobj
= Py_None
;
5440 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5441 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5445 bool _arg2
= (bool ) TRUE
;
5446 PyObject
* _argo0
= 0;
5447 PyObject
* _argo1
= 0;
5448 int tempbool2
= (int) TRUE
;
5449 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5468 _arg2
= (bool ) tempbool2
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) return NULL
;
5475 } Py_INCREF(Py_None
);
5476 _resultobj
= Py_None
;
5480 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5481 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5485 PyObject
* _argo0
= 0;
5486 char *_kwnames
[] = { "self", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) return NULL
;
5504 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5508 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5509 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
* _resultobj
;
5513 PyObject
* _argo0
= 0;
5514 PyObject
* _argo1
= 0;
5515 char *_kwnames
[] = { "self","sizer", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5545 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5546 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) return NULL
;
5569 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5573 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5574 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
* _resultobj
;
5576 wxValidator
* _result
;
5578 PyObject
* _argo0
= 0;
5579 char *_kwnames
[] = { "self", NULL
};
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) return NULL
;
5597 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5601 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5602 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5605 wxValidator
* _arg1
;
5606 PyObject
* _argo0
= 0;
5607 PyObject
* _argo1
= 0;
5608 char *_kwnames
[] = { "self","validator", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 wxWindow_SetValidator(_arg0
,*_arg1
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5633 } Py_INCREF(Py_None
);
5634 _resultobj
= Py_None
;
5638 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5639 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
* _resultobj
;
5642 wxDropTarget
* _arg1
;
5643 PyObject
* _argo0
= 0;
5644 PyObject
* _argo1
= 0;
5645 char *_kwnames
[] = { "self","target", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 wxWindow_SetDropTarget(_arg0
,_arg1
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) return NULL
;
5670 } Py_INCREF(Py_None
);
5671 _resultobj
= Py_None
;
5675 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5676 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
* _resultobj
;
5678 wxDropTarget
* _result
;
5680 PyObject
* _argo0
= 0;
5681 char *_kwnames
[] = { "self", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) return NULL
;
5701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5702 _resultobj
= Py_BuildValue("s",_ptemp
);
5705 _resultobj
= Py_None
;
5710 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5711 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5715 PyObject
* _argo0
= 0;
5716 char *_kwnames
[] = { "self", NULL
};
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) return NULL
;
5735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5736 _resultobj
= Py_BuildValue("s",_ptemp
);
5740 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5741 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5745 PyObject
* _argo0
= 0;
5746 char *_kwnames
[] = { "self", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) return NULL
;
5765 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5766 _resultobj
= Py_BuildValue("s",_ptemp
);
5770 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5771 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5775 PyObject
* _argo0
= 0;
5776 PyObject
* _argo1
= 0;
5777 char *_kwnames
[] = { "self","caret", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 wxWindow_SetCaret(_arg0
,_arg1
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) return NULL
;
5802 } Py_INCREF(Py_None
);
5803 _resultobj
= Py_None
;
5807 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5808 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5812 PyObject
* _argo0
= 0;
5813 char *_kwnames
[] = { "self", NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5834 _resultobj
= Py_BuildValue("s",_ptemp
);
5837 _resultobj
= Py_None
;
5842 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5843 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5846 PyObject
* _argo0
= 0;
5847 char *_kwnames
[] = { "self", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 wxWindow_Freeze(_arg0
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) return NULL
;
5865 } Py_INCREF(Py_None
);
5866 _resultobj
= Py_None
;
5870 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5871 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 PyObject
* _argo0
= 0;
5875 char *_kwnames
[] = { "self", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 wxWindow_Thaw(_arg0
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) return NULL
;
5893 } Py_INCREF(Py_None
);
5894 _resultobj
= Py_None
;
5898 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5899 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5902 PyObject
* _argo0
= 0;
5903 char *_kwnames
[] = { "self", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxWindow_Update(_arg0
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5926 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5927 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5952 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5954 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5963 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5964 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5968 PyObject
* _argo0
= 0;
5969 PyObject
* _obj1
= 0;
5970 char *_kwnames
[] = { "self","helpText", NULL
};
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5983 _arg1
= wxString_in_helper(_obj1
);
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 wxWindow_SetHelpText(_arg0
,*_arg1
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5993 } Py_INCREF(Py_None
);
5994 _resultobj
= Py_None
;
6002 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6003 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6007 PyObject
* _argo0
= 0;
6008 PyObject
* _obj1
= 0;
6009 char *_kwnames
[] = { "self","text", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
6015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6022 _arg1
= wxString_in_helper(_obj1
);
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) return NULL
;
6032 } Py_INCREF(Py_None
);
6033 _resultobj
= Py_None
;
6041 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6042 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
* _resultobj
;
6047 PyObject
* _argo0
= 0;
6048 char *_kwnames
[] = { "self","lines", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6066 } _resultobj
= Py_BuildValue("i",_result
);
6070 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6071 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6076 PyObject
* _argo0
= 0;
6077 char *_kwnames
[] = { "self","pages", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) return NULL
;
6095 } _resultobj
= Py_BuildValue("i",_result
);
6099 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6100 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
* _resultobj
;
6104 PyObject
* _argo0
= 0;
6105 char *_kwnames
[] = { "self", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 _result
= (bool )wxWindow_LineUp(_arg0
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) return NULL
;
6123 } _resultobj
= Py_BuildValue("i",_result
);
6127 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6128 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6132 PyObject
* _argo0
= 0;
6133 char *_kwnames
[] = { "self", NULL
};
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 _result
= (bool )wxWindow_LineDown(_arg0
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) return NULL
;
6151 } _resultobj
= Py_BuildValue("i",_result
);
6155 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6156 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
* _resultobj
;
6160 PyObject
* _argo0
= 0;
6161 char *_kwnames
[] = { "self", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 _result
= (bool )wxWindow_PageUp(_arg0
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) return NULL
;
6179 } _resultobj
= Py_BuildValue("i",_result
);
6183 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6184 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 _result
= (bool )wxWindow_PageDown(_arg0
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) return NULL
;
6207 } _resultobj
= Py_BuildValue("i",_result
);
6211 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6214 char *_kwnames
[] = { NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 _result
= (wxWindow
*)wxWindow::FindFocus();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) return NULL
;
6225 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6229 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6232 char *_kwnames
[] = { NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 _result
= (int )wxWindow::NewControlId();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6243 } _resultobj
= Py_BuildValue("i",_result
);
6247 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
* _resultobj
;
6251 char *_kwnames
[] = { "id", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 _result
= (int )wxWindow::NextControlId(_arg0
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) return NULL
;
6262 } _resultobj
= Py_BuildValue("i",_result
);
6266 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
* _resultobj
;
6270 char *_kwnames
[] = { "id", NULL
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 _result
= (int )wxWindow::PrevControlId(_arg0
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) return NULL
;
6281 } _resultobj
= Py_BuildValue("i",_result
);
6285 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6286 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6289 wxAcceleratorTable
* _arg1
;
6290 PyObject
* _argo0
= 0;
6291 PyObject
* _argo1
= 0;
6292 char *_kwnames
[] = { "self","accel", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) return NULL
;
6317 } Py_INCREF(Py_None
);
6318 _resultobj
= Py_None
;
6322 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6323 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6325 wxAcceleratorTable
* _result
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self", NULL
};
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) return NULL
;
6348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6349 _resultobj
= Py_BuildValue("s",_ptemp
);
6352 _resultobj
= Py_None
;
6357 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6358 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6362 PyObject
* _argo0
= 0;
6363 char *_kwnames
[] = { "self", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) return NULL
;
6381 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6385 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6386 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6391 PyObject
* _argo0
= 0;
6392 PyObject
* _argo1
= 0;
6393 char *_kwnames
[] = { "self","btn", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) return NULL
;
6418 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6422 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6423 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6427 PyObject
* _argo0
= 0;
6428 PyObject
* _argo1
= 0;
6429 char *_kwnames
[] = { "self","win", NULL
};
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) return NULL
;
6454 } Py_INCREF(Py_None
);
6455 _resultobj
= Py_None
;
6459 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6460 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6465 PyObject
* _argo0
= 0;
6466 char *_kwnames
[] = { "self","x","y", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) return NULL
;
6484 } Py_INCREF(Py_None
);
6485 _resultobj
= Py_None
;
6489 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6490 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6493 PyObject
* _argo0
= 0;
6494 char *_kwnames
[] = { "self", NULL
};
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 wxWindow_CaptureMouse(_arg0
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6512 } Py_INCREF(Py_None
);
6513 _resultobj
= Py_None
;
6517 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6518 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self", NULL
};
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 wxWindow_ReleaseMouse(_arg0
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) return NULL
;
6540 } Py_INCREF(Py_None
);
6541 _resultobj
= Py_None
;
6545 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6548 char *_kwnames
[] = { NULL
};
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 _result
= (wxWindow
*)wxWindow::GetCapture();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) return NULL
;
6559 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6563 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6564 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 _result
= (bool )wxWindow_HasCapture(_arg0
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) return NULL
;
6587 } _resultobj
= Py_BuildValue("i",_result
);
6591 static void *SwigwxPanelTowxWindow(void *ptr
) {
6594 src
= (wxPanel
*) ptr
;
6595 dest
= (wxWindow
*) src
;
6596 return (void *) dest
;
6599 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6602 src
= (wxPanel
*) ptr
;
6603 dest
= (wxEvtHandler
*) src
;
6604 return (void *) dest
;
6607 static void *SwigwxPanelTowxObject(void *ptr
) {
6610 src
= (wxPanel
*) ptr
;
6611 dest
= (wxObject
*) src
;
6612 return (void *) dest
;
6615 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6616 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6621 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6622 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6623 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6624 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6625 PyObject
* _argo0
= 0;
6627 PyObject
* _obj2
= 0;
6629 PyObject
* _obj3
= 0;
6630 PyObject
* _obj5
= 0;
6631 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6647 if (! wxPoint_helper(_obj2
, &_arg2
))
6653 if (! wxSize_helper(_obj3
, &_arg3
))
6658 _arg5
= wxString_in_helper(_obj5
);
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) return NULL
;
6669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6670 _resultobj
= Py_BuildValue("s",_ptemp
);
6673 _resultobj
= Py_None
;
6682 #define new_wxPrePanel() (new wxPanel())
6683 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
* _resultobj
;
6686 char *_kwnames
[] = { NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= (wxPanel
*)new_wxPrePanel();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6700 _resultobj
= Py_BuildValue("s",_ptemp
);
6703 _resultobj
= Py_None
;
6708 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6709 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6715 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6716 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6717 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6718 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6719 PyObject
* _argo0
= 0;
6720 PyObject
* _argo1
= 0;
6722 PyObject
* _obj3
= 0;
6724 PyObject
* _obj4
= 0;
6725 PyObject
* _obj6
= 0;
6726 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6748 if (! wxPoint_helper(_obj3
, &_arg3
))
6754 if (! wxSize_helper(_obj4
, &_arg4
))
6759 _arg6
= wxString_in_helper(_obj6
);
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) return NULL
;
6769 } _resultobj
= Py_BuildValue("i",_result
);
6777 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6778 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 wxPanel_InitDialog(_arg0
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } Py_INCREF(Py_None
);
6801 _resultobj
= Py_None
;
6805 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6806 wxScrolledWindow
*src
;
6808 src
= (wxScrolledWindow
*) ptr
;
6809 dest
= (wxPanel
*) src
;
6810 return (void *) dest
;
6813 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6814 wxScrolledWindow
*src
;
6816 src
= (wxScrolledWindow
*) ptr
;
6817 dest
= (wxWindow
*) src
;
6818 return (void *) dest
;
6821 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6822 wxScrolledWindow
*src
;
6824 src
= (wxScrolledWindow
*) ptr
;
6825 dest
= (wxEvtHandler
*) src
;
6826 return (void *) dest
;
6829 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6830 wxScrolledWindow
*src
;
6832 src
= (wxScrolledWindow
*) ptr
;
6833 dest
= (wxObject
*) src
;
6834 return (void *) dest
;
6837 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6838 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6840 wxScrolledWindow
* _result
;
6842 wxWindowID _arg1
= (wxWindowID
) -1;
6843 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6844 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6845 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6846 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6847 PyObject
* _argo0
= 0;
6849 PyObject
* _obj2
= 0;
6851 PyObject
* _obj3
= 0;
6852 PyObject
* _obj5
= 0;
6853 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6869 if (! wxPoint_helper(_obj2
, &_arg2
))
6875 if (! wxSize_helper(_obj3
, &_arg3
))
6880 _arg5
= wxString_in_helper(_obj5
);
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) return NULL
;
6891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6892 _resultobj
= Py_BuildValue("s",_ptemp
);
6895 _resultobj
= Py_None
;
6904 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6905 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6907 wxScrolledWindow
* _result
;
6908 char *_kwnames
[] = { NULL
};
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6922 _resultobj
= Py_BuildValue("s",_ptemp
);
6925 _resultobj
= Py_None
;
6930 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6931 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
* _resultobj
;
6934 wxScrolledWindow
* _arg0
;
6936 wxWindowID _arg2
= (wxWindowID
) -1;
6937 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6938 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6939 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6940 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6941 PyObject
* _argo0
= 0;
6942 PyObject
* _argo1
= 0;
6944 PyObject
* _obj3
= 0;
6946 PyObject
* _obj4
= 0;
6947 PyObject
* _obj6
= 0;
6948 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6970 if (! wxPoint_helper(_obj3
, &_arg3
))
6976 if (! wxSize_helper(_obj4
, &_arg4
))
6981 _arg6
= wxString_in_helper(_obj6
);
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) return NULL
;
6991 } _resultobj
= Py_BuildValue("i",_result
);
6999 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7000 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
* _resultobj
;
7002 wxScrolledWindow
* _arg0
;
7005 PyObject
* _argo0
= 0;
7008 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7020 _arg1
= (bool ) tempbool1
;
7021 _arg2
= (bool ) tempbool2
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } Py_INCREF(Py_None
);
7029 _resultobj
= Py_None
;
7033 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7034 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7037 wxScrolledWindow
* _arg0
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self","orient", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) return NULL
;
7058 } _resultobj
= Py_BuildValue("i",_result
);
7062 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7063 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
* _resultobj
;
7065 wxScrolledWindow
* _arg0
;
7070 PyObject
* _argo0
= 0;
7071 char *_kwnames
[] = { "self", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) return NULL
;
7095 } Py_INCREF(Py_None
);
7096 _resultobj
= Py_None
;
7099 o
= PyInt_FromLong((long) (*_arg1
));
7100 _resultobj
= t_output_helper(_resultobj
, o
);
7104 o
= PyInt_FromLong((long) (*_arg2
));
7105 _resultobj
= t_output_helper(_resultobj
, o
);
7110 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7111 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7114 wxScrolledWindow
* _arg0
;
7115 PyObject
* _argo0
= 0;
7116 char *_kwnames
[] = { "self", NULL
};
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) return NULL
;
7134 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7138 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7139 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7142 wxScrolledWindow
* _arg0
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } _resultobj
= Py_BuildValue("i",_result
);
7166 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7167 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7169 wxScrolledWindow
* _arg0
;
7171 PyObject
* _argo0
= 0;
7172 PyObject
* _argo1
= 0;
7173 char *_kwnames
[] = { "self","dc", NULL
};
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) return NULL
;
7198 } Py_INCREF(Py_None
);
7199 _resultobj
= Py_None
;
7203 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7204 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7206 wxScrolledWindow
* _arg0
;
7209 PyObject
* _argo0
= 0;
7210 char *_kwnames
[] = { "self","x","y", NULL
};
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) return NULL
;
7228 } Py_INCREF(Py_None
);
7229 _resultobj
= Py_None
;
7233 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7234 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
* _resultobj
;
7236 wxScrolledWindow
* _arg0
;
7241 int _arg5
= (int ) 0;
7242 int _arg6
= (int ) 0;
7243 int _arg7
= (int ) FALSE
;
7244 PyObject
* _argo0
= 0;
7245 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) return NULL
;
7263 } Py_INCREF(Py_None
);
7264 _resultobj
= Py_None
;
7268 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7269 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
* _resultobj
;
7271 wxScrolledWindow
* _arg0
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } Py_INCREF(Py_None
);
7294 _resultobj
= Py_None
;
7298 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7299 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7301 wxScrolledWindow
* _arg0
;
7303 PyObject
* _argo0
= 0;
7304 PyObject
* _argo1
= 0;
7305 char *_kwnames
[] = { "self","window", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } Py_INCREF(Py_None
);
7331 _resultobj
= Py_None
;
7335 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7336 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7338 wxScrolledWindow
* _arg0
;
7343 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) return NULL
;
7368 } Py_INCREF(Py_None
);
7369 _resultobj
= Py_None
;
7372 o
= PyInt_FromLong((long) (*_arg1
));
7373 _resultobj
= t_output_helper(_resultobj
, o
);
7377 o
= PyInt_FromLong((long) (*_arg2
));
7378 _resultobj
= t_output_helper(_resultobj
, o
);
7383 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7384 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7387 wxScrolledWindow
* _arg0
;
7389 PyObject
* _argo0
= 0;
7391 PyObject
* _obj1
= 0;
7392 char *_kwnames
[] = { "self","pt", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7407 if (! wxPoint_helper(_obj1
, &_arg1
))
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) return NULL
;
7416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7417 _resultobj
= Py_BuildValue("s",_ptemp
);
7421 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7422 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
* _resultobj
;
7424 wxScrolledWindow
* _arg0
;
7431 PyObject
* _argo0
= 0;
7432 char *_kwnames
[] = { "self","x","y", NULL
};
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } Py_INCREF(Py_None
);
7457 _resultobj
= Py_None
;
7460 o
= PyInt_FromLong((long) (*_arg3
));
7461 _resultobj
= t_output_helper(_resultobj
, o
);
7465 o
= PyInt_FromLong((long) (*_arg4
));
7466 _resultobj
= t_output_helper(_resultobj
, o
);
7471 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7472 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7475 wxScrolledWindow
* _arg0
;
7477 PyObject
* _argo0
= 0;
7479 PyObject
* _obj1
= 0;
7480 char *_kwnames
[] = { "self","pt", NULL
};
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7495 if (! wxPoint_helper(_obj1
, &_arg1
))
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) return NULL
;
7504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7505 _resultobj
= Py_BuildValue("s",_ptemp
);
7509 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7510 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
* _resultobj
;
7512 wxScrolledWindow
* _arg0
;
7519 PyObject
* _argo0
= 0;
7520 char *_kwnames
[] = { "self","x","y", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) return NULL
;
7544 } Py_INCREF(Py_None
);
7545 _resultobj
= Py_None
;
7548 o
= PyInt_FromLong((long) (*_arg3
));
7549 _resultobj
= t_output_helper(_resultobj
, o
);
7553 o
= PyInt_FromLong((long) (*_arg4
));
7554 _resultobj
= t_output_helper(_resultobj
, o
);
7559 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7560 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7562 wxScrolledWindow
* _arg0
;
7565 PyObject
* _argo0
= 0;
7566 char *_kwnames
[] = { "self","xs","ys", NULL
};
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) return NULL
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7589 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7590 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7593 wxScrolledWindow
* _arg0
;
7594 PyObject
* _argo0
= 0;
7595 char *_kwnames
[] = { "self", NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) return NULL
;
7613 } _resultobj
= Py_BuildValue("d",_result
);
7617 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7618 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
* _resultobj
;
7621 wxScrolledWindow
* _arg0
;
7622 PyObject
* _argo0
= 0;
7623 char *_kwnames
[] = { "self", NULL
};
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) return NULL
;
7641 } _resultobj
= Py_BuildValue("d",_result
);
7645 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7646 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
* _resultobj
;
7648 wxScrolledWindow
* _arg0
;
7649 PyObject
* _argo0
= 0;
7650 char *_kwnames
[] = { "self", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 wxScrolledWindow_AdjustScrollbars(_arg0
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } Py_INCREF(Py_None
);
7669 _resultobj
= Py_None
;
7673 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7674 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
* _resultobj
;
7677 wxScrolledWindow
* _arg0
;
7678 PyObject
* _argo0
= 0;
7679 char *_kwnames
[] = { "self", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) return NULL
;
7697 } _resultobj
= Py_BuildValue("i",_result
);
7701 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7702 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7704 wxScrolledWindow
* _arg0
;
7707 PyObject
* _argo0
= 0;
7708 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) return NULL
;
7726 } Py_INCREF(Py_None
);
7727 _resultobj
= Py_None
;
7731 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7734 src
= (wxMenu
*) ptr
;
7735 dest
= (wxEvtHandler
*) src
;
7736 return (void *) dest
;
7739 static void *SwigwxMenuTowxObject(void *ptr
) {
7742 src
= (wxMenu
*) ptr
;
7743 dest
= (wxObject
*) src
;
7744 return (void *) dest
;
7747 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7748 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7751 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7752 long _arg1
= (long ) 0;
7753 PyObject
* _obj0
= 0;
7754 char *_kwnames
[] = { "title","style", NULL
};
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7762 _arg0
= wxString_in_helper(_obj0
);
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) return NULL
;
7773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7774 _resultobj
= Py_BuildValue("s",_ptemp
);
7777 _resultobj
= Py_None
;
7786 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7787 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
* _resultobj
;
7792 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7793 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7794 PyObject
* _argo0
= 0;
7795 PyObject
* _obj2
= 0;
7796 PyObject
* _obj3
= 0;
7797 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7810 _arg2
= wxString_in_helper(_obj2
);
7816 _arg3
= wxString_in_helper(_obj3
);
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) return NULL
;
7826 } Py_INCREF(Py_None
);
7827 _resultobj
= Py_None
;
7839 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7840 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
* _resultobj
;
7846 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7847 PyObject
* _argo0
= 0;
7848 PyObject
* _obj2
= 0;
7849 PyObject
* _argo3
= 0;
7850 PyObject
* _obj4
= 0;
7851 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7864 _arg2
= wxString_in_helper(_obj2
);
7869 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7877 _arg4
= wxString_in_helper(_obj4
);
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) return NULL
;
7887 } Py_INCREF(Py_None
);
7888 _resultobj
= Py_None
;
7900 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7901 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
* _resultobj
;
7905 PyObject
* _argo0
= 0;
7906 PyObject
* _argo1
= 0;
7907 char *_kwnames
[] = { "self","item", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxMenu_AppendItem(_arg0
,_arg1
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) return NULL
;
7932 } Py_INCREF(Py_None
);
7933 _resultobj
= Py_None
;
7937 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7938 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7943 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7944 PyObject
* _argo0
= 0;
7945 PyObject
* _obj2
= 0;
7946 PyObject
* _obj3
= 0;
7947 char *_kwnames
[] = { "self","id","text","help", NULL
};
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7960 _arg2
= wxString_in_helper(_obj2
);
7966 _arg3
= wxString_in_helper(_obj3
);
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) return NULL
;
7976 } Py_INCREF(Py_None
);
7977 _resultobj
= Py_None
;
7989 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7990 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
* _resultobj
;
7995 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7996 PyObject
* _argo0
= 0;
7997 PyObject
* _obj2
= 0;
7998 PyObject
* _obj3
= 0;
7999 char *_kwnames
[] = { "self","id","text","help", NULL
};
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8012 _arg2
= wxString_in_helper(_obj2
);
8018 _arg3
= wxString_in_helper(_obj3
);
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) return NULL
;
8028 } Py_INCREF(Py_None
);
8029 _resultobj
= Py_None
;
8041 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8042 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
* _resultobj
;
8045 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxMenu_AppendSeparator(_arg0
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } Py_INCREF(Py_None
);
8065 _resultobj
= Py_None
;
8069 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8070 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8076 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8077 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
8078 PyObject
* _argo0
= 0;
8079 PyObject
* _obj3
= 0;
8080 PyObject
* _obj4
= 0;
8081 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
8087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8094 _arg3
= wxString_in_helper(_obj3
);
8100 _arg4
= wxString_in_helper(_obj4
);
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) return NULL
;
8110 } Py_INCREF(Py_None
);
8111 _resultobj
= Py_None
;
8123 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8124 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
* _resultobj
;
8128 PyObject
* _argo0
= 0;
8129 char *_kwnames
[] = { "self","pos", NULL
};
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxMenu_InsertSeparator(_arg0
,_arg1
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8147 } Py_INCREF(Py_None
);
8148 _resultobj
= Py_None
;
8152 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8153 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
* _resultobj
;
8159 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8160 PyObject
* _argo0
= 0;
8161 PyObject
* _obj3
= 0;
8162 PyObject
* _obj4
= 0;
8163 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8176 _arg3
= wxString_in_helper(_obj3
);
8182 _arg4
= wxString_in_helper(_obj4
);
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) return NULL
;
8192 } Py_INCREF(Py_None
);
8193 _resultobj
= Py_None
;
8205 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8206 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
* _resultobj
;
8212 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8213 PyObject
* _argo0
= 0;
8214 PyObject
* _obj3
= 0;
8215 PyObject
* _obj4
= 0;
8216 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8229 _arg3
= wxString_in_helper(_obj3
);
8235 _arg4
= wxString_in_helper(_obj4
);
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) return NULL
;
8245 } Py_INCREF(Py_None
);
8246 _resultobj
= Py_None
;
8258 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8259 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
* _resultobj
;
8266 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8267 PyObject
* _argo0
= 0;
8268 PyObject
* _obj3
= 0;
8269 PyObject
* _argo4
= 0;
8270 PyObject
* _obj5
= 0;
8271 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8284 _arg3
= wxString_in_helper(_obj3
);
8289 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8290 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8297 _arg5
= wxString_in_helper(_obj5
);
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) return NULL
;
8307 } Py_INCREF(Py_None
);
8308 _resultobj
= Py_None
;
8320 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8321 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8327 PyObject
* _argo0
= 0;
8328 PyObject
* _argo2
= 0;
8329 char *_kwnames
[] = { "self","pos","item", NULL
};
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8342 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8343 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) return NULL
;
8354 } _resultobj
= Py_BuildValue("i",_result
);
8358 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8359 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
* _resultobj
;
8364 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8365 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8366 PyObject
* _argo0
= 0;
8367 PyObject
* _obj2
= 0;
8368 PyObject
* _obj3
= 0;
8369 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8382 _arg2
= wxString_in_helper(_obj2
);
8388 _arg3
= wxString_in_helper(_obj3
);
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) return NULL
;
8398 } Py_INCREF(Py_None
);
8399 _resultobj
= Py_None
;
8411 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8412 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
* _resultobj
;
8415 PyObject
* _argo0
= 0;
8416 char *_kwnames
[] = { "self", NULL
};
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 wxMenu_PrependSeparator(_arg0
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) return NULL
;
8434 } Py_INCREF(Py_None
);
8435 _resultobj
= Py_None
;
8439 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8440 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
* _resultobj
;
8445 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8446 PyObject
* _argo0
= 0;
8447 PyObject
* _obj2
= 0;
8448 PyObject
* _obj3
= 0;
8449 char *_kwnames
[] = { "self","id","text","help", NULL
};
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8462 _arg2
= wxString_in_helper(_obj2
);
8468 _arg3
= wxString_in_helper(_obj3
);
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) return NULL
;
8478 } Py_INCREF(Py_None
);
8479 _resultobj
= Py_None
;
8491 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8492 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
* _resultobj
;
8497 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8498 PyObject
* _argo0
= 0;
8499 PyObject
* _obj2
= 0;
8500 PyObject
* _obj3
= 0;
8501 char *_kwnames
[] = { "self","id","text","help", NULL
};
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8514 _arg2
= wxString_in_helper(_obj2
);
8520 _arg3
= wxString_in_helper(_obj3
);
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) return NULL
;
8530 } Py_INCREF(Py_None
);
8531 _resultobj
= Py_None
;
8543 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8544 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
* _resultobj
;
8550 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8551 PyObject
* _argo0
= 0;
8552 PyObject
* _obj2
= 0;
8553 PyObject
* _argo3
= 0;
8554 PyObject
* _obj4
= 0;
8555 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8568 _arg2
= wxString_in_helper(_obj2
);
8573 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8581 _arg4
= wxString_in_helper(_obj4
);
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) return NULL
;
8591 } Py_INCREF(Py_None
);
8592 _resultobj
= Py_None
;
8604 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8605 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
* _resultobj
;
8609 PyObject
* _argo0
= 0;
8610 PyObject
* _argo1
= 0;
8611 char *_kwnames
[] = { "self","item", NULL
};
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 wxMenu_PrependItem(_arg0
,_arg1
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) return NULL
;
8636 } Py_INCREF(Py_None
);
8637 _resultobj
= Py_None
;
8641 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8642 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
* _resultobj
;
8645 PyObject
* _argo0
= 0;
8646 char *_kwnames
[] = { "self", NULL
};
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 wxMenu_Break(_arg0
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) return NULL
;
8664 } Py_INCREF(Py_None
);
8665 _resultobj
= Py_None
;
8669 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8670 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
* _resultobj
;
8675 PyObject
* _argo0
= 0;
8677 char *_kwnames
[] = { "self","id","flag", NULL
};
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8689 _arg2
= (bool ) tempbool2
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) return NULL
;
8696 } Py_INCREF(Py_None
);
8697 _resultobj
= Py_None
;
8701 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8702 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
* _resultobj
;
8707 PyObject
* _argo0
= 0;
8708 char *_kwnames
[] = { "self","id", NULL
};
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) return NULL
;
8726 } _resultobj
= Py_BuildValue("i",_result
);
8730 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8731 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
* _resultobj
;
8736 PyObject
* _argo0
= 0;
8738 char *_kwnames
[] = { "self","id","enable", NULL
};
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8750 _arg2
= (bool ) tempbool2
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) return NULL
;
8757 } Py_INCREF(Py_None
);
8758 _resultobj
= Py_None
;
8762 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8763 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8768 PyObject
* _argo0
= 0;
8769 char *_kwnames
[] = { "self","id", NULL
};
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8787 } _resultobj
= Py_BuildValue("i",_result
);
8791 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8792 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8797 PyObject
* _argo0
= 0;
8798 PyObject
* _obj1
= 0;
8799 char *_kwnames
[] = { "self","itemString", NULL
};
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8812 _arg1
= wxString_in_helper(_obj1
);
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) return NULL
;
8822 } _resultobj
= Py_BuildValue("i",_result
);
8830 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8831 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
* _resultobj
;
8833 wxMenuItem
* _result
;
8836 PyObject
* _argo0
= 0;
8837 char *_kwnames
[] = { "self","id", NULL
};
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) return NULL
;
8855 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8859 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8860 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
* _resultobj
;
8864 PyObject
* _argo0
= 0;
8865 char *_kwnames
[] = { "self", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) return NULL
;
8885 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8887 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8896 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8897 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
* _resultobj
;
8901 PyObject
* _argo0
= 0;
8902 PyObject
* _obj1
= 0;
8903 char *_kwnames
[] = { "self","title", NULL
};
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8916 _arg1
= wxString_in_helper(_obj1
);
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 wxMenu_SetTitle(_arg0
,*_arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) return NULL
;
8926 } Py_INCREF(Py_None
);
8927 _resultobj
= Py_None
;
8935 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8936 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
* _resultobj
;
8941 PyObject
* _argo0
= 0;
8942 char *_kwnames
[] = { "self","id", NULL
};
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) return NULL
;
8962 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8964 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8973 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8974 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
* _resultobj
;
8979 PyObject
* _argo0
= 0;
8980 PyObject
* _obj2
= 0;
8981 char *_kwnames
[] = { "self","id","label", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8994 _arg2
= wxString_in_helper(_obj2
);
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) return NULL
;
9004 } Py_INCREF(Py_None
);
9005 _resultobj
= Py_None
;
9013 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9014 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
* _resultobj
;
9019 PyObject
* _argo0
= 0;
9020 char *_kwnames
[] = { "self","id", NULL
};
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) return NULL
;
9040 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9042 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9051 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9052 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
* _resultobj
;
9057 PyObject
* _argo0
= 0;
9058 PyObject
* _obj2
= 0;
9059 char *_kwnames
[] = { "self","id","helpString", NULL
};
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9072 _arg2
= wxString_in_helper(_obj2
);
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) return NULL
;
9082 } Py_INCREF(Py_None
);
9083 _resultobj
= Py_None
;
9091 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9092 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9095 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
9096 PyObject
* _argo0
= 0;
9097 PyObject
* _argo1
= 0;
9098 char *_kwnames
[] = { "self","source", NULL
};
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 wxMenu_UpdateUI(_arg0
,_arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) return NULL
;
9123 } Py_INCREF(Py_None
);
9124 _resultobj
= Py_None
;
9128 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9129 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
* _resultobj
;
9134 PyObject
* _argo0
= 0;
9135 char *_kwnames
[] = { "self","id", NULL
};
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } _resultobj
= Py_BuildValue("i",_result
);
9157 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9158 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
* _resultobj
;
9163 PyObject
* _argo0
= 0;
9164 PyObject
* _argo1
= 0;
9165 char *_kwnames
[] = { "self","item", NULL
};
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) return NULL
;
9190 } _resultobj
= Py_BuildValue("i",_result
);
9194 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9195 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9197 wxMenuItem
* _result
;
9200 PyObject
* _argo0
= 0;
9201 char *_kwnames
[] = { "self","id", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) return NULL
;
9219 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9223 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9224 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9226 wxMenuItem
* _result
;
9229 PyObject
* _argo0
= 0;
9230 PyObject
* _argo1
= 0;
9231 char *_kwnames
[] = { "self","item", NULL
};
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) return NULL
;
9256 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9260 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9261 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
* _resultobj
;
9264 PyObject
* _argo0
= 0;
9265 char *_kwnames
[] = { "self", NULL
};
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxMenu_Destroy(_arg0
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) return NULL
;
9283 } Py_INCREF(Py_None
);
9284 _resultobj
= Py_None
;
9288 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9289 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9294 PyObject
* _argo0
= 0;
9295 char *_kwnames
[] = { "self","id", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9313 } _resultobj
= Py_BuildValue("i",_result
);
9317 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9318 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9323 PyObject
* _argo0
= 0;
9324 PyObject
* _argo1
= 0;
9325 char *_kwnames
[] = { "self","item", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9350 } _resultobj
= Py_BuildValue("i",_result
);
9354 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9355 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
* _resultobj
;
9359 PyObject
* _argo0
= 0;
9360 char *_kwnames
[] = { "self", NULL
};
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) return NULL
;
9378 } _resultobj
= Py_BuildValue("i",_result
);
9382 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9383 wxMenuItemList
& list
= self
->GetMenuItems();
9384 return wxPy_ConvertList(&list
, "wxMenuItem");
9386 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
* _resultobj
;
9390 PyObject
* _argo0
= 0;
9391 char *_kwnames
[] = { "self", NULL
};
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) return NULL
;
9410 _resultobj
= _result
;
9415 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9416 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
* _resultobj
;
9419 wxEvtHandler
* _arg1
;
9420 PyObject
* _argo0
= 0;
9421 PyObject
* _argo1
= 0;
9422 char *_kwnames
[] = { "self","handler", NULL
};
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 wxMenu_SetEventHandler(_arg0
,_arg1
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) return NULL
;
9447 } Py_INCREF(Py_None
);
9448 _resultobj
= Py_None
;
9452 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9453 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
* _resultobj
;
9455 wxEvtHandler
* _result
;
9457 PyObject
* _argo0
= 0;
9458 char *_kwnames
[] = { "self", NULL
};
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) return NULL
;
9476 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9480 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9481 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
* _resultobj
;
9485 PyObject
* _argo0
= 0;
9486 PyObject
* _argo1
= 0;
9487 char *_kwnames
[] = { "self","win", NULL
};
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) return NULL
;
9512 } Py_INCREF(Py_None
);
9513 _resultobj
= Py_None
;
9517 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9518 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
* _resultobj
;
9522 PyObject
* _argo0
= 0;
9523 char *_kwnames
[] = { "self", NULL
};
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) return NULL
;
9541 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9545 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9546 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9550 PyObject
* _argo0
= 0;
9551 char *_kwnames
[] = { "self", NULL
};
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 _result
= (long )wxMenu_GetStyle(_arg0
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9569 } _resultobj
= Py_BuildValue("l",_result
);
9573 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9574 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
* _resultobj
;
9578 PyObject
* _argo0
= 0;
9579 char *_kwnames
[] = { "self", NULL
};
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 _result
= (bool )wxMenu_IsAttached(_arg0
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) return NULL
;
9597 } _resultobj
= Py_BuildValue("i",_result
);
9601 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9602 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
* _resultobj
;
9606 PyObject
* _argo0
= 0;
9607 PyObject
* _argo1
= 0;
9608 char *_kwnames
[] = { "self","parent", NULL
};
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 wxMenu_SetParent(_arg0
,_arg1
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) return NULL
;
9633 } Py_INCREF(Py_None
);
9634 _resultobj
= Py_None
;
9638 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9639 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
* _resultobj
;
9643 PyObject
* _argo0
= 0;
9644 char *_kwnames
[] = { "self", NULL
};
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) return NULL
;
9662 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9666 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9669 src
= (wxMenuBar
*) ptr
;
9670 dest
= (wxWindow
*) src
;
9671 return (void *) dest
;
9674 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9677 src
= (wxMenuBar
*) ptr
;
9678 dest
= (wxEvtHandler
*) src
;
9679 return (void *) dest
;
9682 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9685 src
= (wxMenuBar
*) ptr
;
9686 dest
= (wxObject
*) src
;
9687 return (void *) dest
;
9690 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9691 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
* _resultobj
;
9693 wxMenuBar
* _result
;
9694 long _arg0
= (long ) 0;
9695 char *_kwnames
[] = { "style", NULL
};
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) return NULL
;
9708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9709 _resultobj
= Py_BuildValue("s",_ptemp
);
9712 _resultobj
= Py_None
;
9717 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9718 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
* _resultobj
;
9724 PyObject
* _argo0
= 0;
9725 PyObject
* _argo1
= 0;
9726 PyObject
* _obj2
= 0;
9727 char *_kwnames
[] = { "self","menu","title", NULL
};
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9747 _arg2
= wxString_in_helper(_obj2
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) return NULL
;
9757 } _resultobj
= Py_BuildValue("i",_result
);
9765 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9766 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
* _resultobj
;
9773 PyObject
* _argo0
= 0;
9774 PyObject
* _argo2
= 0;
9775 PyObject
* _obj3
= 0;
9776 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9789 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9790 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9796 _arg3
= wxString_in_helper(_obj3
);
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) return NULL
;
9806 } _resultobj
= Py_BuildValue("i",_result
);
9814 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9815 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9819 PyObject
* _argo0
= 0;
9820 char *_kwnames
[] = { "self", NULL
};
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } _resultobj
= Py_BuildValue("i",_result
);
9842 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9843 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
* _resultobj
;
9848 PyObject
* _argo0
= 0;
9849 char *_kwnames
[] = { "self","pos", NULL
};
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) return NULL
;
9867 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9871 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9872 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
* _resultobj
;
9879 PyObject
* _argo0
= 0;
9880 PyObject
* _argo2
= 0;
9881 PyObject
* _obj3
= 0;
9882 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9895 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9896 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9902 _arg3
= wxString_in_helper(_obj3
);
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) return NULL
;
9912 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9920 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9921 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
* _resultobj
;
9926 PyObject
* _argo0
= 0;
9927 char *_kwnames
[] = { "self","pos", NULL
};
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) return NULL
;
9945 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9949 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9950 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
* _resultobj
;
9955 PyObject
* _argo0
= 0;
9957 char *_kwnames
[] = { "self","pos","enable", NULL
};
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9969 _arg2
= (bool ) tempbool2
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) return NULL
;
9976 } Py_INCREF(Py_None
);
9977 _resultobj
= Py_None
;
9981 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9982 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
* _resultobj
;
9987 PyObject
* _argo0
= 0;
9988 PyObject
* _obj2
= 0;
9989 char *_kwnames
[] = { "self","pos","label", NULL
};
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10002 _arg2
= wxString_in_helper(_obj2
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) return NULL
;
10012 } Py_INCREF(Py_None
);
10013 _resultobj
= Py_None
;
10021 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10022 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
* _resultobj
;
10024 wxString
* _result
;
10027 PyObject
* _argo0
= 0;
10028 char *_kwnames
[] = { "self","pos", NULL
};
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
10034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) return NULL
;
10048 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10050 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10059 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10060 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
* _resultobj
;
10065 PyObject
* _argo0
= 0;
10066 PyObject
* _obj1
= 0;
10067 char *_kwnames
[] = { "self","title", NULL
};
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
10073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10080 _arg1
= wxString_in_helper(_obj1
);
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) return NULL
;
10090 } _resultobj
= Py_BuildValue("i",_result
);
10098 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10099 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
* _resultobj
;
10105 PyObject
* _argo0
= 0;
10106 PyObject
* _obj1
= 0;
10107 PyObject
* _obj2
= 0;
10108 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10121 _arg1
= wxString_in_helper(_obj1
);
10126 _arg2
= wxString_in_helper(_obj2
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) return NULL
;
10136 } _resultobj
= Py_BuildValue("i",_result
);
10148 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10149 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
* _resultobj
;
10151 wxMenuItem
* _result
;
10154 PyObject
* _argo0
= 0;
10155 char *_kwnames
[] = { "self","id", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10173 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10177 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10178 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
* _resultobj
;
10183 PyObject
* _argo0
= 0;
10185 char *_kwnames
[] = { "self","id","enable", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10197 _arg2
= (bool ) tempbool2
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) return NULL
;
10204 } Py_INCREF(Py_None
);
10205 _resultobj
= Py_None
;
10209 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10210 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
* _resultobj
;
10215 PyObject
* _argo0
= 0;
10217 char *_kwnames
[] = { "self","id","check", NULL
};
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10229 _arg2
= (bool ) tempbool2
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) return NULL
;
10236 } Py_INCREF(Py_None
);
10237 _resultobj
= Py_None
;
10241 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10242 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
* _resultobj
;
10247 PyObject
* _argo0
= 0;
10248 char *_kwnames
[] = { "self","id", NULL
};
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) return NULL
;
10266 } _resultobj
= Py_BuildValue("i",_result
);
10270 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10271 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
* _resultobj
;
10276 PyObject
* _argo0
= 0;
10277 char *_kwnames
[] = { "self","id", NULL
};
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) return NULL
;
10295 } _resultobj
= Py_BuildValue("i",_result
);
10299 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10300 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
* _resultobj
;
10305 PyObject
* _argo0
= 0;
10306 PyObject
* _obj2
= 0;
10307 char *_kwnames
[] = { "self","id","label", NULL
};
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10320 _arg2
= wxString_in_helper(_obj2
);
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) return NULL
;
10330 } Py_INCREF(Py_None
);
10331 _resultobj
= Py_None
;
10339 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10340 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
* _resultobj
;
10342 wxString
* _result
;
10345 PyObject
* _argo0
= 0;
10346 char *_kwnames
[] = { "self","id", NULL
};
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) return NULL
;
10366 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10368 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10377 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10378 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
* _resultobj
;
10383 PyObject
* _argo0
= 0;
10384 PyObject
* _obj2
= 0;
10385 char *_kwnames
[] = { "self","id","helpString", NULL
};
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10398 _arg2
= wxString_in_helper(_obj2
);
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) return NULL
;
10408 } Py_INCREF(Py_None
);
10409 _resultobj
= Py_None
;
10417 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10418 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
* _resultobj
;
10420 wxString
* _result
;
10423 PyObject
* _argo0
= 0;
10424 char *_kwnames
[] = { "self","id", NULL
};
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) return NULL
;
10444 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10446 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10455 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10458 src
= (wxMenuItem
*) ptr
;
10459 dest
= (wxObject
*) src
;
10460 return (void *) dest
;
10463 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10464 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
* _resultobj
;
10466 wxMenuItem
* _result
;
10467 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10468 int _arg1
= (int ) wxID_SEPARATOR
;
10469 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10470 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10471 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10472 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10473 PyObject
* _argo0
= 0;
10474 PyObject
* _obj2
= 0;
10475 PyObject
* _obj3
= 0;
10476 PyObject
* _argo5
= 0;
10477 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10492 _arg2
= wxString_in_helper(_obj2
);
10498 _arg3
= wxString_in_helper(_obj3
);
10503 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10504 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) return NULL
;
10516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10517 _resultobj
= Py_BuildValue("s",_ptemp
);
10519 Py_INCREF(Py_None
);
10520 _resultobj
= Py_None
;
10533 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10534 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
* _resultobj
;
10537 wxMenuItem
* _arg0
;
10538 PyObject
* _argo0
= 0;
10539 char *_kwnames
[] = { "self", NULL
};
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) return NULL
;
10557 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10561 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10562 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
* _resultobj
;
10564 wxMenuItem
* _arg0
;
10566 PyObject
* _argo0
= 0;
10567 char *_kwnames
[] = { "self","id", NULL
};
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 wxMenuItem_SetId(_arg0
,_arg1
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) return NULL
;
10585 } Py_INCREF(Py_None
);
10586 _resultobj
= Py_None
;
10590 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10591 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
* _resultobj
;
10594 wxMenuItem
* _arg0
;
10595 PyObject
* _argo0
= 0;
10596 char *_kwnames
[] = { "self", NULL
};
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 _result
= (int )wxMenuItem_GetId(_arg0
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) return NULL
;
10614 } _resultobj
= Py_BuildValue("i",_result
);
10618 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10619 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
* _resultobj
;
10622 wxMenuItem
* _arg0
;
10623 PyObject
* _argo0
= 0;
10624 char *_kwnames
[] = { "self", NULL
};
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) return NULL
;
10642 } _resultobj
= Py_BuildValue("i",_result
);
10646 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10647 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
* _resultobj
;
10649 wxMenuItem
* _arg0
;
10651 PyObject
* _argo0
= 0;
10652 PyObject
* _obj1
= 0;
10653 char *_kwnames
[] = { "self","str", NULL
};
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10666 _arg1
= wxString_in_helper(_obj1
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 wxMenuItem_SetText(_arg0
,*_arg1
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) return NULL
;
10676 } Py_INCREF(Py_None
);
10677 _resultobj
= Py_None
;
10685 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10686 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
* _resultobj
;
10688 wxString
* _result
;
10689 wxMenuItem
* _arg0
;
10690 PyObject
* _argo0
= 0;
10691 char *_kwnames
[] = { "self", NULL
};
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) return NULL
;
10711 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10713 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10722 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10723 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
* _resultobj
;
10725 wxString
* _result
;
10726 wxMenuItem
* _arg0
;
10727 PyObject
* _argo0
= 0;
10728 char *_kwnames
[] = { "self", NULL
};
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10743 _result
= (wxString
*) &_result_ref
;
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) return NULL
;
10749 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10757 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10758 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
* _resultobj
;
10760 wxItemKind _result
;
10761 wxMenuItem
* _arg0
;
10762 PyObject
* _argo0
= 0;
10763 char *_kwnames
[] = { "self", NULL
};
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) return NULL
;
10781 } _resultobj
= Py_BuildValue("i",_result
);
10785 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10786 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
* _resultobj
;
10788 wxMenuItem
* _arg0
;
10790 PyObject
* _argo0
= 0;
10792 char *_kwnames
[] = { "self","checkable", NULL
};
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10804 _arg1
= (bool ) tempbool1
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) return NULL
;
10811 } Py_INCREF(Py_None
);
10812 _resultobj
= Py_None
;
10816 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10817 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
* _resultobj
;
10820 wxMenuItem
* _arg0
;
10821 PyObject
* _argo0
= 0;
10822 char *_kwnames
[] = { "self", NULL
};
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) return NULL
;
10840 } _resultobj
= Py_BuildValue("i",_result
);
10844 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10845 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
* _resultobj
;
10848 wxMenuItem
* _arg0
;
10849 PyObject
* _argo0
= 0;
10850 char *_kwnames
[] = { "self", NULL
};
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) return NULL
;
10868 } _resultobj
= Py_BuildValue("i",_result
);
10872 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10873 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
* _resultobj
;
10875 wxMenuItem
* _arg0
;
10877 PyObject
* _argo0
= 0;
10878 PyObject
* _argo1
= 0;
10879 char *_kwnames
[] = { "self","menu", NULL
};
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) return NULL
;
10904 } Py_INCREF(Py_None
);
10905 _resultobj
= Py_None
;
10909 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10910 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
* _resultobj
;
10913 wxMenuItem
* _arg0
;
10914 PyObject
* _argo0
= 0;
10915 char *_kwnames
[] = { "self", NULL
};
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) return NULL
;
10933 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10937 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10938 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
* _resultobj
;
10940 wxMenuItem
* _arg0
;
10941 bool _arg1
= (bool ) TRUE
;
10942 PyObject
* _argo0
= 0;
10943 int tempbool1
= (int) TRUE
;
10944 char *_kwnames
[] = { "self","enable", NULL
};
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10956 _arg1
= (bool ) tempbool1
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 wxMenuItem_Enable(_arg0
,_arg1
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) return NULL
;
10963 } Py_INCREF(Py_None
);
10964 _resultobj
= Py_None
;
10968 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10969 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
* _resultobj
;
10972 wxMenuItem
* _arg0
;
10973 PyObject
* _argo0
= 0;
10974 char *_kwnames
[] = { "self", NULL
};
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) return NULL
;
10992 } _resultobj
= Py_BuildValue("i",_result
);
10996 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10997 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
* _resultobj
;
10999 wxMenuItem
* _arg0
;
11000 bool _arg1
= (bool ) TRUE
;
11001 PyObject
* _argo0
= 0;
11002 int tempbool1
= (int) TRUE
;
11003 char *_kwnames
[] = { "self","check", NULL
};
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
11009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11015 _arg1
= (bool ) tempbool1
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxMenuItem_Check(_arg0
,_arg1
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) return NULL
;
11022 } Py_INCREF(Py_None
);
11023 _resultobj
= Py_None
;
11027 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11028 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
* _resultobj
;
11031 wxMenuItem
* _arg0
;
11032 PyObject
* _argo0
= 0;
11033 char *_kwnames
[] = { "self", NULL
};
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
11039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) return NULL
;
11051 } _resultobj
= Py_BuildValue("i",_result
);
11055 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11056 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
* _resultobj
;
11058 wxMenuItem
* _arg0
;
11059 PyObject
* _argo0
= 0;
11060 char *_kwnames
[] = { "self", NULL
};
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
11066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 wxMenuItem_Toggle(_arg0
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) return NULL
;
11078 } Py_INCREF(Py_None
);
11079 _resultobj
= Py_None
;
11083 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11084 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
* _resultobj
;
11086 wxMenuItem
* _arg0
;
11088 PyObject
* _argo0
= 0;
11089 PyObject
* _obj1
= 0;
11090 char *_kwnames
[] = { "self","str", NULL
};
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
11096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11103 _arg1
= wxString_in_helper(_obj1
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) return NULL
;
11113 } Py_INCREF(Py_None
);
11114 _resultobj
= Py_None
;
11122 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11123 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
* _resultobj
;
11125 wxString
* _result
;
11126 wxMenuItem
* _arg0
;
11127 PyObject
* _argo0
= 0;
11128 char *_kwnames
[] = { "self", NULL
};
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11143 _result
= (wxString
*) &_result_ref
;
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) return NULL
;
11149 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11151 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11157 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11158 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
* _resultobj
;
11160 wxAcceleratorEntry
* _result
;
11161 wxMenuItem
* _arg0
;
11162 PyObject
* _argo0
= 0;
11163 char *_kwnames
[] = { "self", NULL
};
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) return NULL
;
11183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11184 _resultobj
= Py_BuildValue("s",_ptemp
);
11186 Py_INCREF(Py_None
);
11187 _resultobj
= Py_None
;
11192 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11193 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
* _resultobj
;
11195 wxMenuItem
* _arg0
;
11196 wxAcceleratorEntry
* _arg1
;
11197 PyObject
* _argo0
= 0;
11198 PyObject
* _argo1
= 0;
11199 char *_kwnames
[] = { "self","accel", NULL
};
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 wxMenuItem_SetAccel(_arg0
,_arg1
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) return NULL
;
11224 } Py_INCREF(Py_None
);
11225 _resultobj
= Py_None
;
11229 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
* _resultobj
;
11231 wxString
* _result
;
11233 PyObject
* _obj0
= 0;
11234 char *_kwnames
[] = { "text", NULL
};
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11240 _arg0
= wxString_in_helper(_obj0
);
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) return NULL
;
11252 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11254 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11267 static PyMethodDef windowscMethods
[] = {
11268 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11590 * This table is used by the pointer type-checker
11592 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11593 { "_signed_long","_long",0},
11594 { "_wxPrintQuality","_wxCoord",0},
11595 { "_wxPrintQuality","_int",0},
11596 { "_wxPrintQuality","_signed_int",0},
11597 { "_wxPrintQuality","_unsigned_int",0},
11598 { "_wxPrintQuality","_wxWindowID",0},
11599 { "_wxPrintQuality","_uint",0},
11600 { "_wxPrintQuality","_EBool",0},
11601 { "_wxPrintQuality","_size_t",0},
11602 { "_wxPrintQuality","_time_t",0},
11603 { "_byte","_unsigned_char",0},
11604 { "_long","_unsigned_long",0},
11605 { "_long","_signed_long",0},
11606 { "_size_t","_wxCoord",0},
11607 { "_size_t","_wxPrintQuality",0},
11608 { "_size_t","_time_t",0},
11609 { "_size_t","_unsigned_int",0},
11610 { "_size_t","_int",0},
11611 { "_size_t","_wxWindowID",0},
11612 { "_size_t","_uint",0},
11613 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11614 { "_uint","_wxCoord",0},
11615 { "_uint","_wxPrintQuality",0},
11616 { "_uint","_time_t",0},
11617 { "_uint","_size_t",0},
11618 { "_uint","_unsigned_int",0},
11619 { "_uint","_int",0},
11620 { "_uint","_wxWindowID",0},
11621 { "_wxChar","_char",0},
11622 { "_char","_wxChar",0},
11623 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11624 { "_EBool","_wxCoord",0},
11625 { "_EBool","_wxPrintQuality",0},
11626 { "_EBool","_signed_int",0},
11627 { "_EBool","_int",0},
11628 { "_EBool","_wxWindowID",0},
11629 { "_unsigned_long","_long",0},
11630 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11631 { "_signed_int","_wxCoord",0},
11632 { "_signed_int","_wxPrintQuality",0},
11633 { "_signed_int","_EBool",0},
11634 { "_signed_int","_wxWindowID",0},
11635 { "_signed_int","_int",0},
11636 { "_WXTYPE","_short",0},
11637 { "_WXTYPE","_signed_short",0},
11638 { "_WXTYPE","_unsigned_short",0},
11639 { "_unsigned_short","_WXTYPE",0},
11640 { "_unsigned_short","_short",0},
11641 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11642 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11643 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11644 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11645 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11646 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11647 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11648 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11649 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11650 { "_signed_short","_WXTYPE",0},
11651 { "_signed_short","_short",0},
11652 { "_unsigned_char","_byte",0},
11653 { "_unsigned_int","_wxCoord",0},
11654 { "_unsigned_int","_wxPrintQuality",0},
11655 { "_unsigned_int","_time_t",0},
11656 { "_unsigned_int","_size_t",0},
11657 { "_unsigned_int","_uint",0},
11658 { "_unsigned_int","_wxWindowID",0},
11659 { "_unsigned_int","_int",0},
11660 { "_short","_WXTYPE",0},
11661 { "_short","_unsigned_short",0},
11662 { "_short","_signed_short",0},
11663 { "_wxWindowID","_wxCoord",0},
11664 { "_wxWindowID","_wxPrintQuality",0},
11665 { "_wxWindowID","_time_t",0},
11666 { "_wxWindowID","_size_t",0},
11667 { "_wxWindowID","_EBool",0},
11668 { "_wxWindowID","_uint",0},
11669 { "_wxWindowID","_int",0},
11670 { "_wxWindowID","_signed_int",0},
11671 { "_wxWindowID","_unsigned_int",0},
11672 { "_int","_wxCoord",0},
11673 { "_int","_wxPrintQuality",0},
11674 { "_int","_time_t",0},
11675 { "_int","_size_t",0},
11676 { "_int","_EBool",0},
11677 { "_int","_uint",0},
11678 { "_int","_wxWindowID",0},
11679 { "_int","_unsigned_int",0},
11680 { "_int","_signed_int",0},
11681 { "_time_t","_wxCoord",0},
11682 { "_time_t","_wxPrintQuality",0},
11683 { "_time_t","_unsigned_int",0},
11684 { "_time_t","_int",0},
11685 { "_time_t","_wxWindowID",0},
11686 { "_time_t","_uint",0},
11687 { "_time_t","_size_t",0},
11688 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11689 { "_wxCoord","_int",0},
11690 { "_wxCoord","_signed_int",0},
11691 { "_wxCoord","_unsigned_int",0},
11692 { "_wxCoord","_wxWindowID",0},
11693 { "_wxCoord","_uint",0},
11694 { "_wxCoord","_EBool",0},
11695 { "_wxCoord","_size_t",0},
11696 { "_wxCoord","_time_t",0},
11697 { "_wxCoord","_wxPrintQuality",0},
11698 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11699 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11700 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11701 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11702 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11703 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11704 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11705 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11706 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11707 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11710 static PyObject
*SWIG_globals
;
11714 SWIGEXPORT(void) initwindowsc() {
11716 SWIG_globals
= SWIG_newvarlink();
11717 m
= Py_InitModule("windowsc", windowscMethods
);
11718 d
= PyModule_GetDict(m
);
11721 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11722 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);