2 * FILE : src/gtk/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
);
142 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
145 src
= (wxEvtHandler
*) ptr
;
146 dest
= (wxObject
*) src
;
147 return (void *) dest
;
150 #define new_wxEvtHandler() (new wxEvtHandler())
151 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
153 wxEvtHandler
* _result
;
154 char *_kwnames
[] = { NULL
};
158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
162 _result
= (wxEvtHandler
*)new_wxEvtHandler();
164 wxPyEndAllowThreads(__tstate
);
165 if (PyErr_Occurred()) return NULL
;
167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
168 _resultobj
= Py_BuildValue("s",_ptemp
);
171 _resultobj
= Py_None
;
176 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
177 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
180 wxEvtHandler
* _arg0
;
182 PyObject
* _argo0
= 0;
183 PyObject
* _argo1
= 0;
184 char *_kwnames
[] = { "self","event", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
205 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
207 wxPyEndAllowThreads(__tstate
);
208 if (PyErr_Occurred()) return NULL
;
209 } _resultobj
= Py_BuildValue("i",_result
);
213 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
214 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
215 PyObject
* _resultobj
;
216 wxEvtHandler
* _arg0
;
218 PyObject
* _argo0
= 0;
219 PyObject
* _argo1
= 0;
220 char *_kwnames
[] = { "self","event", NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
241 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
243 wxPyEndAllowThreads(__tstate
);
244 if (PyErr_Occurred()) return NULL
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
250 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
251 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
254 wxEvtHandler
* _arg0
;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
272 wxPyEndAllowThreads(__tstate
);
273 if (PyErr_Occurred()) return NULL
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
279 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
281 wxEvtHandler
* _arg0
;
283 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self","enabled", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
297 _arg1
= (bool ) tempbool1
;
299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
300 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
302 wxPyEndAllowThreads(__tstate
);
303 if (PyErr_Occurred()) return NULL
;
304 } Py_INCREF(Py_None
);
305 _resultobj
= Py_None
;
309 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
310 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxEvtHandler
* _result
;
313 wxEvtHandler
* _arg0
;
314 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
329 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
331 wxPyEndAllowThreads(__tstate
);
332 if (PyErr_Occurred()) return NULL
;
333 }{ _resultobj
= wxPyMake_wxObject(_result
); }
337 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
338 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxEvtHandler
* _result
;
341 wxEvtHandler
* _arg0
;
342 PyObject
* _argo0
= 0;
343 char *_kwnames
[] = { "self", NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
361 }{ _resultobj
= wxPyMake_wxObject(_result
); }
365 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
366 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
368 wxEvtHandler
* _arg0
;
369 wxEvtHandler
* _arg1
;
370 PyObject
* _argo0
= 0;
371 PyObject
* _argo1
= 0;
372 char *_kwnames
[] = { "self","handler", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
393 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
397 } Py_INCREF(Py_None
);
398 _resultobj
= Py_None
;
402 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
403 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
405 wxEvtHandler
* _arg0
;
406 wxEvtHandler
* _arg1
;
407 PyObject
* _argo0
= 0;
408 PyObject
* _argo1
= 0;
409 char *_kwnames
[] = { "self","handler", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
430 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
432 wxPyEndAllowThreads(__tstate
);
433 if (PyErr_Occurred()) return NULL
;
434 } Py_INCREF(Py_None
);
435 _resultobj
= Py_None
;
439 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
440 if (PyCallable_Check(func
)) {
441 self
->Connect(id
, lastId
, eventType
,
442 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
443 new wxPyCallback(func
));
445 else if (func
== Py_None
) {
446 self
->Disconnect(id
, lastId
, eventType
,
447 (wxObjectEventFunction
)
448 &wxPyCallback::EventThunker
);
451 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
454 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
456 wxEvtHandler
* _arg0
;
461 PyObject
* _argo0
= 0;
462 PyObject
* _obj4
= 0;
463 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
480 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
484 } Py_INCREF(Py_None
);
485 _resultobj
= Py_None
;
489 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
490 return self
->Disconnect(id
, lastId
, eventType
,
491 (wxObjectEventFunction
)
492 &wxPyCallback::EventThunker
);
494 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
497 wxEvtHandler
* _arg0
;
499 int _arg2
= (int ) -1;
500 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
516 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
518 wxPyEndAllowThreads(__tstate
);
519 if (PyErr_Occurred()) return NULL
;
520 } _resultobj
= Py_BuildValue("i",_result
);
524 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
525 self
->SetClientObject(new wxPyOORClientData(_self
));
527 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
529 wxEvtHandler
* _arg0
;
531 PyObject
* _argo0
= 0;
532 PyObject
* _obj1
= 0;
533 char *_kwnames
[] = { "self","_self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
550 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
552 wxPyEndAllowThreads(__tstate
);
553 if (PyErr_Occurred()) return NULL
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
562 src
= (wxValidator
*) ptr
;
563 dest
= (wxEvtHandler
*) src
;
564 return (void *) dest
;
567 static void *SwigwxValidatorTowxObject(void *ptr
) {
570 src
= (wxValidator
*) ptr
;
571 dest
= (wxObject
*) src
;
572 return (void *) dest
;
575 #define new_wxValidator() (new wxValidator())
576 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
578 wxValidator
* _result
;
579 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
587 _result
= (wxValidator
*)new_wxValidator();
589 wxPyEndAllowThreads(__tstate
);
590 if (PyErr_Occurred()) return NULL
;
592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
593 _resultobj
= Py_BuildValue("s",_ptemp
);
596 _resultobj
= Py_None
;
601 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
602 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
604 wxValidator
* _result
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 }{ _resultobj
= wxPyMake_wxObject(_result
); }
629 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
630 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 }{ _resultobj
= wxPyMake_wxObject(_result
); }
657 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
658 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 PyObject
* _argo1
= 0;
664 char *_kwnames
[] = { "self","window", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 wxValidator_SetWindow(_arg0
,_arg1
);
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
689 } Py_INCREF(Py_None
);
690 _resultobj
= Py_None
;
694 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 char *_kwnames
[] = { NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= (bool )wxValidator::IsSilent();
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 int _arg0
= (int ) TRUE
;
715 char *_kwnames
[] = { "doIt", NULL
};
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
722 wxValidator::SetBellOnError(_arg0
);
724 wxPyEndAllowThreads(__tstate
);
725 if (PyErr_Occurred()) return NULL
;
726 } Py_INCREF(Py_None
);
727 _resultobj
= Py_None
;
731 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
734 src
= (wxPyValidator
*) ptr
;
735 dest
= (wxValidator
*) src
;
736 return (void *) dest
;
739 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
742 src
= (wxPyValidator
*) ptr
;
743 dest
= (wxEvtHandler
*) src
;
744 return (void *) dest
;
747 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
750 src
= (wxPyValidator
*) ptr
;
751 dest
= (wxObject
*) src
;
752 return (void *) dest
;
755 #define new_wxPyValidator() (new wxPyValidator())
756 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxPyValidator
* _result
;
759 char *_kwnames
[] = { NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= (wxPyValidator
*)new_wxPyValidator();
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
773 _resultobj
= Py_BuildValue("s",_ptemp
);
776 _resultobj
= Py_None
;
781 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
782 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxPyValidator
* _arg0
;
787 int _arg3
= (int ) TRUE
;
788 PyObject
* _argo0
= 0;
789 PyObject
* _obj1
= 0;
790 PyObject
* _obj2
= 0;
791 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
815 } Py_INCREF(Py_None
);
816 _resultobj
= Py_None
;
820 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
823 src
= (wxWindow
*) ptr
;
824 dest
= (wxEvtHandler
*) src
;
825 return (void *) dest
;
828 static void *SwigwxWindowTowxObject(void *ptr
) {
831 src
= (wxWindow
*) ptr
;
832 dest
= (wxObject
*) src
;
833 return (void *) dest
;
836 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
837 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
842 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
843 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
844 long _arg4
= (long ) 0;
845 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
846 PyObject
* _argo0
= 0;
848 PyObject
* _obj2
= 0;
850 PyObject
* _obj3
= 0;
851 PyObject
* _obj5
= 0;
852 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
868 if (! wxPoint_helper(_obj2
, &_arg2
))
874 if (! wxSize_helper(_obj3
, &_arg3
))
879 _arg5
= wxString_in_helper(_obj5
);
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
891 _resultobj
= Py_BuildValue("s",_ptemp
);
894 _resultobj
= Py_None
;
903 #define new_wxPreWindow() (new wxWindow())
904 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 char *_kwnames
[] = { NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= (wxWindow
*)new_wxPreWindow();
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
924 _resultobj
= Py_None
;
929 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
930 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
936 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
937 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
938 long _arg5
= (long ) 0;
939 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
943 PyObject
* _obj3
= 0;
945 PyObject
* _obj4
= 0;
946 PyObject
* _obj6
= 0;
947 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
969 if (! wxPoint_helper(_obj3
, &_arg3
))
975 if (! wxSize_helper(_obj4
, &_arg4
))
980 _arg6
= wxString_in_helper(_obj6
);
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } _resultobj
= Py_BuildValue("i",_result
);
998 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
999 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxWindow_CaptureMouse(_arg0
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1027 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 int _arg1
= (int ) wxBOTH
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self","direction", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 wxWindow_Center(_arg0
,_arg1
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1056 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 int _arg1
= (int ) wxBOTH
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","direction", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 wxWindow_Centre(_arg0
,_arg1
);
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1085 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 int _arg1
= (int ) wxBOTH
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","direction", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxWindow_CentreOnParent(_arg0
,_arg1
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxWindow_CenterOnParent(_arg0
,_arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 int _arg1
= (int ) wxBOTH
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","direction", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 int _arg1
= (int ) wxBOTH
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self","direction", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1201 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxWindow_Clear(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1229 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1234 PyObject
* _argo0
= 0;
1236 PyObject
* _obj1
= 0;
1238 PyObject
* _obj2
= 0;
1239 char *_kwnames
[] = { "self","x","y", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1252 temp
= (int) PyInt_AsLong(_obj1
);
1256 temp0
= (int) PyInt_AsLong(_obj2
);
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1269 o
= PyInt_FromLong((long) (*_arg1
));
1270 _resultobj
= t_output_helper(_resultobj
, o
);
1274 o
= PyInt_FromLong((long) (*_arg2
));
1275 _resultobj
= t_output_helper(_resultobj
, o
);
1280 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1281 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1286 PyObject
* _argo0
= 0;
1288 PyObject
* _obj1
= 0;
1289 char *_kwnames
[] = { "self","pt", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1304 if (! wxPoint_helper(_obj1
, &_arg1
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1319 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 int _arg1
= (int ) FALSE
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","force", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1348 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 _result
= (bool )wxWindow_Destroy(_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1376 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "self", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
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_DestroyChildren. Expected _wxWindow_p.");
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 wxWindow_DestroyChildren(_arg0
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) return NULL
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1404 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1432 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1436 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","enable", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1450 _arg1
= (bool ) tempbool1
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxWindow_Enable(_arg0
,_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1463 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","id", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1491 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1492 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1498 PyObject
* _obj1
= 0;
1499 char *_kwnames
[] = { "self","name", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
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_FindWindowByName. Expected _wxWindow_p.");
1512 _arg1
= wxString_in_helper(_obj1
);
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1522 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1530 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1531 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1534 PyObject
* _argo0
= 0;
1535 char *_kwnames
[] = { "self", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 wxWindow_Fit(_arg0
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) return NULL
;
1553 } Py_INCREF(Py_None
);
1554 _resultobj
= Py_None
;
1558 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1559 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1588 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1589 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1593 PyObject
* _argo0
= 0;
1594 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1616 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1617 wxWindowList
& list
= self
->GetChildren();
1618 return wxPy_ConvertList(&list
, "wxWindow");
1620 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_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_GetChildren. Expected _wxWindow_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1644 _resultobj
= _result
;
1649 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1650 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1655 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_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_GetCharHeight. Expected _wxWindow_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } _resultobj
= Py_BuildValue("i",_result
);
1677 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1678 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "self", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1706 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1742 o
= PyInt_FromLong((long) (*_arg1
));
1743 _resultobj
= t_output_helper(_resultobj
, o
);
1747 o
= PyInt_FromLong((long) (*_arg2
));
1748 _resultobj
= t_output_helper(_resultobj
, o
);
1753 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1754 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1779 _resultobj
= Py_BuildValue("s",_ptemp
);
1783 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1784 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1809 _resultobj
= Py_BuildValue("s",_ptemp
);
1813 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1814 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1818 PyObject
* _argo0
= 0;
1819 char *_kwnames
[] = { "self", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) return NULL
;
1838 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1839 _resultobj
= Py_BuildValue("s",_ptemp
);
1843 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1844 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1846 wxLayoutConstraints
* _result
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_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_GetConstraints. Expected _wxWindow_p.");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1870 _resultobj
= Py_BuildValue("s",_ptemp
);
1873 _resultobj
= Py_None
;
1878 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1879 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1881 wxEvtHandler
* _result
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) return NULL
;
1902 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1906 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1907 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1932 _resultobj
= Py_BuildValue("s",_ptemp
);
1936 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1937 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) return NULL
;
1961 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1962 _resultobj
= Py_BuildValue("s",_ptemp
);
1966 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1967 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1994 static long wxWindow_GetHandle(wxWindow
*self
) {
1995 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1997 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (long )wxWindow_GetHandle(_arg0
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("l",_result
);
2024 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2025 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (int )wxWindow_GetId(_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2053 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) return NULL
;
2078 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2080 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2089 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2090 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2094 PyObject
* _argo0
= 0;
2095 PyObject
* _obj1
= 0;
2096 char *_kwnames
[] = { "self","label", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2109 _arg1
= wxString_in_helper(_obj1
);
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxWindow_SetLabel(_arg0
,*_arg1
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2128 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2129 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2133 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= new wxString (wxWindow_GetName(_arg0
));
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2154 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2156 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2165 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2166 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) return NULL
;
2189 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2193 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2194 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } Py_INCREF(Py_None
);
2227 _resultobj
= Py_None
;
2230 o
= PyInt_FromLong((long) (*_arg1
));
2231 _resultobj
= t_output_helper(_resultobj
, o
);
2235 o
= PyInt_FromLong((long) (*_arg2
));
2236 _resultobj
= t_output_helper(_resultobj
, o
);
2241 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2242 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2246 PyObject
* _argo0
= 0;
2247 char *_kwnames
[] = { "self", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) return NULL
;
2266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2267 _resultobj
= Py_BuildValue("s",_ptemp
);
2271 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2272 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2302 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2307 PyObject
* _argo0
= 0;
2308 char *_kwnames
[] = { "self","orientation", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } _resultobj
= Py_BuildValue("i",_result
);
2330 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2331 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","orientation", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } _resultobj
= Py_BuildValue("i",_result
);
2359 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2360 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","orientation", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2389 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2425 o
= PyInt_FromLong((long) (*_arg1
));
2426 _resultobj
= t_output_helper(_resultobj
, o
);
2430 o
= PyInt_FromLong((long) (*_arg2
));
2431 _resultobj
= t_output_helper(_resultobj
, o
);
2436 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2437 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) return NULL
;
2461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2462 _resultobj
= Py_BuildValue("s",_ptemp
);
2466 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2467 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2475 PyObject
* _argo0
= 0;
2476 PyObject
* _obj1
= 0;
2477 char *_kwnames
[] = { "self","string", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2496 _arg1
= wxString_in_helper(_obj1
);
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) return NULL
;
2506 } Py_INCREF(Py_None
);
2507 _resultobj
= Py_None
;
2510 o
= PyInt_FromLong((long) (*_arg2
));
2511 _resultobj
= t_output_helper(_resultobj
, o
);
2515 o
= PyInt_FromLong((long) (*_arg3
));
2516 _resultobj
= t_output_helper(_resultobj
, o
);
2525 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2526 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2538 wxFont
* _arg6
= (wxFont
*) NULL
;
2539 PyObject
* _argo0
= 0;
2540 PyObject
* _obj1
= 0;
2541 PyObject
* _argo6
= 0;
2542 char *_kwnames
[] = { "self","string","font", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2567 _arg1
= wxString_in_helper(_obj1
);
2572 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2588 o
= PyInt_FromLong((long) (*_arg2
));
2589 _resultobj
= t_output_helper(_resultobj
, o
);
2593 o
= PyInt_FromLong((long) (*_arg3
));
2594 _resultobj
= t_output_helper(_resultobj
, o
);
2598 o
= PyInt_FromLong((long) (*_arg4
));
2599 _resultobj
= t_output_helper(_resultobj
, o
);
2603 o
= PyInt_FromLong((long) (*_arg5
));
2604 _resultobj
= t_output_helper(_resultobj
, o
);
2613 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2614 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) return NULL
;
2639 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2641 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2650 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2651 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2655 PyObject
* _argo0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2676 _resultobj
= Py_BuildValue("s",_ptemp
);
2680 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2681 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } _resultobj
= Py_BuildValue("l",_result
);
2708 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2709 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self","style", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2738 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self","style", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2767 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self","orient", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2796 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 _result
= (bool )wxWindow_Hide(_arg0
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } _resultobj
= Py_BuildValue("i",_result
);
2823 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2824 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2831 PyObject
* _obj1
= 0;
2832 char *_kwnames
[] = { "self","pt", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2846 if (! wxPoint_helper(_obj1
, &_arg1
))
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) return NULL
;
2855 } _resultobj
= Py_BuildValue("i",_result
);
2859 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2860 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 wxWindow_InitDialog(_arg0
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) return NULL
;
2882 } Py_INCREF(Py_None
);
2883 _resultobj
= Py_None
;
2887 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2888 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } _resultobj
= Py_BuildValue("i",_result
);
2915 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2916 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2922 int _arg3
= (int ) 0;
2923 int _arg4
= (int ) 0;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2947 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2948 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2955 PyObject
* _obj1
= 0;
2956 char *_kwnames
[] = { "self","pt", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2970 if (! wxPoint_helper(_obj1
, &_arg1
))
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) return NULL
;
2979 } _resultobj
= Py_BuildValue("i",_result
);
2983 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2984 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2991 PyObject
* _obj1
= 0;
2992 char *_kwnames
[] = { "self","rect", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3006 if (! wxRect_helper(_obj1
, &_arg1
))
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("i",_result
);
3019 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3020 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (bool )wxWindow_IsRetained(_arg0
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3047 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3048 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxWindow_IsShown(_arg0
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3076 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3099 } _resultobj
= Py_BuildValue("i",_result
);
3103 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3104 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3107 PyObject
* _argo0
= 0;
3108 char *_kwnames
[] = { "self", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 wxWindow_Layout(_arg0
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) return NULL
;
3126 } Py_INCREF(Py_None
);
3127 _resultobj
= Py_None
;
3131 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3132 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3138 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3139 PyObject
* _argo0
= 0;
3140 PyObject
* _argo1
= 0;
3141 PyObject
* _obj2
= 0;
3142 PyObject
* _argo3
= 0;
3143 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
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_LoadFromResource. Expected _wxWindow_p.");
3156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3163 _arg2
= wxString_in_helper(_obj2
);
3168 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3180 } _resultobj
= Py_BuildValue("i",_result
);
3188 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3189 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "self", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 wxWindow_Lower(_arg0
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } Py_INCREF(Py_None
);
3212 _resultobj
= Py_None
;
3216 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3217 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3220 bool _arg1
= (bool ) TRUE
;
3221 PyObject
* _argo0
= 0;
3222 int tempbool1
= (int) TRUE
;
3223 char *_kwnames
[] = { "self","flag", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3235 _arg1
= (bool ) tempbool1
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 wxWindow_MakeModal(_arg0
,_arg1
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3248 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3253 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3279 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3283 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3284 PyObject
* _argo0
= 0;
3286 PyObject
* _obj1
= 0;
3287 char *_kwnames
[] = { "self","point","flags", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3301 if (! wxPoint_helper(_obj1
, &_arg1
))
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3316 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxEvtHandler
* _result
;
3320 bool _arg1
= (bool ) FALSE
;
3321 PyObject
* _argo0
= 0;
3322 int tempbool1
= (int) FALSE
;
3323 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3335 _arg1
= (bool ) tempbool1
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3346 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3347 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 wxEvtHandler
* _arg1
;
3351 PyObject
* _argo0
= 0;
3352 PyObject
* _argo1
= 0;
3353 char *_kwnames
[] = { "self","handler", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 wxWindow_PushEventHandler(_arg0
,_arg1
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) return NULL
;
3378 } Py_INCREF(Py_None
);
3379 _resultobj
= Py_None
;
3383 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3384 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3388 wxEvtHandler
* _arg1
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo1
= 0;
3391 char *_kwnames
[] = { "self","handler", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3420 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3421 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3428 PyObject
* _argo0
= 0;
3429 PyObject
* _argo1
= 0;
3430 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3455 } _resultobj
= Py_BuildValue("i",_result
);
3459 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3460 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo1
= 0;
3469 PyObject
* _obj2
= 0;
3470 char *_kwnames
[] = { "self","menu","pos", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3491 if (! wxPoint_helper(_obj2
, &_arg2
))
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } _resultobj
= Py_BuildValue("i",_result
);
3504 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3505 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 PyObject
* _argo0
= 0;
3509 char *_kwnames
[] = { "self", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 wxWindow_Raise(_arg0
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) return NULL
;
3527 } Py_INCREF(Py_None
);
3528 _resultobj
= Py_None
;
3532 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3533 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3536 bool _arg1
= (bool ) TRUE
;
3537 wxRect
* _arg2
= (wxRect
*) NULL
;
3538 PyObject
* _argo0
= 0;
3539 int tempbool1
= (int) TRUE
;
3541 PyObject
* _obj2
= 0;
3542 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3554 _arg1
= (bool ) tempbool1
;
3558 if (! wxRect_helper(_obj2
, &_arg2
))
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3567 } Py_INCREF(Py_None
);
3568 _resultobj
= Py_None
;
3572 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3573 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3577 PyObject
* _argo0
= 0;
3579 PyObject
* _obj1
= 0;
3580 char *_kwnames
[] = { "self","rect", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3594 if (! wxRect_helper(_obj1
, &_arg1
))
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 wxWindow_RefreshRect(_arg0
,*_arg1
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3603 } Py_INCREF(Py_None
);
3604 _resultobj
= Py_None
;
3608 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3609 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 PyObject
* _argo0
= 0;
3613 char *_kwnames
[] = { "self", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 wxWindow_ReleaseMouse(_arg0
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) return NULL
;
3631 } Py_INCREF(Py_None
);
3632 _resultobj
= Py_None
;
3636 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3637 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3641 PyObject
* _argo0
= 0;
3642 PyObject
* _argo1
= 0;
3643 char *_kwnames
[] = { "self","child", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 wxWindow_RemoveChild(_arg0
,_arg1
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) return NULL
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3673 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3674 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3679 PyObject
* _argo0
= 0;
3680 PyObject
* _argo1
= 0;
3681 char *_kwnames
[] = { "self","newParent", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) return NULL
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3711 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3716 PyObject
* _argo0
= 0;
3718 PyObject
* _obj1
= 0;
3720 PyObject
* _obj2
= 0;
3721 char *_kwnames
[] = { "self","x","y", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3734 temp
= (int) PyInt_AsLong(_obj1
);
3738 temp0
= (int) PyInt_AsLong(_obj2
);
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3747 } Py_INCREF(Py_None
);
3748 _resultobj
= Py_None
;
3751 o
= PyInt_FromLong((long) (*_arg1
));
3752 _resultobj
= t_output_helper(_resultobj
, o
);
3756 o
= PyInt_FromLong((long) (*_arg2
));
3757 _resultobj
= t_output_helper(_resultobj
, o
);
3762 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3763 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3768 PyObject
* _argo0
= 0;
3770 PyObject
* _obj1
= 0;
3771 char *_kwnames
[] = { "self","pt", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3786 if (! wxPoint_helper(_obj1
, &_arg1
))
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3795 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3796 _resultobj
= Py_BuildValue("s",_ptemp
);
3800 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3801 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3806 wxRect
* _arg3
= (wxRect
*) NULL
;
3807 PyObject
* _argo0
= 0;
3809 PyObject
* _obj3
= 0;
3810 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3825 if (! wxRect_helper(_obj3
, &_arg3
))
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) return NULL
;
3834 } Py_INCREF(Py_None
);
3835 _resultobj
= Py_None
;
3839 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3840 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3844 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self","autoLayout", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3858 _arg1
= (bool ) tempbool1
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3871 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3899 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3903 PyObject
* _argo0
= 0;
3905 PyObject
* _obj1
= 0;
3906 char *_kwnames
[] = { "self","colour", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3920 if (! wxColour_helper(_obj1
, &_arg1
))
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3935 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3938 wxLayoutConstraints
* _arg1
;
3939 PyObject
* _argo0
= 0;
3940 PyObject
* _argo1
= 0;
3941 char *_kwnames
[] = { "self","constraints", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxWindow_SetConstraints(_arg0
,_arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3966 } Py_INCREF(Py_None
);
3967 _resultobj
= Py_None
;
3971 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3972 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3975 wxLayoutConstraints
* _arg1
;
3976 PyObject
* _argo0
= 0;
3977 PyObject
* _argo1
= 0;
3978 char *_kwnames
[] = { "self","constraints", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4003 } Py_INCREF(Py_None
);
4004 _resultobj
= Py_None
;
4008 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4009 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 wxWindow_SetFocus(_arg0
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 } Py_INCREF(Py_None
);
4032 _resultobj
= Py_None
;
4036 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4037 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4065 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 PyObject
* _argo1
= 0;
4071 char *_kwnames
[] = { "self","font", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxWindow_SetFont(_arg0
,*_arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4102 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4108 PyObject
* _obj1
= 0;
4109 char *_kwnames
[] = { "self","colour", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4123 if (! wxColour_helper(_obj1
, &_arg1
))
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) return NULL
;
4132 } Py_INCREF(Py_None
);
4133 _resultobj
= Py_None
;
4137 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4138 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4142 PyObject
* _argo0
= 0;
4143 char *_kwnames
[] = { "self","id", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 wxWindow_SetId(_arg0
,_arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) return NULL
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4166 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4167 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 PyObject
* _obj1
= 0;
4173 char *_kwnames
[] = { "self","name", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4186 _arg1
= wxString_in_helper(_obj1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxWindow_SetName(_arg0
,*_arg1
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) return NULL
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4205 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4206 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
* _resultobj
;
4213 int _arg5
= (int ) TRUE
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4233 } Py_INCREF(Py_None
);
4234 _resultobj
= Py_None
;
4238 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4239 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4244 bool _arg3
= (bool ) TRUE
;
4245 PyObject
* _argo0
= 0;
4246 int tempbool3
= (int) TRUE
;
4247 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4259 _arg3
= (bool ) tempbool3
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) return NULL
;
4266 } Py_INCREF(Py_None
);
4267 _resultobj
= Py_None
;
4271 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4272 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4279 int _arg5
= (int ) wxSIZE_AUTO
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4305 self
->SetSize(size
);
4307 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4311 PyObject
* _argo0
= 0;
4313 PyObject
* _obj1
= 0;
4314 char *_kwnames
[] = { "self","size", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4328 if (! wxSize_helper(_obj1
, &_arg1
))
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 wxWindow_SetSize(_arg0
,*_arg1
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) return NULL
;
4337 } Py_INCREF(Py_None
);
4338 _resultobj
= Py_None
;
4342 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4343 self
->Move(pos
, flags
);
4345 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4349 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4350 PyObject
* _argo0
= 0;
4352 PyObject
* _obj1
= 0;
4353 char *_kwnames
[] = { "self","pos","flags", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4367 if (! wxPoint_helper(_obj1
, &_arg1
))
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) return NULL
;
4376 } Py_INCREF(Py_None
);
4377 _resultobj
= Py_None
;
4381 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4382 self
->SetSize(rect
, sizeFlags
);
4384 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4388 int _arg2
= (int ) wxSIZE_AUTO
;
4389 PyObject
* _argo0
= 0;
4391 PyObject
* _obj1
= 0;
4392 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4406 if (! wxRect_helper(_obj1
, &_arg1
))
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4415 } Py_INCREF(Py_None
);
4416 _resultobj
= Py_None
;
4420 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4421 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4424 int _arg1
= (int ) -1;
4425 int _arg2
= (int ) -1;
4426 int _arg3
= (int ) -1;
4427 int _arg4
= (int ) -1;
4428 int _arg5
= (int ) -1;
4429 int _arg6
= (int ) -1;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) return NULL
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4454 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4455 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self","width","height", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4484 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4485 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4491 PyObject
* _obj1
= 0;
4492 char *_kwnames
[] = { "self","size", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4506 if (! wxSize_helper(_obj1
, &_arg1
))
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 wxWindow_SetClientSize(_arg0
,*_arg1
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4515 } Py_INCREF(Py_None
);
4516 _resultobj
= Py_None
;
4520 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4521 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4525 PyObject
* _argo0
= 0;
4526 PyObject
* _argo1
= 0;
4527 char *_kwnames
[] = { "self","cursor", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 wxWindow_SetCursor(_arg0
,*_arg1
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) return NULL
;
4552 } Py_INCREF(Py_None
);
4553 _resultobj
= Py_None
;
4557 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4558 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4561 wxEvtHandler
* _arg1
;
4562 PyObject
* _argo0
= 0;
4563 PyObject
* _argo1
= 0;
4564 char *_kwnames
[] = { "self","handler", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxWindow_SetEventHandler(_arg0
,_arg1
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) return NULL
;
4589 } Py_INCREF(Py_None
);
4590 _resultobj
= Py_None
;
4594 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4595 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self","exStyle", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) return NULL
;
4618 } Py_INCREF(Py_None
);
4619 _resultobj
= Py_None
;
4623 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4624 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4628 PyObject
* _argo0
= 0;
4629 PyObject
* _obj1
= 0;
4630 char *_kwnames
[] = { "self","title", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4643 _arg1
= wxString_in_helper(_obj1
);
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxWindow_SetTitle(_arg0
,*_arg1
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) return NULL
;
4653 } Py_INCREF(Py_None
);
4654 _resultobj
= Py_None
;
4662 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4663 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4667 bool _arg1
= (bool ) TRUE
;
4668 PyObject
* _argo0
= 0;
4669 int tempbool1
= (int) TRUE
;
4670 char *_kwnames
[] = { "self","show", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4682 _arg1
= (bool ) tempbool1
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4689 } _resultobj
= Py_BuildValue("i",_result
);
4693 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4694 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4698 PyObject
* _argo0
= 0;
4699 char *_kwnames
[] = { "self", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4717 } _resultobj
= Py_BuildValue("i",_result
);
4721 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4722 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4726 PyObject
* _argo0
= 0;
4727 char *_kwnames
[] = { "self", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } _resultobj
= Py_BuildValue("i",_result
);
4749 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4750 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4753 PyObject
* _argo0
= 0;
4754 char *_kwnames
[] = { "self", NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxWindow_UpdateWindowUI(_arg0
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } Py_INCREF(Py_None
);
4773 _resultobj
= Py_None
;
4777 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4778 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4782 PyObject
* _argo0
= 0;
4783 char *_kwnames
[] = { "self", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 _result
= (bool )wxWindow_Validate(_arg0
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) return NULL
;
4801 } _resultobj
= Py_BuildValue("i",_result
);
4805 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4806 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4811 PyObject
* _argo0
= 0;
4812 char *_kwnames
[] = { "self","x","y", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) return NULL
;
4830 } Py_INCREF(Py_None
);
4831 _resultobj
= Py_None
;
4835 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4836 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4843 PyObject
* _obj1
= 0;
4844 char *_kwnames
[] = { "self","pt", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4859 if (! wxPoint_helper(_obj1
, &_arg1
))
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) return NULL
;
4868 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4869 _resultobj
= Py_BuildValue("s",_ptemp
);
4873 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4874 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4879 PyObject
* _argo0
= 0;
4881 PyObject
* _obj1
= 0;
4882 char *_kwnames
[] = { "self","sz", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4897 if (! wxSize_helper(_obj1
, &_arg1
))
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4907 _resultobj
= Py_BuildValue("s",_ptemp
);
4911 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4912 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4917 PyObject
* _argo0
= 0;
4919 PyObject
* _obj1
= 0;
4920 char *_kwnames
[] = { "self","pt", NULL
};
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4935 if (! wxPoint_helper(_obj1
, &_arg1
))
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4944 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4945 _resultobj
= Py_BuildValue("s",_ptemp
);
4949 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4950 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4955 PyObject
* _argo0
= 0;
4957 PyObject
* _obj1
= 0;
4958 char *_kwnames
[] = { "self","sz", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4973 if (! wxSize_helper(_obj1
, &_arg1
))
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) return NULL
;
4982 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4983 _resultobj
= Py_BuildValue("s",_ptemp
);
4987 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4988 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4992 PyObject
* _argo0
= 0;
4993 PyObject
* _obj1
= 0;
4994 char *_kwnames
[] = { "self","tip", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5007 _arg1
= wxString_in_helper(_obj1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5026 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5027 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 PyObject
* _argo1
= 0;
5033 char *_kwnames
[] = { "self","tooltip", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxWindow_SetToolTip(_arg0
,_arg1
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) return NULL
;
5058 } Py_INCREF(Py_None
);
5059 _resultobj
= Py_None
;
5063 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5064 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5066 wxToolTip
* _result
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5091 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5092 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5096 bool _arg2
= (bool ) TRUE
;
5097 PyObject
* _argo0
= 0;
5098 PyObject
* _argo1
= 0;
5099 int tempbool2
= (int) TRUE
;
5100 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5119 _arg2
= (bool ) tempbool2
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } Py_INCREF(Py_None
);
5127 _resultobj
= Py_None
;
5131 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5132 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5136 PyObject
* _argo0
= 0;
5137 char *_kwnames
[] = { "self", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5155 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5159 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5160 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5164 PyObject
* _argo0
= 0;
5165 PyObject
* _argo1
= 0;
5166 char *_kwnames
[] = { "self","sizer", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 } Py_INCREF(Py_None
);
5192 _resultobj
= Py_None
;
5196 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5197 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5201 PyObject
* _argo0
= 0;
5202 char *_kwnames
[] = { "self", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) return NULL
;
5220 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5224 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5225 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5227 wxValidator
* _result
;
5229 PyObject
* _argo0
= 0;
5230 char *_kwnames
[] = { "self", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
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_GetValidator. Expected _wxWindow_p.");
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) return NULL
;
5248 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5252 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5253 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
* _resultobj
;
5256 wxValidator
* _arg1
;
5257 PyObject
* _argo0
= 0;
5258 PyObject
* _argo1
= 0;
5259 char *_kwnames
[] = { "self","validator", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxWindow_SetValidator(_arg0
,*_arg1
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) return NULL
;
5284 } Py_INCREF(Py_None
);
5285 _resultobj
= Py_None
;
5289 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5290 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5293 wxDropTarget
* _arg1
;
5294 PyObject
* _argo0
= 0;
5295 PyObject
* _argo1
= 0;
5296 char *_kwnames
[] = { "self","target", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 wxWindow_SetDropTarget(_arg0
,_arg1
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) return NULL
;
5321 } Py_INCREF(Py_None
);
5322 _resultobj
= Py_None
;
5326 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5327 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5329 wxDropTarget
* _result
;
5331 PyObject
* _argo0
= 0;
5332 char *_kwnames
[] = { "self", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) return NULL
;
5352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5353 _resultobj
= Py_BuildValue("s",_ptemp
);
5356 _resultobj
= Py_None
;
5361 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5362 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5366 PyObject
* _argo0
= 0;
5367 char *_kwnames
[] = { "self", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5387 _resultobj
= Py_BuildValue("s",_ptemp
);
5391 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5392 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "self", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5417 _resultobj
= Py_BuildValue("s",_ptemp
);
5421 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5422 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5426 PyObject
* _argo0
= 0;
5427 PyObject
* _argo1
= 0;
5428 char *_kwnames
[] = { "self","caret", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 wxWindow_SetCaret(_arg0
,_arg1
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) return NULL
;
5453 } Py_INCREF(Py_None
);
5454 _resultobj
= Py_None
;
5458 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5459 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5463 PyObject
* _argo0
= 0;
5464 char *_kwnames
[] = { "self", NULL
};
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) return NULL
;
5484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5485 _resultobj
= Py_BuildValue("s",_ptemp
);
5488 _resultobj
= Py_None
;
5493 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5494 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 wxWindow_Freeze(_arg0
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) return NULL
;
5516 } Py_INCREF(Py_None
);
5517 _resultobj
= Py_None
;
5521 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5522 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5525 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 wxWindow_Thaw(_arg0
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) return NULL
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5550 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5553 PyObject
* _argo0
= 0;
5554 char *_kwnames
[] = { "self", NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxWindow_Update(_arg0
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) return NULL
;
5572 } Py_INCREF(Py_None
);
5573 _resultobj
= Py_None
;
5577 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5578 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
* _resultobj
;
5582 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5603 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5605 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5614 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5615 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _argo0
= 0;
5620 PyObject
* _obj1
= 0;
5621 char *_kwnames
[] = { "self","helpText", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5634 _arg1
= wxString_in_helper(_obj1
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 wxWindow_SetHelpText(_arg0
,*_arg1
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) return NULL
;
5644 } Py_INCREF(Py_None
);
5645 _resultobj
= Py_None
;
5653 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5654 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
* _resultobj
;
5658 PyObject
* _argo0
= 0;
5659 PyObject
* _obj1
= 0;
5660 char *_kwnames
[] = { "self","text", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5673 _arg1
= wxString_in_helper(_obj1
);
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) return NULL
;
5683 } Py_INCREF(Py_None
);
5684 _resultobj
= Py_None
;
5692 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5693 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
* _resultobj
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self","lines", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) return NULL
;
5717 } _resultobj
= Py_BuildValue("i",_result
);
5721 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5722 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self","pages", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) return NULL
;
5746 } _resultobj
= Py_BuildValue("i",_result
);
5750 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5751 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
* _resultobj
;
5755 PyObject
* _argo0
= 0;
5756 char *_kwnames
[] = { "self", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 _result
= (bool )wxWindow_LineUp(_arg0
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) return NULL
;
5774 } _resultobj
= Py_BuildValue("i",_result
);
5778 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5779 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5783 PyObject
* _argo0
= 0;
5784 char *_kwnames
[] = { "self", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 _result
= (bool )wxWindow_LineDown(_arg0
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) return NULL
;
5802 } _resultobj
= Py_BuildValue("i",_result
);
5806 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5807 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5811 PyObject
* _argo0
= 0;
5812 char *_kwnames
[] = { "self", NULL
};
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 _result
= (bool )wxWindow_PageUp(_arg0
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) return NULL
;
5830 } _resultobj
= Py_BuildValue("i",_result
);
5834 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5835 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5839 PyObject
* _argo0
= 0;
5840 char *_kwnames
[] = { "self", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 _result
= (bool )wxWindow_PageDown(_arg0
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) return NULL
;
5858 } _resultobj
= Py_BuildValue("i",_result
);
5862 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5865 char *_kwnames
[] = { NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 _result
= (wxWindow
*)wxWindow::FindFocus();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) return NULL
;
5876 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5880 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
* _resultobj
;
5883 char *_kwnames
[] = { NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 _result
= (int )wxWindow::NewControlId();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
* _resultobj
;
5902 char *_kwnames
[] = { "id", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 _result
= (int )wxWindow::NextControlId(_arg0
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) return NULL
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 char *_kwnames
[] = { "id", NULL
};
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 _result
= (int )wxWindow::PrevControlId(_arg0
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) return NULL
;
5932 } _resultobj
= Py_BuildValue("i",_result
);
5936 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5937 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5940 wxAcceleratorTable
* _arg1
;
5941 PyObject
* _argo0
= 0;
5942 PyObject
* _argo1
= 0;
5943 char *_kwnames
[] = { "self","accel", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) return NULL
;
5968 } Py_INCREF(Py_None
);
5969 _resultobj
= Py_None
;
5973 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5974 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
* _resultobj
;
5976 wxAcceleratorTable
* _result
;
5978 PyObject
* _argo0
= 0;
5979 char *_kwnames
[] = { "self", NULL
};
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
5986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) return NULL
;
5999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6000 _resultobj
= Py_BuildValue("s",_ptemp
);
6003 _resultobj
= Py_None
;
6008 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6009 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6013 PyObject
* _argo0
= 0;
6014 char *_kwnames
[] = { "self", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) return NULL
;
6032 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6036 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6037 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6042 PyObject
* _argo0
= 0;
6043 PyObject
* _argo1
= 0;
6044 char *_kwnames
[] = { "self","btn", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6069 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6073 static void *SwigwxPanelTowxWindow(void *ptr
) {
6076 src
= (wxPanel
*) ptr
;
6077 dest
= (wxWindow
*) src
;
6078 return (void *) dest
;
6081 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6084 src
= (wxPanel
*) ptr
;
6085 dest
= (wxEvtHandler
*) src
;
6086 return (void *) dest
;
6089 static void *SwigwxPanelTowxObject(void *ptr
) {
6092 src
= (wxPanel
*) ptr
;
6093 dest
= (wxObject
*) src
;
6094 return (void *) dest
;
6097 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6098 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6103 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6104 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6105 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6106 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6107 PyObject
* _argo0
= 0;
6109 PyObject
* _obj2
= 0;
6111 PyObject
* _obj3
= 0;
6112 PyObject
* _obj5
= 0;
6113 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6129 if (! wxPoint_helper(_obj2
, &_arg2
))
6135 if (! wxSize_helper(_obj3
, &_arg3
))
6140 _arg5
= wxString_in_helper(_obj5
);
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) return NULL
;
6151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6152 _resultobj
= Py_BuildValue("s",_ptemp
);
6155 _resultobj
= Py_None
;
6164 #define new_wxPrePanel() (new wxPanel())
6165 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
* _resultobj
;
6168 char *_kwnames
[] = { NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 _result
= (wxPanel
*)new_wxPrePanel();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) return NULL
;
6181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6182 _resultobj
= Py_BuildValue("s",_ptemp
);
6185 _resultobj
= Py_None
;
6190 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6191 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6197 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6198 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6199 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6200 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6201 PyObject
* _argo0
= 0;
6202 PyObject
* _argo1
= 0;
6204 PyObject
* _obj3
= 0;
6206 PyObject
* _obj4
= 0;
6207 PyObject
* _obj6
= 0;
6208 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6230 if (! wxPoint_helper(_obj3
, &_arg3
))
6236 if (! wxSize_helper(_obj4
, &_arg4
))
6241 _arg6
= wxString_in_helper(_obj6
);
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) return NULL
;
6251 } _resultobj
= Py_BuildValue("i",_result
);
6259 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6260 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6263 PyObject
* _argo0
= 0;
6264 char *_kwnames
[] = { "self", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 wxPanel_InitDialog(_arg0
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) return NULL
;
6282 } Py_INCREF(Py_None
);
6283 _resultobj
= Py_None
;
6287 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6288 wxScrolledWindow
*src
;
6290 src
= (wxScrolledWindow
*) ptr
;
6291 dest
= (wxPanel
*) src
;
6292 return (void *) dest
;
6295 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6296 wxScrolledWindow
*src
;
6298 src
= (wxScrolledWindow
*) ptr
;
6299 dest
= (wxWindow
*) src
;
6300 return (void *) dest
;
6303 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6304 wxScrolledWindow
*src
;
6306 src
= (wxScrolledWindow
*) ptr
;
6307 dest
= (wxEvtHandler
*) src
;
6308 return (void *) dest
;
6311 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6312 wxScrolledWindow
*src
;
6314 src
= (wxScrolledWindow
*) ptr
;
6315 dest
= (wxObject
*) src
;
6316 return (void *) dest
;
6319 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6320 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
* _resultobj
;
6322 wxScrolledWindow
* _result
;
6324 wxWindowID _arg1
= (wxWindowID
) -1;
6325 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6326 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6327 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6328 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6329 PyObject
* _argo0
= 0;
6331 PyObject
* _obj2
= 0;
6333 PyObject
* _obj3
= 0;
6334 PyObject
* _obj5
= 0;
6335 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6351 if (! wxPoint_helper(_obj2
, &_arg2
))
6357 if (! wxSize_helper(_obj3
, &_arg3
))
6362 _arg5
= wxString_in_helper(_obj5
);
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6374 _resultobj
= Py_BuildValue("s",_ptemp
);
6377 _resultobj
= Py_None
;
6386 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6387 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6389 wxScrolledWindow
* _result
;
6390 char *_kwnames
[] = { NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6404 _resultobj
= Py_BuildValue("s",_ptemp
);
6407 _resultobj
= Py_None
;
6412 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6413 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6416 wxScrolledWindow
* _arg0
;
6418 wxWindowID _arg2
= (wxWindowID
) -1;
6419 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6420 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6421 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6422 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6423 PyObject
* _argo0
= 0;
6424 PyObject
* _argo1
= 0;
6426 PyObject
* _obj3
= 0;
6428 PyObject
* _obj4
= 0;
6429 PyObject
* _obj6
= 0;
6430 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6452 if (! wxPoint_helper(_obj3
, &_arg3
))
6458 if (! wxSize_helper(_obj4
, &_arg4
))
6463 _arg6
= wxString_in_helper(_obj6
);
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) return NULL
;
6473 } _resultobj
= Py_BuildValue("i",_result
);
6481 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6482 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6484 wxScrolledWindow
* _arg0
;
6487 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6502 _arg1
= (bool ) tempbool1
;
6503 _arg2
= (bool ) tempbool2
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) return NULL
;
6510 } Py_INCREF(Py_None
);
6511 _resultobj
= Py_None
;
6515 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6516 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6519 wxScrolledWindow
* _arg0
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self","orient", NULL
};
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) return NULL
;
6540 } _resultobj
= Py_BuildValue("i",_result
);
6544 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6545 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6547 wxScrolledWindow
* _arg0
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } Py_INCREF(Py_None
);
6578 _resultobj
= Py_None
;
6581 o
= PyInt_FromLong((long) (*_arg1
));
6582 _resultobj
= t_output_helper(_resultobj
, o
);
6586 o
= PyInt_FromLong((long) (*_arg2
));
6587 _resultobj
= t_output_helper(_resultobj
, o
);
6592 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6593 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6596 wxScrolledWindow
* _arg0
;
6597 PyObject
* _argo0
= 0;
6598 char *_kwnames
[] = { "self", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) return NULL
;
6616 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6620 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6621 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
* _resultobj
;
6623 wxScrolledWindow
* _arg0
;
6628 PyObject
* _argo0
= 0;
6629 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6653 } Py_INCREF(Py_None
);
6654 _resultobj
= Py_None
;
6657 o
= PyInt_FromLong((long) (*_arg1
));
6658 _resultobj
= t_output_helper(_resultobj
, o
);
6662 o
= PyInt_FromLong((long) (*_arg2
));
6663 _resultobj
= t_output_helper(_resultobj
, o
);
6668 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6669 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6672 wxScrolledWindow
* _arg0
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) return NULL
;
6692 } _resultobj
= Py_BuildValue("i",_result
);
6696 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6697 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6699 wxScrolledWindow
* _arg0
;
6701 PyObject
* _argo0
= 0;
6702 PyObject
* _argo1
= 0;
6703 char *_kwnames
[] = { "self","dc", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) return NULL
;
6728 } Py_INCREF(Py_None
);
6729 _resultobj
= Py_None
;
6733 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6734 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6736 wxScrolledWindow
* _arg0
;
6739 PyObject
* _argo0
= 0;
6740 char *_kwnames
[] = { "self","x","y", NULL
};
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } Py_INCREF(Py_None
);
6759 _resultobj
= Py_None
;
6763 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6764 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6766 wxScrolledWindow
* _arg0
;
6771 int _arg5
= (int ) 0;
6772 int _arg6
= (int ) 0;
6773 int _arg7
= (int ) FALSE
;
6774 PyObject
* _argo0
= 0;
6775 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) return NULL
;
6793 } Py_INCREF(Py_None
);
6794 _resultobj
= Py_None
;
6798 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6799 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
* _resultobj
;
6801 wxScrolledWindow
* _arg0
;
6804 PyObject
* _argo0
= 0;
6805 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) return NULL
;
6823 } Py_INCREF(Py_None
);
6824 _resultobj
= Py_None
;
6828 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6829 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
* _resultobj
;
6831 wxScrolledWindow
* _arg0
;
6833 PyObject
* _argo0
= 0;
6834 PyObject
* _argo1
= 0;
6835 char *_kwnames
[] = { "self","window", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) return NULL
;
6860 } Py_INCREF(Py_None
);
6861 _resultobj
= Py_None
;
6865 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6866 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
* _resultobj
;
6868 wxScrolledWindow
* _arg0
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) return NULL
;
6898 } Py_INCREF(Py_None
);
6899 _resultobj
= Py_None
;
6902 o
= PyInt_FromLong((long) (*_arg1
));
6903 _resultobj
= t_output_helper(_resultobj
, o
);
6907 o
= PyInt_FromLong((long) (*_arg2
));
6908 _resultobj
= t_output_helper(_resultobj
, o
);
6913 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6914 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6917 wxScrolledWindow
* _arg0
;
6919 PyObject
* _argo0
= 0;
6921 PyObject
* _obj1
= 0;
6922 char *_kwnames
[] = { "self","pt", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6937 if (! wxPoint_helper(_obj1
, &_arg1
))
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) return NULL
;
6946 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6947 _resultobj
= Py_BuildValue("s",_ptemp
);
6951 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6952 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
* _resultobj
;
6954 wxScrolledWindow
* _arg0
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self","x","y", NULL
};
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) return NULL
;
6986 } Py_INCREF(Py_None
);
6987 _resultobj
= Py_None
;
6990 o
= PyInt_FromLong((long) (*_arg3
));
6991 _resultobj
= t_output_helper(_resultobj
, o
);
6995 o
= PyInt_FromLong((long) (*_arg4
));
6996 _resultobj
= t_output_helper(_resultobj
, o
);
7001 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7002 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
* _resultobj
;
7005 wxScrolledWindow
* _arg0
;
7007 PyObject
* _argo0
= 0;
7009 PyObject
* _obj1
= 0;
7010 char *_kwnames
[] = { "self","pt", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7025 if (! wxPoint_helper(_obj1
, &_arg1
))
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) return NULL
;
7034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7035 _resultobj
= Py_BuildValue("s",_ptemp
);
7039 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7040 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7042 wxScrolledWindow
* _arg0
;
7049 PyObject
* _argo0
= 0;
7050 char *_kwnames
[] = { "self","x","y", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) return NULL
;
7074 } Py_INCREF(Py_None
);
7075 _resultobj
= Py_None
;
7078 o
= PyInt_FromLong((long) (*_arg3
));
7079 _resultobj
= t_output_helper(_resultobj
, o
);
7083 o
= PyInt_FromLong((long) (*_arg4
));
7084 _resultobj
= t_output_helper(_resultobj
, o
);
7089 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7090 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7092 wxScrolledWindow
* _arg0
;
7095 PyObject
* _argo0
= 0;
7096 char *_kwnames
[] = { "self","xs","ys", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) return NULL
;
7114 } Py_INCREF(Py_None
);
7115 _resultobj
= Py_None
;
7119 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7120 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7123 wxScrolledWindow
* _arg0
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) return NULL
;
7143 } _resultobj
= Py_BuildValue("d",_result
);
7147 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7148 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7151 wxScrolledWindow
* _arg0
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } _resultobj
= Py_BuildValue("d",_result
);
7175 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7176 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7178 wxScrolledWindow
* _arg0
;
7179 PyObject
* _argo0
= 0;
7180 char *_kwnames
[] = { "self", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 wxScrolledWindow_AdjustScrollbars(_arg0
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) return NULL
;
7198 } Py_INCREF(Py_None
);
7199 _resultobj
= Py_None
;
7203 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7204 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7207 wxScrolledWindow
* _arg0
;
7208 PyObject
* _argo0
= 0;
7209 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7227 } _resultobj
= Py_BuildValue("i",_result
);
7231 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7234 src
= (wxMenu
*) ptr
;
7235 dest
= (wxEvtHandler
*) src
;
7236 return (void *) dest
;
7239 static void *SwigwxMenuTowxObject(void *ptr
) {
7242 src
= (wxMenu
*) ptr
;
7243 dest
= (wxObject
*) src
;
7244 return (void *) dest
;
7247 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7248 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7251 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7252 long _arg1
= (long ) 0;
7253 PyObject
* _obj0
= 0;
7254 char *_kwnames
[] = { "title","style", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7262 _arg0
= wxString_in_helper(_obj0
);
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) return NULL
;
7273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7274 _resultobj
= Py_BuildValue("s",_ptemp
);
7277 _resultobj
= Py_None
;
7286 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7287 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7292 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7293 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7294 PyObject
* _argo0
= 0;
7295 PyObject
* _obj2
= 0;
7296 PyObject
* _obj3
= 0;
7297 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7310 _arg2
= wxString_in_helper(_obj2
);
7316 _arg3
= wxString_in_helper(_obj3
);
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) return NULL
;
7326 } Py_INCREF(Py_None
);
7327 _resultobj
= Py_None
;
7339 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7340 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7346 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7347 PyObject
* _argo0
= 0;
7348 PyObject
* _obj2
= 0;
7349 PyObject
* _argo3
= 0;
7350 PyObject
* _obj4
= 0;
7351 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7364 _arg2
= wxString_in_helper(_obj2
);
7369 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7377 _arg4
= wxString_in_helper(_obj4
);
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) return NULL
;
7387 } Py_INCREF(Py_None
);
7388 _resultobj
= Py_None
;
7400 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7401 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7405 PyObject
* _argo0
= 0;
7406 PyObject
* _argo1
= 0;
7407 char *_kwnames
[] = { "self","item", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 wxMenu_AppendItem(_arg0
,_arg1
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) return NULL
;
7432 } Py_INCREF(Py_None
);
7433 _resultobj
= Py_None
;
7437 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7438 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7443 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7444 PyObject
* _argo0
= 0;
7445 PyObject
* _obj2
= 0;
7446 PyObject
* _obj3
= 0;
7447 char *_kwnames
[] = { "self","id","text","help", NULL
};
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7460 _arg2
= wxString_in_helper(_obj2
);
7466 _arg3
= wxString_in_helper(_obj3
);
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) return NULL
;
7476 } Py_INCREF(Py_None
);
7477 _resultobj
= Py_None
;
7489 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7490 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7495 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7496 PyObject
* _argo0
= 0;
7497 PyObject
* _obj2
= 0;
7498 PyObject
* _obj3
= 0;
7499 char *_kwnames
[] = { "self","id","text","help", NULL
};
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7512 _arg2
= wxString_in_helper(_obj2
);
7518 _arg3
= wxString_in_helper(_obj3
);
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) return NULL
;
7528 } Py_INCREF(Py_None
);
7529 _resultobj
= Py_None
;
7541 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7542 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxMenu_AppendSeparator(_arg0
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) return NULL
;
7564 } Py_INCREF(Py_None
);
7565 _resultobj
= Py_None
;
7569 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7570 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
* _resultobj
;
7576 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7577 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7578 PyObject
* _argo0
= 0;
7579 PyObject
* _obj3
= 0;
7580 PyObject
* _obj4
= 0;
7581 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7594 _arg3
= wxString_in_helper(_obj3
);
7600 _arg4
= wxString_in_helper(_obj4
);
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) return NULL
;
7610 } Py_INCREF(Py_None
);
7611 _resultobj
= Py_None
;
7623 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7624 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7628 PyObject
* _argo0
= 0;
7629 char *_kwnames
[] = { "self","pos", NULL
};
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 wxMenu_InsertSeparator(_arg0
,_arg1
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) return NULL
;
7647 } Py_INCREF(Py_None
);
7648 _resultobj
= Py_None
;
7652 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7653 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
* _resultobj
;
7659 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7660 PyObject
* _argo0
= 0;
7661 PyObject
* _obj3
= 0;
7662 PyObject
* _obj4
= 0;
7663 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7676 _arg3
= wxString_in_helper(_obj3
);
7682 _arg4
= wxString_in_helper(_obj4
);
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) return NULL
;
7692 } Py_INCREF(Py_None
);
7693 _resultobj
= Py_None
;
7705 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7706 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
* _resultobj
;
7712 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7713 PyObject
* _argo0
= 0;
7714 PyObject
* _obj3
= 0;
7715 PyObject
* _obj4
= 0;
7716 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7729 _arg3
= wxString_in_helper(_obj3
);
7735 _arg4
= wxString_in_helper(_obj4
);
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) return NULL
;
7745 } Py_INCREF(Py_None
);
7746 _resultobj
= Py_None
;
7758 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7759 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
* _resultobj
;
7766 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
7767 PyObject
* _argo0
= 0;
7768 PyObject
* _obj3
= 0;
7769 PyObject
* _argo4
= 0;
7770 PyObject
* _obj5
= 0;
7771 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
7777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7784 _arg3
= wxString_in_helper(_obj3
);
7789 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7790 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7797 _arg5
= wxString_in_helper(_obj5
);
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } Py_INCREF(Py_None
);
7808 _resultobj
= Py_None
;
7820 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7821 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
* _resultobj
;
7827 PyObject
* _argo0
= 0;
7828 PyObject
* _argo2
= 0;
7829 char *_kwnames
[] = { "self","pos","item", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7842 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) return NULL
;
7854 } _resultobj
= Py_BuildValue("i",_result
);
7858 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7859 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
* _resultobj
;
7864 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7865 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7866 PyObject
* _argo0
= 0;
7867 PyObject
* _obj2
= 0;
7868 PyObject
* _obj3
= 0;
7869 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7882 _arg2
= wxString_in_helper(_obj2
);
7888 _arg3
= wxString_in_helper(_obj3
);
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) return NULL
;
7898 } Py_INCREF(Py_None
);
7899 _resultobj
= Py_None
;
7911 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7912 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
* _resultobj
;
7915 PyObject
* _argo0
= 0;
7916 char *_kwnames
[] = { "self", NULL
};
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
7922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 wxMenu_PrependSeparator(_arg0
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) return NULL
;
7934 } Py_INCREF(Py_None
);
7935 _resultobj
= Py_None
;
7939 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7940 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7945 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7946 PyObject
* _argo0
= 0;
7947 PyObject
* _obj2
= 0;
7948 PyObject
* _obj3
= 0;
7949 char *_kwnames
[] = { "self","id","text","help", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
7962 _arg2
= wxString_in_helper(_obj2
);
7968 _arg3
= wxString_in_helper(_obj3
);
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) return NULL
;
7978 } Py_INCREF(Py_None
);
7979 _resultobj
= Py_None
;
7991 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
7992 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
* _resultobj
;
7997 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7998 PyObject
* _argo0
= 0;
7999 PyObject
* _obj2
= 0;
8000 PyObject
* _obj3
= 0;
8001 char *_kwnames
[] = { "self","id","text","help", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8014 _arg2
= wxString_in_helper(_obj2
);
8020 _arg3
= wxString_in_helper(_obj3
);
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) return NULL
;
8030 } Py_INCREF(Py_None
);
8031 _resultobj
= Py_None
;
8043 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8044 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
* _resultobj
;
8050 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8051 PyObject
* _argo0
= 0;
8052 PyObject
* _obj2
= 0;
8053 PyObject
* _argo3
= 0;
8054 PyObject
* _obj4
= 0;
8055 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8068 _arg2
= wxString_in_helper(_obj2
);
8073 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8074 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8081 _arg4
= wxString_in_helper(_obj4
);
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8091 } Py_INCREF(Py_None
);
8092 _resultobj
= Py_None
;
8104 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8105 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8109 PyObject
* _argo0
= 0;
8110 PyObject
* _argo1
= 0;
8111 char *_kwnames
[] = { "self","item", NULL
};
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 wxMenu_PrependItem(_arg0
,_arg1
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) return NULL
;
8136 } Py_INCREF(Py_None
);
8137 _resultobj
= Py_None
;
8141 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8142 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
* _resultobj
;
8145 PyObject
* _argo0
= 0;
8146 char *_kwnames
[] = { "self", NULL
};
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxMenu_Break(_arg0
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) return NULL
;
8164 } Py_INCREF(Py_None
);
8165 _resultobj
= Py_None
;
8169 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8170 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
* _resultobj
;
8175 PyObject
* _argo0
= 0;
8177 char *_kwnames
[] = { "self","id","flag", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8189 _arg2
= (bool ) tempbool2
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) return NULL
;
8196 } Py_INCREF(Py_None
);
8197 _resultobj
= Py_None
;
8201 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8202 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
* _resultobj
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self","id", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) return NULL
;
8226 } _resultobj
= Py_BuildValue("i",_result
);
8230 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8231 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8236 PyObject
* _argo0
= 0;
8238 char *_kwnames
[] = { "self","id","enable", NULL
};
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8250 _arg2
= (bool ) tempbool2
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) return NULL
;
8257 } Py_INCREF(Py_None
);
8258 _resultobj
= Py_None
;
8262 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8263 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
* _resultobj
;
8268 PyObject
* _argo0
= 0;
8269 char *_kwnames
[] = { "self","id", NULL
};
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) return NULL
;
8287 } _resultobj
= Py_BuildValue("i",_result
);
8291 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8292 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
* _resultobj
;
8297 PyObject
* _argo0
= 0;
8298 PyObject
* _obj1
= 0;
8299 char *_kwnames
[] = { "self","itemString", NULL
};
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8312 _arg1
= wxString_in_helper(_obj1
);
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) return NULL
;
8322 } _resultobj
= Py_BuildValue("i",_result
);
8330 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8331 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8333 wxMenuItem
* _result
;
8336 PyObject
* _argo0
= 0;
8337 char *_kwnames
[] = { "self","id", NULL
};
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) return NULL
;
8355 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8359 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8360 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
* _resultobj
;
8364 PyObject
* _argo0
= 0;
8365 char *_kwnames
[] = { "self", NULL
};
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) return NULL
;
8385 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8387 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8396 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8397 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
* _resultobj
;
8401 PyObject
* _argo0
= 0;
8402 PyObject
* _obj1
= 0;
8403 char *_kwnames
[] = { "self","title", NULL
};
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8416 _arg1
= wxString_in_helper(_obj1
);
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 wxMenu_SetTitle(_arg0
,*_arg1
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) return NULL
;
8426 } Py_INCREF(Py_None
);
8427 _resultobj
= Py_None
;
8435 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8436 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
* _resultobj
;
8441 PyObject
* _argo0
= 0;
8442 char *_kwnames
[] = { "self","id", NULL
};
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) return NULL
;
8462 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8464 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8473 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8474 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
* _resultobj
;
8479 PyObject
* _argo0
= 0;
8480 PyObject
* _obj2
= 0;
8481 char *_kwnames
[] = { "self","id","label", NULL
};
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8494 _arg2
= wxString_in_helper(_obj2
);
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) return NULL
;
8504 } Py_INCREF(Py_None
);
8505 _resultobj
= Py_None
;
8513 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8514 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
* _resultobj
;
8519 PyObject
* _argo0
= 0;
8520 char *_kwnames
[] = { "self","id", NULL
};
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) return NULL
;
8540 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8542 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8551 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8552 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
* _resultobj
;
8557 PyObject
* _argo0
= 0;
8558 PyObject
* _obj2
= 0;
8559 char *_kwnames
[] = { "self","id","helpString", NULL
};
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8572 _arg2
= wxString_in_helper(_obj2
);
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) return NULL
;
8582 } Py_INCREF(Py_None
);
8583 _resultobj
= Py_None
;
8591 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8592 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
* _resultobj
;
8595 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8596 PyObject
* _argo0
= 0;
8597 PyObject
* _argo1
= 0;
8598 char *_kwnames
[] = { "self","source", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxMenu_UpdateUI(_arg0
,_arg1
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } Py_INCREF(Py_None
);
8624 _resultobj
= Py_None
;
8628 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8629 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self","id", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8653 } _resultobj
= Py_BuildValue("i",_result
);
8657 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8658 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8663 PyObject
* _argo0
= 0;
8664 PyObject
* _argo1
= 0;
8665 char *_kwnames
[] = { "self","item", NULL
};
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } _resultobj
= Py_BuildValue("i",_result
);
8694 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8695 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
* _resultobj
;
8697 wxMenuItem
* _result
;
8700 PyObject
* _argo0
= 0;
8701 char *_kwnames
[] = { "self","id", NULL
};
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) return NULL
;
8719 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8723 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8724 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
* _resultobj
;
8726 wxMenuItem
* _result
;
8729 PyObject
* _argo0
= 0;
8730 PyObject
* _argo1
= 0;
8731 char *_kwnames
[] = { "self","item", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) return NULL
;
8756 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8760 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8761 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8764 PyObject
* _argo0
= 0;
8765 char *_kwnames
[] = { "self", NULL
};
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxMenu_Destroy(_arg0
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } Py_INCREF(Py_None
);
8784 _resultobj
= Py_None
;
8788 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8789 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8794 PyObject
* _argo0
= 0;
8795 char *_kwnames
[] = { "self","id", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) return NULL
;
8813 } _resultobj
= Py_BuildValue("i",_result
);
8817 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8818 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
* _resultobj
;
8823 PyObject
* _argo0
= 0;
8824 PyObject
* _argo1
= 0;
8825 char *_kwnames
[] = { "self","item", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) return NULL
;
8850 } _resultobj
= Py_BuildValue("i",_result
);
8854 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8855 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8859 PyObject
* _argo0
= 0;
8860 char *_kwnames
[] = { "self", NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) return NULL
;
8878 } _resultobj
= Py_BuildValue("i",_result
);
8882 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8883 wxMenuItemList
& list
= self
->GetMenuItems();
8884 return wxPy_ConvertList(&list
, "wxMenuItem");
8886 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
* _resultobj
;
8890 PyObject
* _argo0
= 0;
8891 char *_kwnames
[] = { "self", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8910 _resultobj
= _result
;
8915 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8916 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
* _resultobj
;
8919 wxEvtHandler
* _arg1
;
8920 PyObject
* _argo0
= 0;
8921 PyObject
* _argo1
= 0;
8922 char *_kwnames
[] = { "self","handler", NULL
};
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 wxMenu_SetEventHandler(_arg0
,_arg1
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) return NULL
;
8947 } Py_INCREF(Py_None
);
8948 _resultobj
= Py_None
;
8952 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8953 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
* _resultobj
;
8955 wxEvtHandler
* _result
;
8957 PyObject
* _argo0
= 0;
8958 char *_kwnames
[] = { "self", NULL
};
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) return NULL
;
8976 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8980 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8981 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
* _resultobj
;
8985 PyObject
* _argo0
= 0;
8986 PyObject
* _argo1
= 0;
8987 char *_kwnames
[] = { "self","win", NULL
};
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) return NULL
;
9012 } Py_INCREF(Py_None
);
9013 _resultobj
= Py_None
;
9017 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9018 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
* _resultobj
;
9022 PyObject
* _argo0
= 0;
9023 char *_kwnames
[] = { "self", NULL
};
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) return NULL
;
9041 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9045 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9046 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
* _resultobj
;
9050 PyObject
* _argo0
= 0;
9051 char *_kwnames
[] = { "self", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 _result
= (long )wxMenu_GetStyle(_arg0
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) return NULL
;
9069 } _resultobj
= Py_BuildValue("l",_result
);
9073 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9074 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
* _resultobj
;
9078 PyObject
* _argo0
= 0;
9079 char *_kwnames
[] = { "self", NULL
};
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 _result
= (bool )wxMenu_IsAttached(_arg0
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) return NULL
;
9097 } _resultobj
= Py_BuildValue("i",_result
);
9101 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9102 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9106 PyObject
* _argo0
= 0;
9107 PyObject
* _argo1
= 0;
9108 char *_kwnames
[] = { "self","parent", NULL
};
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxMenu_SetParent(_arg0
,_arg1
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) return NULL
;
9133 } Py_INCREF(Py_None
);
9134 _resultobj
= Py_None
;
9138 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9139 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
* _resultobj
;
9143 PyObject
* _argo0
= 0;
9144 char *_kwnames
[] = { "self", NULL
};
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) return NULL
;
9162 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9166 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9169 src
= (wxMenuBar
*) ptr
;
9170 dest
= (wxWindow
*) src
;
9171 return (void *) dest
;
9174 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9177 src
= (wxMenuBar
*) ptr
;
9178 dest
= (wxEvtHandler
*) src
;
9179 return (void *) dest
;
9182 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9185 src
= (wxMenuBar
*) ptr
;
9186 dest
= (wxObject
*) src
;
9187 return (void *) dest
;
9190 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9191 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9193 wxMenuBar
* _result
;
9194 long _arg0
= (long ) 0;
9195 char *_kwnames
[] = { "style", NULL
};
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) return NULL
;
9208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9209 _resultobj
= Py_BuildValue("s",_ptemp
);
9212 _resultobj
= Py_None
;
9217 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9218 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
* _resultobj
;
9224 PyObject
* _argo0
= 0;
9225 PyObject
* _argo1
= 0;
9226 PyObject
* _obj2
= 0;
9227 char *_kwnames
[] = { "self","menu","title", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9247 _arg2
= wxString_in_helper(_obj2
);
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) return NULL
;
9257 } _resultobj
= Py_BuildValue("i",_result
);
9265 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9266 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
* _resultobj
;
9273 PyObject
* _argo0
= 0;
9274 PyObject
* _argo2
= 0;
9275 PyObject
* _obj3
= 0;
9276 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9289 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9290 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9296 _arg3
= wxString_in_helper(_obj3
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) return NULL
;
9306 } _resultobj
= Py_BuildValue("i",_result
);
9314 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9315 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9319 PyObject
* _argo0
= 0;
9320 char *_kwnames
[] = { "self", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9338 } _resultobj
= Py_BuildValue("i",_result
);
9342 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9343 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9348 PyObject
* _argo0
= 0;
9349 char *_kwnames
[] = { "self","pos", NULL
};
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) return NULL
;
9367 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9371 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9372 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
* _resultobj
;
9379 PyObject
* _argo0
= 0;
9380 PyObject
* _argo2
= 0;
9381 PyObject
* _obj3
= 0;
9382 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9395 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9402 _arg3
= wxString_in_helper(_obj3
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9420 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9421 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
* _resultobj
;
9426 PyObject
* _argo0
= 0;
9427 char *_kwnames
[] = { "self","pos", NULL
};
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) return NULL
;
9445 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9449 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9450 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
* _resultobj
;
9455 PyObject
* _argo0
= 0;
9457 char *_kwnames
[] = { "self","pos","enable", NULL
};
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9469 _arg2
= (bool ) tempbool2
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) return NULL
;
9476 } Py_INCREF(Py_None
);
9477 _resultobj
= Py_None
;
9481 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9482 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
* _resultobj
;
9487 PyObject
* _argo0
= 0;
9488 PyObject
* _obj2
= 0;
9489 char *_kwnames
[] = { "self","pos","label", NULL
};
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9502 _arg2
= wxString_in_helper(_obj2
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) return NULL
;
9512 } Py_INCREF(Py_None
);
9513 _resultobj
= Py_None
;
9521 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9522 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
* _resultobj
;
9527 PyObject
* _argo0
= 0;
9528 char *_kwnames
[] = { "self","pos", NULL
};
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) return NULL
;
9548 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9550 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9559 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9560 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
* _resultobj
;
9565 PyObject
* _argo0
= 0;
9566 PyObject
* _obj1
= 0;
9567 char *_kwnames
[] = { "self","title", NULL
};
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9580 _arg1
= wxString_in_helper(_obj1
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) return NULL
;
9590 } _resultobj
= Py_BuildValue("i",_result
);
9598 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9599 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
* _resultobj
;
9605 PyObject
* _argo0
= 0;
9606 PyObject
* _obj1
= 0;
9607 PyObject
* _obj2
= 0;
9608 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9621 _arg1
= wxString_in_helper(_obj1
);
9626 _arg2
= wxString_in_helper(_obj2
);
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) return NULL
;
9636 } _resultobj
= Py_BuildValue("i",_result
);
9648 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9649 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
* _resultobj
;
9651 wxMenuItem
* _result
;
9654 PyObject
* _argo0
= 0;
9655 char *_kwnames
[] = { "self","id", NULL
};
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) return NULL
;
9673 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9677 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9678 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
* _resultobj
;
9683 PyObject
* _argo0
= 0;
9685 char *_kwnames
[] = { "self","id","enable", NULL
};
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9697 _arg2
= (bool ) tempbool2
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) return NULL
;
9704 } Py_INCREF(Py_None
);
9705 _resultobj
= Py_None
;
9709 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9710 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
* _resultobj
;
9715 PyObject
* _argo0
= 0;
9717 char *_kwnames
[] = { "self","id","check", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9729 _arg2
= (bool ) tempbool2
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) return NULL
;
9736 } Py_INCREF(Py_None
);
9737 _resultobj
= Py_None
;
9741 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9742 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
* _resultobj
;
9747 PyObject
* _argo0
= 0;
9748 char *_kwnames
[] = { "self","id", NULL
};
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) return NULL
;
9766 } _resultobj
= Py_BuildValue("i",_result
);
9770 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9771 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
* _resultobj
;
9776 PyObject
* _argo0
= 0;
9777 char *_kwnames
[] = { "self","id", NULL
};
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) return NULL
;
9795 } _resultobj
= Py_BuildValue("i",_result
);
9799 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9800 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
* _resultobj
;
9805 PyObject
* _argo0
= 0;
9806 PyObject
* _obj2
= 0;
9807 char *_kwnames
[] = { "self","id","label", NULL
};
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9820 _arg2
= wxString_in_helper(_obj2
);
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) return NULL
;
9830 } Py_INCREF(Py_None
);
9831 _resultobj
= Py_None
;
9839 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9840 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
* _resultobj
;
9845 PyObject
* _argo0
= 0;
9846 char *_kwnames
[] = { "self","id", NULL
};
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) return NULL
;
9866 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9868 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9877 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9878 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
* _resultobj
;
9883 PyObject
* _argo0
= 0;
9884 PyObject
* _obj2
= 0;
9885 char *_kwnames
[] = { "self","id","helpString", NULL
};
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9898 _arg2
= wxString_in_helper(_obj2
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9908 } Py_INCREF(Py_None
);
9909 _resultobj
= Py_None
;
9917 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9918 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
* _resultobj
;
9923 PyObject
* _argo0
= 0;
9924 char *_kwnames
[] = { "self","id", NULL
};
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) return NULL
;
9944 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9946 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9955 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9958 src
= (wxMenuItem
*) ptr
;
9959 dest
= (wxObject
*) src
;
9960 return (void *) dest
;
9963 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9964 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
* _resultobj
;
9966 wxMenuItem
* _result
;
9967 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9968 int _arg1
= (int ) wxID_SEPARATOR
;
9969 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9970 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
9971 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
9972 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9973 PyObject
* _argo0
= 0;
9974 PyObject
* _obj2
= 0;
9975 PyObject
* _obj3
= 0;
9976 PyObject
* _argo5
= 0;
9977 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
9984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9992 _arg2
= wxString_in_helper(_obj2
);
9998 _arg3
= wxString_in_helper(_obj3
);
10003 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) return NULL
;
10016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10017 _resultobj
= Py_BuildValue("s",_ptemp
);
10019 Py_INCREF(Py_None
);
10020 _resultobj
= Py_None
;
10033 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10034 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
* _resultobj
;
10037 wxMenuItem
* _arg0
;
10038 PyObject
* _argo0
= 0;
10039 char *_kwnames
[] = { "self", NULL
};
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) return NULL
;
10057 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10061 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10062 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
* _resultobj
;
10064 wxMenuItem
* _arg0
;
10066 PyObject
* _argo0
= 0;
10067 char *_kwnames
[] = { "self","id", NULL
};
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 wxMenuItem_SetId(_arg0
,_arg1
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) return NULL
;
10085 } Py_INCREF(Py_None
);
10086 _resultobj
= Py_None
;
10090 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10091 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
* _resultobj
;
10094 wxMenuItem
* _arg0
;
10095 PyObject
* _argo0
= 0;
10096 char *_kwnames
[] = { "self", NULL
};
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 _result
= (int )wxMenuItem_GetId(_arg0
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) return NULL
;
10114 } _resultobj
= Py_BuildValue("i",_result
);
10118 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10119 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10122 wxMenuItem
* _arg0
;
10123 PyObject
* _argo0
= 0;
10124 char *_kwnames
[] = { "self", NULL
};
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) return NULL
;
10142 } _resultobj
= Py_BuildValue("i",_result
);
10146 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10147 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
* _resultobj
;
10149 wxMenuItem
* _arg0
;
10151 PyObject
* _argo0
= 0;
10152 PyObject
* _obj1
= 0;
10153 char *_kwnames
[] = { "self","str", NULL
};
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10166 _arg1
= wxString_in_helper(_obj1
);
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxMenuItem_SetText(_arg0
,*_arg1
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) return NULL
;
10176 } Py_INCREF(Py_None
);
10177 _resultobj
= Py_None
;
10185 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10186 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
* _resultobj
;
10188 wxString
* _result
;
10189 wxMenuItem
* _arg0
;
10190 PyObject
* _argo0
= 0;
10191 char *_kwnames
[] = { "self", NULL
};
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) return NULL
;
10211 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10213 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10222 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10223 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
* _resultobj
;
10225 wxString
* _result
;
10226 wxMenuItem
* _arg0
;
10227 PyObject
* _argo0
= 0;
10228 char *_kwnames
[] = { "self", NULL
};
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10243 _result
= (wxString
*) &_result_ref
;
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) return NULL
;
10249 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10251 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10257 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10258 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
* _resultobj
;
10260 wxItemKind _result
;
10261 wxMenuItem
* _arg0
;
10262 PyObject
* _argo0
= 0;
10263 char *_kwnames
[] = { "self", NULL
};
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) return NULL
;
10281 } _resultobj
= Py_BuildValue("i",_result
);
10285 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10286 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10288 wxMenuItem
* _arg0
;
10290 PyObject
* _argo0
= 0;
10292 char *_kwnames
[] = { "self","checkable", NULL
};
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10304 _arg1
= (bool ) tempbool1
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) return NULL
;
10311 } Py_INCREF(Py_None
);
10312 _resultobj
= Py_None
;
10316 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10317 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
* _resultobj
;
10320 wxMenuItem
* _arg0
;
10321 PyObject
* _argo0
= 0;
10322 char *_kwnames
[] = { "self", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) return NULL
;
10340 } _resultobj
= Py_BuildValue("i",_result
);
10344 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10345 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
* _resultobj
;
10348 wxMenuItem
* _arg0
;
10349 PyObject
* _argo0
= 0;
10350 char *_kwnames
[] = { "self", NULL
};
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) return NULL
;
10368 } _resultobj
= Py_BuildValue("i",_result
);
10372 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10373 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
* _resultobj
;
10375 wxMenuItem
* _arg0
;
10377 PyObject
* _argo0
= 0;
10378 PyObject
* _argo1
= 0;
10379 char *_kwnames
[] = { "self","menu", NULL
};
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) return NULL
;
10404 } Py_INCREF(Py_None
);
10405 _resultobj
= Py_None
;
10409 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10410 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
* _resultobj
;
10413 wxMenuItem
* _arg0
;
10414 PyObject
* _argo0
= 0;
10415 char *_kwnames
[] = { "self", NULL
};
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) return NULL
;
10433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10437 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10438 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
* _resultobj
;
10440 wxMenuItem
* _arg0
;
10441 bool _arg1
= (bool ) TRUE
;
10442 PyObject
* _argo0
= 0;
10443 int tempbool1
= (int) TRUE
;
10444 char *_kwnames
[] = { "self","enable", NULL
};
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10456 _arg1
= (bool ) tempbool1
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 wxMenuItem_Enable(_arg0
,_arg1
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) return NULL
;
10463 } Py_INCREF(Py_None
);
10464 _resultobj
= Py_None
;
10468 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10469 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
* _resultobj
;
10472 wxMenuItem
* _arg0
;
10473 PyObject
* _argo0
= 0;
10474 char *_kwnames
[] = { "self", NULL
};
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) return NULL
;
10492 } _resultobj
= Py_BuildValue("i",_result
);
10496 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10497 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
* _resultobj
;
10499 wxMenuItem
* _arg0
;
10500 bool _arg1
= (bool ) TRUE
;
10501 PyObject
* _argo0
= 0;
10502 int tempbool1
= (int) TRUE
;
10503 char *_kwnames
[] = { "self","check", NULL
};
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10515 _arg1
= (bool ) tempbool1
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 wxMenuItem_Check(_arg0
,_arg1
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) return NULL
;
10522 } Py_INCREF(Py_None
);
10523 _resultobj
= Py_None
;
10527 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10528 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
* _resultobj
;
10531 wxMenuItem
* _arg0
;
10532 PyObject
* _argo0
= 0;
10533 char *_kwnames
[] = { "self", NULL
};
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) return NULL
;
10551 } _resultobj
= Py_BuildValue("i",_result
);
10555 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10556 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
* _resultobj
;
10558 wxMenuItem
* _arg0
;
10559 PyObject
* _argo0
= 0;
10560 char *_kwnames
[] = { "self", NULL
};
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 wxMenuItem_Toggle(_arg0
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) return NULL
;
10578 } Py_INCREF(Py_None
);
10579 _resultobj
= Py_None
;
10583 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10584 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
* _resultobj
;
10586 wxMenuItem
* _arg0
;
10588 PyObject
* _argo0
= 0;
10589 PyObject
* _obj1
= 0;
10590 char *_kwnames
[] = { "self","str", NULL
};
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10603 _arg1
= wxString_in_helper(_obj1
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) return NULL
;
10613 } Py_INCREF(Py_None
);
10614 _resultobj
= Py_None
;
10622 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10623 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
* _resultobj
;
10625 wxString
* _result
;
10626 wxMenuItem
* _arg0
;
10627 PyObject
* _argo0
= 0;
10628 char *_kwnames
[] = { "self", NULL
};
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10643 _result
= (wxString
*) &_result_ref
;
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) return NULL
;
10649 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10657 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10658 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
* _resultobj
;
10660 wxAcceleratorEntry
* _result
;
10661 wxMenuItem
* _arg0
;
10662 PyObject
* _argo0
= 0;
10663 char *_kwnames
[] = { "self", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) return NULL
;
10683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10684 _resultobj
= Py_BuildValue("s",_ptemp
);
10686 Py_INCREF(Py_None
);
10687 _resultobj
= Py_None
;
10692 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10693 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
* _resultobj
;
10695 wxMenuItem
* _arg0
;
10696 wxAcceleratorEntry
* _arg1
;
10697 PyObject
* _argo0
= 0;
10698 PyObject
* _argo1
= 0;
10699 char *_kwnames
[] = { "self","accel", NULL
};
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 wxMenuItem_SetAccel(_arg0
,_arg1
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) return NULL
;
10724 } Py_INCREF(Py_None
);
10725 _resultobj
= Py_None
;
10729 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
* _resultobj
;
10731 wxString
* _result
;
10733 PyObject
* _obj0
= 0;
10734 char *_kwnames
[] = { "text", NULL
};
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10740 _arg0
= wxString_in_helper(_obj0
);
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) return NULL
;
10752 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10754 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10767 static PyMethodDef windowscMethods
[] = {
10768 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11075 * This table is used by the pointer type-checker
11077 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11078 { "_signed_long","_long",0},
11079 { "_wxPrintQuality","_wxCoord",0},
11080 { "_wxPrintQuality","_int",0},
11081 { "_wxPrintQuality","_signed_int",0},
11082 { "_wxPrintQuality","_unsigned_int",0},
11083 { "_wxPrintQuality","_wxWindowID",0},
11084 { "_wxPrintQuality","_uint",0},
11085 { "_wxPrintQuality","_EBool",0},
11086 { "_wxPrintQuality","_size_t",0},
11087 { "_wxPrintQuality","_time_t",0},
11088 { "_byte","_unsigned_char",0},
11089 { "_long","_unsigned_long",0},
11090 { "_long","_signed_long",0},
11091 { "_size_t","_wxCoord",0},
11092 { "_size_t","_wxPrintQuality",0},
11093 { "_size_t","_time_t",0},
11094 { "_size_t","_unsigned_int",0},
11095 { "_size_t","_int",0},
11096 { "_size_t","_wxWindowID",0},
11097 { "_size_t","_uint",0},
11098 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11099 { "_uint","_wxCoord",0},
11100 { "_uint","_wxPrintQuality",0},
11101 { "_uint","_time_t",0},
11102 { "_uint","_size_t",0},
11103 { "_uint","_unsigned_int",0},
11104 { "_uint","_int",0},
11105 { "_uint","_wxWindowID",0},
11106 { "_wxChar","_char",0},
11107 { "_char","_wxChar",0},
11108 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11109 { "_EBool","_wxCoord",0},
11110 { "_EBool","_wxPrintQuality",0},
11111 { "_EBool","_signed_int",0},
11112 { "_EBool","_int",0},
11113 { "_EBool","_wxWindowID",0},
11114 { "_unsigned_long","_long",0},
11115 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11116 { "_signed_int","_wxCoord",0},
11117 { "_signed_int","_wxPrintQuality",0},
11118 { "_signed_int","_EBool",0},
11119 { "_signed_int","_wxWindowID",0},
11120 { "_signed_int","_int",0},
11121 { "_WXTYPE","_short",0},
11122 { "_WXTYPE","_signed_short",0},
11123 { "_WXTYPE","_unsigned_short",0},
11124 { "_unsigned_short","_WXTYPE",0},
11125 { "_unsigned_short","_short",0},
11126 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11127 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11128 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11129 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11130 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11131 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11132 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11133 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11134 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11135 { "_signed_short","_WXTYPE",0},
11136 { "_signed_short","_short",0},
11137 { "_unsigned_char","_byte",0},
11138 { "_unsigned_int","_wxCoord",0},
11139 { "_unsigned_int","_wxPrintQuality",0},
11140 { "_unsigned_int","_time_t",0},
11141 { "_unsigned_int","_size_t",0},
11142 { "_unsigned_int","_uint",0},
11143 { "_unsigned_int","_wxWindowID",0},
11144 { "_unsigned_int","_int",0},
11145 { "_short","_WXTYPE",0},
11146 { "_short","_unsigned_short",0},
11147 { "_short","_signed_short",0},
11148 { "_wxWindowID","_wxCoord",0},
11149 { "_wxWindowID","_wxPrintQuality",0},
11150 { "_wxWindowID","_time_t",0},
11151 { "_wxWindowID","_size_t",0},
11152 { "_wxWindowID","_EBool",0},
11153 { "_wxWindowID","_uint",0},
11154 { "_wxWindowID","_int",0},
11155 { "_wxWindowID","_signed_int",0},
11156 { "_wxWindowID","_unsigned_int",0},
11157 { "_int","_wxCoord",0},
11158 { "_int","_wxPrintQuality",0},
11159 { "_int","_time_t",0},
11160 { "_int","_size_t",0},
11161 { "_int","_EBool",0},
11162 { "_int","_uint",0},
11163 { "_int","_wxWindowID",0},
11164 { "_int","_unsigned_int",0},
11165 { "_int","_signed_int",0},
11166 { "_time_t","_wxCoord",0},
11167 { "_time_t","_wxPrintQuality",0},
11168 { "_time_t","_unsigned_int",0},
11169 { "_time_t","_int",0},
11170 { "_time_t","_wxWindowID",0},
11171 { "_time_t","_uint",0},
11172 { "_time_t","_size_t",0},
11173 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11174 { "_wxCoord","_int",0},
11175 { "_wxCoord","_signed_int",0},
11176 { "_wxCoord","_unsigned_int",0},
11177 { "_wxCoord","_wxWindowID",0},
11178 { "_wxCoord","_uint",0},
11179 { "_wxCoord","_EBool",0},
11180 { "_wxCoord","_size_t",0},
11181 { "_wxCoord","_time_t",0},
11182 { "_wxCoord","_wxPrintQuality",0},
11183 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11184 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11185 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11186 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11187 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11188 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11189 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11190 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11191 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11192 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11195 static PyObject
*SWIG_globals
;
11199 SWIGEXPORT(void) initwindowsc() {
11201 SWIG_globals
= SWIG_newvarlink();
11202 m
= Py_InitModule("windowsc", windowscMethods
);
11203 d
= PyModule_GetDict(m
);
11206 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11207 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);