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 wxPyClientData(_self
));
527 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
529 wxEvtHandler
* _arg0
;
531 PyObject
* _argo0
= 0;
532 PyObject
* _obj1
= 0;
533 char *_kwnames
[] = { "self","_self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
550 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
552 wxPyEndAllowThreads(__tstate
);
553 if (PyErr_Occurred()) return NULL
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
562 src
= (wxValidator
*) ptr
;
563 dest
= (wxEvtHandler
*) src
;
564 return (void *) dest
;
567 static void *SwigwxValidatorTowxObject(void *ptr
) {
570 src
= (wxValidator
*) ptr
;
571 dest
= (wxObject
*) src
;
572 return (void *) dest
;
575 #define new_wxValidator() (new wxValidator())
576 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
578 wxValidator
* _result
;
579 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
587 _result
= (wxValidator
*)new_wxValidator();
589 wxPyEndAllowThreads(__tstate
);
590 if (PyErr_Occurred()) return NULL
;
592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
593 _resultobj
= Py_BuildValue("s",_ptemp
);
596 _resultobj
= Py_None
;
601 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
602 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
604 wxValidator
* _result
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 }{ _resultobj
= wxPyMake_wxObject(_result
); }
629 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
630 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 }{ _resultobj
= wxPyMake_wxObject(_result
); }
657 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
658 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 PyObject
* _argo1
= 0;
664 char *_kwnames
[] = { "self","window", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 wxValidator_SetWindow(_arg0
,_arg1
);
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
689 } Py_INCREF(Py_None
);
690 _resultobj
= Py_None
;
694 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 char *_kwnames
[] = { NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= (bool )wxValidator::IsSilent();
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 int _arg0
= (int ) TRUE
;
715 char *_kwnames
[] = { "doIt", NULL
};
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
722 wxValidator::SetBellOnError(_arg0
);
724 wxPyEndAllowThreads(__tstate
);
725 if (PyErr_Occurred()) return NULL
;
726 } Py_INCREF(Py_None
);
727 _resultobj
= Py_None
;
731 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
734 src
= (wxPyValidator
*) ptr
;
735 dest
= (wxValidator
*) src
;
736 return (void *) dest
;
739 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
742 src
= (wxPyValidator
*) ptr
;
743 dest
= (wxEvtHandler
*) src
;
744 return (void *) dest
;
747 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
750 src
= (wxPyValidator
*) ptr
;
751 dest
= (wxObject
*) src
;
752 return (void *) dest
;
755 #define new_wxPyValidator() (new wxPyValidator())
756 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxPyValidator
* _result
;
759 char *_kwnames
[] = { NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= (wxPyValidator
*)new_wxPyValidator();
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
773 _resultobj
= Py_BuildValue("s",_ptemp
);
776 _resultobj
= Py_None
;
781 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
782 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxPyValidator
* _arg0
;
787 int _arg3
= (int ) TRUE
;
788 PyObject
* _argo0
= 0;
789 PyObject
* _obj1
= 0;
790 PyObject
* _obj2
= 0;
791 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
815 } Py_INCREF(Py_None
);
816 _resultobj
= Py_None
;
820 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
823 src
= (wxWindow
*) ptr
;
824 dest
= (wxEvtHandler
*) src
;
825 return (void *) dest
;
828 static void *SwigwxWindowTowxObject(void *ptr
) {
831 src
= (wxWindow
*) ptr
;
832 dest
= (wxObject
*) src
;
833 return (void *) dest
;
836 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
837 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
842 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
843 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
844 long _arg4
= (long ) 0;
845 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
846 PyObject
* _argo0
= 0;
848 PyObject
* _obj2
= 0;
850 PyObject
* _obj3
= 0;
851 PyObject
* _obj5
= 0;
852 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
868 if (! wxPoint_helper(_obj2
, &_arg2
))
874 if (! wxSize_helper(_obj3
, &_arg3
))
879 _arg5
= wxString_in_helper(_obj5
);
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
891 _resultobj
= Py_BuildValue("s",_ptemp
);
894 _resultobj
= Py_None
;
903 #define new_wxPreWindow() (new wxWindow())
904 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 char *_kwnames
[] = { NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= (wxWindow
*)new_wxPreWindow();
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
924 _resultobj
= Py_None
;
929 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
930 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
936 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
937 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
938 long _arg5
= (long ) 0;
939 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
943 PyObject
* _obj3
= 0;
945 PyObject
* _obj4
= 0;
946 PyObject
* _obj6
= 0;
947 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
969 if (! wxPoint_helper(_obj3
, &_arg3
))
975 if (! wxSize_helper(_obj4
, &_arg4
))
980 _arg6
= wxString_in_helper(_obj6
);
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } _resultobj
= Py_BuildValue("i",_result
);
998 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
999 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxWindow_CaptureMouse(_arg0
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1027 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 int _arg1
= (int ) wxBOTH
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self","direction", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 wxWindow_Center(_arg0
,_arg1
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1056 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 int _arg1
= (int ) wxBOTH
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","direction", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 wxWindow_Centre(_arg0
,_arg1
);
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1085 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 int _arg1
= (int ) wxBOTH
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","direction", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxWindow_CentreOnParent(_arg0
,_arg1
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxWindow_CenterOnParent(_arg0
,_arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 int _arg1
= (int ) wxBOTH
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","direction", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 int _arg1
= (int ) wxBOTH
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self","direction", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1201 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxWindow_Clear(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1229 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1234 PyObject
* _argo0
= 0;
1236 PyObject
* _obj1
= 0;
1238 PyObject
* _obj2
= 0;
1239 char *_kwnames
[] = { "self","x","y", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1252 temp
= (int) PyInt_AsLong(_obj1
);
1256 temp0
= (int) PyInt_AsLong(_obj2
);
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1269 o
= PyInt_FromLong((long) (*_arg1
));
1270 _resultobj
= t_output_helper(_resultobj
, o
);
1274 o
= PyInt_FromLong((long) (*_arg2
));
1275 _resultobj
= t_output_helper(_resultobj
, o
);
1280 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1281 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1286 PyObject
* _argo0
= 0;
1288 PyObject
* _obj1
= 0;
1289 char *_kwnames
[] = { "self","pt", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1304 if (! wxPoint_helper(_obj1
, &_arg1
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1319 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 int _arg1
= (int ) FALSE
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","force", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1348 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 _result
= (bool )wxWindow_Destroy(_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1376 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "self", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 wxWindow_DestroyChildren(_arg0
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) return NULL
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1404 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1432 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1436 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","enable", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1450 _arg1
= (bool ) tempbool1
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxWindow_Enable(_arg0
,_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1463 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","id", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1491 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1492 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1498 PyObject
* _obj1
= 0;
1499 char *_kwnames
[] = { "self","name", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1512 _arg1
= wxString_in_helper(_obj1
);
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1522 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1530 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1531 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1534 PyObject
* _argo0
= 0;
1535 char *_kwnames
[] = { "self", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 wxWindow_Fit(_arg0
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) return NULL
;
1553 } Py_INCREF(Py_None
);
1554 _resultobj
= Py_None
;
1558 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1559 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1588 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1589 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1593 PyObject
* _argo0
= 0;
1594 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1616 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1617 wxWindowList
& list
= self
->GetChildren();
1618 return wxPy_ConvertList(&list
, "wxWindow");
1620 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1644 _resultobj
= _result
;
1649 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1650 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1655 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } _resultobj
= Py_BuildValue("i",_result
);
1677 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1678 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "self", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1706 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1742 o
= PyInt_FromLong((long) (*_arg1
));
1743 _resultobj
= t_output_helper(_resultobj
, o
);
1747 o
= PyInt_FromLong((long) (*_arg2
));
1748 _resultobj
= t_output_helper(_resultobj
, o
);
1753 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1754 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1779 _resultobj
= Py_BuildValue("s",_ptemp
);
1783 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1784 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1809 _resultobj
= Py_BuildValue("s",_ptemp
);
1813 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1814 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1818 PyObject
* _argo0
= 0;
1819 char *_kwnames
[] = { "self", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) return NULL
;
1838 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1839 _resultobj
= Py_BuildValue("s",_ptemp
);
1843 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1844 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1846 wxLayoutConstraints
* _result
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1870 _resultobj
= Py_BuildValue("s",_ptemp
);
1873 _resultobj
= Py_None
;
1878 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1879 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1881 wxEvtHandler
* _result
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) return NULL
;
1902 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1906 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1907 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1932 _resultobj
= Py_BuildValue("s",_ptemp
);
1936 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1937 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) return NULL
;
1961 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1962 _resultobj
= Py_BuildValue("s",_ptemp
);
1966 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1967 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1994 static long wxWindow_GetHandle(wxWindow
*self
) {
1995 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1997 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (long )wxWindow_GetHandle(_arg0
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("l",_result
);
2024 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2025 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (int )wxWindow_GetId(_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2053 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) return NULL
;
2078 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2080 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2089 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2090 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2094 PyObject
* _argo0
= 0;
2095 PyObject
* _obj1
= 0;
2096 char *_kwnames
[] = { "self","label", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2109 _arg1
= wxString_in_helper(_obj1
);
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxWindow_SetLabel(_arg0
,*_arg1
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2128 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2129 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2133 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= new wxString (wxWindow_GetName(_arg0
));
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2154 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2156 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2165 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2166 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) return NULL
;
2189 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2193 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2194 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } Py_INCREF(Py_None
);
2227 _resultobj
= Py_None
;
2230 o
= PyInt_FromLong((long) (*_arg1
));
2231 _resultobj
= t_output_helper(_resultobj
, o
);
2235 o
= PyInt_FromLong((long) (*_arg2
));
2236 _resultobj
= t_output_helper(_resultobj
, o
);
2241 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2242 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2246 PyObject
* _argo0
= 0;
2247 char *_kwnames
[] = { "self", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) return NULL
;
2266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2267 _resultobj
= Py_BuildValue("s",_ptemp
);
2271 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2272 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2302 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2307 PyObject
* _argo0
= 0;
2308 char *_kwnames
[] = { "self","orientation", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } _resultobj
= Py_BuildValue("i",_result
);
2330 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2331 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","orientation", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } _resultobj
= Py_BuildValue("i",_result
);
2359 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2360 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","orientation", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2389 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2425 o
= PyInt_FromLong((long) (*_arg1
));
2426 _resultobj
= t_output_helper(_resultobj
, o
);
2430 o
= PyInt_FromLong((long) (*_arg2
));
2431 _resultobj
= t_output_helper(_resultobj
, o
);
2436 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2437 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) return NULL
;
2461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2462 _resultobj
= Py_BuildValue("s",_ptemp
);
2466 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2467 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2475 PyObject
* _argo0
= 0;
2476 PyObject
* _obj1
= 0;
2477 char *_kwnames
[] = { "self","string", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2496 _arg1
= wxString_in_helper(_obj1
);
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) return NULL
;
2506 } Py_INCREF(Py_None
);
2507 _resultobj
= Py_None
;
2510 o
= PyInt_FromLong((long) (*_arg2
));
2511 _resultobj
= t_output_helper(_resultobj
, o
);
2515 o
= PyInt_FromLong((long) (*_arg3
));
2516 _resultobj
= t_output_helper(_resultobj
, o
);
2525 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2526 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2538 wxFont
* _arg6
= (wxFont
*) NULL
;
2539 PyObject
* _argo0
= 0;
2540 PyObject
* _obj1
= 0;
2541 PyObject
* _argo6
= 0;
2542 char *_kwnames
[] = { "self","string","font", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2567 _arg1
= wxString_in_helper(_obj1
);
2572 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2588 o
= PyInt_FromLong((long) (*_arg2
));
2589 _resultobj
= t_output_helper(_resultobj
, o
);
2593 o
= PyInt_FromLong((long) (*_arg3
));
2594 _resultobj
= t_output_helper(_resultobj
, o
);
2598 o
= PyInt_FromLong((long) (*_arg4
));
2599 _resultobj
= t_output_helper(_resultobj
, o
);
2603 o
= PyInt_FromLong((long) (*_arg5
));
2604 _resultobj
= t_output_helper(_resultobj
, o
);
2613 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2614 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) return NULL
;
2639 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2641 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2650 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2651 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2655 PyObject
* _argo0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2676 _resultobj
= Py_BuildValue("s",_ptemp
);
2680 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2681 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } _resultobj
= Py_BuildValue("l",_result
);
2708 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2709 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self","style", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2738 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self","style", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2767 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self","orient", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2796 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 _result
= (bool )wxWindow_Hide(_arg0
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } _resultobj
= Py_BuildValue("i",_result
);
2823 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2824 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2831 PyObject
* _obj1
= 0;
2832 char *_kwnames
[] = { "self","pt", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2846 if (! wxPoint_helper(_obj1
, &_arg1
))
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) return NULL
;
2855 } _resultobj
= Py_BuildValue("i",_result
);
2859 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2860 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 wxWindow_InitDialog(_arg0
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) return NULL
;
2882 } Py_INCREF(Py_None
);
2883 _resultobj
= Py_None
;
2887 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2888 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } _resultobj
= Py_BuildValue("i",_result
);
2915 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2916 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2922 int _arg3
= (int ) 0;
2923 int _arg4
= (int ) 0;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2947 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2948 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2955 PyObject
* _obj1
= 0;
2956 char *_kwnames
[] = { "self","pt", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2970 if (! wxPoint_helper(_obj1
, &_arg1
))
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) return NULL
;
2979 } _resultobj
= Py_BuildValue("i",_result
);
2983 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2984 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2991 PyObject
* _obj1
= 0;
2992 char *_kwnames
[] = { "self","rect", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3006 if (! wxRect_helper(_obj1
, &_arg1
))
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("i",_result
);
3019 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3020 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (bool )wxWindow_IsRetained(_arg0
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3047 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3048 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxWindow_IsShown(_arg0
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3076 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3099 } _resultobj
= Py_BuildValue("i",_result
);
3103 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3104 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3107 PyObject
* _argo0
= 0;
3108 char *_kwnames
[] = { "self", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 wxWindow_Layout(_arg0
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) return NULL
;
3126 } Py_INCREF(Py_None
);
3127 _resultobj
= Py_None
;
3131 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3132 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3138 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3139 PyObject
* _argo0
= 0;
3140 PyObject
* _argo1
= 0;
3141 PyObject
* _obj2
= 0;
3142 PyObject
* _argo3
= 0;
3143 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3163 _arg2
= wxString_in_helper(_obj2
);
3168 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3180 } _resultobj
= Py_BuildValue("i",_result
);
3188 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3189 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "self", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 wxWindow_Lower(_arg0
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } Py_INCREF(Py_None
);
3212 _resultobj
= Py_None
;
3216 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3217 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3220 bool _arg1
= (bool ) TRUE
;
3221 PyObject
* _argo0
= 0;
3222 int tempbool1
= (int) TRUE
;
3223 char *_kwnames
[] = { "self","flag", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3235 _arg1
= (bool ) tempbool1
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 wxWindow_MakeModal(_arg0
,_arg1
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3248 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3253 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3279 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3283 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3284 PyObject
* _argo0
= 0;
3286 PyObject
* _obj1
= 0;
3287 char *_kwnames
[] = { "self","point","flags", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3301 if (! wxPoint_helper(_obj1
, &_arg1
))
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3316 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxEvtHandler
* _result
;
3320 bool _arg1
= (bool ) FALSE
;
3321 PyObject
* _argo0
= 0;
3322 int tempbool1
= (int) FALSE
;
3323 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3335 _arg1
= (bool ) tempbool1
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3346 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3347 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 wxEvtHandler
* _arg1
;
3351 PyObject
* _argo0
= 0;
3352 PyObject
* _argo1
= 0;
3353 char *_kwnames
[] = { "self","handler", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 wxWindow_PushEventHandler(_arg0
,_arg1
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) return NULL
;
3378 } Py_INCREF(Py_None
);
3379 _resultobj
= Py_None
;
3383 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3384 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3388 wxEvtHandler
* _arg1
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo1
= 0;
3391 char *_kwnames
[] = { "self","handler", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3420 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3421 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3428 PyObject
* _argo0
= 0;
3429 PyObject
* _argo1
= 0;
3430 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3455 } _resultobj
= Py_BuildValue("i",_result
);
3459 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3460 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo1
= 0;
3469 PyObject
* _obj2
= 0;
3470 char *_kwnames
[] = { "self","menu","pos", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3491 if (! wxPoint_helper(_obj2
, &_arg2
))
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } _resultobj
= Py_BuildValue("i",_result
);
3504 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3505 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 PyObject
* _argo0
= 0;
3509 char *_kwnames
[] = { "self", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 wxWindow_Raise(_arg0
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) return NULL
;
3527 } Py_INCREF(Py_None
);
3528 _resultobj
= Py_None
;
3532 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3533 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3536 bool _arg1
= (bool ) TRUE
;
3537 wxRect
* _arg2
= (wxRect
*) NULL
;
3538 PyObject
* _argo0
= 0;
3539 int tempbool1
= (int) TRUE
;
3541 PyObject
* _obj2
= 0;
3542 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3554 _arg1
= (bool ) tempbool1
;
3558 if (! wxRect_helper(_obj2
, &_arg2
))
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3567 } Py_INCREF(Py_None
);
3568 _resultobj
= Py_None
;
3572 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3573 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3577 PyObject
* _argo0
= 0;
3579 PyObject
* _obj1
= 0;
3580 char *_kwnames
[] = { "self","rect", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3594 if (! wxRect_helper(_obj1
, &_arg1
))
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 wxWindow_RefreshRect(_arg0
,*_arg1
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3603 } Py_INCREF(Py_None
);
3604 _resultobj
= Py_None
;
3608 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3609 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 PyObject
* _argo0
= 0;
3613 char *_kwnames
[] = { "self", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 wxWindow_ReleaseMouse(_arg0
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) return NULL
;
3631 } Py_INCREF(Py_None
);
3632 _resultobj
= Py_None
;
3636 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3637 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3641 PyObject
* _argo0
= 0;
3642 PyObject
* _argo1
= 0;
3643 char *_kwnames
[] = { "self","child", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 wxWindow_RemoveChild(_arg0
,_arg1
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) return NULL
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3673 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3674 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3679 PyObject
* _argo0
= 0;
3680 PyObject
* _argo1
= 0;
3681 char *_kwnames
[] = { "self","newParent", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) return NULL
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3711 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3716 PyObject
* _argo0
= 0;
3718 PyObject
* _obj1
= 0;
3720 PyObject
* _obj2
= 0;
3721 char *_kwnames
[] = { "self","x","y", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3734 temp
= (int) PyInt_AsLong(_obj1
);
3738 temp0
= (int) PyInt_AsLong(_obj2
);
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3747 } Py_INCREF(Py_None
);
3748 _resultobj
= Py_None
;
3751 o
= PyInt_FromLong((long) (*_arg1
));
3752 _resultobj
= t_output_helper(_resultobj
, o
);
3756 o
= PyInt_FromLong((long) (*_arg2
));
3757 _resultobj
= t_output_helper(_resultobj
, o
);
3762 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3763 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3768 PyObject
* _argo0
= 0;
3770 PyObject
* _obj1
= 0;
3771 char *_kwnames
[] = { "self","pt", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3786 if (! wxPoint_helper(_obj1
, &_arg1
))
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3795 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3796 _resultobj
= Py_BuildValue("s",_ptemp
);
3800 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3801 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3806 wxRect
* _arg3
= (wxRect
*) NULL
;
3807 PyObject
* _argo0
= 0;
3809 PyObject
* _obj3
= 0;
3810 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3825 if (! wxRect_helper(_obj3
, &_arg3
))
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) return NULL
;
3834 } Py_INCREF(Py_None
);
3835 _resultobj
= Py_None
;
3839 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3840 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3844 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self","autoLayout", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3858 _arg1
= (bool ) tempbool1
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3871 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3899 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3903 PyObject
* _argo0
= 0;
3905 PyObject
* _obj1
= 0;
3906 char *_kwnames
[] = { "self","colour", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3920 if (! wxColour_helper(_obj1
, &_arg1
))
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3935 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3938 wxLayoutConstraints
* _arg1
;
3939 PyObject
* _argo0
= 0;
3940 PyObject
* _argo1
= 0;
3941 char *_kwnames
[] = { "self","constraints", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxWindow_SetConstraints(_arg0
,_arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3966 } Py_INCREF(Py_None
);
3967 _resultobj
= Py_None
;
3971 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3972 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3975 wxLayoutConstraints
* _arg1
;
3976 PyObject
* _argo0
= 0;
3977 PyObject
* _argo1
= 0;
3978 char *_kwnames
[] = { "self","constraints", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4003 } Py_INCREF(Py_None
);
4004 _resultobj
= Py_None
;
4008 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4009 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 wxWindow_SetFocus(_arg0
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 } Py_INCREF(Py_None
);
4032 _resultobj
= Py_None
;
4036 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4037 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4065 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 PyObject
* _argo1
= 0;
4071 char *_kwnames
[] = { "self","font", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxWindow_SetFont(_arg0
,*_arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4102 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4108 PyObject
* _obj1
= 0;
4109 char *_kwnames
[] = { "self","colour", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4123 if (! wxColour_helper(_obj1
, &_arg1
))
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) return NULL
;
4132 } Py_INCREF(Py_None
);
4133 _resultobj
= Py_None
;
4137 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4138 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4142 PyObject
* _argo0
= 0;
4143 char *_kwnames
[] = { "self","id", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 wxWindow_SetId(_arg0
,_arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) return NULL
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4166 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4167 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 PyObject
* _obj1
= 0;
4173 char *_kwnames
[] = { "self","name", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4186 _arg1
= wxString_in_helper(_obj1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxWindow_SetName(_arg0
,*_arg1
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) return NULL
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4205 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4206 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
* _resultobj
;
4213 int _arg5
= (int ) TRUE
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4233 } Py_INCREF(Py_None
);
4234 _resultobj
= Py_None
;
4238 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4239 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4244 bool _arg3
= (bool ) TRUE
;
4245 PyObject
* _argo0
= 0;
4246 int tempbool3
= (int) TRUE
;
4247 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4259 _arg3
= (bool ) tempbool3
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) return NULL
;
4266 } Py_INCREF(Py_None
);
4267 _resultobj
= Py_None
;
4271 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4272 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4279 int _arg5
= (int ) wxSIZE_AUTO
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4305 self
->SetSize(size
);
4307 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4311 PyObject
* _argo0
= 0;
4313 PyObject
* _obj1
= 0;
4314 char *_kwnames
[] = { "self","size", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4328 if (! wxSize_helper(_obj1
, &_arg1
))
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 wxWindow_SetSize(_arg0
,*_arg1
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) return NULL
;
4337 } Py_INCREF(Py_None
);
4338 _resultobj
= Py_None
;
4342 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4343 self
->Move(pos
, flags
);
4345 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4349 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4350 PyObject
* _argo0
= 0;
4352 PyObject
* _obj1
= 0;
4353 char *_kwnames
[] = { "self","pos","flags", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4367 if (! wxPoint_helper(_obj1
, &_arg1
))
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) return NULL
;
4376 } Py_INCREF(Py_None
);
4377 _resultobj
= Py_None
;
4381 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4382 self
->SetSize(rect
, sizeFlags
);
4384 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4388 int _arg2
= (int ) wxSIZE_AUTO
;
4389 PyObject
* _argo0
= 0;
4391 PyObject
* _obj1
= 0;
4392 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4406 if (! wxRect_helper(_obj1
, &_arg1
))
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4415 } Py_INCREF(Py_None
);
4416 _resultobj
= Py_None
;
4420 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4421 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4424 int _arg1
= (int ) -1;
4425 int _arg2
= (int ) -1;
4426 int _arg3
= (int ) -1;
4427 int _arg4
= (int ) -1;
4428 int _arg5
= (int ) -1;
4429 int _arg6
= (int ) -1;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) return NULL
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4454 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4455 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self","width","height", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4484 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4485 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4491 PyObject
* _obj1
= 0;
4492 char *_kwnames
[] = { "self","size", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4506 if (! wxSize_helper(_obj1
, &_arg1
))
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 wxWindow_SetClientSize(_arg0
,*_arg1
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4515 } Py_INCREF(Py_None
);
4516 _resultobj
= Py_None
;
4520 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4521 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4525 PyObject
* _argo0
= 0;
4526 PyObject
* _argo1
= 0;
4527 char *_kwnames
[] = { "self","cursor", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 wxWindow_SetCursor(_arg0
,*_arg1
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) return NULL
;
4552 } Py_INCREF(Py_None
);
4553 _resultobj
= Py_None
;
4557 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4558 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4561 wxEvtHandler
* _arg1
;
4562 PyObject
* _argo0
= 0;
4563 PyObject
* _argo1
= 0;
4564 char *_kwnames
[] = { "self","handler", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxWindow_SetEventHandler(_arg0
,_arg1
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) return NULL
;
4589 } Py_INCREF(Py_None
);
4590 _resultobj
= Py_None
;
4594 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4595 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self","exStyle", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) return NULL
;
4618 } Py_INCREF(Py_None
);
4619 _resultobj
= Py_None
;
4623 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4624 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4628 PyObject
* _argo0
= 0;
4629 PyObject
* _obj1
= 0;
4630 char *_kwnames
[] = { "self","title", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4643 _arg1
= wxString_in_helper(_obj1
);
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxWindow_SetTitle(_arg0
,*_arg1
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) return NULL
;
4653 } Py_INCREF(Py_None
);
4654 _resultobj
= Py_None
;
4662 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4663 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4667 bool _arg1
= (bool ) TRUE
;
4668 PyObject
* _argo0
= 0;
4669 int tempbool1
= (int) TRUE
;
4670 char *_kwnames
[] = { "self","show", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4682 _arg1
= (bool ) tempbool1
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4689 } _resultobj
= Py_BuildValue("i",_result
);
4693 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4694 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4698 PyObject
* _argo0
= 0;
4699 char *_kwnames
[] = { "self", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4717 } _resultobj
= Py_BuildValue("i",_result
);
4721 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4722 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4726 PyObject
* _argo0
= 0;
4727 char *_kwnames
[] = { "self", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } _resultobj
= Py_BuildValue("i",_result
);
4749 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4750 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4753 PyObject
* _argo0
= 0;
4754 char *_kwnames
[] = { "self", NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxWindow_UpdateWindowUI(_arg0
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } Py_INCREF(Py_None
);
4773 _resultobj
= Py_None
;
4777 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4778 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4782 PyObject
* _argo0
= 0;
4783 char *_kwnames
[] = { "self", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 _result
= (bool )wxWindow_Validate(_arg0
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) return NULL
;
4801 } _resultobj
= Py_BuildValue("i",_result
);
4805 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4806 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4811 PyObject
* _argo0
= 0;
4812 char *_kwnames
[] = { "self","x","y", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) return NULL
;
4830 } Py_INCREF(Py_None
);
4831 _resultobj
= Py_None
;
4835 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4836 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4843 PyObject
* _obj1
= 0;
4844 char *_kwnames
[] = { "self","pt", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4859 if (! wxPoint_helper(_obj1
, &_arg1
))
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) return NULL
;
4868 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4869 _resultobj
= Py_BuildValue("s",_ptemp
);
4873 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4874 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4879 PyObject
* _argo0
= 0;
4881 PyObject
* _obj1
= 0;
4882 char *_kwnames
[] = { "self","sz", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4897 if (! wxSize_helper(_obj1
, &_arg1
))
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4907 _resultobj
= Py_BuildValue("s",_ptemp
);
4911 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4912 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4917 PyObject
* _argo0
= 0;
4919 PyObject
* _obj1
= 0;
4920 char *_kwnames
[] = { "self","pt", NULL
};
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4935 if (! wxPoint_helper(_obj1
, &_arg1
))
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4944 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4945 _resultobj
= Py_BuildValue("s",_ptemp
);
4949 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4950 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4955 PyObject
* _argo0
= 0;
4957 PyObject
* _obj1
= 0;
4958 char *_kwnames
[] = { "self","sz", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4973 if (! wxSize_helper(_obj1
, &_arg1
))
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) return NULL
;
4982 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4983 _resultobj
= Py_BuildValue("s",_ptemp
);
4987 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4988 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4992 PyObject
* _argo0
= 0;
4993 PyObject
* _obj1
= 0;
4994 char *_kwnames
[] = { "self","tip", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5007 _arg1
= wxString_in_helper(_obj1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5026 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5027 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 PyObject
* _argo1
= 0;
5033 char *_kwnames
[] = { "self","tooltip", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxWindow_SetToolTip(_arg0
,_arg1
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) return NULL
;
5058 } Py_INCREF(Py_None
);
5059 _resultobj
= Py_None
;
5063 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5064 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5066 wxToolTip
* _result
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5091 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5092 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5096 bool _arg2
= (bool ) TRUE
;
5097 PyObject
* _argo0
= 0;
5098 PyObject
* _argo1
= 0;
5099 int tempbool2
= (int) TRUE
;
5100 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5119 _arg2
= (bool ) tempbool2
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } Py_INCREF(Py_None
);
5127 _resultobj
= Py_None
;
5131 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5132 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5136 PyObject
* _argo0
= 0;
5137 char *_kwnames
[] = { "self", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5155 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5159 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5160 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5164 PyObject
* _argo0
= 0;
5165 PyObject
* _argo1
= 0;
5166 char *_kwnames
[] = { "self","sizer", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 } Py_INCREF(Py_None
);
5192 _resultobj
= Py_None
;
5196 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5197 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5201 PyObject
* _argo0
= 0;
5202 char *_kwnames
[] = { "self", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) return NULL
;
5220 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5224 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5225 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5227 wxValidator
* _result
;
5229 PyObject
* _argo0
= 0;
5230 char *_kwnames
[] = { "self", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) return NULL
;
5248 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5252 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5253 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
* _resultobj
;
5256 wxValidator
* _arg1
;
5257 PyObject
* _argo0
= 0;
5258 PyObject
* _argo1
= 0;
5259 char *_kwnames
[] = { "self","validator", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxWindow_SetValidator(_arg0
,*_arg1
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) return NULL
;
5284 } Py_INCREF(Py_None
);
5285 _resultobj
= Py_None
;
5289 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5290 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) return NULL
;
5314 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5315 _resultobj
= Py_BuildValue("s",_ptemp
);
5319 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5320 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5324 PyObject
* _argo0
= 0;
5325 char *_kwnames
[] = { "self", NULL
};
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) return NULL
;
5344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5345 _resultobj
= Py_BuildValue("s",_ptemp
);
5349 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5350 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5354 PyObject
* _argo0
= 0;
5355 PyObject
* _argo1
= 0;
5356 char *_kwnames
[] = { "self","caret", NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 wxWindow_SetCaret(_arg0
,_arg1
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) return NULL
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5386 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5387 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
* _resultobj
;
5391 PyObject
* _argo0
= 0;
5392 char *_kwnames
[] = { "self", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) return NULL
;
5412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5413 _resultobj
= Py_BuildValue("s",_ptemp
);
5416 _resultobj
= Py_None
;
5421 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5422 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 wxWindow_Freeze(_arg0
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) return NULL
;
5444 } Py_INCREF(Py_None
);
5445 _resultobj
= Py_None
;
5449 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5450 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5454 char *_kwnames
[] = { "self", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 wxWindow_Thaw(_arg0
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) return NULL
;
5472 } Py_INCREF(Py_None
);
5473 _resultobj
= Py_None
;
5477 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5478 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5481 PyObject
* _argo0
= 0;
5482 char *_kwnames
[] = { "self", NULL
};
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 wxWindow_Update(_arg0
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) return NULL
;
5500 } Py_INCREF(Py_None
);
5501 _resultobj
= Py_None
;
5505 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5506 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5510 PyObject
* _argo0
= 0;
5511 char *_kwnames
[] = { "self", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) return NULL
;
5531 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5542 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5543 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5547 PyObject
* _argo0
= 0;
5548 PyObject
* _obj1
= 0;
5549 char *_kwnames
[] = { "self","helpText", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5562 _arg1
= wxString_in_helper(_obj1
);
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxWindow_SetHelpText(_arg0
,*_arg1
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) return NULL
;
5572 } Py_INCREF(Py_None
);
5573 _resultobj
= Py_None
;
5581 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5582 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5586 PyObject
* _argo0
= 0;
5587 PyObject
* _obj1
= 0;
5588 char *_kwnames
[] = { "self","text", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5601 _arg1
= wxString_in_helper(_obj1
);
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) return NULL
;
5611 } Py_INCREF(Py_None
);
5612 _resultobj
= Py_None
;
5620 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5621 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
* _resultobj
;
5626 PyObject
* _argo0
= 0;
5627 char *_kwnames
[] = { "self","lines", NULL
};
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) return NULL
;
5645 } _resultobj
= Py_BuildValue("i",_result
);
5649 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5650 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5655 PyObject
* _argo0
= 0;
5656 char *_kwnames
[] = { "self","pages", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } _resultobj
= Py_BuildValue("i",_result
);
5678 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5679 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5683 PyObject
* _argo0
= 0;
5684 char *_kwnames
[] = { "self", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 _result
= (bool )wxWindow_LineUp(_arg0
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) return NULL
;
5702 } _resultobj
= Py_BuildValue("i",_result
);
5706 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5707 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 _result
= (bool )wxWindow_LineDown(_arg0
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) return NULL
;
5730 } _resultobj
= Py_BuildValue("i",_result
);
5734 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5735 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5739 PyObject
* _argo0
= 0;
5740 char *_kwnames
[] = { "self", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 _result
= (bool )wxWindow_PageUp(_arg0
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) return NULL
;
5758 } _resultobj
= Py_BuildValue("i",_result
);
5762 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5763 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5767 PyObject
* _argo0
= 0;
5768 char *_kwnames
[] = { "self", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 _result
= (bool )wxWindow_PageDown(_arg0
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) return NULL
;
5786 } _resultobj
= Py_BuildValue("i",_result
);
5790 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5793 char *_kwnames
[] = { NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 _result
= (wxWindow
*)wxWindow::FindFocus();
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) return NULL
;
5804 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5808 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5811 char *_kwnames
[] = { NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= (int )wxWindow::NewControlId();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5822 } _resultobj
= Py_BuildValue("i",_result
);
5826 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
* _resultobj
;
5830 char *_kwnames
[] = { "id", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 _result
= (int )wxWindow::NextControlId(_arg0
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5841 } _resultobj
= Py_BuildValue("i",_result
);
5845 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5849 char *_kwnames
[] = { "id", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 _result
= (int )wxWindow::PrevControlId(_arg0
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) return NULL
;
5860 } _resultobj
= Py_BuildValue("i",_result
);
5864 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5865 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5868 wxAcceleratorTable
* _arg1
;
5869 PyObject
* _argo0
= 0;
5870 PyObject
* _argo1
= 0;
5871 char *_kwnames
[] = { "self","accel", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) return NULL
;
5896 } Py_INCREF(Py_None
);
5897 _resultobj
= Py_None
;
5901 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5902 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5904 wxAcceleratorTable
* _result
;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) return NULL
;
5927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5928 _resultobj
= Py_BuildValue("s",_ptemp
);
5931 _resultobj
= Py_None
;
5936 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5937 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5941 PyObject
* _argo0
= 0;
5942 char *_kwnames
[] = { "self", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) return NULL
;
5960 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5964 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5965 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5970 PyObject
* _argo0
= 0;
5971 PyObject
* _argo1
= 0;
5972 char *_kwnames
[] = { "self","btn", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) return NULL
;
5997 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6001 static void *SwigwxPanelTowxWindow(void *ptr
) {
6004 src
= (wxPanel
*) ptr
;
6005 dest
= (wxWindow
*) src
;
6006 return (void *) dest
;
6009 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6012 src
= (wxPanel
*) ptr
;
6013 dest
= (wxEvtHandler
*) src
;
6014 return (void *) dest
;
6017 static void *SwigwxPanelTowxObject(void *ptr
) {
6020 src
= (wxPanel
*) ptr
;
6021 dest
= (wxObject
*) src
;
6022 return (void *) dest
;
6025 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6026 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6031 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6032 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6033 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6034 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6035 PyObject
* _argo0
= 0;
6037 PyObject
* _obj2
= 0;
6039 PyObject
* _obj3
= 0;
6040 PyObject
* _obj5
= 0;
6041 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6057 if (! wxPoint_helper(_obj2
, &_arg2
))
6063 if (! wxSize_helper(_obj3
, &_arg3
))
6068 _arg5
= wxString_in_helper(_obj5
);
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) return NULL
;
6079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6080 _resultobj
= Py_BuildValue("s",_ptemp
);
6083 _resultobj
= Py_None
;
6092 #define new_wxPrePanel() (new wxPanel())
6093 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6096 char *_kwnames
[] = { NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 _result
= (wxPanel
*)new_wxPrePanel();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) return NULL
;
6109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6110 _resultobj
= Py_BuildValue("s",_ptemp
);
6113 _resultobj
= Py_None
;
6118 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6119 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6125 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6126 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6127 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6128 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6129 PyObject
* _argo0
= 0;
6130 PyObject
* _argo1
= 0;
6132 PyObject
* _obj3
= 0;
6134 PyObject
* _obj4
= 0;
6135 PyObject
* _obj6
= 0;
6136 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6149 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6150 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6158 if (! wxPoint_helper(_obj3
, &_arg3
))
6164 if (! wxSize_helper(_obj4
, &_arg4
))
6169 _arg6
= wxString_in_helper(_obj6
);
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) return NULL
;
6179 } _resultobj
= Py_BuildValue("i",_result
);
6187 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6188 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxPanel_InitDialog(_arg0
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6215 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6216 wxScrolledWindow
*src
;
6218 src
= (wxScrolledWindow
*) ptr
;
6219 dest
= (wxPanel
*) src
;
6220 return (void *) dest
;
6223 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6224 wxScrolledWindow
*src
;
6226 src
= (wxScrolledWindow
*) ptr
;
6227 dest
= (wxWindow
*) src
;
6228 return (void *) dest
;
6231 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6232 wxScrolledWindow
*src
;
6234 src
= (wxScrolledWindow
*) ptr
;
6235 dest
= (wxEvtHandler
*) src
;
6236 return (void *) dest
;
6239 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6240 wxScrolledWindow
*src
;
6242 src
= (wxScrolledWindow
*) ptr
;
6243 dest
= (wxObject
*) src
;
6244 return (void *) dest
;
6247 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6248 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6250 wxScrolledWindow
* _result
;
6252 wxWindowID _arg1
= (wxWindowID
) -1;
6253 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6254 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6255 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6256 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6257 PyObject
* _argo0
= 0;
6259 PyObject
* _obj2
= 0;
6261 PyObject
* _obj3
= 0;
6262 PyObject
* _obj5
= 0;
6263 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6279 if (! wxPoint_helper(_obj2
, &_arg2
))
6285 if (! wxSize_helper(_obj3
, &_arg3
))
6290 _arg5
= wxString_in_helper(_obj5
);
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6302 _resultobj
= Py_BuildValue("s",_ptemp
);
6305 _resultobj
= Py_None
;
6314 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6315 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxScrolledWindow
* _result
;
6318 char *_kwnames
[] = { NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6332 _resultobj
= Py_BuildValue("s",_ptemp
);
6335 _resultobj
= Py_None
;
6340 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6341 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6344 wxScrolledWindow
* _arg0
;
6346 wxWindowID _arg2
= (wxWindowID
) -1;
6347 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6348 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6349 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6350 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6351 PyObject
* _argo0
= 0;
6352 PyObject
* _argo1
= 0;
6354 PyObject
* _obj3
= 0;
6356 PyObject
* _obj4
= 0;
6357 PyObject
* _obj6
= 0;
6358 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6380 if (! wxPoint_helper(_obj3
, &_arg3
))
6386 if (! wxSize_helper(_obj4
, &_arg4
))
6391 _arg6
= wxString_in_helper(_obj6
);
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) return NULL
;
6401 } _resultobj
= Py_BuildValue("i",_result
);
6409 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6410 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6412 wxScrolledWindow
* _arg0
;
6415 PyObject
* _argo0
= 0;
6418 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6430 _arg1
= (bool ) tempbool1
;
6431 _arg2
= (bool ) tempbool2
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) return NULL
;
6438 } Py_INCREF(Py_None
);
6439 _resultobj
= Py_None
;
6443 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6444 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
* _resultobj
;
6447 wxScrolledWindow
* _arg0
;
6449 PyObject
* _argo0
= 0;
6450 char *_kwnames
[] = { "self","orient", NULL
};
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) return NULL
;
6468 } _resultobj
= Py_BuildValue("i",_result
);
6472 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6473 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6475 wxScrolledWindow
* _arg0
;
6480 PyObject
* _argo0
= 0;
6481 char *_kwnames
[] = { "self", NULL
};
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) return NULL
;
6505 } Py_INCREF(Py_None
);
6506 _resultobj
= Py_None
;
6509 o
= PyInt_FromLong((long) (*_arg1
));
6510 _resultobj
= t_output_helper(_resultobj
, o
);
6514 o
= PyInt_FromLong((long) (*_arg2
));
6515 _resultobj
= t_output_helper(_resultobj
, o
);
6520 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6521 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
* _resultobj
;
6524 wxScrolledWindow
* _arg0
;
6525 PyObject
* _argo0
= 0;
6526 char *_kwnames
[] = { "self", NULL
};
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) return NULL
;
6544 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6548 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6549 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6551 wxScrolledWindow
* _arg0
;
6556 PyObject
* _argo0
= 0;
6557 char *_kwnames
[] = { "self", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6581 } Py_INCREF(Py_None
);
6582 _resultobj
= Py_None
;
6585 o
= PyInt_FromLong((long) (*_arg1
));
6586 _resultobj
= t_output_helper(_resultobj
, o
);
6590 o
= PyInt_FromLong((long) (*_arg2
));
6591 _resultobj
= t_output_helper(_resultobj
, o
);
6596 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6597 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6600 wxScrolledWindow
* _arg0
;
6601 PyObject
* _argo0
= 0;
6602 char *_kwnames
[] = { "self", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) return NULL
;
6620 } _resultobj
= Py_BuildValue("i",_result
);
6624 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6625 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6627 wxScrolledWindow
* _arg0
;
6629 PyObject
* _argo0
= 0;
6630 PyObject
* _argo1
= 0;
6631 char *_kwnames
[] = { "self","dc", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) return NULL
;
6656 } Py_INCREF(Py_None
);
6657 _resultobj
= Py_None
;
6661 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6662 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
* _resultobj
;
6664 wxScrolledWindow
* _arg0
;
6667 PyObject
* _argo0
= 0;
6668 char *_kwnames
[] = { "self","x","y", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) return NULL
;
6686 } Py_INCREF(Py_None
);
6687 _resultobj
= Py_None
;
6691 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6692 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6694 wxScrolledWindow
* _arg0
;
6699 int _arg5
= (int ) 0;
6700 int _arg6
= (int ) 0;
6701 int _arg7
= (int ) FALSE
;
6702 PyObject
* _argo0
= 0;
6703 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) return NULL
;
6721 } Py_INCREF(Py_None
);
6722 _resultobj
= Py_None
;
6726 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6727 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6729 wxScrolledWindow
* _arg0
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } Py_INCREF(Py_None
);
6752 _resultobj
= Py_None
;
6756 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6757 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6759 wxScrolledWindow
* _arg0
;
6761 PyObject
* _argo0
= 0;
6762 PyObject
* _argo1
= 0;
6763 char *_kwnames
[] = { "self","window", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) return NULL
;
6788 } Py_INCREF(Py_None
);
6789 _resultobj
= Py_None
;
6793 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6794 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
* _resultobj
;
6796 wxScrolledWindow
* _arg0
;
6801 PyObject
* _argo0
= 0;
6802 char *_kwnames
[] = { "self", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) return NULL
;
6826 } Py_INCREF(Py_None
);
6827 _resultobj
= Py_None
;
6830 o
= PyInt_FromLong((long) (*_arg1
));
6831 _resultobj
= t_output_helper(_resultobj
, o
);
6835 o
= PyInt_FromLong((long) (*_arg2
));
6836 _resultobj
= t_output_helper(_resultobj
, o
);
6841 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6842 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6845 wxScrolledWindow
* _arg0
;
6847 PyObject
* _argo0
= 0;
6849 PyObject
* _obj1
= 0;
6850 char *_kwnames
[] = { "self","pt", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6865 if (! wxPoint_helper(_obj1
, &_arg1
))
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) return NULL
;
6874 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6875 _resultobj
= Py_BuildValue("s",_ptemp
);
6879 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6880 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
* _resultobj
;
6882 wxScrolledWindow
* _arg0
;
6889 PyObject
* _argo0
= 0;
6890 char *_kwnames
[] = { "self","x","y", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6914 } Py_INCREF(Py_None
);
6915 _resultobj
= Py_None
;
6918 o
= PyInt_FromLong((long) (*_arg3
));
6919 _resultobj
= t_output_helper(_resultobj
, o
);
6923 o
= PyInt_FromLong((long) (*_arg4
));
6924 _resultobj
= t_output_helper(_resultobj
, o
);
6929 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
6930 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6933 wxScrolledWindow
* _arg0
;
6935 PyObject
* _argo0
= 0;
6937 PyObject
* _obj1
= 0;
6938 char *_kwnames
[] = { "self","pt", NULL
};
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
6953 if (! wxPoint_helper(_obj1
, &_arg1
))
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) return NULL
;
6962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6963 _resultobj
= Py_BuildValue("s",_ptemp
);
6967 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6968 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6970 wxScrolledWindow
* _arg0
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self","x","y", NULL
};
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) return NULL
;
7002 } Py_INCREF(Py_None
);
7003 _resultobj
= Py_None
;
7006 o
= PyInt_FromLong((long) (*_arg3
));
7007 _resultobj
= t_output_helper(_resultobj
, o
);
7011 o
= PyInt_FromLong((long) (*_arg4
));
7012 _resultobj
= t_output_helper(_resultobj
, o
);
7017 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7018 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7020 wxScrolledWindow
* _arg0
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self","xs","ys", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) return NULL
;
7042 } Py_INCREF(Py_None
);
7043 _resultobj
= Py_None
;
7047 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7048 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7051 wxScrolledWindow
* _arg0
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } _resultobj
= Py_BuildValue("d",_result
);
7075 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7076 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7079 wxScrolledWindow
* _arg0
;
7080 PyObject
* _argo0
= 0;
7081 char *_kwnames
[] = { "self", NULL
};
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) return NULL
;
7099 } _resultobj
= Py_BuildValue("d",_result
);
7103 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7104 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
* _resultobj
;
7106 wxScrolledWindow
* _arg0
;
7107 PyObject
* _argo0
= 0;
7108 char *_kwnames
[] = { "self", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 wxScrolledWindow_AdjustScrollbars(_arg0
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } Py_INCREF(Py_None
);
7127 _resultobj
= Py_None
;
7131 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7132 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7135 wxScrolledWindow
* _arg0
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("i",_result
);
7159 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7162 src
= (wxMenu
*) ptr
;
7163 dest
= (wxEvtHandler
*) src
;
7164 return (void *) dest
;
7167 static void *SwigwxMenuTowxObject(void *ptr
) {
7170 src
= (wxMenu
*) ptr
;
7171 dest
= (wxObject
*) src
;
7172 return (void *) dest
;
7175 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7176 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7179 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7180 long _arg1
= (long ) 0;
7181 PyObject
* _obj0
= 0;
7182 char *_kwnames
[] = { "title","style", NULL
};
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7190 _arg0
= wxString_in_helper(_obj0
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) return NULL
;
7201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7202 _resultobj
= Py_BuildValue("s",_ptemp
);
7205 _resultobj
= Py_None
;
7214 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7215 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7220 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7221 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7222 PyObject
* _argo0
= 0;
7223 PyObject
* _obj2
= 0;
7224 PyObject
* _obj3
= 0;
7225 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7238 _arg2
= wxString_in_helper(_obj2
);
7244 _arg3
= wxString_in_helper(_obj3
);
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } Py_INCREF(Py_None
);
7255 _resultobj
= Py_None
;
7267 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7268 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
* _resultobj
;
7274 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7275 PyObject
* _argo0
= 0;
7276 PyObject
* _obj2
= 0;
7277 PyObject
* _argo3
= 0;
7278 PyObject
* _obj4
= 0;
7279 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7292 _arg2
= wxString_in_helper(_obj2
);
7297 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7305 _arg4
= wxString_in_helper(_obj4
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) return NULL
;
7315 } Py_INCREF(Py_None
);
7316 _resultobj
= Py_None
;
7328 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7329 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 PyObject
* _argo1
= 0;
7335 char *_kwnames
[] = { "self","item", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 wxMenu_AppendItem(_arg0
,_arg1
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) return NULL
;
7360 } Py_INCREF(Py_None
);
7361 _resultobj
= Py_None
;
7365 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7366 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
* _resultobj
;
7371 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7372 PyObject
* _argo0
= 0;
7373 PyObject
* _obj2
= 0;
7374 PyObject
* _obj3
= 0;
7375 char *_kwnames
[] = { "self","id","text","help", NULL
};
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7388 _arg2
= wxString_in_helper(_obj2
);
7394 _arg3
= wxString_in_helper(_obj3
);
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) return NULL
;
7404 } Py_INCREF(Py_None
);
7405 _resultobj
= Py_None
;
7417 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7418 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
* _resultobj
;
7423 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7424 PyObject
* _argo0
= 0;
7425 PyObject
* _obj2
= 0;
7426 PyObject
* _obj3
= 0;
7427 char *_kwnames
[] = { "self","id","text","help", NULL
};
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7440 _arg2
= wxString_in_helper(_obj2
);
7446 _arg3
= wxString_in_helper(_obj3
);
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } Py_INCREF(Py_None
);
7457 _resultobj
= Py_None
;
7469 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7470 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7473 PyObject
* _argo0
= 0;
7474 char *_kwnames
[] = { "self", NULL
};
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 wxMenu_AppendSeparator(_arg0
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) return NULL
;
7492 } Py_INCREF(Py_None
);
7493 _resultobj
= Py_None
;
7497 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7498 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
* _resultobj
;
7504 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7505 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7506 PyObject
* _argo0
= 0;
7507 PyObject
* _obj3
= 0;
7508 PyObject
* _obj4
= 0;
7509 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7522 _arg3
= wxString_in_helper(_obj3
);
7528 _arg4
= wxString_in_helper(_obj4
);
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) return NULL
;
7538 } Py_INCREF(Py_None
);
7539 _resultobj
= Py_None
;
7551 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7552 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
* _resultobj
;
7556 PyObject
* _argo0
= 0;
7557 char *_kwnames
[] = { "self","pos", NULL
};
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 wxMenu_InsertSeparator(_arg0
,_arg1
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) return NULL
;
7575 } Py_INCREF(Py_None
);
7576 _resultobj
= Py_None
;
7580 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7581 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
* _resultobj
;
7587 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7588 PyObject
* _argo0
= 0;
7589 PyObject
* _obj3
= 0;
7590 PyObject
* _obj4
= 0;
7591 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7604 _arg3
= wxString_in_helper(_obj3
);
7610 _arg4
= wxString_in_helper(_obj4
);
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) return NULL
;
7620 } Py_INCREF(Py_None
);
7621 _resultobj
= Py_None
;
7633 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7634 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
* _resultobj
;
7640 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7641 PyObject
* _argo0
= 0;
7642 PyObject
* _obj3
= 0;
7643 PyObject
* _obj4
= 0;
7644 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7657 _arg3
= wxString_in_helper(_obj3
);
7663 _arg4
= wxString_in_helper(_obj4
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) return NULL
;
7673 } Py_INCREF(Py_None
);
7674 _resultobj
= Py_None
;
7686 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7687 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7694 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
7695 PyObject
* _argo0
= 0;
7696 PyObject
* _obj3
= 0;
7697 PyObject
* _argo4
= 0;
7698 PyObject
* _obj5
= 0;
7699 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7712 _arg3
= wxString_in_helper(_obj3
);
7717 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7718 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7725 _arg5
= wxString_in_helper(_obj5
);
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) return NULL
;
7735 } Py_INCREF(Py_None
);
7736 _resultobj
= Py_None
;
7748 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7749 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7755 PyObject
* _argo0
= 0;
7756 PyObject
* _argo2
= 0;
7757 char *_kwnames
[] = { "self","pos","item", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7770 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) return NULL
;
7782 } _resultobj
= Py_BuildValue("i",_result
);
7786 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7787 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
* _resultobj
;
7792 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7793 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7794 PyObject
* _argo0
= 0;
7795 PyObject
* _obj2
= 0;
7796 PyObject
* _obj3
= 0;
7797 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7810 _arg2
= wxString_in_helper(_obj2
);
7816 _arg3
= wxString_in_helper(_obj3
);
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) return NULL
;
7826 } Py_INCREF(Py_None
);
7827 _resultobj
= Py_None
;
7839 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7840 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
* _resultobj
;
7843 PyObject
* _argo0
= 0;
7844 char *_kwnames
[] = { "self", NULL
};
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
7850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 wxMenu_PrependSeparator(_arg0
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) return NULL
;
7862 } Py_INCREF(Py_None
);
7863 _resultobj
= Py_None
;
7867 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7868 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
* _resultobj
;
7873 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7874 PyObject
* _argo0
= 0;
7875 PyObject
* _obj2
= 0;
7876 PyObject
* _obj3
= 0;
7877 char *_kwnames
[] = { "self","id","text","help", NULL
};
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
7890 _arg2
= wxString_in_helper(_obj2
);
7896 _arg3
= wxString_in_helper(_obj3
);
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) return NULL
;
7906 } Py_INCREF(Py_None
);
7907 _resultobj
= Py_None
;
7919 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
7920 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
* _resultobj
;
7925 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7926 PyObject
* _argo0
= 0;
7927 PyObject
* _obj2
= 0;
7928 PyObject
* _obj3
= 0;
7929 char *_kwnames
[] = { "self","id","text","help", NULL
};
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
7942 _arg2
= wxString_in_helper(_obj2
);
7948 _arg3
= wxString_in_helper(_obj3
);
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } Py_INCREF(Py_None
);
7959 _resultobj
= Py_None
;
7971 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7972 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
* _resultobj
;
7978 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7979 PyObject
* _argo0
= 0;
7980 PyObject
* _obj2
= 0;
7981 PyObject
* _argo3
= 0;
7982 PyObject
* _obj4
= 0;
7983 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
7996 _arg2
= wxString_in_helper(_obj2
);
8001 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8002 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8009 _arg4
= wxString_in_helper(_obj4
);
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) return NULL
;
8019 } Py_INCREF(Py_None
);
8020 _resultobj
= Py_None
;
8032 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8033 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8037 PyObject
* _argo0
= 0;
8038 PyObject
* _argo1
= 0;
8039 char *_kwnames
[] = { "self","item", NULL
};
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxMenu_PrependItem(_arg0
,_arg1
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } Py_INCREF(Py_None
);
8065 _resultobj
= Py_None
;
8069 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8070 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8073 PyObject
* _argo0
= 0;
8074 char *_kwnames
[] = { "self", NULL
};
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 wxMenu_Break(_arg0
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) return NULL
;
8092 } Py_INCREF(Py_None
);
8093 _resultobj
= Py_None
;
8097 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8098 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
* _resultobj
;
8103 PyObject
* _argo0
= 0;
8105 char *_kwnames
[] = { "self","id","flag", NULL
};
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8117 _arg2
= (bool ) tempbool2
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) return NULL
;
8124 } Py_INCREF(Py_None
);
8125 _resultobj
= Py_None
;
8129 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8130 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8135 PyObject
* _argo0
= 0;
8136 char *_kwnames
[] = { "self","id", NULL
};
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) return NULL
;
8154 } _resultobj
= Py_BuildValue("i",_result
);
8158 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8159 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
* _resultobj
;
8164 PyObject
* _argo0
= 0;
8166 char *_kwnames
[] = { "self","id","enable", NULL
};
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8178 _arg2
= (bool ) tempbool2
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) return NULL
;
8185 } Py_INCREF(Py_None
);
8186 _resultobj
= Py_None
;
8190 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8191 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self","id", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8215 } _resultobj
= Py_BuildValue("i",_result
);
8219 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8220 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 PyObject
* _obj1
= 0;
8227 char *_kwnames
[] = { "self","itemString", NULL
};
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8240 _arg1
= wxString_in_helper(_obj1
);
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } _resultobj
= Py_BuildValue("i",_result
);
8258 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8259 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
* _resultobj
;
8261 wxMenuItem
* _result
;
8264 PyObject
* _argo0
= 0;
8265 char *_kwnames
[] = { "self","id", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) return NULL
;
8283 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8287 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8288 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8292 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) return NULL
;
8313 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8315 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8324 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8325 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8329 PyObject
* _argo0
= 0;
8330 PyObject
* _obj1
= 0;
8331 char *_kwnames
[] = { "self","title", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8344 _arg1
= wxString_in_helper(_obj1
);
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxMenu_SetTitle(_arg0
,*_arg1
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) return NULL
;
8354 } Py_INCREF(Py_None
);
8355 _resultobj
= Py_None
;
8363 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8364 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
* _resultobj
;
8369 PyObject
* _argo0
= 0;
8370 char *_kwnames
[] = { "self","id", NULL
};
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) return NULL
;
8390 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8392 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8401 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8402 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8407 PyObject
* _argo0
= 0;
8408 PyObject
* _obj2
= 0;
8409 char *_kwnames
[] = { "self","id","label", NULL
};
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8422 _arg2
= wxString_in_helper(_obj2
);
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) return NULL
;
8432 } Py_INCREF(Py_None
);
8433 _resultobj
= Py_None
;
8441 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8442 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
* _resultobj
;
8447 PyObject
* _argo0
= 0;
8448 char *_kwnames
[] = { "self","id", NULL
};
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) return NULL
;
8468 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8470 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8479 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8480 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
* _resultobj
;
8485 PyObject
* _argo0
= 0;
8486 PyObject
* _obj2
= 0;
8487 char *_kwnames
[] = { "self","id","helpString", NULL
};
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8500 _arg2
= wxString_in_helper(_obj2
);
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) return NULL
;
8510 } Py_INCREF(Py_None
);
8511 _resultobj
= Py_None
;
8519 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8520 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
* _resultobj
;
8523 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8524 PyObject
* _argo0
= 0;
8525 PyObject
* _argo1
= 0;
8526 char *_kwnames
[] = { "self","source", NULL
};
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 wxMenu_UpdateUI(_arg0
,_arg1
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) return NULL
;
8551 } Py_INCREF(Py_None
);
8552 _resultobj
= Py_None
;
8556 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8557 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8562 PyObject
* _argo0
= 0;
8563 char *_kwnames
[] = { "self","id", NULL
};
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) return NULL
;
8581 } _resultobj
= Py_BuildValue("i",_result
);
8585 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8586 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
* _resultobj
;
8591 PyObject
* _argo0
= 0;
8592 PyObject
* _argo1
= 0;
8593 char *_kwnames
[] = { "self","item", NULL
};
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) return NULL
;
8618 } _resultobj
= Py_BuildValue("i",_result
);
8622 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8623 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8625 wxMenuItem
* _result
;
8628 PyObject
* _argo0
= 0;
8629 char *_kwnames
[] = { "self","id", NULL
};
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) return NULL
;
8647 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8651 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8652 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
* _resultobj
;
8654 wxMenuItem
* _result
;
8657 PyObject
* _argo0
= 0;
8658 PyObject
* _argo1
= 0;
8659 char *_kwnames
[] = { "self","item", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) return NULL
;
8684 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8688 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8689 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
* _resultobj
;
8692 PyObject
* _argo0
= 0;
8693 char *_kwnames
[] = { "self", NULL
};
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 wxMenu_Destroy(_arg0
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) return NULL
;
8711 } Py_INCREF(Py_None
);
8712 _resultobj
= Py_None
;
8716 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8717 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
* _resultobj
;
8722 PyObject
* _argo0
= 0;
8723 char *_kwnames
[] = { "self","id", NULL
};
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) return NULL
;
8741 } _resultobj
= Py_BuildValue("i",_result
);
8745 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8746 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8751 PyObject
* _argo0
= 0;
8752 PyObject
* _argo1
= 0;
8753 char *_kwnames
[] = { "self","item", NULL
};
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) return NULL
;
8778 } _resultobj
= Py_BuildValue("i",_result
);
8782 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8783 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
* _resultobj
;
8787 PyObject
* _argo0
= 0;
8788 char *_kwnames
[] = { "self", NULL
};
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) return NULL
;
8806 } _resultobj
= Py_BuildValue("i",_result
);
8810 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8811 wxMenuItemList
& list
= self
->GetMenuItems();
8812 return wxPy_ConvertList(&list
, "wxMenuItem");
8814 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
* _resultobj
;
8818 PyObject
* _argo0
= 0;
8819 char *_kwnames
[] = { "self", NULL
};
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) return NULL
;
8838 _resultobj
= _result
;
8843 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8844 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
* _resultobj
;
8847 wxEvtHandler
* _arg1
;
8848 PyObject
* _argo0
= 0;
8849 PyObject
* _argo1
= 0;
8850 char *_kwnames
[] = { "self","handler", NULL
};
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 wxMenu_SetEventHandler(_arg0
,_arg1
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) return NULL
;
8875 } Py_INCREF(Py_None
);
8876 _resultobj
= Py_None
;
8880 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8881 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
* _resultobj
;
8883 wxEvtHandler
* _result
;
8885 PyObject
* _argo0
= 0;
8886 char *_kwnames
[] = { "self", NULL
};
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) return NULL
;
8904 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8908 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8909 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
* _resultobj
;
8913 PyObject
* _argo0
= 0;
8914 PyObject
* _argo1
= 0;
8915 char *_kwnames
[] = { "self","win", NULL
};
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) return NULL
;
8940 } Py_INCREF(Py_None
);
8941 _resultobj
= Py_None
;
8945 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
8946 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
* _resultobj
;
8950 PyObject
* _argo0
= 0;
8951 char *_kwnames
[] = { "self", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8969 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8973 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
8974 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
* _resultobj
;
8978 PyObject
* _argo0
= 0;
8979 char *_kwnames
[] = { "self", NULL
};
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
8985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 _result
= (long )wxMenu_GetStyle(_arg0
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) return NULL
;
8997 } _resultobj
= Py_BuildValue("l",_result
);
9001 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9002 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
* _resultobj
;
9006 PyObject
* _argo0
= 0;
9007 char *_kwnames
[] = { "self", NULL
};
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 _result
= (bool )wxMenu_IsAttached(_arg0
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) return NULL
;
9025 } _resultobj
= Py_BuildValue("i",_result
);
9029 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9030 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9034 PyObject
* _argo0
= 0;
9035 PyObject
* _argo1
= 0;
9036 char *_kwnames
[] = { "self","parent", NULL
};
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 wxMenu_SetParent(_arg0
,_arg1
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) return NULL
;
9061 } Py_INCREF(Py_None
);
9062 _resultobj
= Py_None
;
9066 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9067 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
* _resultobj
;
9071 PyObject
* _argo0
= 0;
9072 char *_kwnames
[] = { "self", NULL
};
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) return NULL
;
9090 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9094 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9097 src
= (wxMenuBar
*) ptr
;
9098 dest
= (wxWindow
*) src
;
9099 return (void *) dest
;
9102 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9105 src
= (wxMenuBar
*) ptr
;
9106 dest
= (wxEvtHandler
*) src
;
9107 return (void *) dest
;
9110 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9113 src
= (wxMenuBar
*) ptr
;
9114 dest
= (wxObject
*) src
;
9115 return (void *) dest
;
9118 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9119 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
* _resultobj
;
9121 wxMenuBar
* _result
;
9122 long _arg0
= (long ) 0;
9123 char *_kwnames
[] = { "style", NULL
};
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) return NULL
;
9136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9137 _resultobj
= Py_BuildValue("s",_ptemp
);
9140 _resultobj
= Py_None
;
9145 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9146 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
* _resultobj
;
9152 PyObject
* _argo0
= 0;
9153 PyObject
* _argo1
= 0;
9154 PyObject
* _obj2
= 0;
9155 char *_kwnames
[] = { "self","menu","title", NULL
};
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9175 _arg2
= wxString_in_helper(_obj2
);
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) return NULL
;
9185 } _resultobj
= Py_BuildValue("i",_result
);
9193 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9194 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
* _resultobj
;
9201 PyObject
* _argo0
= 0;
9202 PyObject
* _argo2
= 0;
9203 PyObject
* _obj3
= 0;
9204 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9217 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9218 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9224 _arg3
= wxString_in_helper(_obj3
);
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) return NULL
;
9234 } _resultobj
= Py_BuildValue("i",_result
);
9242 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9243 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
* _resultobj
;
9247 PyObject
* _argo0
= 0;
9248 char *_kwnames
[] = { "self", NULL
};
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) return NULL
;
9266 } _resultobj
= Py_BuildValue("i",_result
);
9270 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9271 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
* _resultobj
;
9276 PyObject
* _argo0
= 0;
9277 char *_kwnames
[] = { "self","pos", NULL
};
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) return NULL
;
9295 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9299 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9300 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
* _resultobj
;
9307 PyObject
* _argo0
= 0;
9308 PyObject
* _argo2
= 0;
9309 PyObject
* _obj3
= 0;
9310 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9323 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9324 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9330 _arg3
= wxString_in_helper(_obj3
);
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) return NULL
;
9340 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9348 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9349 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
* _resultobj
;
9354 PyObject
* _argo0
= 0;
9355 char *_kwnames
[] = { "self","pos", NULL
};
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) return NULL
;
9373 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9377 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9378 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
* _resultobj
;
9383 PyObject
* _argo0
= 0;
9385 char *_kwnames
[] = { "self","pos","enable", NULL
};
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9397 _arg2
= (bool ) tempbool2
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) return NULL
;
9404 } Py_INCREF(Py_None
);
9405 _resultobj
= Py_None
;
9409 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9410 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
* _resultobj
;
9415 PyObject
* _argo0
= 0;
9416 PyObject
* _obj2
= 0;
9417 char *_kwnames
[] = { "self","pos","label", NULL
};
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9430 _arg2
= wxString_in_helper(_obj2
);
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) return NULL
;
9440 } Py_INCREF(Py_None
);
9441 _resultobj
= Py_None
;
9449 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9450 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
* _resultobj
;
9455 PyObject
* _argo0
= 0;
9456 char *_kwnames
[] = { "self","pos", NULL
};
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) return NULL
;
9476 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9478 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9487 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9488 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
* _resultobj
;
9493 PyObject
* _argo0
= 0;
9494 PyObject
* _obj1
= 0;
9495 char *_kwnames
[] = { "self","title", NULL
};
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9508 _arg1
= wxString_in_helper(_obj1
);
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) return NULL
;
9518 } _resultobj
= Py_BuildValue("i",_result
);
9526 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9527 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
* _resultobj
;
9533 PyObject
* _argo0
= 0;
9534 PyObject
* _obj1
= 0;
9535 PyObject
* _obj2
= 0;
9536 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9549 _arg1
= wxString_in_helper(_obj1
);
9554 _arg2
= wxString_in_helper(_obj2
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) return NULL
;
9564 } _resultobj
= Py_BuildValue("i",_result
);
9576 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9577 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
* _resultobj
;
9579 wxMenuItem
* _result
;
9582 PyObject
* _argo0
= 0;
9583 char *_kwnames
[] = { "self","id", NULL
};
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) return NULL
;
9601 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9605 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9606 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
* _resultobj
;
9611 PyObject
* _argo0
= 0;
9613 char *_kwnames
[] = { "self","id","enable", NULL
};
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9625 _arg2
= (bool ) tempbool2
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) return NULL
;
9632 } Py_INCREF(Py_None
);
9633 _resultobj
= Py_None
;
9637 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9638 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9643 PyObject
* _argo0
= 0;
9645 char *_kwnames
[] = { "self","id","check", NULL
};
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9657 _arg2
= (bool ) tempbool2
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) return NULL
;
9664 } Py_INCREF(Py_None
);
9665 _resultobj
= Py_None
;
9669 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9670 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
* _resultobj
;
9675 PyObject
* _argo0
= 0;
9676 char *_kwnames
[] = { "self","id", NULL
};
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) return NULL
;
9694 } _resultobj
= Py_BuildValue("i",_result
);
9698 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9699 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
* _resultobj
;
9704 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "self","id", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) return NULL
;
9723 } _resultobj
= Py_BuildValue("i",_result
);
9727 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9728 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
* _resultobj
;
9733 PyObject
* _argo0
= 0;
9734 PyObject
* _obj2
= 0;
9735 char *_kwnames
[] = { "self","id","label", NULL
};
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9748 _arg2
= wxString_in_helper(_obj2
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) return NULL
;
9758 } Py_INCREF(Py_None
);
9759 _resultobj
= Py_None
;
9767 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9768 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
* _resultobj
;
9773 PyObject
* _argo0
= 0;
9774 char *_kwnames
[] = { "self","id", NULL
};
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) return NULL
;
9794 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9796 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9805 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9806 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
* _resultobj
;
9811 PyObject
* _argo0
= 0;
9812 PyObject
* _obj2
= 0;
9813 char *_kwnames
[] = { "self","id","helpString", NULL
};
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9826 _arg2
= wxString_in_helper(_obj2
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) return NULL
;
9836 } Py_INCREF(Py_None
);
9837 _resultobj
= Py_None
;
9845 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9846 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
* _resultobj
;
9851 PyObject
* _argo0
= 0;
9852 char *_kwnames
[] = { "self","id", NULL
};
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) return NULL
;
9872 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9874 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9883 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9886 src
= (wxMenuItem
*) ptr
;
9887 dest
= (wxObject
*) src
;
9888 return (void *) dest
;
9891 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9892 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
* _resultobj
;
9894 wxMenuItem
* _result
;
9895 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9896 int _arg1
= (int ) wxID_SEPARATOR
;
9897 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9898 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
9899 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
9900 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9901 PyObject
* _argo0
= 0;
9902 PyObject
* _obj2
= 0;
9903 PyObject
* _obj3
= 0;
9904 PyObject
* _argo5
= 0;
9905 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
9912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9920 _arg2
= wxString_in_helper(_obj2
);
9926 _arg3
= wxString_in_helper(_obj3
);
9931 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9932 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) return NULL
;
9944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9945 _resultobj
= Py_BuildValue("s",_ptemp
);
9948 _resultobj
= Py_None
;
9961 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9962 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
* _resultobj
;
9966 PyObject
* _argo0
= 0;
9967 char *_kwnames
[] = { "self", NULL
};
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) return NULL
;
9985 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9989 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9990 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
* _resultobj
;
9994 PyObject
* _argo0
= 0;
9995 char *_kwnames
[] = { "self","id", NULL
};
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 wxMenuItem_SetId(_arg0
,_arg1
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) return NULL
;
10013 } Py_INCREF(Py_None
);
10014 _resultobj
= Py_None
;
10018 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10019 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
* _resultobj
;
10022 wxMenuItem
* _arg0
;
10023 PyObject
* _argo0
= 0;
10024 char *_kwnames
[] = { "self", NULL
};
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 _result
= (int )wxMenuItem_GetId(_arg0
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) return NULL
;
10042 } _resultobj
= Py_BuildValue("i",_result
);
10046 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10047 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
* _resultobj
;
10050 wxMenuItem
* _arg0
;
10051 PyObject
* _argo0
= 0;
10052 char *_kwnames
[] = { "self", NULL
};
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) return NULL
;
10070 } _resultobj
= Py_BuildValue("i",_result
);
10074 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10075 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
* _resultobj
;
10077 wxMenuItem
* _arg0
;
10079 PyObject
* _argo0
= 0;
10080 PyObject
* _obj1
= 0;
10081 char *_kwnames
[] = { "self","str", NULL
};
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10094 _arg1
= wxString_in_helper(_obj1
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 wxMenuItem_SetText(_arg0
,*_arg1
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) return NULL
;
10104 } Py_INCREF(Py_None
);
10105 _resultobj
= Py_None
;
10113 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10114 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
* _resultobj
;
10116 wxString
* _result
;
10117 wxMenuItem
* _arg0
;
10118 PyObject
* _argo0
= 0;
10119 char *_kwnames
[] = { "self", NULL
};
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) return NULL
;
10139 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10141 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10150 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10151 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
* _resultobj
;
10153 wxString
* _result
;
10154 wxMenuItem
* _arg0
;
10155 PyObject
* _argo0
= 0;
10156 char *_kwnames
[] = { "self", NULL
};
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10171 _result
= (wxString
*) &_result_ref
;
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) return NULL
;
10177 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10179 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10185 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10186 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
* _resultobj
;
10188 wxItemKind _result
;
10189 wxMenuItem
* _arg0
;
10190 PyObject
* _argo0
= 0;
10191 char *_kwnames
[] = { "self", NULL
};
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) return NULL
;
10209 } _resultobj
= Py_BuildValue("i",_result
);
10213 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10214 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
* _resultobj
;
10216 wxMenuItem
* _arg0
;
10218 PyObject
* _argo0
= 0;
10220 char *_kwnames
[] = { "self","checkable", NULL
};
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10232 _arg1
= (bool ) tempbool1
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) return NULL
;
10239 } Py_INCREF(Py_None
);
10240 _resultobj
= Py_None
;
10244 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10245 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
* _resultobj
;
10248 wxMenuItem
* _arg0
;
10249 PyObject
* _argo0
= 0;
10250 char *_kwnames
[] = { "self", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) return NULL
;
10268 } _resultobj
= Py_BuildValue("i",_result
);
10272 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10273 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
* _resultobj
;
10276 wxMenuItem
* _arg0
;
10277 PyObject
* _argo0
= 0;
10278 char *_kwnames
[] = { "self", NULL
};
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) return NULL
;
10296 } _resultobj
= Py_BuildValue("i",_result
);
10300 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10301 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
* _resultobj
;
10303 wxMenuItem
* _arg0
;
10305 PyObject
* _argo0
= 0;
10306 PyObject
* _argo1
= 0;
10307 char *_kwnames
[] = { "self","menu", NULL
};
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) return NULL
;
10332 } Py_INCREF(Py_None
);
10333 _resultobj
= Py_None
;
10337 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10338 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
* _resultobj
;
10341 wxMenuItem
* _arg0
;
10342 PyObject
* _argo0
= 0;
10343 char *_kwnames
[] = { "self", NULL
};
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) return NULL
;
10361 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10365 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10366 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
* _resultobj
;
10368 wxMenuItem
* _arg0
;
10369 bool _arg1
= (bool ) TRUE
;
10370 PyObject
* _argo0
= 0;
10371 int tempbool1
= (int) TRUE
;
10372 char *_kwnames
[] = { "self","enable", NULL
};
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10384 _arg1
= (bool ) tempbool1
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 wxMenuItem_Enable(_arg0
,_arg1
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) return NULL
;
10391 } Py_INCREF(Py_None
);
10392 _resultobj
= Py_None
;
10396 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10397 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
* _resultobj
;
10400 wxMenuItem
* _arg0
;
10401 PyObject
* _argo0
= 0;
10402 char *_kwnames
[] = { "self", NULL
};
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) return NULL
;
10420 } _resultobj
= Py_BuildValue("i",_result
);
10424 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10425 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
* _resultobj
;
10427 wxMenuItem
* _arg0
;
10428 bool _arg1
= (bool ) TRUE
;
10429 PyObject
* _argo0
= 0;
10430 int tempbool1
= (int) TRUE
;
10431 char *_kwnames
[] = { "self","check", NULL
};
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10443 _arg1
= (bool ) tempbool1
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 wxMenuItem_Check(_arg0
,_arg1
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) return NULL
;
10450 } Py_INCREF(Py_None
);
10451 _resultobj
= Py_None
;
10455 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10456 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
* _resultobj
;
10459 wxMenuItem
* _arg0
;
10460 PyObject
* _argo0
= 0;
10461 char *_kwnames
[] = { "self", NULL
};
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) return NULL
;
10479 } _resultobj
= Py_BuildValue("i",_result
);
10483 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10484 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
* _resultobj
;
10486 wxMenuItem
* _arg0
;
10487 PyObject
* _argo0
= 0;
10488 char *_kwnames
[] = { "self", NULL
};
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxMenuItem_Toggle(_arg0
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) return NULL
;
10506 } Py_INCREF(Py_None
);
10507 _resultobj
= Py_None
;
10511 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10512 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
* _resultobj
;
10514 wxMenuItem
* _arg0
;
10516 PyObject
* _argo0
= 0;
10517 PyObject
* _obj1
= 0;
10518 char *_kwnames
[] = { "self","str", NULL
};
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10531 _arg1
= wxString_in_helper(_obj1
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) return NULL
;
10541 } Py_INCREF(Py_None
);
10542 _resultobj
= Py_None
;
10550 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10551 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10553 wxString
* _result
;
10554 wxMenuItem
* _arg0
;
10555 PyObject
* _argo0
= 0;
10556 char *_kwnames
[] = { "self", NULL
};
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10571 _result
= (wxString
*) &_result_ref
;
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) return NULL
;
10577 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10585 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10586 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
* _resultobj
;
10588 wxAcceleratorEntry
* _result
;
10589 wxMenuItem
* _arg0
;
10590 PyObject
* _argo0
= 0;
10591 char *_kwnames
[] = { "self", NULL
};
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) return NULL
;
10611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10612 _resultobj
= Py_BuildValue("s",_ptemp
);
10614 Py_INCREF(Py_None
);
10615 _resultobj
= Py_None
;
10620 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10621 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
* _resultobj
;
10623 wxMenuItem
* _arg0
;
10624 wxAcceleratorEntry
* _arg1
;
10625 PyObject
* _argo0
= 0;
10626 PyObject
* _argo1
= 0;
10627 char *_kwnames
[] = { "self","accel", NULL
};
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 wxMenuItem_SetAccel(_arg0
,_arg1
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) return NULL
;
10652 } Py_INCREF(Py_None
);
10653 _resultobj
= Py_None
;
10657 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
* _resultobj
;
10659 wxString
* _result
;
10661 PyObject
* _obj0
= 0;
10662 char *_kwnames
[] = { "text", NULL
};
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10668 _arg0
= wxString_in_helper(_obj0
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) return NULL
;
10680 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10682 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10695 static PyMethodDef windowscMethods
[] = {
10696 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10697 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10698 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11001 * This table is used by the pointer type-checker
11003 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11004 { "_signed_long","_long",0},
11005 { "_wxPrintQuality","_wxCoord",0},
11006 { "_wxPrintQuality","_int",0},
11007 { "_wxPrintQuality","_signed_int",0},
11008 { "_wxPrintQuality","_unsigned_int",0},
11009 { "_wxPrintQuality","_wxWindowID",0},
11010 { "_wxPrintQuality","_uint",0},
11011 { "_wxPrintQuality","_EBool",0},
11012 { "_wxPrintQuality","_size_t",0},
11013 { "_wxPrintQuality","_time_t",0},
11014 { "_byte","_unsigned_char",0},
11015 { "_long","_unsigned_long",0},
11016 { "_long","_signed_long",0},
11017 { "_size_t","_wxCoord",0},
11018 { "_size_t","_wxPrintQuality",0},
11019 { "_size_t","_time_t",0},
11020 { "_size_t","_unsigned_int",0},
11021 { "_size_t","_int",0},
11022 { "_size_t","_wxWindowID",0},
11023 { "_size_t","_uint",0},
11024 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11025 { "_uint","_wxCoord",0},
11026 { "_uint","_wxPrintQuality",0},
11027 { "_uint","_time_t",0},
11028 { "_uint","_size_t",0},
11029 { "_uint","_unsigned_int",0},
11030 { "_uint","_int",0},
11031 { "_uint","_wxWindowID",0},
11032 { "_wxChar","_char",0},
11033 { "_char","_wxChar",0},
11034 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11035 { "_EBool","_wxCoord",0},
11036 { "_EBool","_wxPrintQuality",0},
11037 { "_EBool","_signed_int",0},
11038 { "_EBool","_int",0},
11039 { "_EBool","_wxWindowID",0},
11040 { "_unsigned_long","_long",0},
11041 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11042 { "_signed_int","_wxCoord",0},
11043 { "_signed_int","_wxPrintQuality",0},
11044 { "_signed_int","_EBool",0},
11045 { "_signed_int","_wxWindowID",0},
11046 { "_signed_int","_int",0},
11047 { "_WXTYPE","_short",0},
11048 { "_WXTYPE","_signed_short",0},
11049 { "_WXTYPE","_unsigned_short",0},
11050 { "_unsigned_short","_WXTYPE",0},
11051 { "_unsigned_short","_short",0},
11052 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11053 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11054 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11055 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11056 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11057 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11058 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11059 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11060 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11061 { "_signed_short","_WXTYPE",0},
11062 { "_signed_short","_short",0},
11063 { "_unsigned_char","_byte",0},
11064 { "_unsigned_int","_wxCoord",0},
11065 { "_unsigned_int","_wxPrintQuality",0},
11066 { "_unsigned_int","_time_t",0},
11067 { "_unsigned_int","_size_t",0},
11068 { "_unsigned_int","_uint",0},
11069 { "_unsigned_int","_wxWindowID",0},
11070 { "_unsigned_int","_int",0},
11071 { "_short","_WXTYPE",0},
11072 { "_short","_unsigned_short",0},
11073 { "_short","_signed_short",0},
11074 { "_wxWindowID","_wxCoord",0},
11075 { "_wxWindowID","_wxPrintQuality",0},
11076 { "_wxWindowID","_time_t",0},
11077 { "_wxWindowID","_size_t",0},
11078 { "_wxWindowID","_EBool",0},
11079 { "_wxWindowID","_uint",0},
11080 { "_wxWindowID","_int",0},
11081 { "_wxWindowID","_signed_int",0},
11082 { "_wxWindowID","_unsigned_int",0},
11083 { "_int","_wxCoord",0},
11084 { "_int","_wxPrintQuality",0},
11085 { "_int","_time_t",0},
11086 { "_int","_size_t",0},
11087 { "_int","_EBool",0},
11088 { "_int","_uint",0},
11089 { "_int","_wxWindowID",0},
11090 { "_int","_unsigned_int",0},
11091 { "_int","_signed_int",0},
11092 { "_time_t","_wxCoord",0},
11093 { "_time_t","_wxPrintQuality",0},
11094 { "_time_t","_unsigned_int",0},
11095 { "_time_t","_int",0},
11096 { "_time_t","_wxWindowID",0},
11097 { "_time_t","_uint",0},
11098 { "_time_t","_size_t",0},
11099 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11100 { "_wxCoord","_int",0},
11101 { "_wxCoord","_signed_int",0},
11102 { "_wxCoord","_unsigned_int",0},
11103 { "_wxCoord","_wxWindowID",0},
11104 { "_wxCoord","_uint",0},
11105 { "_wxCoord","_EBool",0},
11106 { "_wxCoord","_size_t",0},
11107 { "_wxCoord","_time_t",0},
11108 { "_wxCoord","_wxPrintQuality",0},
11109 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11110 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11111 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11112 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11113 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11114 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11115 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11116 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11117 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11118 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11121 static PyObject
*SWIG_globals
;
11125 SWIGEXPORT(void) initwindowsc() {
11127 SWIG_globals
= SWIG_newvarlink();
11128 m
= Py_InitModule("windowsc", windowscMethods
);
11129 d
= PyModule_GetDict(m
);
11132 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11133 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);