2 * FILE : src/mac/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 static const wxString
wxPyEmptyString(wxT(""));
93 class wxPyValidator
: public wxValidator
{
94 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
102 wxObject
* Clone() const {
103 wxPyValidator
* ptr
= NULL
;
104 wxPyValidator
* self
= (wxPyValidator
*)this;
106 wxPyBeginBlockThreads();
107 if (self
->m_myInst
.findCallback("Clone")) {
109 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
111 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
115 wxPyEndBlockThreads();
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
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_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
999 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 int _arg1
= (int ) wxBOTH
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self","direction", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 wxWindow_Center(_arg0
,_arg1
);
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) return NULL
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1028 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 int _arg1
= (int ) wxBOTH
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self","direction", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 wxWindow_Centre(_arg0
,_arg1
);
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) return NULL
;
1051 } Py_INCREF(Py_None
);
1052 _resultobj
= Py_None
;
1056 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1057 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 int _arg1
= (int ) wxBOTH
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self","direction", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 wxWindow_CentreOnParent(_arg0
,_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1086 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 int _arg1
= (int ) wxBOTH
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","direction", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 wxWindow_CenterOnParent(_arg0
,_arg1
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } Py_INCREF(Py_None
);
1110 _resultobj
= Py_None
;
1114 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1115 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 int _arg1
= (int ) wxBOTH
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self","direction", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) return NULL
;
1138 } Py_INCREF(Py_None
);
1139 _resultobj
= Py_None
;
1143 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1144 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1147 int _arg1
= (int ) wxBOTH
;
1148 PyObject
* _argo0
= 0;
1149 char *_kwnames
[] = { "self","direction", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1172 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1173 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
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_Clear. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_Clear(_arg0
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1201 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1206 PyObject
* _argo0
= 0;
1208 PyObject
* _obj1
= 0;
1210 PyObject
* _obj2
= 0;
1211 char *_kwnames
[] = { "self","x","y", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1224 temp
= (int) PyInt_AsLong(_obj1
);
1228 temp0
= (int) PyInt_AsLong(_obj2
);
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) return NULL
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1241 o
= PyInt_FromLong((long) (*_arg1
));
1242 _resultobj
= t_output_helper(_resultobj
, o
);
1246 o
= PyInt_FromLong((long) (*_arg2
));
1247 _resultobj
= t_output_helper(_resultobj
, o
);
1252 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1253 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1258 PyObject
* _argo0
= 0;
1260 PyObject
* _obj1
= 0;
1261 char *_kwnames
[] = { "self","pt", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1276 if (! wxPoint_helper(_obj1
, &_arg1
))
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) return NULL
;
1285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1286 _resultobj
= Py_BuildValue("s",_ptemp
);
1290 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1291 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1295 int _arg1
= (int ) FALSE
;
1296 PyObject
* _argo0
= 0;
1297 char *_kwnames
[] = { "self","force", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } _resultobj
= Py_BuildValue("i",_result
);
1319 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1320 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
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_Destroy. Expected _wxWindow_p.");
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (bool )wxWindow_Destroy(_arg0
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1348 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxWindow_DestroyChildren(_arg0
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1375 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1376 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1399 } _resultobj
= Py_BuildValue("i",_result
);
1403 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1404 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1410 char *_kwnames
[] = { "self","enable", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1422 _arg1
= (bool ) tempbool1
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 wxWindow_Enable(_arg0
,_arg1
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) return NULL
;
1429 } Py_INCREF(Py_None
);
1430 _resultobj
= Py_None
;
1434 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1435 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self","id", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1464 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1469 PyObject
* _argo0
= 0;
1470 PyObject
* _obj1
= 0;
1471 char *_kwnames
[] = { "self","name", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1484 _arg1
= wxString_in_helper(_obj1
);
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1502 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1503 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1506 PyObject
* _argo0
= 0;
1507 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 wxWindow_Fit(_arg0
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) return NULL
;
1525 } Py_INCREF(Py_None
);
1526 _resultobj
= Py_None
;
1530 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1531 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1556 _resultobj
= Py_BuildValue("s",_ptemp
);
1560 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1561 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1589 wxWindowList
& list
= self
->GetChildren();
1590 return wxPy_ConvertList(&list
, "wxWindow");
1592 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1616 _resultobj
= _result
;
1621 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1622 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) return NULL
;
1645 } _resultobj
= Py_BuildValue("i",_result
);
1649 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1650 static PyObject
*_wrap_wxWindow_GetCharWidth(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_GetCharWidth",_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_GetCharWidth. Expected _wxWindow_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } _resultobj
= Py_BuildValue("i",_result
);
1677 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1678 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) return NULL
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1714 o
= PyInt_FromLong((long) (*_arg1
));
1715 _resultobj
= t_output_helper(_resultobj
, o
);
1719 o
= PyInt_FromLong((long) (*_arg2
));
1720 _resultobj
= t_output_helper(_resultobj
, o
);
1725 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1726 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1730 PyObject
* _argo0
= 0;
1731 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1751 _resultobj
= Py_BuildValue("s",_ptemp
);
1755 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1756 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1760 PyObject
* _argo0
= 0;
1761 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1781 _resultobj
= Py_BuildValue("s",_ptemp
);
1785 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1786 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1790 PyObject
* _argo0
= 0;
1791 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1810 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1811 _resultobj
= Py_BuildValue("s",_ptemp
);
1815 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1816 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1818 wxLayoutConstraints
* _result
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1842 _resultobj
= Py_BuildValue("s",_ptemp
);
1845 _resultobj
= Py_None
;
1850 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1851 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxEvtHandler
* _result
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) return NULL
;
1874 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1878 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1879 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1904 _resultobj
= Py_BuildValue("s",_ptemp
);
1908 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1909 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1913 PyObject
* _argo0
= 0;
1914 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1934 _resultobj
= Py_BuildValue("s",_ptemp
);
1938 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1939 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1943 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1966 static long wxWindow_GetHandle(wxWindow
*self
) {
1967 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1969 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= (long )wxWindow_GetHandle(_arg0
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } _resultobj
= Py_BuildValue("l",_result
);
1996 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1997 static PyObject
*_wrap_wxWindow_GetId(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_GetId",_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_GetId. Expected _wxWindow_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (int )wxWindow_GetId(_arg0
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("i",_result
);
2024 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2025 static PyObject
*_wrap_wxWindow_GetLabel(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_GetLabel",_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_GetLabel. Expected _wxWindow_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2050 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2052 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2061 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2062 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 PyObject
* _obj1
= 0;
2068 char *_kwnames
[] = { "self","label", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2081 _arg1
= wxString_in_helper(_obj1
);
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 wxWindow_SetLabel(_arg0
,*_arg1
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2100 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2101 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2105 PyObject
* _argo0
= 0;
2106 char *_kwnames
[] = { "self", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 _result
= new wxString (wxWindow_GetName(_arg0
));
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) return NULL
;
2126 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2128 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2137 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2138 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2165 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2166 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) return NULL
;
2198 } Py_INCREF(Py_None
);
2199 _resultobj
= Py_None
;
2202 o
= PyInt_FromLong((long) (*_arg1
));
2203 _resultobj
= t_output_helper(_resultobj
, o
);
2207 o
= PyInt_FromLong((long) (*_arg2
));
2208 _resultobj
= t_output_helper(_resultobj
, o
);
2213 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2214 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2244 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) return NULL
;
2268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2269 _resultobj
= Py_BuildValue("s",_ptemp
);
2273 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2274 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self","orientation", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2298 } _resultobj
= Py_BuildValue("i",_result
);
2302 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2303 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2308 PyObject
* _argo0
= 0;
2309 char *_kwnames
[] = { "self","orientation", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } _resultobj
= Py_BuildValue("i",_result
);
2331 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2332 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self","orientation", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2356 } _resultobj
= Py_BuildValue("i",_result
);
2360 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2361 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2368 PyObject
* _argo0
= 0;
2369 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2397 o
= PyInt_FromLong((long) (*_arg1
));
2398 _resultobj
= t_output_helper(_resultobj
, o
);
2402 o
= PyInt_FromLong((long) (*_arg2
));
2403 _resultobj
= t_output_helper(_resultobj
, o
);
2408 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2409 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) return NULL
;
2433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2434 _resultobj
= Py_BuildValue("s",_ptemp
);
2438 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2439 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2447 PyObject
* _argo0
= 0;
2448 PyObject
* _obj1
= 0;
2449 char *_kwnames
[] = { "self","string", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2468 _arg1
= wxString_in_helper(_obj1
);
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) return NULL
;
2478 } Py_INCREF(Py_None
);
2479 _resultobj
= Py_None
;
2482 o
= PyInt_FromLong((long) (*_arg2
));
2483 _resultobj
= t_output_helper(_resultobj
, o
);
2487 o
= PyInt_FromLong((long) (*_arg3
));
2488 _resultobj
= t_output_helper(_resultobj
, o
);
2497 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2498 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2510 wxFont
* _arg6
= (wxFont
*) NULL
;
2511 PyObject
* _argo0
= 0;
2512 PyObject
* _obj1
= 0;
2513 PyObject
* _argo6
= 0;
2514 char *_kwnames
[] = { "self","string","font", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2539 _arg1
= wxString_in_helper(_obj1
);
2544 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } Py_INCREF(Py_None
);
2557 _resultobj
= Py_None
;
2560 o
= PyInt_FromLong((long) (*_arg2
));
2561 _resultobj
= t_output_helper(_resultobj
, o
);
2565 o
= PyInt_FromLong((long) (*_arg3
));
2566 _resultobj
= t_output_helper(_resultobj
, o
);
2570 o
= PyInt_FromLong((long) (*_arg4
));
2571 _resultobj
= t_output_helper(_resultobj
, o
);
2575 o
= PyInt_FromLong((long) (*_arg5
));
2576 _resultobj
= t_output_helper(_resultobj
, o
);
2585 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2586 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2611 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2622 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2623 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) return NULL
;
2647 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2648 _resultobj
= Py_BuildValue("s",_ptemp
);
2652 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2653 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) return NULL
;
2676 } _resultobj
= Py_BuildValue("l",_result
);
2680 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2681 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self","style", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
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_SetWindowStyleFlag. Expected _wxWindow_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } Py_INCREF(Py_None
);
2705 _resultobj
= Py_None
;
2709 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2710 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self","style", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } Py_INCREF(Py_None
);
2734 _resultobj
= Py_None
;
2738 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2739 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","orient", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2768 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
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_Hide. Expected _wxWindow_p.");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (bool )wxWindow_Hide(_arg0
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2796 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2803 PyObject
* _obj1
= 0;
2804 char *_kwnames
[] = { "self","pt", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2818 if (! wxPoint_helper(_obj1
, &_arg1
))
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) return NULL
;
2827 } _resultobj
= Py_BuildValue("i",_result
);
2831 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2832 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 wxWindow_InitDialog(_arg0
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) return NULL
;
2854 } Py_INCREF(Py_None
);
2855 _resultobj
= Py_None
;
2859 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2860 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2887 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2888 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2894 int _arg3
= (int ) 0;
2895 int _arg4
= (int ) 0;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) return NULL
;
2915 } _resultobj
= Py_BuildValue("i",_result
);
2919 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2920 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2927 PyObject
* _obj1
= 0;
2928 char *_kwnames
[] = { "self","pt", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2942 if (! wxPoint_helper(_obj1
, &_arg1
))
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) return NULL
;
2951 } _resultobj
= Py_BuildValue("i",_result
);
2955 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2956 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2961 PyObject
* _argo0
= 0;
2963 PyObject
* _obj1
= 0;
2964 char *_kwnames
[] = { "self","rect", NULL
};
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2978 if (! wxRect_helper(_obj1
, &_arg1
))
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) return NULL
;
2987 } _resultobj
= Py_BuildValue("i",_result
);
2991 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2992 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (bool )wxWindow_IsRetained(_arg0
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("i",_result
);
3019 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3020 static PyObject
*_wrap_wxWindow_IsShown(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_IsShown",_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_IsShown. Expected _wxWindow_p.");
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (bool )wxWindow_IsShown(_arg0
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3047 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3048 static PyObject
*_wrap_wxWindow_IsTopLevel(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_IsTopLevel",_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_IsTopLevel. Expected _wxWindow_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3076 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3079 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 wxWindow_Layout(_arg0
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) return NULL
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3104 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3110 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3111 PyObject
* _argo0
= 0;
3112 PyObject
* _argo1
= 0;
3113 PyObject
* _obj2
= 0;
3114 PyObject
* _argo3
= 0;
3115 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3135 _arg2
= wxString_in_helper(_obj2
);
3140 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3161 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 wxWindow_Lower(_arg0
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3189 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3192 bool _arg1
= (bool ) TRUE
;
3193 PyObject
* _argo0
= 0;
3194 int tempbool1
= (int) TRUE
;
3195 char *_kwnames
[] = { "self","flag", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3207 _arg1
= (bool ) tempbool1
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 wxWindow_MakeModal(_arg0
,_arg1
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } Py_INCREF(Py_None
);
3215 _resultobj
= Py_None
;
3219 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3220 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3225 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3251 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3255 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3256 PyObject
* _argo0
= 0;
3258 PyObject
* _obj1
= 0;
3259 char *_kwnames
[] = { "self","point","flags", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3273 if (! wxPoint_helper(_obj1
, &_arg1
))
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) return NULL
;
3282 } Py_INCREF(Py_None
);
3283 _resultobj
= Py_None
;
3287 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3288 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxEvtHandler
* _result
;
3292 bool _arg1
= (bool ) FALSE
;
3293 PyObject
* _argo0
= 0;
3294 int tempbool1
= (int) FALSE
;
3295 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3307 _arg1
= (bool ) tempbool1
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) return NULL
;
3314 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3318 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3319 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3322 wxEvtHandler
* _arg1
;
3323 PyObject
* _argo0
= 0;
3324 PyObject
* _argo1
= 0;
3325 char *_kwnames
[] = { "self","handler", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 wxWindow_PushEventHandler(_arg0
,_arg1
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) return NULL
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3356 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3360 wxEvtHandler
* _arg1
;
3361 PyObject
* _argo0
= 0;
3362 PyObject
* _argo1
= 0;
3363 char *_kwnames
[] = { "self","handler", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) return NULL
;
3388 } _resultobj
= Py_BuildValue("i",_result
);
3392 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3393 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3400 PyObject
* _argo0
= 0;
3401 PyObject
* _argo1
= 0;
3402 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) return NULL
;
3427 } _resultobj
= Py_BuildValue("i",_result
);
3431 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3432 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3438 PyObject
* _argo0
= 0;
3439 PyObject
* _argo1
= 0;
3441 PyObject
* _obj2
= 0;
3442 char *_kwnames
[] = { "self","menu","pos", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3463 if (! wxPoint_helper(_obj2
, &_arg2
))
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) return NULL
;
3472 } _resultobj
= Py_BuildValue("i",_result
);
3476 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3477 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 wxWindow_Raise(_arg0
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3499 } Py_INCREF(Py_None
);
3500 _resultobj
= Py_None
;
3504 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3505 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 bool _arg1
= (bool ) TRUE
;
3509 wxRect
* _arg2
= (wxRect
*) NULL
;
3510 PyObject
* _argo0
= 0;
3511 int tempbool1
= (int) TRUE
;
3513 PyObject
* _obj2
= 0;
3514 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3526 _arg1
= (bool ) tempbool1
;
3530 if (! wxRect_helper(_obj2
, &_arg2
))
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) return NULL
;
3539 } Py_INCREF(Py_None
);
3540 _resultobj
= Py_None
;
3544 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3545 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3549 PyObject
* _argo0
= 0;
3551 PyObject
* _obj1
= 0;
3552 char *_kwnames
[] = { "self","rect", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3566 if (! wxRect_helper(_obj1
, &_arg1
))
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 wxWindow_RefreshRect(_arg0
,*_arg1
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } Py_INCREF(Py_None
);
3576 _resultobj
= Py_None
;
3580 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3581 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3585 PyObject
* _argo0
= 0;
3586 PyObject
* _argo1
= 0;
3587 char *_kwnames
[] = { "self","child", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 wxWindow_RemoveChild(_arg0
,_arg1
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3618 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3623 PyObject
* _argo0
= 0;
3624 PyObject
* _argo1
= 0;
3625 char *_kwnames
[] = { "self","newParent", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) return NULL
;
3650 } _resultobj
= Py_BuildValue("i",_result
);
3654 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3655 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3660 PyObject
* _argo0
= 0;
3662 PyObject
* _obj1
= 0;
3664 PyObject
* _obj2
= 0;
3665 char *_kwnames
[] = { "self","x","y", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3678 temp
= (int) PyInt_AsLong(_obj1
);
3682 temp0
= (int) PyInt_AsLong(_obj2
);
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) return NULL
;
3691 } Py_INCREF(Py_None
);
3692 _resultobj
= Py_None
;
3695 o
= PyInt_FromLong((long) (*_arg1
));
3696 _resultobj
= t_output_helper(_resultobj
, o
);
3700 o
= PyInt_FromLong((long) (*_arg2
));
3701 _resultobj
= t_output_helper(_resultobj
, o
);
3706 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3707 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3712 PyObject
* _argo0
= 0;
3714 PyObject
* _obj1
= 0;
3715 char *_kwnames
[] = { "self","pt", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3730 if (! wxPoint_helper(_obj1
, &_arg1
))
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3740 _resultobj
= Py_BuildValue("s",_ptemp
);
3744 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3745 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3750 wxRect
* _arg3
= (wxRect
*) NULL
;
3751 PyObject
* _argo0
= 0;
3753 PyObject
* _obj3
= 0;
3754 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3769 if (! wxRect_helper(_obj3
, &_arg3
))
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) return NULL
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3783 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3784 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3788 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self","autoLayout", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3802 _arg1
= (bool ) tempbool1
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) return NULL
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3815 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) return NULL
;
3838 } _resultobj
= Py_BuildValue("i",_result
);
3842 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3843 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3847 PyObject
* _argo0
= 0;
3849 PyObject
* _obj1
= 0;
3850 char *_kwnames
[] = { "self","colour", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3864 if (! wxColour_helper(_obj1
, &_arg1
))
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) return NULL
;
3873 } Py_INCREF(Py_None
);
3874 _resultobj
= Py_None
;
3878 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3879 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxLayoutConstraints
* _arg1
;
3883 PyObject
* _argo0
= 0;
3884 PyObject
* _argo1
= 0;
3885 char *_kwnames
[] = { "self","constraints", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxWindow_SetConstraints(_arg0
,_arg1
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } Py_INCREF(Py_None
);
3911 _resultobj
= Py_None
;
3915 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3916 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxLayoutConstraints
* _arg1
;
3920 PyObject
* _argo0
= 0;
3921 PyObject
* _argo1
= 0;
3922 char *_kwnames
[] = { "self","constraints", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) return NULL
;
3947 } Py_INCREF(Py_None
);
3948 _resultobj
= Py_None
;
3952 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3953 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3956 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "self", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxWindow_SetFocus(_arg0
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) return NULL
;
3975 } Py_INCREF(Py_None
);
3976 _resultobj
= Py_None
;
3980 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3981 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4009 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4013 PyObject
* _argo0
= 0;
4014 PyObject
* _argo1
= 0;
4015 char *_kwnames
[] = { "self","font", NULL
};
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxWindow_SetFont(_arg0
,*_arg1
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) return NULL
;
4040 } Py_INCREF(Py_None
);
4041 _resultobj
= Py_None
;
4045 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4046 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4050 PyObject
* _argo0
= 0;
4052 PyObject
* _obj1
= 0;
4053 char *_kwnames
[] = { "self","colour", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4067 if (! wxColour_helper(_obj1
, &_arg1
))
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) return NULL
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4082 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self","id", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 wxWindow_SetId(_arg0
,_arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) return NULL
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4111 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4116 PyObject
* _obj1
= 0;
4117 char *_kwnames
[] = { "self","name", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4130 _arg1
= wxString_in_helper(_obj1
);
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxWindow_SetName(_arg0
,*_arg1
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) return NULL
;
4140 } Py_INCREF(Py_None
);
4141 _resultobj
= Py_None
;
4149 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4150 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4157 int _arg5
= (int ) TRUE
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) return NULL
;
4177 } Py_INCREF(Py_None
);
4178 _resultobj
= Py_None
;
4182 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4183 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4188 bool _arg3
= (bool ) TRUE
;
4189 PyObject
* _argo0
= 0;
4190 int tempbool3
= (int) TRUE
;
4191 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4203 _arg3
= (bool ) tempbool3
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4210 } Py_INCREF(Py_None
);
4211 _resultobj
= Py_None
;
4215 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4216 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4223 int _arg5
= (int ) wxSIZE_AUTO
;
4224 PyObject
* _argo0
= 0;
4225 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) return NULL
;
4243 } Py_INCREF(Py_None
);
4244 _resultobj
= Py_None
;
4248 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4249 self
->SetSize(size
);
4251 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4255 PyObject
* _argo0
= 0;
4257 PyObject
* _obj1
= 0;
4258 char *_kwnames
[] = { "self","size", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4272 if (! wxSize_helper(_obj1
, &_arg1
))
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 wxWindow_SetSize(_arg0
,*_arg1
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4287 self
->Move(pos
, flags
);
4289 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4294 PyObject
* _argo0
= 0;
4296 PyObject
* _obj1
= 0;
4297 char *_kwnames
[] = { "self","pos","flags", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4311 if (! wxPoint_helper(_obj1
, &_arg1
))
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4326 self
->SetSize(rect
, sizeFlags
);
4328 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4332 int _arg2
= (int ) wxSIZE_AUTO
;
4333 PyObject
* _argo0
= 0;
4335 PyObject
* _obj1
= 0;
4336 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4350 if (! wxRect_helper(_obj1
, &_arg1
))
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) return NULL
;
4359 } Py_INCREF(Py_None
);
4360 _resultobj
= Py_None
;
4364 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4365 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4368 int _arg1
= (int ) -1;
4369 int _arg2
= (int ) -1;
4370 int _arg3
= (int ) -1;
4371 int _arg4
= (int ) -1;
4372 int _arg5
= (int ) -1;
4373 int _arg6
= (int ) -1;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4398 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4399 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self","width","height", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) return NULL
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4428 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4429 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4433 PyObject
* _argo0
= 0;
4435 PyObject
* _obj1
= 0;
4436 char *_kwnames
[] = { "self","size", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4450 if (! wxSize_helper(_obj1
, &_arg1
))
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 wxWindow_SetClientSize(_arg0
,*_arg1
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) return NULL
;
4459 } Py_INCREF(Py_None
);
4460 _resultobj
= Py_None
;
4464 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4465 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4469 PyObject
* _argo0
= 0;
4470 PyObject
* _argo1
= 0;
4471 char *_kwnames
[] = { "self","cursor", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 wxWindow_SetCursor(_arg0
,*_arg1
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4502 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4505 wxEvtHandler
* _arg1
;
4506 PyObject
* _argo0
= 0;
4507 PyObject
* _argo1
= 0;
4508 char *_kwnames
[] = { "self","handler", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 wxWindow_SetEventHandler(_arg0
,_arg1
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) return NULL
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4538 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4539 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4543 PyObject
* _argo0
= 0;
4544 char *_kwnames
[] = { "self","exStyle", NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) return NULL
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4568 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4572 PyObject
* _argo0
= 0;
4573 PyObject
* _obj1
= 0;
4574 char *_kwnames
[] = { "self","title", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4587 _arg1
= wxString_in_helper(_obj1
);
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 wxWindow_SetTitle(_arg0
,*_arg1
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) return NULL
;
4597 } Py_INCREF(Py_None
);
4598 _resultobj
= Py_None
;
4606 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4607 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4611 bool _arg1
= (bool ) TRUE
;
4612 PyObject
* _argo0
= 0;
4613 int tempbool1
= (int) TRUE
;
4614 char *_kwnames
[] = { "self","show", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4626 _arg1
= (bool ) tempbool1
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } _resultobj
= Py_BuildValue("i",_result
);
4637 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4638 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4642 PyObject
* _argo0
= 0;
4643 char *_kwnames
[] = { "self", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } _resultobj
= Py_BuildValue("i",_result
);
4665 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4666 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4671 char *_kwnames
[] = { "self", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4689 } _resultobj
= Py_BuildValue("i",_result
);
4693 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4694 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4697 PyObject
* _argo0
= 0;
4698 char *_kwnames
[] = { "self", NULL
};
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxWindow_UpdateWindowUI(_arg0
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 } Py_INCREF(Py_None
);
4717 _resultobj
= Py_None
;
4721 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4722 static PyObject
*_wrap_wxWindow_Validate(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_Validate",_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_Validate. Expected _wxWindow_p.");
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 _result
= (bool )wxWindow_Validate(_arg0
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } _resultobj
= Py_BuildValue("i",_result
);
4749 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4750 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4757 PyObject
* _obj1
= 0;
4758 char *_kwnames
[] = { "self","pt", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4773 if (! wxPoint_helper(_obj1
, &_arg1
))
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) return NULL
;
4782 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4783 _resultobj
= Py_BuildValue("s",_ptemp
);
4787 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4788 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4793 PyObject
* _argo0
= 0;
4795 PyObject
* _obj1
= 0;
4796 char *_kwnames
[] = { "self","sz", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4811 if (! wxSize_helper(_obj1
, &_arg1
))
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) return NULL
;
4820 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4821 _resultobj
= Py_BuildValue("s",_ptemp
);
4825 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4826 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4831 PyObject
* _argo0
= 0;
4833 PyObject
* _obj1
= 0;
4834 char *_kwnames
[] = { "self","pt", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4849 if (! wxPoint_helper(_obj1
, &_arg1
))
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4859 _resultobj
= Py_BuildValue("s",_ptemp
);
4863 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4864 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4869 PyObject
* _argo0
= 0;
4871 PyObject
* _obj1
= 0;
4872 char *_kwnames
[] = { "self","sz", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4887 if (! wxSize_helper(_obj1
, &_arg1
))
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) return NULL
;
4896 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4897 _resultobj
= Py_BuildValue("s",_ptemp
);
4901 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4902 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4906 PyObject
* _argo0
= 0;
4907 PyObject
* _obj1
= 0;
4908 char *_kwnames
[] = { "self","tip", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4921 _arg1
= wxString_in_helper(_obj1
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) return NULL
;
4931 } Py_INCREF(Py_None
);
4932 _resultobj
= Py_None
;
4940 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4941 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4945 PyObject
* _argo0
= 0;
4946 PyObject
* _argo1
= 0;
4947 char *_kwnames
[] = { "self","tooltip", NULL
};
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 wxWindow_SetToolTip(_arg0
,_arg1
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) return NULL
;
4972 } Py_INCREF(Py_None
);
4973 _resultobj
= Py_None
;
4977 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4978 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4980 wxToolTip
* _result
;
4982 PyObject
* _argo0
= 0;
4983 char *_kwnames
[] = { "self", NULL
};
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5005 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5006 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5010 bool _arg2
= (bool ) TRUE
;
5011 PyObject
* _argo0
= 0;
5012 PyObject
* _argo1
= 0;
5013 int tempbool2
= (int) TRUE
;
5014 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5033 _arg2
= (bool ) tempbool2
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) return NULL
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5045 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5046 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5050 PyObject
* _argo0
= 0;
5051 char *_kwnames
[] = { "self", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) return NULL
;
5069 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5073 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5074 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5078 PyObject
* _argo0
= 0;
5079 PyObject
* _argo1
= 0;
5080 char *_kwnames
[] = { "self","sizer", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) return NULL
;
5105 } Py_INCREF(Py_None
);
5106 _resultobj
= Py_None
;
5110 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5111 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5115 PyObject
* _argo0
= 0;
5116 char *_kwnames
[] = { "self", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) return NULL
;
5134 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5138 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5139 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5141 wxValidator
* _result
;
5143 PyObject
* _argo0
= 0;
5144 char *_kwnames
[] = { "self", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5162 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5166 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5167 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5170 wxValidator
* _arg1
;
5171 PyObject
* _argo0
= 0;
5172 PyObject
* _argo1
= 0;
5173 char *_kwnames
[] = { "self","validator", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 wxWindow_SetValidator(_arg0
,*_arg1
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) return NULL
;
5198 } Py_INCREF(Py_None
);
5199 _resultobj
= Py_None
;
5203 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5204 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) return NULL
;
5228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5229 _resultobj
= Py_BuildValue("s",_ptemp
);
5233 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5234 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 char *_kwnames
[] = { "self", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5259 _resultobj
= Py_BuildValue("s",_ptemp
);
5263 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5264 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 PyObject
* _argo1
= 0;
5270 char *_kwnames
[] = { "self","caret", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 wxWindow_SetCaret(_arg0
,_arg1
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) return NULL
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5301 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5305 PyObject
* _argo0
= 0;
5306 char *_kwnames
[] = { "self", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5330 _resultobj
= Py_None
;
5335 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5336 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxWindow_Freeze(_arg0
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5364 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_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_Thaw. Expected _wxWindow_p.");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 wxWindow_Thaw(_arg0
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5386 } Py_INCREF(Py_None
);
5387 _resultobj
= Py_None
;
5391 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5392 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "self", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxWindow_Update(_arg0
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) return NULL
;
5414 } Py_INCREF(Py_None
);
5415 _resultobj
= Py_None
;
5419 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5420 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
* _resultobj
;
5424 PyObject
* _argo0
= 0;
5425 char *_kwnames
[] = { "self", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5445 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5447 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5456 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5457 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
* _resultobj
;
5461 PyObject
* _argo0
= 0;
5462 PyObject
* _obj1
= 0;
5463 char *_kwnames
[] = { "self","helpText", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5476 _arg1
= wxString_in_helper(_obj1
);
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 wxWindow_SetHelpText(_arg0
,*_arg1
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5486 } Py_INCREF(Py_None
);
5487 _resultobj
= Py_None
;
5495 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5496 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _obj1
= 0;
5502 char *_kwnames
[] = { "self","text", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5515 _arg1
= wxString_in_helper(_obj1
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) return NULL
;
5525 } Py_INCREF(Py_None
);
5526 _resultobj
= Py_None
;
5534 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5535 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5540 PyObject
* _argo0
= 0;
5541 char *_kwnames
[] = { "self","lines", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) return NULL
;
5559 } _resultobj
= Py_BuildValue("i",_result
);
5563 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5564 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5569 PyObject
* _argo0
= 0;
5570 char *_kwnames
[] = { "self","pages", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) return NULL
;
5588 } _resultobj
= Py_BuildValue("i",_result
);
5592 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5593 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
* _resultobj
;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "self", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (bool )wxWindow_LineUp(_arg0
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5616 } _resultobj
= Py_BuildValue("i",_result
);
5620 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5621 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
* _resultobj
;
5625 PyObject
* _argo0
= 0;
5626 char *_kwnames
[] = { "self", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 _result
= (bool )wxWindow_LineDown(_arg0
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) return NULL
;
5644 } _resultobj
= Py_BuildValue("i",_result
);
5648 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5649 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5653 PyObject
* _argo0
= 0;
5654 char *_kwnames
[] = { "self", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 _result
= (bool )wxWindow_PageUp(_arg0
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) return NULL
;
5672 } _resultobj
= Py_BuildValue("i",_result
);
5676 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5677 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
* _resultobj
;
5681 PyObject
* _argo0
= 0;
5682 char *_kwnames
[] = { "self", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 _result
= (bool )wxWindow_PageDown(_arg0
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) return NULL
;
5700 } _resultobj
= Py_BuildValue("i",_result
);
5704 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
* _resultobj
;
5707 char *_kwnames
[] = { NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 _result
= (wxWindow
*)wxWindow::FindFocus();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5718 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5722 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5725 char *_kwnames
[] = { NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 _result
= (int )wxWindow::NewControlId();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5736 } _resultobj
= Py_BuildValue("i",_result
);
5740 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5744 char *_kwnames
[] = { "id", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 _result
= (int )wxWindow::NextControlId(_arg0
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) return NULL
;
5755 } _resultobj
= Py_BuildValue("i",_result
);
5759 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5763 char *_kwnames
[] = { "id", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 _result
= (int )wxWindow::PrevControlId(_arg0
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) return NULL
;
5774 } _resultobj
= Py_BuildValue("i",_result
);
5778 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5779 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5782 wxAcceleratorTable
* _arg1
;
5783 PyObject
* _argo0
= 0;
5784 PyObject
* _argo1
= 0;
5785 char *_kwnames
[] = { "self","accel", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
5791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5798 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } Py_INCREF(Py_None
);
5811 _resultobj
= Py_None
;
5815 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5816 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5818 wxAcceleratorTable
* _result
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
5828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) return NULL
;
5841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5842 _resultobj
= Py_BuildValue("s",_ptemp
);
5845 _resultobj
= Py_None
;
5850 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5851 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) return NULL
;
5874 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5878 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5879 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5884 PyObject
* _argo0
= 0;
5885 PyObject
* _argo1
= 0;
5886 char *_kwnames
[] = { "self","btn", NULL
};
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) return NULL
;
5911 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5915 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
5916 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self","x","y", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) return NULL
;
5940 } Py_INCREF(Py_None
);
5941 _resultobj
= Py_None
;
5945 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
5946 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 wxWindow_CaptureMouse(_arg0
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) return NULL
;
5968 } Py_INCREF(Py_None
);
5969 _resultobj
= Py_None
;
5973 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
5974 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
* _resultobj
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxWindow_ReleaseMouse(_arg0
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) return NULL
;
5996 } Py_INCREF(Py_None
);
5997 _resultobj
= Py_None
;
6001 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6004 char *_kwnames
[] = { NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 _result
= (wxWindow
*)wxWindow::GetCapture();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) return NULL
;
6015 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6019 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6020 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6024 PyObject
* _argo0
= 0;
6025 char *_kwnames
[] = { "self", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 _result
= (bool )wxWindow_HasCapture(_arg0
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6043 } _resultobj
= Py_BuildValue("i",_result
);
6047 static void *SwigwxPanelTowxWindow(void *ptr
) {
6050 src
= (wxPanel
*) ptr
;
6051 dest
= (wxWindow
*) src
;
6052 return (void *) dest
;
6055 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6058 src
= (wxPanel
*) ptr
;
6059 dest
= (wxEvtHandler
*) src
;
6060 return (void *) dest
;
6063 static void *SwigwxPanelTowxObject(void *ptr
) {
6066 src
= (wxPanel
*) ptr
;
6067 dest
= (wxObject
*) src
;
6068 return (void *) dest
;
6071 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6072 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
* _resultobj
;
6077 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6078 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6079 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6080 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6081 PyObject
* _argo0
= 0;
6083 PyObject
* _obj2
= 0;
6085 PyObject
* _obj3
= 0;
6086 PyObject
* _obj5
= 0;
6087 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6103 if (! wxPoint_helper(_obj2
, &_arg2
))
6109 if (! wxSize_helper(_obj3
, &_arg3
))
6114 _arg5
= wxString_in_helper(_obj5
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) return NULL
;
6125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6126 _resultobj
= Py_BuildValue("s",_ptemp
);
6129 _resultobj
= Py_None
;
6138 #define new_wxPrePanel() (new wxPanel())
6139 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6142 char *_kwnames
[] = { NULL
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 _result
= (wxPanel
*)new_wxPrePanel();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) return NULL
;
6155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6156 _resultobj
= Py_BuildValue("s",_ptemp
);
6159 _resultobj
= Py_None
;
6164 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6165 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
* _resultobj
;
6171 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6172 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6173 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6174 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6175 PyObject
* _argo0
= 0;
6176 PyObject
* _argo1
= 0;
6178 PyObject
* _obj3
= 0;
6180 PyObject
* _obj4
= 0;
6181 PyObject
* _obj6
= 0;
6182 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6204 if (! wxPoint_helper(_obj3
, &_arg3
))
6210 if (! wxSize_helper(_obj4
, &_arg4
))
6215 _arg6
= wxString_in_helper(_obj6
);
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) return NULL
;
6225 } _resultobj
= Py_BuildValue("i",_result
);
6233 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6234 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
* _resultobj
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self", NULL
};
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 wxPanel_InitDialog(_arg0
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) return NULL
;
6256 } Py_INCREF(Py_None
);
6257 _resultobj
= Py_None
;
6261 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6262 wxScrolledWindow
*src
;
6264 src
= (wxScrolledWindow
*) ptr
;
6265 dest
= (wxPanel
*) src
;
6266 return (void *) dest
;
6269 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6270 wxScrolledWindow
*src
;
6272 src
= (wxScrolledWindow
*) ptr
;
6273 dest
= (wxWindow
*) src
;
6274 return (void *) dest
;
6277 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6278 wxScrolledWindow
*src
;
6280 src
= (wxScrolledWindow
*) ptr
;
6281 dest
= (wxEvtHandler
*) src
;
6282 return (void *) dest
;
6285 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6286 wxScrolledWindow
*src
;
6288 src
= (wxScrolledWindow
*) ptr
;
6289 dest
= (wxObject
*) src
;
6290 return (void *) dest
;
6293 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6294 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6296 wxScrolledWindow
* _result
;
6298 wxWindowID _arg1
= (wxWindowID
) -1;
6299 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6300 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6301 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6302 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6303 PyObject
* _argo0
= 0;
6305 PyObject
* _obj2
= 0;
6307 PyObject
* _obj3
= 0;
6308 PyObject
* _obj5
= 0;
6309 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6325 if (! wxPoint_helper(_obj2
, &_arg2
))
6331 if (! wxSize_helper(_obj3
, &_arg3
))
6336 _arg5
= wxString_in_helper(_obj5
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6348 _resultobj
= Py_BuildValue("s",_ptemp
);
6351 _resultobj
= Py_None
;
6360 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6361 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6363 wxScrolledWindow
* _result
;
6364 char *_kwnames
[] = { NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) return NULL
;
6377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6378 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 _resultobj
= Py_None
;
6386 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6387 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6390 wxScrolledWindow
* _arg0
;
6392 wxWindowID _arg2
= (wxWindowID
) -1;
6393 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6394 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6395 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6396 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6397 PyObject
* _argo0
= 0;
6398 PyObject
* _argo1
= 0;
6400 PyObject
* _obj3
= 0;
6402 PyObject
* _obj4
= 0;
6403 PyObject
* _obj6
= 0;
6404 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6426 if (! wxPoint_helper(_obj3
, &_arg3
))
6432 if (! wxSize_helper(_obj4
, &_arg4
))
6437 _arg6
= wxString_in_helper(_obj6
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) return NULL
;
6447 } _resultobj
= Py_BuildValue("i",_result
);
6455 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6456 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6458 wxScrolledWindow
* _arg0
;
6461 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6476 _arg1
= (bool ) tempbool1
;
6477 _arg2
= (bool ) tempbool2
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) return NULL
;
6484 } Py_INCREF(Py_None
);
6485 _resultobj
= Py_None
;
6489 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6490 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6493 wxScrolledWindow
* _arg0
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self","orient", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) return NULL
;
6514 } _resultobj
= Py_BuildValue("i",_result
);
6518 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6519 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
* _resultobj
;
6521 wxScrolledWindow
* _arg0
;
6526 PyObject
* _argo0
= 0;
6527 char *_kwnames
[] = { "self", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) return NULL
;
6551 } Py_INCREF(Py_None
);
6552 _resultobj
= Py_None
;
6555 o
= PyInt_FromLong((long) (*_arg1
));
6556 _resultobj
= t_output_helper(_resultobj
, o
);
6560 o
= PyInt_FromLong((long) (*_arg2
));
6561 _resultobj
= t_output_helper(_resultobj
, o
);
6566 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6567 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6570 wxScrolledWindow
* _arg0
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) return NULL
;
6590 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6594 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6595 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6597 wxScrolledWindow
* _arg0
;
6602 PyObject
* _argo0
= 0;
6603 char *_kwnames
[] = { "self", NULL
};
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) return NULL
;
6627 } Py_INCREF(Py_None
);
6628 _resultobj
= Py_None
;
6631 o
= PyInt_FromLong((long) (*_arg1
));
6632 _resultobj
= t_output_helper(_resultobj
, o
);
6636 o
= PyInt_FromLong((long) (*_arg2
));
6637 _resultobj
= t_output_helper(_resultobj
, o
);
6642 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6643 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6646 wxScrolledWindow
* _arg0
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6671 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6673 wxScrolledWindow
* _arg0
;
6675 PyObject
* _argo0
= 0;
6676 PyObject
* _argo1
= 0;
6677 char *_kwnames
[] = { "self","dc", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) return NULL
;
6702 } Py_INCREF(Py_None
);
6703 _resultobj
= Py_None
;
6707 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6708 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
* _resultobj
;
6710 wxScrolledWindow
* _arg0
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self","x","y", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } Py_INCREF(Py_None
);
6733 _resultobj
= Py_None
;
6737 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6738 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6740 wxScrolledWindow
* _arg0
;
6745 int _arg5
= (int ) 0;
6746 int _arg6
= (int ) 0;
6747 int _arg7
= (int ) FALSE
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) return NULL
;
6767 } Py_INCREF(Py_None
);
6768 _resultobj
= Py_None
;
6772 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6773 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
* _resultobj
;
6775 wxScrolledWindow
* _arg0
;
6778 PyObject
* _argo0
= 0;
6779 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) return NULL
;
6797 } Py_INCREF(Py_None
);
6798 _resultobj
= Py_None
;
6802 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6803 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
* _resultobj
;
6805 wxScrolledWindow
* _arg0
;
6807 PyObject
* _argo0
= 0;
6808 PyObject
* _argo1
= 0;
6809 char *_kwnames
[] = { "self","window", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) return NULL
;
6834 } Py_INCREF(Py_None
);
6835 _resultobj
= Py_None
;
6839 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6840 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6842 wxScrolledWindow
* _arg0
;
6847 PyObject
* _argo0
= 0;
6848 char *_kwnames
[] = { "self", NULL
};
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) return NULL
;
6872 } Py_INCREF(Py_None
);
6873 _resultobj
= Py_None
;
6876 o
= PyInt_FromLong((long) (*_arg1
));
6877 _resultobj
= t_output_helper(_resultobj
, o
);
6881 o
= PyInt_FromLong((long) (*_arg2
));
6882 _resultobj
= t_output_helper(_resultobj
, o
);
6887 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6888 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
* _resultobj
;
6891 wxScrolledWindow
* _arg0
;
6893 PyObject
* _argo0
= 0;
6895 PyObject
* _obj1
= 0;
6896 char *_kwnames
[] = { "self","pt", NULL
};
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6911 if (! wxPoint_helper(_obj1
, &_arg1
))
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6920 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6921 _resultobj
= Py_BuildValue("s",_ptemp
);
6925 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6926 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6928 wxScrolledWindow
* _arg0
;
6935 PyObject
* _argo0
= 0;
6936 char *_kwnames
[] = { "self","x","y", NULL
};
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) return NULL
;
6960 } Py_INCREF(Py_None
);
6961 _resultobj
= Py_None
;
6964 o
= PyInt_FromLong((long) (*_arg3
));
6965 _resultobj
= t_output_helper(_resultobj
, o
);
6969 o
= PyInt_FromLong((long) (*_arg4
));
6970 _resultobj
= t_output_helper(_resultobj
, o
);
6975 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
6976 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6979 wxScrolledWindow
* _arg0
;
6981 PyObject
* _argo0
= 0;
6983 PyObject
* _obj1
= 0;
6984 char *_kwnames
[] = { "self","pt", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
6999 if (! wxPoint_helper(_obj1
, &_arg1
))
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7009 _resultobj
= Py_BuildValue("s",_ptemp
);
7013 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7014 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7016 wxScrolledWindow
* _arg0
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self","x","y", NULL
};
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) return NULL
;
7048 } Py_INCREF(Py_None
);
7049 _resultobj
= Py_None
;
7052 o
= PyInt_FromLong((long) (*_arg3
));
7053 _resultobj
= t_output_helper(_resultobj
, o
);
7057 o
= PyInt_FromLong((long) (*_arg4
));
7058 _resultobj
= t_output_helper(_resultobj
, o
);
7063 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7064 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7066 wxScrolledWindow
* _arg0
;
7069 PyObject
* _argo0
= 0;
7070 char *_kwnames
[] = { "self","xs","ys", NULL
};
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) return NULL
;
7088 } Py_INCREF(Py_None
);
7089 _resultobj
= Py_None
;
7093 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7094 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
* _resultobj
;
7097 wxScrolledWindow
* _arg0
;
7098 PyObject
* _argo0
= 0;
7099 char *_kwnames
[] = { "self", NULL
};
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) return NULL
;
7117 } _resultobj
= Py_BuildValue("d",_result
);
7121 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7122 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7125 wxScrolledWindow
* _arg0
;
7126 PyObject
* _argo0
= 0;
7127 char *_kwnames
[] = { "self", NULL
};
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) return NULL
;
7145 } _resultobj
= Py_BuildValue("d",_result
);
7149 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7150 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
* _resultobj
;
7152 wxScrolledWindow
* _arg0
;
7153 PyObject
* _argo0
= 0;
7154 char *_kwnames
[] = { "self", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxScrolledWindow_AdjustScrollbars(_arg0
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) return NULL
;
7172 } Py_INCREF(Py_None
);
7173 _resultobj
= Py_None
;
7177 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7178 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
* _resultobj
;
7181 wxScrolledWindow
* _arg0
;
7182 PyObject
* _argo0
= 0;
7183 char *_kwnames
[] = { "self", NULL
};
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) return NULL
;
7201 } _resultobj
= Py_BuildValue("i",_result
);
7205 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7208 src
= (wxMenu
*) ptr
;
7209 dest
= (wxEvtHandler
*) src
;
7210 return (void *) dest
;
7213 static void *SwigwxMenuTowxObject(void *ptr
) {
7216 src
= (wxMenu
*) ptr
;
7217 dest
= (wxObject
*) src
;
7218 return (void *) dest
;
7221 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7222 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
* _resultobj
;
7225 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7226 long _arg1
= (long ) 0;
7227 PyObject
* _obj0
= 0;
7228 char *_kwnames
[] = { "title","style", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7236 _arg0
= wxString_in_helper(_obj0
);
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) return NULL
;
7247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7248 _resultobj
= Py_BuildValue("s",_ptemp
);
7251 _resultobj
= Py_None
;
7260 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7261 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7266 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7267 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7268 PyObject
* _argo0
= 0;
7269 PyObject
* _obj2
= 0;
7270 PyObject
* _obj3
= 0;
7271 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7284 _arg2
= wxString_in_helper(_obj2
);
7290 _arg3
= wxString_in_helper(_obj3
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) return NULL
;
7300 } Py_INCREF(Py_None
);
7301 _resultobj
= Py_None
;
7313 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7314 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7320 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7321 PyObject
* _argo0
= 0;
7322 PyObject
* _obj2
= 0;
7323 PyObject
* _argo3
= 0;
7324 PyObject
* _obj4
= 0;
7325 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7338 _arg2
= wxString_in_helper(_obj2
);
7343 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7351 _arg4
= wxString_in_helper(_obj4
);
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) return NULL
;
7361 } Py_INCREF(Py_None
);
7362 _resultobj
= Py_None
;
7374 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7375 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7379 PyObject
* _argo0
= 0;
7380 PyObject
* _argo1
= 0;
7381 char *_kwnames
[] = { "self","item", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxMenu_AppendItem(_arg0
,_arg1
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7411 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7412 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7417 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7418 PyObject
* _argo0
= 0;
7419 PyObject
* _obj2
= 0;
7420 PyObject
* _obj3
= 0;
7421 char *_kwnames
[] = { "self","id","text","help", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7434 _arg2
= wxString_in_helper(_obj2
);
7440 _arg3
= wxString_in_helper(_obj3
);
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) return NULL
;
7450 } Py_INCREF(Py_None
);
7451 _resultobj
= Py_None
;
7463 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7464 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
* _resultobj
;
7469 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7470 PyObject
* _argo0
= 0;
7471 PyObject
* _obj2
= 0;
7472 PyObject
* _obj3
= 0;
7473 char *_kwnames
[] = { "self","id","text","help", NULL
};
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7486 _arg2
= wxString_in_helper(_obj2
);
7492 _arg3
= wxString_in_helper(_obj3
);
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) return NULL
;
7502 } Py_INCREF(Py_None
);
7503 _resultobj
= Py_None
;
7515 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7516 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7519 PyObject
* _argo0
= 0;
7520 char *_kwnames
[] = { "self", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 wxMenu_AppendSeparator(_arg0
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) return NULL
;
7538 } Py_INCREF(Py_None
);
7539 _resultobj
= Py_None
;
7543 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7544 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7550 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7551 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7552 PyObject
* _argo0
= 0;
7553 PyObject
* _obj3
= 0;
7554 PyObject
* _obj4
= 0;
7555 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7568 _arg3
= wxString_in_helper(_obj3
);
7574 _arg4
= wxString_in_helper(_obj4
);
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) return NULL
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7597 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7598 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7602 PyObject
* _argo0
= 0;
7603 char *_kwnames
[] = { "self","pos", NULL
};
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 wxMenu_InsertSeparator(_arg0
,_arg1
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) return NULL
;
7621 } Py_INCREF(Py_None
);
7622 _resultobj
= Py_None
;
7626 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7627 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7633 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7634 PyObject
* _argo0
= 0;
7635 PyObject
* _obj3
= 0;
7636 PyObject
* _obj4
= 0;
7637 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7650 _arg3
= wxString_in_helper(_obj3
);
7656 _arg4
= wxString_in_helper(_obj4
);
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } Py_INCREF(Py_None
);
7667 _resultobj
= Py_None
;
7679 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7680 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
* _resultobj
;
7686 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7687 PyObject
* _argo0
= 0;
7688 PyObject
* _obj3
= 0;
7689 PyObject
* _obj4
= 0;
7690 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7703 _arg3
= wxString_in_helper(_obj3
);
7709 _arg4
= wxString_in_helper(_obj4
);
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) return NULL
;
7719 } Py_INCREF(Py_None
);
7720 _resultobj
= Py_None
;
7732 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7733 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
* _resultobj
;
7740 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
7741 PyObject
* _argo0
= 0;
7742 PyObject
* _obj3
= 0;
7743 PyObject
* _argo4
= 0;
7744 PyObject
* _obj5
= 0;
7745 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
7751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7758 _arg3
= wxString_in_helper(_obj3
);
7763 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7771 _arg5
= wxString_in_helper(_obj5
);
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) return NULL
;
7781 } Py_INCREF(Py_None
);
7782 _resultobj
= Py_None
;
7794 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7795 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
* _resultobj
;
7801 PyObject
* _argo0
= 0;
7802 PyObject
* _argo2
= 0;
7803 char *_kwnames
[] = { "self","pos","item", NULL
};
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7816 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) return NULL
;
7828 } _resultobj
= Py_BuildValue("i",_result
);
7832 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7833 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7838 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7839 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7840 PyObject
* _argo0
= 0;
7841 PyObject
* _obj2
= 0;
7842 PyObject
* _obj3
= 0;
7843 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7856 _arg2
= wxString_in_helper(_obj2
);
7862 _arg3
= wxString_in_helper(_obj3
);
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) return NULL
;
7872 } Py_INCREF(Py_None
);
7873 _resultobj
= Py_None
;
7885 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7886 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 PyObject
* _argo0
= 0;
7890 char *_kwnames
[] = { "self", NULL
};
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
7896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 wxMenu_PrependSeparator(_arg0
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) return NULL
;
7908 } Py_INCREF(Py_None
);
7909 _resultobj
= Py_None
;
7913 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7914 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7919 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7920 PyObject
* _argo0
= 0;
7921 PyObject
* _obj2
= 0;
7922 PyObject
* _obj3
= 0;
7923 char *_kwnames
[] = { "self","id","text","help", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
7936 _arg2
= wxString_in_helper(_obj2
);
7942 _arg3
= wxString_in_helper(_obj3
);
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) return NULL
;
7952 } Py_INCREF(Py_None
);
7953 _resultobj
= Py_None
;
7965 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
7966 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7971 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7972 PyObject
* _argo0
= 0;
7973 PyObject
* _obj2
= 0;
7974 PyObject
* _obj3
= 0;
7975 char *_kwnames
[] = { "self","id","text","help", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
7988 _arg2
= wxString_in_helper(_obj2
);
7994 _arg3
= wxString_in_helper(_obj3
);
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) return NULL
;
8004 } Py_INCREF(Py_None
);
8005 _resultobj
= Py_None
;
8017 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8018 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
* _resultobj
;
8024 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8025 PyObject
* _argo0
= 0;
8026 PyObject
* _obj2
= 0;
8027 PyObject
* _argo3
= 0;
8028 PyObject
* _obj4
= 0;
8029 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8042 _arg2
= wxString_in_helper(_obj2
);
8047 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8055 _arg4
= wxString_in_helper(_obj4
);
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) return NULL
;
8065 } Py_INCREF(Py_None
);
8066 _resultobj
= Py_None
;
8078 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8079 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
* _resultobj
;
8083 PyObject
* _argo0
= 0;
8084 PyObject
* _argo1
= 0;
8085 char *_kwnames
[] = { "self","item", NULL
};
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8098 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8099 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 wxMenu_PrependItem(_arg0
,_arg1
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) return NULL
;
8110 } Py_INCREF(Py_None
);
8111 _resultobj
= Py_None
;
8115 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8116 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
* _resultobj
;
8119 PyObject
* _argo0
= 0;
8120 char *_kwnames
[] = { "self", NULL
};
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxMenu_Break(_arg0
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) return NULL
;
8138 } Py_INCREF(Py_None
);
8139 _resultobj
= Py_None
;
8143 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8144 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
* _resultobj
;
8149 PyObject
* _argo0
= 0;
8151 char *_kwnames
[] = { "self","id","flag", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8163 _arg2
= (bool ) tempbool2
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) return NULL
;
8170 } Py_INCREF(Py_None
);
8171 _resultobj
= Py_None
;
8175 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8176 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
* _resultobj
;
8181 PyObject
* _argo0
= 0;
8182 char *_kwnames
[] = { "self","id", NULL
};
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) return NULL
;
8200 } _resultobj
= Py_BuildValue("i",_result
);
8204 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8205 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
* _resultobj
;
8210 PyObject
* _argo0
= 0;
8212 char *_kwnames
[] = { "self","id","enable", NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8224 _arg2
= (bool ) tempbool2
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8231 } Py_INCREF(Py_None
);
8232 _resultobj
= Py_None
;
8236 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8237 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
* _resultobj
;
8242 PyObject
* _argo0
= 0;
8243 char *_kwnames
[] = { "self","id", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) return NULL
;
8261 } _resultobj
= Py_BuildValue("i",_result
);
8265 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8266 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 PyObject
* _obj1
= 0;
8273 char *_kwnames
[] = { "self","itemString", NULL
};
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8286 _arg1
= wxString_in_helper(_obj1
);
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) return NULL
;
8296 } _resultobj
= Py_BuildValue("i",_result
);
8304 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8305 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
* _resultobj
;
8307 wxMenuItem
* _result
;
8310 PyObject
* _argo0
= 0;
8311 char *_kwnames
[] = { "self","id", NULL
};
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) return NULL
;
8329 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8333 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8334 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
* _resultobj
;
8338 PyObject
* _argo0
= 0;
8339 char *_kwnames
[] = { "self", NULL
};
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) return NULL
;
8359 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8361 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8370 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8371 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
* _resultobj
;
8375 PyObject
* _argo0
= 0;
8376 PyObject
* _obj1
= 0;
8377 char *_kwnames
[] = { "self","title", NULL
};
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8390 _arg1
= wxString_in_helper(_obj1
);
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxMenu_SetTitle(_arg0
,*_arg1
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) return NULL
;
8400 } Py_INCREF(Py_None
);
8401 _resultobj
= Py_None
;
8409 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8410 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
* _resultobj
;
8415 PyObject
* _argo0
= 0;
8416 char *_kwnames
[] = { "self","id", NULL
};
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) return NULL
;
8436 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8447 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8448 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
* _resultobj
;
8453 PyObject
* _argo0
= 0;
8454 PyObject
* _obj2
= 0;
8455 char *_kwnames
[] = { "self","id","label", NULL
};
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8468 _arg2
= wxString_in_helper(_obj2
);
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) return NULL
;
8478 } Py_INCREF(Py_None
);
8479 _resultobj
= Py_None
;
8487 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8488 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
* _resultobj
;
8493 PyObject
* _argo0
= 0;
8494 char *_kwnames
[] = { "self","id", NULL
};
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) return NULL
;
8514 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8516 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8525 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8526 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
* _resultobj
;
8531 PyObject
* _argo0
= 0;
8532 PyObject
* _obj2
= 0;
8533 char *_kwnames
[] = { "self","id","helpString", NULL
};
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8546 _arg2
= wxString_in_helper(_obj2
);
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) return NULL
;
8556 } Py_INCREF(Py_None
);
8557 _resultobj
= Py_None
;
8565 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8566 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
* _resultobj
;
8569 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8570 PyObject
* _argo0
= 0;
8571 PyObject
* _argo1
= 0;
8572 char *_kwnames
[] = { "self","source", NULL
};
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 wxMenu_UpdateUI(_arg0
,_arg1
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) return NULL
;
8597 } Py_INCREF(Py_None
);
8598 _resultobj
= Py_None
;
8602 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8603 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
* _resultobj
;
8608 PyObject
* _argo0
= 0;
8609 char *_kwnames
[] = { "self","id", NULL
};
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) return NULL
;
8627 } _resultobj
= Py_BuildValue("i",_result
);
8631 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8632 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
* _resultobj
;
8637 PyObject
* _argo0
= 0;
8638 PyObject
* _argo1
= 0;
8639 char *_kwnames
[] = { "self","item", NULL
};
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) return NULL
;
8664 } _resultobj
= Py_BuildValue("i",_result
);
8668 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8669 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
* _resultobj
;
8671 wxMenuItem
* _result
;
8674 PyObject
* _argo0
= 0;
8675 char *_kwnames
[] = { "self","id", NULL
};
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) return NULL
;
8693 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8697 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8698 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
* _resultobj
;
8700 wxMenuItem
* _result
;
8703 PyObject
* _argo0
= 0;
8704 PyObject
* _argo1
= 0;
8705 char *_kwnames
[] = { "self","item", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) return NULL
;
8730 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8734 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8735 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
* _resultobj
;
8738 PyObject
* _argo0
= 0;
8739 char *_kwnames
[] = { "self", NULL
};
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 wxMenu_Destroy(_arg0
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) return NULL
;
8757 } Py_INCREF(Py_None
);
8758 _resultobj
= Py_None
;
8762 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8763 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8768 PyObject
* _argo0
= 0;
8769 char *_kwnames
[] = { "self","id", NULL
};
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8787 } _resultobj
= Py_BuildValue("i",_result
);
8791 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8792 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8797 PyObject
* _argo0
= 0;
8798 PyObject
* _argo1
= 0;
8799 char *_kwnames
[] = { "self","item", NULL
};
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) return NULL
;
8824 } _resultobj
= Py_BuildValue("i",_result
);
8828 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8829 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
* _resultobj
;
8833 PyObject
* _argo0
= 0;
8834 char *_kwnames
[] = { "self", NULL
};
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) return NULL
;
8852 } _resultobj
= Py_BuildValue("i",_result
);
8856 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8857 wxMenuItemList
& list
= self
->GetMenuItems();
8858 return wxPy_ConvertList(&list
, "wxMenuItem");
8860 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
* _resultobj
;
8864 PyObject
* _argo0
= 0;
8865 char *_kwnames
[] = { "self", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) return NULL
;
8884 _resultobj
= _result
;
8889 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8890 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
* _resultobj
;
8893 wxEvtHandler
* _arg1
;
8894 PyObject
* _argo0
= 0;
8895 PyObject
* _argo1
= 0;
8896 char *_kwnames
[] = { "self","handler", NULL
};
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 wxMenu_SetEventHandler(_arg0
,_arg1
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) return NULL
;
8921 } Py_INCREF(Py_None
);
8922 _resultobj
= Py_None
;
8926 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8927 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
* _resultobj
;
8929 wxEvtHandler
* _result
;
8931 PyObject
* _argo0
= 0;
8932 char *_kwnames
[] = { "self", NULL
};
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) return NULL
;
8950 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8954 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8955 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
* _resultobj
;
8959 PyObject
* _argo0
= 0;
8960 PyObject
* _argo1
= 0;
8961 char *_kwnames
[] = { "self","win", NULL
};
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } Py_INCREF(Py_None
);
8987 _resultobj
= Py_None
;
8991 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
8992 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
* _resultobj
;
8996 PyObject
* _argo0
= 0;
8997 char *_kwnames
[] = { "self", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) return NULL
;
9015 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9019 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9020 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
* _resultobj
;
9024 PyObject
* _argo0
= 0;
9025 char *_kwnames
[] = { "self", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 _result
= (long )wxMenu_GetStyle(_arg0
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) return NULL
;
9043 } _resultobj
= Py_BuildValue("l",_result
);
9047 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9048 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
* _resultobj
;
9052 PyObject
* _argo0
= 0;
9053 char *_kwnames
[] = { "self", NULL
};
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 _result
= (bool )wxMenu_IsAttached(_arg0
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) return NULL
;
9071 } _resultobj
= Py_BuildValue("i",_result
);
9075 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9076 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9080 PyObject
* _argo0
= 0;
9081 PyObject
* _argo1
= 0;
9082 char *_kwnames
[] = { "self","parent", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 wxMenu_SetParent(_arg0
,_arg1
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) return NULL
;
9107 } Py_INCREF(Py_None
);
9108 _resultobj
= Py_None
;
9112 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9113 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
* _resultobj
;
9117 PyObject
* _argo0
= 0;
9118 char *_kwnames
[] = { "self", NULL
};
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) return NULL
;
9136 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9140 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9143 src
= (wxMenuBar
*) ptr
;
9144 dest
= (wxWindow
*) src
;
9145 return (void *) dest
;
9148 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9151 src
= (wxMenuBar
*) ptr
;
9152 dest
= (wxEvtHandler
*) src
;
9153 return (void *) dest
;
9156 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9159 src
= (wxMenuBar
*) ptr
;
9160 dest
= (wxObject
*) src
;
9161 return (void *) dest
;
9164 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9165 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9167 wxMenuBar
* _result
;
9168 long _arg0
= (long ) 0;
9169 char *_kwnames
[] = { "style", NULL
};
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) return NULL
;
9182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9183 _resultobj
= Py_BuildValue("s",_ptemp
);
9186 _resultobj
= Py_None
;
9191 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9192 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
* _resultobj
;
9198 PyObject
* _argo0
= 0;
9199 PyObject
* _argo1
= 0;
9200 PyObject
* _obj2
= 0;
9201 char *_kwnames
[] = { "self","menu","title", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9221 _arg2
= wxString_in_helper(_obj2
);
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) return NULL
;
9231 } _resultobj
= Py_BuildValue("i",_result
);
9239 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9240 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
* _resultobj
;
9247 PyObject
* _argo0
= 0;
9248 PyObject
* _argo2
= 0;
9249 PyObject
* _obj3
= 0;
9250 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9263 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9270 _arg3
= wxString_in_helper(_obj3
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) return NULL
;
9280 } _resultobj
= Py_BuildValue("i",_result
);
9288 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9289 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9293 PyObject
* _argo0
= 0;
9294 char *_kwnames
[] = { "self", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) return NULL
;
9312 } _resultobj
= Py_BuildValue("i",_result
);
9316 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9317 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
* _resultobj
;
9322 PyObject
* _argo0
= 0;
9323 char *_kwnames
[] = { "self","pos", NULL
};
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) return NULL
;
9341 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9345 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9346 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9353 PyObject
* _argo0
= 0;
9354 PyObject
* _argo2
= 0;
9355 PyObject
* _obj3
= 0;
9356 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9376 _arg3
= wxString_in_helper(_obj3
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) return NULL
;
9386 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9394 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9395 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
* _resultobj
;
9400 PyObject
* _argo0
= 0;
9401 char *_kwnames
[] = { "self","pos", NULL
};
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) return NULL
;
9419 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9423 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9424 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
* _resultobj
;
9429 PyObject
* _argo0
= 0;
9431 char *_kwnames
[] = { "self","pos","enable", NULL
};
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9443 _arg2
= (bool ) tempbool2
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) return NULL
;
9450 } Py_INCREF(Py_None
);
9451 _resultobj
= Py_None
;
9455 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9456 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
* _resultobj
;
9461 PyObject
* _argo0
= 0;
9462 PyObject
* _obj2
= 0;
9463 char *_kwnames
[] = { "self","pos","label", NULL
};
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9476 _arg2
= wxString_in_helper(_obj2
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) return NULL
;
9486 } Py_INCREF(Py_None
);
9487 _resultobj
= Py_None
;
9495 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9496 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
* _resultobj
;
9501 PyObject
* _argo0
= 0;
9502 char *_kwnames
[] = { "self","pos", NULL
};
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) return NULL
;
9522 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9524 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9533 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9534 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
* _resultobj
;
9539 PyObject
* _argo0
= 0;
9540 PyObject
* _obj1
= 0;
9541 char *_kwnames
[] = { "self","title", NULL
};
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9554 _arg1
= wxString_in_helper(_obj1
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) return NULL
;
9564 } _resultobj
= Py_BuildValue("i",_result
);
9572 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9573 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
* _resultobj
;
9579 PyObject
* _argo0
= 0;
9580 PyObject
* _obj1
= 0;
9581 PyObject
* _obj2
= 0;
9582 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9595 _arg1
= wxString_in_helper(_obj1
);
9600 _arg2
= wxString_in_helper(_obj2
);
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) return NULL
;
9610 } _resultobj
= Py_BuildValue("i",_result
);
9622 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9623 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
* _resultobj
;
9625 wxMenuItem
* _result
;
9628 PyObject
* _argo0
= 0;
9629 char *_kwnames
[] = { "self","id", NULL
};
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) return NULL
;
9647 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9651 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9652 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
* _resultobj
;
9657 PyObject
* _argo0
= 0;
9659 char *_kwnames
[] = { "self","id","enable", NULL
};
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9671 _arg2
= (bool ) tempbool2
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) return NULL
;
9678 } Py_INCREF(Py_None
);
9679 _resultobj
= Py_None
;
9683 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9684 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
* _resultobj
;
9689 PyObject
* _argo0
= 0;
9691 char *_kwnames
[] = { "self","id","check", NULL
};
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9703 _arg2
= (bool ) tempbool2
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) return NULL
;
9710 } Py_INCREF(Py_None
);
9711 _resultobj
= Py_None
;
9715 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9716 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
* _resultobj
;
9721 PyObject
* _argo0
= 0;
9722 char *_kwnames
[] = { "self","id", NULL
};
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) return NULL
;
9740 } _resultobj
= Py_BuildValue("i",_result
);
9744 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9745 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9750 PyObject
* _argo0
= 0;
9751 char *_kwnames
[] = { "self","id", NULL
};
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) return NULL
;
9769 } _resultobj
= Py_BuildValue("i",_result
);
9773 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9774 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
* _resultobj
;
9779 PyObject
* _argo0
= 0;
9780 PyObject
* _obj2
= 0;
9781 char *_kwnames
[] = { "self","id","label", NULL
};
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9794 _arg2
= wxString_in_helper(_obj2
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) return NULL
;
9804 } Py_INCREF(Py_None
);
9805 _resultobj
= Py_None
;
9813 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9814 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
* _resultobj
;
9819 PyObject
* _argo0
= 0;
9820 char *_kwnames
[] = { "self","id", NULL
};
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9840 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9851 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9852 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
* _resultobj
;
9857 PyObject
* _argo0
= 0;
9858 PyObject
* _obj2
= 0;
9859 char *_kwnames
[] = { "self","id","helpString", NULL
};
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9872 _arg2
= wxString_in_helper(_obj2
);
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) return NULL
;
9882 } Py_INCREF(Py_None
);
9883 _resultobj
= Py_None
;
9891 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9892 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
* _resultobj
;
9897 PyObject
* _argo0
= 0;
9898 char *_kwnames
[] = { "self","id", NULL
};
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) return NULL
;
9918 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9929 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9932 src
= (wxMenuItem
*) ptr
;
9933 dest
= (wxObject
*) src
;
9934 return (void *) dest
;
9937 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9938 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
* _resultobj
;
9940 wxMenuItem
* _result
;
9941 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9942 int _arg1
= (int ) wxID_SEPARATOR
;
9943 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9944 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
9945 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
9946 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9947 PyObject
* _argo0
= 0;
9948 PyObject
* _obj2
= 0;
9949 PyObject
* _obj3
= 0;
9950 PyObject
* _argo5
= 0;
9951 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
9958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9966 _arg2
= wxString_in_helper(_obj2
);
9972 _arg3
= wxString_in_helper(_obj3
);
9977 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9978 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) return NULL
;
9990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9991 _resultobj
= Py_BuildValue("s",_ptemp
);
9994 _resultobj
= Py_None
;
10007 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10008 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
* _resultobj
;
10011 wxMenuItem
* _arg0
;
10012 PyObject
* _argo0
= 0;
10013 char *_kwnames
[] = { "self", NULL
};
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) return NULL
;
10031 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10035 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10036 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
* _resultobj
;
10038 wxMenuItem
* _arg0
;
10040 PyObject
* _argo0
= 0;
10041 char *_kwnames
[] = { "self","id", NULL
};
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxMenuItem_SetId(_arg0
,_arg1
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) return NULL
;
10059 } Py_INCREF(Py_None
);
10060 _resultobj
= Py_None
;
10064 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10065 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
* _resultobj
;
10068 wxMenuItem
* _arg0
;
10069 PyObject
* _argo0
= 0;
10070 char *_kwnames
[] = { "self", NULL
};
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 _result
= (int )wxMenuItem_GetId(_arg0
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) return NULL
;
10088 } _resultobj
= Py_BuildValue("i",_result
);
10092 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10093 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
* _resultobj
;
10096 wxMenuItem
* _arg0
;
10097 PyObject
* _argo0
= 0;
10098 char *_kwnames
[] = { "self", NULL
};
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) return NULL
;
10116 } _resultobj
= Py_BuildValue("i",_result
);
10120 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10121 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
* _resultobj
;
10123 wxMenuItem
* _arg0
;
10125 PyObject
* _argo0
= 0;
10126 PyObject
* _obj1
= 0;
10127 char *_kwnames
[] = { "self","str", NULL
};
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10140 _arg1
= wxString_in_helper(_obj1
);
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 wxMenuItem_SetText(_arg0
,*_arg1
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) return NULL
;
10150 } Py_INCREF(Py_None
);
10151 _resultobj
= Py_None
;
10159 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10160 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
* _resultobj
;
10162 wxString
* _result
;
10163 wxMenuItem
* _arg0
;
10164 PyObject
* _argo0
= 0;
10165 char *_kwnames
[] = { "self", NULL
};
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) return NULL
;
10185 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10187 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10196 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10197 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
* _resultobj
;
10199 wxString
* _result
;
10200 wxMenuItem
* _arg0
;
10201 PyObject
* _argo0
= 0;
10202 char *_kwnames
[] = { "self", NULL
};
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10217 _result
= (wxString
*) &_result_ref
;
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) return NULL
;
10223 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10225 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10231 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10232 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
* _resultobj
;
10234 wxItemKind _result
;
10235 wxMenuItem
* _arg0
;
10236 PyObject
* _argo0
= 0;
10237 char *_kwnames
[] = { "self", NULL
};
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) return NULL
;
10255 } _resultobj
= Py_BuildValue("i",_result
);
10259 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10260 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
* _resultobj
;
10262 wxMenuItem
* _arg0
;
10264 PyObject
* _argo0
= 0;
10266 char *_kwnames
[] = { "self","checkable", NULL
};
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10278 _arg1
= (bool ) tempbool1
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) return NULL
;
10285 } Py_INCREF(Py_None
);
10286 _resultobj
= Py_None
;
10290 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10291 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
* _resultobj
;
10294 wxMenuItem
* _arg0
;
10295 PyObject
* _argo0
= 0;
10296 char *_kwnames
[] = { "self", NULL
};
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) return NULL
;
10314 } _resultobj
= Py_BuildValue("i",_result
);
10318 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10319 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
* _resultobj
;
10322 wxMenuItem
* _arg0
;
10323 PyObject
* _argo0
= 0;
10324 char *_kwnames
[] = { "self", NULL
};
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) return NULL
;
10342 } _resultobj
= Py_BuildValue("i",_result
);
10346 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10347 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
* _resultobj
;
10349 wxMenuItem
* _arg0
;
10351 PyObject
* _argo0
= 0;
10352 PyObject
* _argo1
= 0;
10353 char *_kwnames
[] = { "self","menu", NULL
};
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) return NULL
;
10378 } Py_INCREF(Py_None
);
10379 _resultobj
= Py_None
;
10383 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10384 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
* _resultobj
;
10387 wxMenuItem
* _arg0
;
10388 PyObject
* _argo0
= 0;
10389 char *_kwnames
[] = { "self", NULL
};
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) return NULL
;
10407 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10411 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10412 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
* _resultobj
;
10414 wxMenuItem
* _arg0
;
10415 bool _arg1
= (bool ) TRUE
;
10416 PyObject
* _argo0
= 0;
10417 int tempbool1
= (int) TRUE
;
10418 char *_kwnames
[] = { "self","enable", NULL
};
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10430 _arg1
= (bool ) tempbool1
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxMenuItem_Enable(_arg0
,_arg1
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) return NULL
;
10437 } Py_INCREF(Py_None
);
10438 _resultobj
= Py_None
;
10442 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10443 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
* _resultobj
;
10446 wxMenuItem
* _arg0
;
10447 PyObject
* _argo0
= 0;
10448 char *_kwnames
[] = { "self", NULL
};
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) return NULL
;
10466 } _resultobj
= Py_BuildValue("i",_result
);
10470 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10471 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
* _resultobj
;
10473 wxMenuItem
* _arg0
;
10474 bool _arg1
= (bool ) TRUE
;
10475 PyObject
* _argo0
= 0;
10476 int tempbool1
= (int) TRUE
;
10477 char *_kwnames
[] = { "self","check", NULL
};
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10489 _arg1
= (bool ) tempbool1
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 wxMenuItem_Check(_arg0
,_arg1
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) return NULL
;
10496 } Py_INCREF(Py_None
);
10497 _resultobj
= Py_None
;
10501 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10502 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
* _resultobj
;
10505 wxMenuItem
* _arg0
;
10506 PyObject
* _argo0
= 0;
10507 char *_kwnames
[] = { "self", NULL
};
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) return NULL
;
10525 } _resultobj
= Py_BuildValue("i",_result
);
10529 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10530 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
* _resultobj
;
10532 wxMenuItem
* _arg0
;
10533 PyObject
* _argo0
= 0;
10534 char *_kwnames
[] = { "self", NULL
};
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 wxMenuItem_Toggle(_arg0
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) return NULL
;
10552 } Py_INCREF(Py_None
);
10553 _resultobj
= Py_None
;
10557 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10558 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
* _resultobj
;
10560 wxMenuItem
* _arg0
;
10562 PyObject
* _argo0
= 0;
10563 PyObject
* _obj1
= 0;
10564 char *_kwnames
[] = { "self","str", NULL
};
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10577 _arg1
= wxString_in_helper(_obj1
);
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) return NULL
;
10587 } Py_INCREF(Py_None
);
10588 _resultobj
= Py_None
;
10596 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10597 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
* _resultobj
;
10599 wxString
* _result
;
10600 wxMenuItem
* _arg0
;
10601 PyObject
* _argo0
= 0;
10602 char *_kwnames
[] = { "self", NULL
};
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10617 _result
= (wxString
*) &_result_ref
;
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) return NULL
;
10623 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10625 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10631 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10632 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
* _resultobj
;
10634 wxAcceleratorEntry
* _result
;
10635 wxMenuItem
* _arg0
;
10636 PyObject
* _argo0
= 0;
10637 char *_kwnames
[] = { "self", NULL
};
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) return NULL
;
10657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10658 _resultobj
= Py_BuildValue("s",_ptemp
);
10660 Py_INCREF(Py_None
);
10661 _resultobj
= Py_None
;
10666 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10667 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
* _resultobj
;
10669 wxMenuItem
* _arg0
;
10670 wxAcceleratorEntry
* _arg1
;
10671 PyObject
* _argo0
= 0;
10672 PyObject
* _argo1
= 0;
10673 char *_kwnames
[] = { "self","accel", NULL
};
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 wxMenuItem_SetAccel(_arg0
,_arg1
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) return NULL
;
10698 } Py_INCREF(Py_None
);
10699 _resultobj
= Py_None
;
10703 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
* _resultobj
;
10705 wxString
* _result
;
10707 PyObject
* _obj0
= 0;
10708 char *_kwnames
[] = { "text", NULL
};
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10714 _arg0
= wxString_in_helper(_obj0
);
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) return NULL
;
10726 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10728 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10741 static PyMethodDef windowscMethods
[] = {
10742 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11049 * This table is used by the pointer type-checker
11051 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11052 { "_signed_long","_long",0},
11053 { "_wxPrintQuality","_wxCoord",0},
11054 { "_wxPrintQuality","_int",0},
11055 { "_wxPrintQuality","_signed_int",0},
11056 { "_wxPrintQuality","_unsigned_int",0},
11057 { "_wxPrintQuality","_wxWindowID",0},
11058 { "_wxPrintQuality","_uint",0},
11059 { "_wxPrintQuality","_EBool",0},
11060 { "_wxPrintQuality","_size_t",0},
11061 { "_wxPrintQuality","_time_t",0},
11062 { "_byte","_unsigned_char",0},
11063 { "_long","_unsigned_long",0},
11064 { "_long","_signed_long",0},
11065 { "_size_t","_wxCoord",0},
11066 { "_size_t","_wxPrintQuality",0},
11067 { "_size_t","_time_t",0},
11068 { "_size_t","_unsigned_int",0},
11069 { "_size_t","_int",0},
11070 { "_size_t","_wxWindowID",0},
11071 { "_size_t","_uint",0},
11072 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11073 { "_uint","_wxCoord",0},
11074 { "_uint","_wxPrintQuality",0},
11075 { "_uint","_time_t",0},
11076 { "_uint","_size_t",0},
11077 { "_uint","_unsigned_int",0},
11078 { "_uint","_int",0},
11079 { "_uint","_wxWindowID",0},
11080 { "_wxChar","_char",0},
11081 { "_char","_wxChar",0},
11082 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11083 { "_EBool","_wxCoord",0},
11084 { "_EBool","_wxPrintQuality",0},
11085 { "_EBool","_signed_int",0},
11086 { "_EBool","_int",0},
11087 { "_EBool","_wxWindowID",0},
11088 { "_unsigned_long","_long",0},
11089 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11090 { "_signed_int","_wxCoord",0},
11091 { "_signed_int","_wxPrintQuality",0},
11092 { "_signed_int","_EBool",0},
11093 { "_signed_int","_wxWindowID",0},
11094 { "_signed_int","_int",0},
11095 { "_WXTYPE","_short",0},
11096 { "_WXTYPE","_signed_short",0},
11097 { "_WXTYPE","_unsigned_short",0},
11098 { "_unsigned_short","_WXTYPE",0},
11099 { "_unsigned_short","_short",0},
11100 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11101 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11102 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11103 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11104 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11105 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11106 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11107 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11108 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11109 { "_signed_short","_WXTYPE",0},
11110 { "_signed_short","_short",0},
11111 { "_unsigned_char","_byte",0},
11112 { "_unsigned_int","_wxCoord",0},
11113 { "_unsigned_int","_wxPrintQuality",0},
11114 { "_unsigned_int","_time_t",0},
11115 { "_unsigned_int","_size_t",0},
11116 { "_unsigned_int","_uint",0},
11117 { "_unsigned_int","_wxWindowID",0},
11118 { "_unsigned_int","_int",0},
11119 { "_short","_WXTYPE",0},
11120 { "_short","_unsigned_short",0},
11121 { "_short","_signed_short",0},
11122 { "_wxWindowID","_wxCoord",0},
11123 { "_wxWindowID","_wxPrintQuality",0},
11124 { "_wxWindowID","_time_t",0},
11125 { "_wxWindowID","_size_t",0},
11126 { "_wxWindowID","_EBool",0},
11127 { "_wxWindowID","_uint",0},
11128 { "_wxWindowID","_int",0},
11129 { "_wxWindowID","_signed_int",0},
11130 { "_wxWindowID","_unsigned_int",0},
11131 { "_int","_wxCoord",0},
11132 { "_int","_wxPrintQuality",0},
11133 { "_int","_time_t",0},
11134 { "_int","_size_t",0},
11135 { "_int","_EBool",0},
11136 { "_int","_uint",0},
11137 { "_int","_wxWindowID",0},
11138 { "_int","_unsigned_int",0},
11139 { "_int","_signed_int",0},
11140 { "_time_t","_wxCoord",0},
11141 { "_time_t","_wxPrintQuality",0},
11142 { "_time_t","_unsigned_int",0},
11143 { "_time_t","_int",0},
11144 { "_time_t","_wxWindowID",0},
11145 { "_time_t","_uint",0},
11146 { "_time_t","_size_t",0},
11147 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11148 { "_wxCoord","_int",0},
11149 { "_wxCoord","_signed_int",0},
11150 { "_wxCoord","_unsigned_int",0},
11151 { "_wxCoord","_wxWindowID",0},
11152 { "_wxCoord","_uint",0},
11153 { "_wxCoord","_EBool",0},
11154 { "_wxCoord","_size_t",0},
11155 { "_wxCoord","_time_t",0},
11156 { "_wxCoord","_wxPrintQuality",0},
11157 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11158 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11159 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11160 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11161 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11162 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11163 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11164 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11165 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11166 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11169 static PyObject
*SWIG_globals
;
11173 SWIGEXPORT(void) initwindowsc() {
11175 SWIG_globals
= SWIG_newvarlink();
11176 m
= Py_InitModule("windowsc", windowscMethods
);
11177 d
= PyModule_GetDict(m
);
11180 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11181 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);