2 * FILE : src/gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
95 static wxString
wxPyEmptyStr("");
97 class wxPyValidator
: public wxValidator
{
98 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
106 wxObject
* Clone() const {
107 wxPyValidator
* ptr
= NULL
;
108 wxPyValidator
* self
= (wxPyValidator
*)this;
110 wxPyTState
* state
= wxPyBeginBlockThreads();
111 if (self
->m_myInst
.findCallback("Clone")) {
113 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
115 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
119 wxPyEndBlockThreads(state
);
121 // This is very dangerous!!! But is the only way I could find
122 // to squash a memory leak. Currently it is okay, but if the
123 // validator architecture in wxWindows ever changes, problems
130 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
131 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
132 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
137 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
138 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
139 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
141 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
146 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
149 src
= (wxEvtHandler
*) ptr
;
150 dest
= (wxObject
*) src
;
151 return (void *) dest
;
154 #define new_wxEvtHandler() (new wxEvtHandler())
155 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
157 wxEvtHandler
* _result
;
158 char *_kwnames
[] = { NULL
};
162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
165 wxPy_BEGIN_ALLOW_THREADS
;
166 _result
= (wxEvtHandler
*)new_wxEvtHandler();
168 wxPy_END_ALLOW_THREADS
;
169 if (PyErr_Occurred()) return NULL
;
171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
172 _resultobj
= Py_BuildValue("s",_ptemp
);
175 _resultobj
= Py_None
;
180 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
181 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
184 wxEvtHandler
* _arg0
;
186 PyObject
* _argo0
= 0;
187 PyObject
* _argo1
= 0;
188 char *_kwnames
[] = { "self","event", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
211 wxPy_END_ALLOW_THREADS
;
212 if (PyErr_Occurred()) return NULL
;
213 } _resultobj
= Py_BuildValue("i",_result
);
217 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
218 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
220 wxEvtHandler
* _arg0
;
222 PyObject
* _argo0
= 0;
223 PyObject
* _argo1
= 0;
224 char *_kwnames
[] = { "self","event", NULL
};
227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
244 wxPy_BEGIN_ALLOW_THREADS
;
245 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
247 wxPy_END_ALLOW_THREADS
;
248 if (PyErr_Occurred()) return NULL
;
249 } Py_INCREF(Py_None
);
250 _resultobj
= Py_None
;
254 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
255 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
256 PyObject
* _resultobj
;
258 wxEvtHandler
* _arg0
;
259 PyObject
* _argo0
= 0;
260 char *_kwnames
[] = { "self", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
273 wxPy_BEGIN_ALLOW_THREADS
;
274 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
276 wxPy_END_ALLOW_THREADS
;
277 if (PyErr_Occurred()) return NULL
;
278 } _resultobj
= Py_BuildValue("i",_result
);
282 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
283 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
285 wxEvtHandler
* _arg0
;
287 PyObject
* _argo0
= 0;
289 char *_kwnames
[] = { "self","enabled", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
301 _arg1
= (bool ) tempbool1
;
303 wxPy_BEGIN_ALLOW_THREADS
;
304 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
306 wxPy_END_ALLOW_THREADS
;
307 if (PyErr_Occurred()) return NULL
;
308 } Py_INCREF(Py_None
);
309 _resultobj
= Py_None
;
313 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
314 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
316 wxEvtHandler
* _result
;
317 wxEvtHandler
* _arg0
;
318 PyObject
* _argo0
= 0;
319 char *_kwnames
[] = { "self", NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
332 wxPy_BEGIN_ALLOW_THREADS
;
333 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
335 wxPy_END_ALLOW_THREADS
;
336 if (PyErr_Occurred()) return NULL
;
337 }{ _resultobj
= wxPyMake_wxObject(_result
); }
341 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
342 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
344 wxEvtHandler
* _result
;
345 wxEvtHandler
* _arg0
;
346 PyObject
* _argo0
= 0;
347 char *_kwnames
[] = { "self", NULL
};
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
363 wxPy_END_ALLOW_THREADS
;
364 if (PyErr_Occurred()) return NULL
;
365 }{ _resultobj
= wxPyMake_wxObject(_result
); }
369 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
370 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
371 PyObject
* _resultobj
;
372 wxEvtHandler
* _arg0
;
373 wxEvtHandler
* _arg1
;
374 PyObject
* _argo0
= 0;
375 PyObject
* _argo1
= 0;
376 char *_kwnames
[] = { "self","handler", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
396 wxPy_BEGIN_ALLOW_THREADS
;
397 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
399 wxPy_END_ALLOW_THREADS
;
400 if (PyErr_Occurred()) return NULL
;
401 } Py_INCREF(Py_None
);
402 _resultobj
= Py_None
;
406 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
407 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
409 wxEvtHandler
* _arg0
;
410 wxEvtHandler
* _arg1
;
411 PyObject
* _argo0
= 0;
412 PyObject
* _argo1
= 0;
413 char *_kwnames
[] = { "self","handler", NULL
};
416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
433 wxPy_BEGIN_ALLOW_THREADS
;
434 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
436 wxPy_END_ALLOW_THREADS
;
437 if (PyErr_Occurred()) return NULL
;
438 } Py_INCREF(Py_None
);
439 _resultobj
= Py_None
;
443 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
444 if (PyCallable_Check(func
)) {
445 self
->Connect(id
, lastId
, eventType
,
446 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
447 new wxPyCallback(func
));
450 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxEvtHandler
* _arg0
;
457 PyObject
* _argo0
= 0;
458 PyObject
* _obj4
= 0;
459 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
475 wxPy_BEGIN_ALLOW_THREADS
;
476 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
478 wxPy_END_ALLOW_THREADS
;
479 if (PyErr_Occurred()) return NULL
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
486 return self
->Disconnect(id
, lastId
, eventType
,
487 (wxObjectEventFunction
)
488 &wxPyCallback::EventThunker
);
490 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
493 wxEvtHandler
* _arg0
;
495 int _arg2
= (int ) -1;
496 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
514 wxPy_END_ALLOW_THREADS
;
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
523 src
= (wxValidator
*) ptr
;
524 dest
= (wxEvtHandler
*) src
;
525 return (void *) dest
;
528 static void *SwigwxValidatorTowxObject(void *ptr
) {
531 src
= (wxValidator
*) ptr
;
532 dest
= (wxObject
*) src
;
533 return (void *) dest
;
536 #define new_wxValidator() (new wxValidator())
537 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
539 wxValidator
* _result
;
540 char *_kwnames
[] = { NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
547 wxPy_BEGIN_ALLOW_THREADS
;
548 _result
= (wxValidator
*)new_wxValidator();
550 wxPy_END_ALLOW_THREADS
;
551 if (PyErr_Occurred()) return NULL
;
553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
557 _resultobj
= Py_None
;
562 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
563 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxValidator
* _result
;
567 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
581 wxPy_BEGIN_ALLOW_THREADS
;
582 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
584 wxPy_END_ALLOW_THREADS
;
585 if (PyErr_Occurred()) return NULL
;
586 }{ _resultobj
= wxPyMake_wxObject(_result
); }
590 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
591 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
613 if (PyErr_Occurred()) return NULL
;
614 }{ _resultobj
= wxPyMake_wxObject(_result
); }
618 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
619 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
623 PyObject
* _argo0
= 0;
624 PyObject
* _argo1
= 0;
625 char *_kwnames
[] = { "self","window", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
645 wxPy_BEGIN_ALLOW_THREADS
;
646 wxValidator_SetWindow(_arg0
,_arg1
);
648 wxPy_END_ALLOW_THREADS
;
649 if (PyErr_Occurred()) return NULL
;
650 } Py_INCREF(Py_None
);
651 _resultobj
= Py_None
;
655 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 char *_kwnames
[] = { NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (bool )wxValidator::IsSilent();
667 wxPy_END_ALLOW_THREADS
;
668 if (PyErr_Occurred()) return NULL
;
669 } _resultobj
= Py_BuildValue("i",_result
);
673 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
675 int _arg0
= (int ) TRUE
;
676 char *_kwnames
[] = { "doIt", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
682 wxPy_BEGIN_ALLOW_THREADS
;
683 wxValidator::SetBellOnError(_arg0
);
685 wxPy_END_ALLOW_THREADS
;
686 if (PyErr_Occurred()) return NULL
;
687 } Py_INCREF(Py_None
);
688 _resultobj
= Py_None
;
692 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
695 src
= (wxPyValidator
*) ptr
;
696 dest
= (wxValidator
*) src
;
697 return (void *) dest
;
700 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
703 src
= (wxPyValidator
*) ptr
;
704 dest
= (wxEvtHandler
*) src
;
705 return (void *) dest
;
708 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
711 src
= (wxPyValidator
*) ptr
;
712 dest
= (wxObject
*) src
;
713 return (void *) dest
;
716 #define new_wxPyValidator() (new wxPyValidator())
717 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
719 wxPyValidator
* _result
;
720 char *_kwnames
[] = { NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
727 wxPy_BEGIN_ALLOW_THREADS
;
728 _result
= (wxPyValidator
*)new_wxPyValidator();
730 wxPy_END_ALLOW_THREADS
;
731 if (PyErr_Occurred()) return NULL
;
733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
734 _resultobj
= Py_BuildValue("s",_ptemp
);
737 _resultobj
= Py_None
;
742 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
743 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
745 wxPyValidator
* _arg0
;
748 int _arg3
= (int ) TRUE
;
749 PyObject
* _argo0
= 0;
750 PyObject
* _obj1
= 0;
751 PyObject
* _obj2
= 0;
752 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
774 wxPy_END_ALLOW_THREADS
;
775 if (PyErr_Occurred()) return NULL
;
776 } Py_INCREF(Py_None
);
777 _resultobj
= Py_None
;
781 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
784 src
= (wxWindow
*) ptr
;
785 dest
= (wxEvtHandler
*) src
;
786 return (void *) dest
;
789 static void *SwigwxWindowTowxObject(void *ptr
) {
792 src
= (wxWindow
*) ptr
;
793 dest
= (wxObject
*) src
;
794 return (void *) dest
;
797 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
798 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
803 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
804 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
805 long _arg4
= (long ) 0;
806 char * _arg5
= (char *) "panel";
807 PyObject
* _argo0
= 0;
809 PyObject
* _obj2
= 0;
811 PyObject
* _obj3
= 0;
812 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
828 if (! wxPoint_helper(_obj2
, &_arg2
))
834 if (! wxSize_helper(_obj3
, &_arg3
))
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
841 wxPy_END_ALLOW_THREADS
;
842 if (PyErr_Occurred()) return NULL
;
844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
845 _resultobj
= Py_BuildValue("s",_ptemp
);
848 _resultobj
= Py_None
;
853 #define new_wxPreWindow() (new wxWindow())
854 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
857 char *_kwnames
[] = { NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (wxWindow
*)new_wxPreWindow();
867 wxPy_END_ALLOW_THREADS
;
868 if (PyErr_Occurred()) return NULL
;
870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
871 _resultobj
= Py_BuildValue("s",_ptemp
);
874 _resultobj
= Py_None
;
879 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
880 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
886 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
887 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
888 long _arg5
= (long ) 0;
889 char * _arg6
= (char *) "panel";
890 PyObject
* _argo0
= 0;
891 PyObject
* _argo1
= 0;
893 PyObject
* _obj3
= 0;
895 PyObject
* _obj4
= 0;
896 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
918 if (! wxPoint_helper(_obj3
, &_arg3
))
924 if (! wxSize_helper(_obj4
, &_arg4
))
928 wxPy_BEGIN_ALLOW_THREADS
;
929 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
931 wxPy_END_ALLOW_THREADS
;
932 if (PyErr_Occurred()) return NULL
;
933 } _resultobj
= Py_BuildValue("i",_result
);
937 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
938 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
955 wxPy_BEGIN_ALLOW_THREADS
;
956 wxWindow_CaptureMouse(_arg0
);
958 wxPy_END_ALLOW_THREADS
;
959 if (PyErr_Occurred()) return NULL
;
960 } Py_INCREF(Py_None
);
961 _resultobj
= Py_None
;
965 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
966 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
969 int _arg1
= (int ) wxBOTH
;
970 PyObject
* _argo0
= 0;
971 char *_kwnames
[] = { "self","direction", NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
984 wxPy_BEGIN_ALLOW_THREADS
;
985 wxWindow_Center(_arg0
,_arg1
);
987 wxPy_END_ALLOW_THREADS
;
988 if (PyErr_Occurred()) return NULL
;
989 } Py_INCREF(Py_None
);
990 _resultobj
= Py_None
;
994 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
995 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
998 int _arg1
= (int ) wxBOTH
;
999 PyObject
* _argo0
= 0;
1000 char *_kwnames
[] = { "self","direction", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1013 wxPy_BEGIN_ALLOW_THREADS
;
1014 wxWindow_Centre(_arg0
,_arg1
);
1016 wxPy_END_ALLOW_THREADS
;
1017 if (PyErr_Occurred()) return NULL
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1023 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1024 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1027 int _arg1
= (int ) wxBOTH
;
1028 PyObject
* _argo0
= 0;
1029 char *_kwnames
[] = { "self","direction", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 wxWindow_CentreOnParent(_arg0
,_arg1
);
1045 wxPy_END_ALLOW_THREADS
;
1046 if (PyErr_Occurred()) return NULL
;
1047 } Py_INCREF(Py_None
);
1048 _resultobj
= Py_None
;
1052 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1053 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1056 int _arg1
= (int ) wxBOTH
;
1057 PyObject
* _argo0
= 0;
1058 char *_kwnames
[] = { "self","direction", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1071 wxPy_BEGIN_ALLOW_THREADS
;
1072 wxWindow_CenterOnParent(_arg0
,_arg1
);
1074 wxPy_END_ALLOW_THREADS
;
1075 if (PyErr_Occurred()) return NULL
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1082 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 int _arg1
= (int ) wxBOTH
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self","direction", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1103 wxPy_END_ALLOW_THREADS
;
1104 if (PyErr_Occurred()) return NULL
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1110 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1111 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1114 int _arg1
= (int ) wxBOTH
;
1115 PyObject
* _argo0
= 0;
1116 char *_kwnames
[] = { "self","direction", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1132 wxPy_END_ALLOW_THREADS
;
1133 if (PyErr_Occurred()) return NULL
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1140 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1157 wxPy_BEGIN_ALLOW_THREADS
;
1158 wxWindow_Clear(_arg0
);
1160 wxPy_END_ALLOW_THREADS
;
1161 if (PyErr_Occurred()) return NULL
;
1162 } Py_INCREF(Py_None
);
1163 _resultobj
= Py_None
;
1167 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1168 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1173 PyObject
* _argo0
= 0;
1175 PyObject
* _obj1
= 0;
1177 PyObject
* _obj2
= 0;
1178 char *_kwnames
[] = { "self","x","y", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1191 temp
= (int) PyInt_AsLong(_obj1
);
1195 temp0
= (int) PyInt_AsLong(_obj2
);
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1202 wxPy_END_ALLOW_THREADS
;
1203 if (PyErr_Occurred()) return NULL
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1208 o
= PyInt_FromLong((long) (*_arg1
));
1209 _resultobj
= t_output_helper(_resultobj
, o
);
1213 o
= PyInt_FromLong((long) (*_arg2
));
1214 _resultobj
= t_output_helper(_resultobj
, o
);
1219 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1220 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1225 PyObject
* _argo0
= 0;
1227 PyObject
* _obj1
= 0;
1228 char *_kwnames
[] = { "self","pt", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1243 if (! wxPoint_helper(_obj1
, &_arg1
))
1247 wxPy_BEGIN_ALLOW_THREADS
;
1248 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1250 wxPy_END_ALLOW_THREADS
;
1251 if (PyErr_Occurred()) return NULL
;
1252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1253 _resultobj
= Py_BuildValue("s",_ptemp
);
1257 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1258 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1262 int _arg1
= (int ) FALSE
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","force", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1280 wxPy_END_ALLOW_THREADS
;
1281 if (PyErr_Occurred()) return NULL
;
1282 } _resultobj
= Py_BuildValue("i",_result
);
1286 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1287 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 _result
= (bool )wxWindow_Destroy(_arg0
);
1308 wxPy_END_ALLOW_THREADS
;
1309 if (PyErr_Occurred()) return NULL
;
1310 } _resultobj
= Py_BuildValue("i",_result
);
1314 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1315 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 wxWindow_DestroyChildren(_arg0
);
1335 wxPy_END_ALLOW_THREADS
;
1336 if (PyErr_Occurred()) return NULL
;
1337 } Py_INCREF(Py_None
);
1338 _resultobj
= Py_None
;
1342 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1343 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1347 PyObject
* _argo0
= 0;
1348 char *_kwnames
[] = { "self", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1364 wxPy_END_ALLOW_THREADS
;
1365 if (PyErr_Occurred()) return NULL
;
1366 } _resultobj
= Py_BuildValue("i",_result
);
1370 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1371 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1375 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self","enable", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1389 _arg1
= (bool ) tempbool1
;
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 wxWindow_Enable(_arg0
,_arg1
);
1394 wxPy_END_ALLOW_THREADS
;
1395 if (PyErr_Occurred()) return NULL
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1402 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","id", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1424 wxPy_END_ALLOW_THREADS
;
1425 if (PyErr_Occurred()) return NULL
;
1426 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1430 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1431 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1436 PyObject
* _argo0
= 0;
1437 PyObject
* _obj1
= 0;
1438 char *_kwnames
[] = { "self","name", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
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_FindWindowByName. Expected _wxWindow_p.");
1451 #if PYTHON_API_VERSION >= 1009
1452 char* tmpPtr
; int tmpSize
;
1453 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1457 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1459 _arg1
= new wxString(tmpPtr
, tmpSize
);
1461 if (!PyString_Check(_obj1
)) {
1462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1465 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1472 wxPy_END_ALLOW_THREADS
;
1473 if (PyErr_Occurred()) return NULL
;
1474 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1482 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1483 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 wxWindow_Fit(_arg0
);
1503 wxPy_END_ALLOW_THREADS
;
1504 if (PyErr_Occurred()) return NULL
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1510 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1511 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1515 PyObject
* _argo0
= 0;
1516 char *_kwnames
[] = { "self", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1533 wxPy_END_ALLOW_THREADS
;
1534 if (PyErr_Occurred()) return NULL
;
1535 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1536 _resultobj
= Py_BuildValue("s",_ptemp
);
1540 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1541 wxWindowList
& list
= self
->GetChildren();
1542 return wxPy_ConvertList(&list
, "wxWindow");
1544 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1565 wxPy_END_ALLOW_THREADS
;
1566 if (PyErr_Occurred()) return NULL
;
1568 _resultobj
= _result
;
1573 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1574 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1595 wxPy_END_ALLOW_THREADS
;
1596 if (PyErr_Occurred()) return NULL
;
1597 } _resultobj
= Py_BuildValue("i",_result
);
1601 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1602 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1606 PyObject
* _argo0
= 0;
1607 char *_kwnames
[] = { "self", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1623 wxPy_END_ALLOW_THREADS
;
1624 if (PyErr_Occurred()) return NULL
;
1625 } _resultobj
= Py_BuildValue("i",_result
);
1629 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1630 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1660 wxPy_END_ALLOW_THREADS
;
1661 if (PyErr_Occurred()) return NULL
;
1662 } Py_INCREF(Py_None
);
1663 _resultobj
= Py_None
;
1666 o
= PyInt_FromLong((long) (*_arg1
));
1667 _resultobj
= t_output_helper(_resultobj
, o
);
1671 o
= PyInt_FromLong((long) (*_arg2
));
1672 _resultobj
= t_output_helper(_resultobj
, o
);
1677 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1678 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1700 wxPy_END_ALLOW_THREADS
;
1701 if (PyErr_Occurred()) return NULL
;
1702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1708 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxLayoutConstraints
* _result
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1730 wxPy_END_ALLOW_THREADS
;
1731 if (PyErr_Occurred()) return NULL
;
1733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1734 _resultobj
= Py_BuildValue("s",_ptemp
);
1737 _resultobj
= Py_None
;
1742 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1743 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1745 wxEvtHandler
* _result
;
1747 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1761 wxPy_BEGIN_ALLOW_THREADS
;
1762 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1764 wxPy_END_ALLOW_THREADS
;
1765 if (PyErr_Occurred()) return NULL
;
1766 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1770 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1771 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1792 _result
= (wxFont
*) &_result_ref
;
1794 wxPy_END_ALLOW_THREADS
;
1795 if (PyErr_Occurred()) return NULL
;
1797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1798 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 _resultobj
= Py_None
;
1806 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1807 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1829 wxPy_END_ALLOW_THREADS
;
1830 if (PyErr_Occurred()) return NULL
;
1831 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1832 _resultobj
= Py_BuildValue("s",_ptemp
);
1836 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1837 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1858 wxPy_END_ALLOW_THREADS
;
1859 if (PyErr_Occurred()) return NULL
;
1860 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1864 static long wxWindow_GetHandle(wxWindow
*self
) {
1865 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1867 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1871 PyObject
* _argo0
= 0;
1872 char *_kwnames
[] = { "self", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 _result
= (long )wxWindow_GetHandle(_arg0
);
1888 wxPy_END_ALLOW_THREADS
;
1889 if (PyErr_Occurred()) return NULL
;
1890 } _resultobj
= Py_BuildValue("l",_result
);
1894 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1895 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1899 PyObject
* _argo0
= 0;
1900 char *_kwnames
[] = { "self", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 _result
= (int )wxWindow_GetId(_arg0
);
1916 wxPy_END_ALLOW_THREADS
;
1917 if (PyErr_Occurred()) return NULL
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1923 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1927 PyObject
* _argo0
= 0;
1928 char *_kwnames
[] = { "self", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1944 wxPy_END_ALLOW_THREADS
;
1945 if (PyErr_Occurred()) return NULL
;
1947 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1955 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1956 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1960 PyObject
* _argo0
= 0;
1961 PyObject
* _obj1
= 0;
1962 char *_kwnames
[] = { "self","label", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1975 #if PYTHON_API_VERSION >= 1009
1976 char* tmpPtr
; int tmpSize
;
1977 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1981 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1983 _arg1
= new wxString(tmpPtr
, tmpSize
);
1985 if (!PyString_Check(_obj1
)) {
1986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1989 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 wxWindow_SetLabel(_arg0
,*_arg1
);
1996 wxPy_END_ALLOW_THREADS
;
1997 if (PyErr_Occurred()) return NULL
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2007 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2008 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 _result
= new wxString (wxWindow_GetName(_arg0
));
2029 wxPy_END_ALLOW_THREADS
;
2030 if (PyErr_Occurred()) return NULL
;
2032 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2040 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2041 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2046 char *_kwnames
[] = { "self", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2062 wxPy_END_ALLOW_THREADS
;
2063 if (PyErr_Occurred()) return NULL
;
2064 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2068 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2069 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2099 wxPy_END_ALLOW_THREADS
;
2100 if (PyErr_Occurred()) return NULL
;
2101 } Py_INCREF(Py_None
);
2102 _resultobj
= Py_None
;
2105 o
= PyInt_FromLong((long) (*_arg1
));
2106 _resultobj
= t_output_helper(_resultobj
, o
);
2110 o
= PyInt_FromLong((long) (*_arg2
));
2111 _resultobj
= t_output_helper(_resultobj
, o
);
2116 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2117 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2136 wxPy_BEGIN_ALLOW_THREADS
;
2137 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2139 wxPy_END_ALLOW_THREADS
;
2140 if (PyErr_Occurred()) return NULL
;
2141 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2142 _resultobj
= Py_BuildValue("s",_ptemp
);
2146 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2147 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2151 PyObject
* _argo0
= 0;
2152 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2169 wxPy_END_ALLOW_THREADS
;
2170 if (PyErr_Occurred()) return NULL
;
2171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2172 _resultobj
= Py_BuildValue("s",_ptemp
);
2176 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2177 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2182 PyObject
* _argo0
= 0;
2183 char *_kwnames
[] = { "self","orientation", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2199 wxPy_END_ALLOW_THREADS
;
2200 if (PyErr_Occurred()) return NULL
;
2201 } _resultobj
= Py_BuildValue("i",_result
);
2205 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2206 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2211 PyObject
* _argo0
= 0;
2212 char *_kwnames
[] = { "self","orientation", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2225 wxPy_BEGIN_ALLOW_THREADS
;
2226 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2228 wxPy_END_ALLOW_THREADS
;
2229 if (PyErr_Occurred()) return NULL
;
2230 } _resultobj
= Py_BuildValue("i",_result
);
2234 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2235 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self","orientation", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2254 wxPy_BEGIN_ALLOW_THREADS
;
2255 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2257 wxPy_END_ALLOW_THREADS
;
2258 if (PyErr_Occurred()) return NULL
;
2259 } _resultobj
= Py_BuildValue("i",_result
);
2263 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2264 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_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_GetSizeTuple. Expected _wxWindow_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2294 wxPy_END_ALLOW_THREADS
;
2295 if (PyErr_Occurred()) return NULL
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2300 o
= PyInt_FromLong((long) (*_arg1
));
2301 _resultobj
= t_output_helper(_resultobj
, o
);
2305 o
= PyInt_FromLong((long) (*_arg2
));
2306 _resultobj
= t_output_helper(_resultobj
, o
);
2311 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2312 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2334 wxPy_END_ALLOW_THREADS
;
2335 if (PyErr_Occurred()) return NULL
;
2336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2337 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2342 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 PyObject
* _obj1
= 0;
2352 char *_kwnames
[] = { "self","string", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2371 #if PYTHON_API_VERSION >= 1009
2372 char* tmpPtr
; int tmpSize
;
2373 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2377 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2379 _arg1
= new wxString(tmpPtr
, tmpSize
);
2381 if (!PyString_Check(_obj1
)) {
2382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2385 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2392 wxPy_END_ALLOW_THREADS
;
2393 if (PyErr_Occurred()) return NULL
;
2394 } Py_INCREF(Py_None
);
2395 _resultobj
= Py_None
;
2398 o
= PyInt_FromLong((long) (*_arg2
));
2399 _resultobj
= t_output_helper(_resultobj
, o
);
2403 o
= PyInt_FromLong((long) (*_arg3
));
2404 _resultobj
= t_output_helper(_resultobj
, o
);
2413 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2414 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2426 wxFont
* _arg6
= (wxFont
*) NULL
;
2427 PyObject
* _argo0
= 0;
2428 PyObject
* _obj1
= 0;
2429 PyObject
* _argo6
= 0;
2430 char *_kwnames
[] = { "self","string","font", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2455 #if PYTHON_API_VERSION >= 1009
2456 char* tmpPtr
; int tmpSize
;
2457 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2461 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2463 _arg1
= new wxString(tmpPtr
, tmpSize
);
2465 if (!PyString_Check(_obj1
)) {
2466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2469 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2473 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2480 wxPy_BEGIN_ALLOW_THREADS
;
2481 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2483 wxPy_END_ALLOW_THREADS
;
2484 if (PyErr_Occurred()) return NULL
;
2485 } Py_INCREF(Py_None
);
2486 _resultobj
= Py_None
;
2489 o
= PyInt_FromLong((long) (*_arg2
));
2490 _resultobj
= t_output_helper(_resultobj
, o
);
2494 o
= PyInt_FromLong((long) (*_arg3
));
2495 _resultobj
= t_output_helper(_resultobj
, o
);
2499 o
= PyInt_FromLong((long) (*_arg4
));
2500 _resultobj
= t_output_helper(_resultobj
, o
);
2504 o
= PyInt_FromLong((long) (*_arg5
));
2505 _resultobj
= t_output_helper(_resultobj
, o
);
2514 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2515 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2519 PyObject
* _argo0
= 0;
2520 char *_kwnames
[] = { "self", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2536 wxPy_END_ALLOW_THREADS
;
2537 if (PyErr_Occurred()) return NULL
;
2539 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2547 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2548 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2552 PyObject
* _argo0
= 0;
2553 char *_kwnames
[] = { "self", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
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_GetUpdateRegion. Expected _wxWindow_p.");
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2570 wxPy_END_ALLOW_THREADS
;
2571 if (PyErr_Occurred()) return NULL
;
2572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2573 _resultobj
= Py_BuildValue("s",_ptemp
);
2577 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2578 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2599 wxPy_END_ALLOW_THREADS
;
2600 if (PyErr_Occurred()) return NULL
;
2601 } _resultobj
= Py_BuildValue("l",_result
);
2605 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2606 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self","style", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2627 wxPy_END_ALLOW_THREADS
;
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2635 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self","style", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2656 wxPy_END_ALLOW_THREADS
;
2657 if (PyErr_Occurred()) return NULL
;
2658 } Py_INCREF(Py_None
);
2659 _resultobj
= Py_None
;
2663 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2664 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 _result
= (bool )wxWindow_Hide(_arg0
);
2685 wxPy_END_ALLOW_THREADS
;
2686 if (PyErr_Occurred()) return NULL
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2692 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 wxWindow_InitDialog(_arg0
);
2712 wxPy_END_ALLOW_THREADS
;
2713 if (PyErr_Occurred()) return NULL
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2720 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2724 PyObject
* _argo0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2738 wxPy_BEGIN_ALLOW_THREADS
;
2739 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2741 wxPy_END_ALLOW_THREADS
;
2742 if (PyErr_Occurred()) return NULL
;
2743 } _resultobj
= Py_BuildValue("i",_result
);
2747 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2748 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2754 int _arg3
= (int ) 0;
2755 int _arg4
= (int ) 0;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2773 wxPy_END_ALLOW_THREADS
;
2774 if (PyErr_Occurred()) return NULL
;
2775 } _resultobj
= Py_BuildValue("i",_result
);
2779 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2780 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2785 PyObject
* _argo0
= 0;
2787 PyObject
* _obj1
= 0;
2788 char *_kwnames
[] = { "self","pt", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2802 if (! wxPoint_helper(_obj1
, &_arg1
))
2806 wxPy_BEGIN_ALLOW_THREADS
;
2807 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2809 wxPy_END_ALLOW_THREADS
;
2810 if (PyErr_Occurred()) return NULL
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2816 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2821 PyObject
* _argo0
= 0;
2823 PyObject
* _obj1
= 0;
2824 char *_kwnames
[] = { "self","rect", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2838 if (! wxRect_helper(_obj1
, &_arg1
))
2842 wxPy_BEGIN_ALLOW_THREADS
;
2843 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2845 wxPy_END_ALLOW_THREADS
;
2846 if (PyErr_Occurred()) return NULL
;
2847 } _resultobj
= Py_BuildValue("i",_result
);
2851 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2852 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 _result
= (bool )wxWindow_IsRetained(_arg0
);
2873 wxPy_END_ALLOW_THREADS
;
2874 if (PyErr_Occurred()) return NULL
;
2875 } _resultobj
= Py_BuildValue("i",_result
);
2879 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2880 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 _result
= (bool )wxWindow_IsShown(_arg0
);
2901 wxPy_END_ALLOW_THREADS
;
2902 if (PyErr_Occurred()) return NULL
;
2903 } _resultobj
= Py_BuildValue("i",_result
);
2907 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2908 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2929 wxPy_END_ALLOW_THREADS
;
2930 if (PyErr_Occurred()) return NULL
;
2931 } _resultobj
= Py_BuildValue("i",_result
);
2935 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2936 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2939 PyObject
* _argo0
= 0;
2940 char *_kwnames
[] = { "self", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 wxWindow_Layout(_arg0
);
2956 wxPy_END_ALLOW_THREADS
;
2957 if (PyErr_Occurred()) return NULL
;
2958 } Py_INCREF(Py_None
);
2959 _resultobj
= Py_None
;
2963 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2964 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2970 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2971 PyObject
* _argo0
= 0;
2972 PyObject
* _argo1
= 0;
2973 PyObject
* _obj2
= 0;
2974 PyObject
* _argo3
= 0;
2975 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2995 #if PYTHON_API_VERSION >= 1009
2996 char* tmpPtr
; int tmpSize
;
2997 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3001 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3003 _arg2
= new wxString(tmpPtr
, tmpSize
);
3005 if (!PyString_Check(_obj2
)) {
3006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3009 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3013 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3023 wxPy_END_ALLOW_THREADS
;
3024 if (PyErr_Occurred()) return NULL
;
3025 } _resultobj
= Py_BuildValue("i",_result
);
3033 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3034 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 wxWindow_Lower(_arg0
);
3054 wxPy_END_ALLOW_THREADS
;
3055 if (PyErr_Occurred()) return NULL
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3062 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 bool _arg1
= (bool ) TRUE
;
3066 PyObject
* _argo0
= 0;
3067 int tempbool1
= (int) TRUE
;
3068 char *_kwnames
[] = { "self","flag", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3080 _arg1
= (bool ) tempbool1
;
3082 wxPy_BEGIN_ALLOW_THREADS
;
3083 wxWindow_MakeModal(_arg0
,_arg1
);
3085 wxPy_END_ALLOW_THREADS
;
3086 if (PyErr_Occurred()) return NULL
;
3087 } Py_INCREF(Py_None
);
3088 _resultobj
= Py_None
;
3092 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3093 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3098 PyObject
* _argo0
= 0;
3099 char *_kwnames
[] = { "self","x","y", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3112 wxPy_BEGIN_ALLOW_THREADS
;
3113 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3115 wxPy_END_ALLOW_THREADS
;
3116 if (PyErr_Occurred()) return NULL
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3123 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3127 PyObject
* _argo0
= 0;
3129 PyObject
* _obj1
= 0;
3130 char *_kwnames
[] = { "self","point", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3144 if (! wxPoint_helper(_obj1
, &_arg1
))
3148 wxPy_BEGIN_ALLOW_THREADS
;
3149 wxWindow_Move(_arg0
,*_arg1
);
3151 wxPy_END_ALLOW_THREADS
;
3152 if (PyErr_Occurred()) return NULL
;
3153 } Py_INCREF(Py_None
);
3154 _resultobj
= Py_None
;
3158 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3159 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3161 wxEvtHandler
* _result
;
3163 bool _arg1
= (bool ) FALSE
;
3164 PyObject
* _argo0
= 0;
3165 int tempbool1
= (int) FALSE
;
3166 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3178 _arg1
= (bool ) tempbool1
;
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3183 wxPy_END_ALLOW_THREADS
;
3184 if (PyErr_Occurred()) return NULL
;
3185 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3189 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3190 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3193 wxEvtHandler
* _arg1
;
3194 PyObject
* _argo0
= 0;
3195 PyObject
* _argo1
= 0;
3196 char *_kwnames
[] = { "self","handler", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 wxWindow_PushEventHandler(_arg0
,_arg1
);
3219 wxPy_END_ALLOW_THREADS
;
3220 if (PyErr_Occurred()) return NULL
;
3221 } Py_INCREF(Py_None
);
3222 _resultobj
= Py_None
;
3226 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3227 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 PyObject
* _argo1
= 0;
3236 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3256 wxPy_BEGIN_ALLOW_THREADS
;
3257 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3259 wxPy_END_ALLOW_THREADS
;
3260 if (PyErr_Occurred()) return NULL
;
3261 } _resultobj
= Py_BuildValue("i",_result
);
3265 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3266 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3272 PyObject
* _argo0
= 0;
3273 PyObject
* _argo1
= 0;
3275 PyObject
* _obj2
= 0;
3276 char *_kwnames
[] = { "self","menu","pos", NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3297 if (! wxPoint_helper(_obj2
, &_arg2
))
3301 wxPy_BEGIN_ALLOW_THREADS
;
3302 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3304 wxPy_END_ALLOW_THREADS
;
3305 if (PyErr_Occurred()) return NULL
;
3306 } _resultobj
= Py_BuildValue("i",_result
);
3310 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3311 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 wxWindow_Raise(_arg0
);
3331 wxPy_END_ALLOW_THREADS
;
3332 if (PyErr_Occurred()) return NULL
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3338 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3339 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3342 bool _arg1
= (bool ) TRUE
;
3343 wxRect
* _arg2
= (wxRect
*) NULL
;
3344 PyObject
* _argo0
= 0;
3345 int tempbool1
= (int) TRUE
;
3347 PyObject
* _obj2
= 0;
3348 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3360 _arg1
= (bool ) tempbool1
;
3364 if (! wxRect_helper(_obj2
, &_arg2
))
3368 wxPy_BEGIN_ALLOW_THREADS
;
3369 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3371 wxPy_END_ALLOW_THREADS
;
3372 if (PyErr_Occurred()) return NULL
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3378 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3379 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3383 PyObject
* _argo0
= 0;
3385 PyObject
* _obj1
= 0;
3386 char *_kwnames
[] = { "self","rect", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3400 if (! wxRect_helper(_obj1
, &_arg1
))
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 wxWindow_RefreshRect(_arg0
,*_arg1
);
3407 wxPy_END_ALLOW_THREADS
;
3408 if (PyErr_Occurred()) return NULL
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3415 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3418 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "self", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3432 wxPy_BEGIN_ALLOW_THREADS
;
3433 wxWindow_ReleaseMouse(_arg0
);
3435 wxPy_END_ALLOW_THREADS
;
3436 if (PyErr_Occurred()) return NULL
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3443 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _argo1
= 0;
3449 char *_kwnames
[] = { "self","child", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxWindow_RemoveChild(_arg0
,_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 if (PyErr_Occurred()) return NULL
;
3474 } Py_INCREF(Py_None
);
3475 _resultobj
= Py_None
;
3479 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3480 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3485 PyObject
* _argo0
= 0;
3486 PyObject
* _argo1
= 0;
3487 char *_kwnames
[] = { "self","newParent", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3510 wxPy_END_ALLOW_THREADS
;
3511 if (PyErr_Occurred()) return NULL
;
3512 } _resultobj
= Py_BuildValue("i",_result
);
3516 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3517 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3522 PyObject
* _argo0
= 0;
3524 PyObject
* _obj1
= 0;
3526 PyObject
* _obj2
= 0;
3527 char *_kwnames
[] = { "self","x","y", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3540 temp
= (int) PyInt_AsLong(_obj1
);
3544 temp0
= (int) PyInt_AsLong(_obj2
);
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3551 wxPy_END_ALLOW_THREADS
;
3552 if (PyErr_Occurred()) return NULL
;
3553 } Py_INCREF(Py_None
);
3554 _resultobj
= Py_None
;
3557 o
= PyInt_FromLong((long) (*_arg1
));
3558 _resultobj
= t_output_helper(_resultobj
, o
);
3562 o
= PyInt_FromLong((long) (*_arg2
));
3563 _resultobj
= t_output_helper(_resultobj
, o
);
3568 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3569 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3574 PyObject
* _argo0
= 0;
3576 PyObject
* _obj1
= 0;
3577 char *_kwnames
[] = { "self","pt", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3592 if (! wxPoint_helper(_obj1
, &_arg1
))
3596 wxPy_BEGIN_ALLOW_THREADS
;
3597 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3599 wxPy_END_ALLOW_THREADS
;
3600 if (PyErr_Occurred()) return NULL
;
3601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3602 _resultobj
= Py_BuildValue("s",_ptemp
);
3606 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3607 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3612 wxRect
* _arg3
= (wxRect
*) NULL
;
3613 PyObject
* _argo0
= 0;
3615 PyObject
* _obj3
= 0;
3616 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3631 if (! wxRect_helper(_obj3
, &_arg3
))
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3638 wxPy_END_ALLOW_THREADS
;
3639 if (PyErr_Occurred()) return NULL
;
3640 } Py_INCREF(Py_None
);
3641 _resultobj
= Py_None
;
3645 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3646 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3649 wxAcceleratorTable
* _arg1
;
3650 PyObject
* _argo0
= 0;
3651 PyObject
* _argo1
= 0;
3652 char *_kwnames
[] = { "self","accel", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3675 wxPy_END_ALLOW_THREADS
;
3676 if (PyErr_Occurred()) return NULL
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3683 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3687 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self","autoLayout", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3701 _arg1
= (bool ) tempbool1
;
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3706 wxPy_END_ALLOW_THREADS
;
3707 if (PyErr_Occurred()) return NULL
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3714 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3718 PyObject
* _argo0
= 0;
3719 char *_kwnames
[] = { "self", NULL
};
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3732 wxPy_BEGIN_ALLOW_THREADS
;
3733 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3735 wxPy_END_ALLOW_THREADS
;
3736 if (PyErr_Occurred()) return NULL
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3742 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3746 PyObject
* _argo0
= 0;
3748 PyObject
* _obj1
= 0;
3749 char *_kwnames
[] = { "self","colour", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3763 if (! wxColour_helper(_obj1
, &_arg1
))
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3770 wxPy_END_ALLOW_THREADS
;
3771 if (PyErr_Occurred()) return NULL
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3777 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3778 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3781 wxLayoutConstraints
* _arg1
;
3782 PyObject
* _argo0
= 0;
3783 PyObject
* _argo1
= 0;
3784 char *_kwnames
[] = { "self","constraints", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 wxWindow_SetConstraints(_arg0
,_arg1
);
3807 wxPy_END_ALLOW_THREADS
;
3808 if (PyErr_Occurred()) return NULL
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3815 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3818 wxLayoutConstraints
* _arg1
;
3819 PyObject
* _argo0
= 0;
3820 PyObject
* _argo1
= 0;
3821 char *_kwnames
[] = { "self","constraints", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3844 wxPy_END_ALLOW_THREADS
;
3845 if (PyErr_Occurred()) return NULL
;
3846 } Py_INCREF(Py_None
);
3847 _resultobj
= Py_None
;
3851 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3852 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 wxWindow_SetFocus(_arg0
);
3872 wxPy_END_ALLOW_THREADS
;
3873 if (PyErr_Occurred()) return NULL
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3880 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3884 PyObject
* _argo0
= 0;
3885 char *_kwnames
[] = { "self", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3898 wxPy_BEGIN_ALLOW_THREADS
;
3899 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3901 wxPy_END_ALLOW_THREADS
;
3902 if (PyErr_Occurred()) return NULL
;
3903 } _resultobj
= Py_BuildValue("i",_result
);
3907 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3908 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3912 PyObject
* _argo0
= 0;
3913 PyObject
* _argo1
= 0;
3914 char *_kwnames
[] = { "self","font", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3934 wxPy_BEGIN_ALLOW_THREADS
;
3935 wxWindow_SetFont(_arg0
,*_arg1
);
3937 wxPy_END_ALLOW_THREADS
;
3938 if (PyErr_Occurred()) return NULL
;
3939 } Py_INCREF(Py_None
);
3940 _resultobj
= Py_None
;
3944 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3945 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3949 PyObject
* _argo0
= 0;
3951 PyObject
* _obj1
= 0;
3952 char *_kwnames
[] = { "self","colour", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3966 if (! wxColour_helper(_obj1
, &_arg1
))
3970 wxPy_BEGIN_ALLOW_THREADS
;
3971 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3973 wxPy_END_ALLOW_THREADS
;
3974 if (PyErr_Occurred()) return NULL
;
3975 } Py_INCREF(Py_None
);
3976 _resultobj
= Py_None
;
3980 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3981 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self","id", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 wxWindow_SetId(_arg0
,_arg1
);
4002 wxPy_END_ALLOW_THREADS
;
4003 if (PyErr_Occurred()) return NULL
;
4004 } Py_INCREF(Py_None
);
4005 _resultobj
= Py_None
;
4009 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4010 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4014 PyObject
* _argo0
= 0;
4015 PyObject
* _obj1
= 0;
4016 char *_kwnames
[] = { "self","name", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4029 #if PYTHON_API_VERSION >= 1009
4030 char* tmpPtr
; int tmpSize
;
4031 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4035 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4037 _arg1
= new wxString(tmpPtr
, tmpSize
);
4039 if (!PyString_Check(_obj1
)) {
4040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4043 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4047 wxPy_BEGIN_ALLOW_THREADS
;
4048 wxWindow_SetName(_arg0
,*_arg1
);
4050 wxPy_END_ALLOW_THREADS
;
4051 if (PyErr_Occurred()) return NULL
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4061 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4062 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4069 int _arg5
= (int ) TRUE
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_SetScrollbar. Expected _wxWindow_p.");
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4087 wxPy_END_ALLOW_THREADS
;
4088 if (PyErr_Occurred()) return NULL
;
4089 } Py_INCREF(Py_None
);
4090 _resultobj
= Py_None
;
4094 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4095 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4100 bool _arg3
= (bool ) TRUE
;
4101 PyObject
* _argo0
= 0;
4102 int tempbool3
= (int) TRUE
;
4103 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4115 _arg3
= (bool ) tempbool3
;
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4120 wxPy_END_ALLOW_THREADS
;
4121 if (PyErr_Occurred()) return NULL
;
4122 } Py_INCREF(Py_None
);
4123 _resultobj
= Py_None
;
4127 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4128 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4135 int _arg5
= (int ) wxSIZE_AUTO
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4153 wxPy_END_ALLOW_THREADS
;
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4161 self
->SetSize(size
);
4163 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4167 PyObject
* _argo0
= 0;
4169 PyObject
* _obj1
= 0;
4170 char *_kwnames
[] = { "self","size", NULL
};
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4184 if (! wxSize_helper(_obj1
, &_arg1
))
4188 wxPy_BEGIN_ALLOW_THREADS
;
4189 wxWindow_SetSize(_arg0
,*_arg1
);
4191 wxPy_END_ALLOW_THREADS
;
4192 if (PyErr_Occurred()) return NULL
;
4193 } Py_INCREF(Py_None
);
4194 _resultobj
= Py_None
;
4198 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4201 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4205 PyObject
* _argo0
= 0;
4207 PyObject
* _obj1
= 0;
4208 char *_kwnames
[] = { "self","pos", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4222 if (! wxPoint_helper(_obj1
, &_arg1
))
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 wxWindow_SetPosition(_arg0
,*_arg1
);
4229 wxPy_END_ALLOW_THREADS
;
4230 if (PyErr_Occurred()) return NULL
;
4231 } Py_INCREF(Py_None
);
4232 _resultobj
= Py_None
;
4236 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4237 self
->SetSize(rect
, sizeFlags
);
4239 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4243 int _arg2
= (int ) wxSIZE_AUTO
;
4244 PyObject
* _argo0
= 0;
4246 PyObject
* _obj1
= 0;
4247 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
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_SetRect. Expected _wxWindow_p.");
4261 if (! wxRect_helper(_obj1
, &_arg1
))
4265 wxPy_BEGIN_ALLOW_THREADS
;
4266 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4268 wxPy_END_ALLOW_THREADS
;
4269 if (PyErr_Occurred()) return NULL
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4276 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 int _arg1
= (int ) -1;
4280 int _arg2
= (int ) -1;
4281 int _arg3
= (int ) -1;
4282 int _arg4
= (int ) -1;
4283 int _arg5
= (int ) -1;
4284 int _arg6
= (int ) -1;
4285 PyObject
* _argo0
= 0;
4286 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4299 wxPy_BEGIN_ALLOW_THREADS
;
4300 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4302 wxPy_END_ALLOW_THREADS
;
4303 if (PyErr_Occurred()) return NULL
;
4304 } Py_INCREF(Py_None
);
4305 _resultobj
= Py_None
;
4309 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4310 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4315 PyObject
* _argo0
= 0;
4316 char *_kwnames
[] = { "self","width","height", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4329 wxPy_BEGIN_ALLOW_THREADS
;
4330 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4332 wxPy_END_ALLOW_THREADS
;
4333 if (PyErr_Occurred()) return NULL
;
4334 } Py_INCREF(Py_None
);
4335 _resultobj
= Py_None
;
4339 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4340 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4344 PyObject
* _argo0
= 0;
4346 PyObject
* _obj1
= 0;
4347 char *_kwnames
[] = { "self","size", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4361 if (! wxSize_helper(_obj1
, &_arg1
))
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 wxWindow_SetClientSize(_arg0
,*_arg1
);
4368 wxPy_END_ALLOW_THREADS
;
4369 if (PyErr_Occurred()) return NULL
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4375 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4376 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 PyObject
* _argo1
= 0;
4382 char *_kwnames
[] = { "self","cursor", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 wxWindow_SetCursor(_arg0
,*_arg1
);
4405 wxPy_END_ALLOW_THREADS
;
4406 if (PyErr_Occurred()) return NULL
;
4407 } Py_INCREF(Py_None
);
4408 _resultobj
= Py_None
;
4412 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4413 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4416 wxEvtHandler
* _arg1
;
4417 PyObject
* _argo0
= 0;
4418 PyObject
* _argo1
= 0;
4419 char *_kwnames
[] = { "self","handler", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 wxWindow_SetEventHandler(_arg0
,_arg1
);
4442 wxPy_END_ALLOW_THREADS
;
4443 if (PyErr_Occurred()) return NULL
;
4444 } Py_INCREF(Py_None
);
4445 _resultobj
= Py_None
;
4449 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4450 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4454 PyObject
* _argo0
= 0;
4455 char *_kwnames
[] = { "self","exStyle", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4468 wxPy_BEGIN_ALLOW_THREADS
;
4469 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4471 wxPy_END_ALLOW_THREADS
;
4472 if (PyErr_Occurred()) return NULL
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4478 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4479 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4483 PyObject
* _argo0
= 0;
4484 PyObject
* _obj1
= 0;
4485 char *_kwnames
[] = { "self","title", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4498 #if PYTHON_API_VERSION >= 1009
4499 char* tmpPtr
; int tmpSize
;
4500 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4504 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4506 _arg1
= new wxString(tmpPtr
, tmpSize
);
4508 if (!PyString_Check(_obj1
)) {
4509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4512 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4516 wxPy_BEGIN_ALLOW_THREADS
;
4517 wxWindow_SetTitle(_arg0
,*_arg1
);
4519 wxPy_END_ALLOW_THREADS
;
4520 if (PyErr_Occurred()) return NULL
;
4521 } Py_INCREF(Py_None
);
4522 _resultobj
= Py_None
;
4530 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4531 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4536 PyObject
* _argo0
= 0;
4538 char *_kwnames
[] = { "self","show", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4550 _arg1
= (bool ) tempbool1
;
4552 wxPy_BEGIN_ALLOW_THREADS
;
4553 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4555 wxPy_END_ALLOW_THREADS
;
4556 if (PyErr_Occurred()) return NULL
;
4557 } _resultobj
= Py_BuildValue("i",_result
);
4561 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4562 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4583 wxPy_END_ALLOW_THREADS
;
4584 if (PyErr_Occurred()) return NULL
;
4585 } _resultobj
= Py_BuildValue("i",_result
);
4589 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4590 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4608 wxPy_BEGIN_ALLOW_THREADS
;
4609 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4611 wxPy_END_ALLOW_THREADS
;
4612 if (PyErr_Occurred()) return NULL
;
4613 } _resultobj
= Py_BuildValue("i",_result
);
4617 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4618 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4622 PyObject
* _argo0
= 0;
4623 char *_kwnames
[] = { "self", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 _result
= (bool )wxWindow_Validate(_arg0
);
4639 wxPy_END_ALLOW_THREADS
;
4640 if (PyErr_Occurred()) return NULL
;
4641 } _resultobj
= Py_BuildValue("i",_result
);
4645 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4646 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4652 char *_kwnames
[] = { "self","x","y", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4668 wxPy_END_ALLOW_THREADS
;
4669 if (PyErr_Occurred()) return NULL
;
4670 } Py_INCREF(Py_None
);
4671 _resultobj
= Py_None
;
4675 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4676 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4681 PyObject
* _argo0
= 0;
4683 PyObject
* _obj1
= 0;
4684 char *_kwnames
[] = { "self","pt", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4699 if (! wxPoint_helper(_obj1
, &_arg1
))
4703 wxPy_BEGIN_ALLOW_THREADS
;
4704 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4706 wxPy_END_ALLOW_THREADS
;
4707 if (PyErr_Occurred()) return NULL
;
4708 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4709 _resultobj
= Py_BuildValue("s",_ptemp
);
4713 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4714 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4719 PyObject
* _argo0
= 0;
4721 PyObject
* _obj1
= 0;
4722 char *_kwnames
[] = { "self","sz", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4737 if (! wxSize_helper(_obj1
, &_arg1
))
4741 wxPy_BEGIN_ALLOW_THREADS
;
4742 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4744 wxPy_END_ALLOW_THREADS
;
4745 if (PyErr_Occurred()) return NULL
;
4746 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4747 _resultobj
= Py_BuildValue("s",_ptemp
);
4751 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4752 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4759 PyObject
* _obj1
= 0;
4760 char *_kwnames
[] = { "self","pt", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4775 if (! wxPoint_helper(_obj1
, &_arg1
))
4779 wxPy_BEGIN_ALLOW_THREADS
;
4780 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4782 wxPy_END_ALLOW_THREADS
;
4783 if (PyErr_Occurred()) return NULL
;
4784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4785 _resultobj
= Py_BuildValue("s",_ptemp
);
4789 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4790 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4795 PyObject
* _argo0
= 0;
4797 PyObject
* _obj1
= 0;
4798 char *_kwnames
[] = { "self","sz", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4813 if (! wxSize_helper(_obj1
, &_arg1
))
4817 wxPy_BEGIN_ALLOW_THREADS
;
4818 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4820 wxPy_END_ALLOW_THREADS
;
4821 if (PyErr_Occurred()) return NULL
;
4822 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4823 _resultobj
= Py_BuildValue("s",_ptemp
);
4827 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4828 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4832 PyObject
* _argo0
= 0;
4833 PyObject
* _obj1
= 0;
4834 char *_kwnames
[] = { "self","tip", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4847 #if PYTHON_API_VERSION >= 1009
4848 char* tmpPtr
; int tmpSize
;
4849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4855 _arg1
= new wxString(tmpPtr
, tmpSize
);
4857 if (!PyString_Check(_obj1
)) {
4858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4865 wxPy_BEGIN_ALLOW_THREADS
;
4866 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4868 wxPy_END_ALLOW_THREADS
;
4869 if (PyErr_Occurred()) return NULL
;
4870 } Py_INCREF(Py_None
);
4871 _resultobj
= Py_None
;
4879 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4880 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4884 PyObject
* _argo0
= 0;
4885 PyObject
* _argo1
= 0;
4886 char *_kwnames
[] = { "self","tooltip", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4906 wxPy_BEGIN_ALLOW_THREADS
;
4907 wxWindow_SetToolTip(_arg0
,_arg1
);
4909 wxPy_END_ALLOW_THREADS
;
4910 if (PyErr_Occurred()) return NULL
;
4911 } Py_INCREF(Py_None
);
4912 _resultobj
= Py_None
;
4916 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4917 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4919 wxToolTip
* _result
;
4921 PyObject
* _argo0
= 0;
4922 char *_kwnames
[] = { "self", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4938 wxPy_END_ALLOW_THREADS
;
4939 if (PyErr_Occurred()) return NULL
;
4940 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4944 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4945 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4949 PyObject
* _argo0
= 0;
4950 PyObject
* _argo1
= 0;
4951 char *_kwnames
[] = { "self","sizer", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 wxWindow_SetSizer(_arg0
,_arg1
);
4974 wxPy_END_ALLOW_THREADS
;
4975 if (PyErr_Occurred()) return NULL
;
4976 } Py_INCREF(Py_None
);
4977 _resultobj
= Py_None
;
4981 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4982 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5003 wxPy_END_ALLOW_THREADS
;
5004 if (PyErr_Occurred()) return NULL
;
5005 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5009 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5010 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5012 wxValidator
* _result
;
5014 PyObject
* _argo0
= 0;
5015 char *_kwnames
[] = { "self", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5031 wxPy_END_ALLOW_THREADS
;
5032 if (PyErr_Occurred()) return NULL
;
5033 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5037 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5038 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
* _resultobj
;
5041 wxValidator
* _arg1
;
5042 PyObject
* _argo0
= 0;
5043 PyObject
* _argo1
= 0;
5044 char *_kwnames
[] = { "self","validator", NULL
};
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 wxWindow_SetValidator(_arg0
,*_arg1
);
5067 wxPy_END_ALLOW_THREADS
;
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5074 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5075 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5078 wxDropTarget
* _arg1
;
5079 PyObject
* _argo0
= 0;
5080 PyObject
* _argo1
= 0;
5081 char *_kwnames
[] = { "self","target", NULL
};
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5101 wxPy_BEGIN_ALLOW_THREADS
;
5102 wxWindow_SetDropTarget(_arg0
,_arg1
);
5104 wxPy_END_ALLOW_THREADS
;
5105 if (PyErr_Occurred()) return NULL
;
5106 } Py_INCREF(Py_None
);
5107 _resultobj
= Py_None
;
5111 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5112 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5114 wxDropTarget
* _result
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5131 wxPy_BEGIN_ALLOW_THREADS
;
5132 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5134 wxPy_END_ALLOW_THREADS
;
5135 if (PyErr_Occurred()) return NULL
;
5137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5138 _resultobj
= Py_BuildValue("s",_ptemp
);
5141 _resultobj
= Py_None
;
5146 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5147 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5151 PyObject
* _argo0
= 0;
5152 char *_kwnames
[] = { "self", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5166 wxPy_BEGIN_ALLOW_THREADS
;
5167 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5169 wxPy_END_ALLOW_THREADS
;
5170 if (PyErr_Occurred()) return NULL
;
5171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5172 _resultobj
= Py_BuildValue("s",_ptemp
);
5176 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5177 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5181 PyObject
* _argo0
= 0;
5182 PyObject
* _argo1
= 0;
5183 char *_kwnames
[] = { "self","caret", NULL
};
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5203 wxPy_BEGIN_ALLOW_THREADS
;
5204 wxWindow_SetCaret(_arg0
,_arg1
);
5206 wxPy_END_ALLOW_THREADS
;
5207 if (PyErr_Occurred()) return NULL
;
5208 } Py_INCREF(Py_None
);
5209 _resultobj
= Py_None
;
5213 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5214 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5233 wxPy_BEGIN_ALLOW_THREADS
;
5234 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5236 wxPy_END_ALLOW_THREADS
;
5237 if (PyErr_Occurred()) return NULL
;
5239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5240 _resultobj
= Py_BuildValue("s",_ptemp
);
5243 _resultobj
= Py_None
;
5248 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5249 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5252 PyObject
* _argo0
= 0;
5253 char *_kwnames
[] = { "self", NULL
};
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5266 wxPy_BEGIN_ALLOW_THREADS
;
5267 wxWindow_Freeze(_arg0
);
5269 wxPy_END_ALLOW_THREADS
;
5270 if (PyErr_Occurred()) return NULL
;
5271 } Py_INCREF(Py_None
);
5272 _resultobj
= Py_None
;
5276 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5277 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5280 PyObject
* _argo0
= 0;
5281 char *_kwnames
[] = { "self", NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5294 wxPy_BEGIN_ALLOW_THREADS
;
5295 wxWindow_Thaw(_arg0
);
5297 wxPy_END_ALLOW_THREADS
;
5298 if (PyErr_Occurred()) return NULL
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5304 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5305 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "self", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 wxWindow_Update(_arg0
);
5325 wxPy_END_ALLOW_THREADS
;
5326 if (PyErr_Occurred()) return NULL
;
5327 } Py_INCREF(Py_None
);
5328 _resultobj
= Py_None
;
5332 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5333 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5354 wxPy_END_ALLOW_THREADS
;
5355 if (PyErr_Occurred()) return NULL
;
5357 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5365 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5366 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5370 PyObject
* _argo0
= 0;
5371 PyObject
* _obj1
= 0;
5372 char *_kwnames
[] = { "self","helpText", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5385 #if PYTHON_API_VERSION >= 1009
5386 char* tmpPtr
; int tmpSize
;
5387 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5391 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5393 _arg1
= new wxString(tmpPtr
, tmpSize
);
5395 if (!PyString_Check(_obj1
)) {
5396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5399 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5403 wxPy_BEGIN_ALLOW_THREADS
;
5404 wxWindow_SetHelpText(_arg0
,*_arg1
);
5406 wxPy_END_ALLOW_THREADS
;
5407 if (PyErr_Occurred()) return NULL
;
5408 } Py_INCREF(Py_None
);
5409 _resultobj
= Py_None
;
5417 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5418 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5423 PyObject
* _argo0
= 0;
5424 char *_kwnames
[] = { "self","lines", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5437 wxPy_BEGIN_ALLOW_THREADS
;
5438 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5440 wxPy_END_ALLOW_THREADS
;
5441 if (PyErr_Occurred()) return NULL
;
5442 } _resultobj
= Py_BuildValue("i",_result
);
5446 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5447 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5452 PyObject
* _argo0
= 0;
5453 char *_kwnames
[] = { "self","pages", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5466 wxPy_BEGIN_ALLOW_THREADS
;
5467 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5469 wxPy_END_ALLOW_THREADS
;
5470 if (PyErr_Occurred()) return NULL
;
5471 } _resultobj
= Py_BuildValue("i",_result
);
5475 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5476 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
* _resultobj
;
5480 PyObject
* _argo0
= 0;
5481 char *_kwnames
[] = { "self", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5494 wxPy_BEGIN_ALLOW_THREADS
;
5495 _result
= (bool )wxWindow_LineUp(_arg0
);
5497 wxPy_END_ALLOW_THREADS
;
5498 if (PyErr_Occurred()) return NULL
;
5499 } _resultobj
= Py_BuildValue("i",_result
);
5503 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5504 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5508 PyObject
* _argo0
= 0;
5509 char *_kwnames
[] = { "self", NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5522 wxPy_BEGIN_ALLOW_THREADS
;
5523 _result
= (bool )wxWindow_LineDown(_arg0
);
5525 wxPy_END_ALLOW_THREADS
;
5526 if (PyErr_Occurred()) return NULL
;
5527 } _resultobj
= Py_BuildValue("i",_result
);
5531 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5532 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5536 PyObject
* _argo0
= 0;
5537 char *_kwnames
[] = { "self", NULL
};
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5550 wxPy_BEGIN_ALLOW_THREADS
;
5551 _result
= (bool )wxWindow_PageUp(_arg0
);
5553 wxPy_END_ALLOW_THREADS
;
5554 if (PyErr_Occurred()) return NULL
;
5555 } _resultobj
= Py_BuildValue("i",_result
);
5559 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5560 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5564 PyObject
* _argo0
= 0;
5565 char *_kwnames
[] = { "self", NULL
};
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5578 wxPy_BEGIN_ALLOW_THREADS
;
5579 _result
= (bool )wxWindow_PageDown(_arg0
);
5581 wxPy_END_ALLOW_THREADS
;
5582 if (PyErr_Occurred()) return NULL
;
5583 } _resultobj
= Py_BuildValue("i",_result
);
5587 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5590 char *_kwnames
[] = { NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 _result
= (wxWindow
*)wxWindow::FindFocus();
5599 wxPy_END_ALLOW_THREADS
;
5600 if (PyErr_Occurred()) return NULL
;
5601 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5605 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
* _resultobj
;
5608 char *_kwnames
[] = { NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5614 wxPy_BEGIN_ALLOW_THREADS
;
5615 _result
= (int )wxWindow::NewControlId();
5617 wxPy_END_ALLOW_THREADS
;
5618 if (PyErr_Occurred()) return NULL
;
5619 } _resultobj
= Py_BuildValue("i",_result
);
5623 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5627 char *_kwnames
[] = { "id", NULL
};
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5633 wxPy_BEGIN_ALLOW_THREADS
;
5634 _result
= (int )wxWindow::NextControlId(_arg0
);
5636 wxPy_END_ALLOW_THREADS
;
5637 if (PyErr_Occurred()) return NULL
;
5638 } _resultobj
= Py_BuildValue("i",_result
);
5642 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5646 char *_kwnames
[] = { "id", NULL
};
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5652 wxPy_BEGIN_ALLOW_THREADS
;
5653 _result
= (int )wxWindow::PrevControlId(_arg0
);
5655 wxPy_END_ALLOW_THREADS
;
5656 if (PyErr_Occurred()) return NULL
;
5657 } _resultobj
= Py_BuildValue("i",_result
);
5661 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5662 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5664 wxAcceleratorTable
* _result
;
5666 PyObject
* _argo0
= 0;
5667 char *_kwnames
[] = { "self", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5681 wxPy_BEGIN_ALLOW_THREADS
;
5682 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
5684 wxPy_END_ALLOW_THREADS
;
5685 if (PyErr_Occurred()) return NULL
;
5687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5688 _resultobj
= Py_BuildValue("s",_ptemp
);
5691 _resultobj
= Py_None
;
5696 static void *SwigwxPanelTowxWindow(void *ptr
) {
5699 src
= (wxPanel
*) ptr
;
5700 dest
= (wxWindow
*) src
;
5701 return (void *) dest
;
5704 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5707 src
= (wxPanel
*) ptr
;
5708 dest
= (wxEvtHandler
*) src
;
5709 return (void *) dest
;
5712 static void *SwigwxPanelTowxObject(void *ptr
) {
5715 src
= (wxPanel
*) ptr
;
5716 dest
= (wxObject
*) src
;
5717 return (void *) dest
;
5720 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5721 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5726 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5727 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5728 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5729 char * _arg5
= (char *) "panel";
5730 PyObject
* _argo0
= 0;
5732 PyObject
* _obj2
= 0;
5734 PyObject
* _obj3
= 0;
5735 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5751 if (! wxPoint_helper(_obj2
, &_arg2
))
5757 if (! wxSize_helper(_obj3
, &_arg3
))
5761 wxPy_BEGIN_ALLOW_THREADS
;
5762 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5764 wxPy_END_ALLOW_THREADS
;
5765 if (PyErr_Occurred()) return NULL
;
5767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5768 _resultobj
= Py_BuildValue("s",_ptemp
);
5771 _resultobj
= Py_None
;
5776 #define new_wxPrePanel() (new wxPanel())
5777 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5780 char *_kwnames
[] = { NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
5787 wxPy_BEGIN_ALLOW_THREADS
;
5788 _result
= (wxPanel
*)new_wxPrePanel();
5790 wxPy_END_ALLOW_THREADS
;
5791 if (PyErr_Occurred()) return NULL
;
5793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5794 _resultobj
= Py_BuildValue("s",_ptemp
);
5797 _resultobj
= Py_None
;
5802 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5803 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5809 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5810 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5811 long _arg5
= (long ) wxTAB_TRAVERSAL
;
5812 char * _arg6
= (char *) "panel";
5813 PyObject
* _argo0
= 0;
5814 PyObject
* _argo1
= 0;
5816 PyObject
* _obj3
= 0;
5818 PyObject
* _obj4
= 0;
5819 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
5832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
5841 if (! wxPoint_helper(_obj3
, &_arg3
))
5847 if (! wxSize_helper(_obj4
, &_arg4
))
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5854 wxPy_END_ALLOW_THREADS
;
5855 if (PyErr_Occurred()) return NULL
;
5856 } _resultobj
= Py_BuildValue("i",_result
);
5860 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5861 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5878 wxPy_BEGIN_ALLOW_THREADS
;
5879 wxPanel_InitDialog(_arg0
);
5881 wxPy_END_ALLOW_THREADS
;
5882 if (PyErr_Occurred()) return NULL
;
5883 } Py_INCREF(Py_None
);
5884 _resultobj
= Py_None
;
5888 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5889 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "self", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5907 wxPy_BEGIN_ALLOW_THREADS
;
5908 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5910 wxPy_END_ALLOW_THREADS
;
5911 if (PyErr_Occurred()) return NULL
;
5912 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5916 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5917 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 PyObject
* _argo1
= 0;
5923 char *_kwnames
[] = { "self","btn", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5943 wxPy_BEGIN_ALLOW_THREADS
;
5944 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5946 wxPy_END_ALLOW_THREADS
;
5947 if (PyErr_Occurred()) return NULL
;
5948 } Py_INCREF(Py_None
);
5949 _resultobj
= Py_None
;
5953 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5954 wxScrolledWindow
*src
;
5956 src
= (wxScrolledWindow
*) ptr
;
5957 dest
= (wxPanel
*) src
;
5958 return (void *) dest
;
5961 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5962 wxScrolledWindow
*src
;
5964 src
= (wxScrolledWindow
*) ptr
;
5965 dest
= (wxWindow
*) src
;
5966 return (void *) dest
;
5969 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5970 wxScrolledWindow
*src
;
5972 src
= (wxScrolledWindow
*) ptr
;
5973 dest
= (wxEvtHandler
*) src
;
5974 return (void *) dest
;
5977 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
5978 wxScrolledWindow
*src
;
5980 src
= (wxScrolledWindow
*) ptr
;
5981 dest
= (wxObject
*) src
;
5982 return (void *) dest
;
5985 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5986 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxScrolledWindow
* _result
;
5990 wxWindowID _arg1
= (wxWindowID
) -1;
5991 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5992 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5993 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5994 char * _arg5
= (char *) "scrolledWindow";
5995 PyObject
* _argo0
= 0;
5997 PyObject
* _obj2
= 0;
5999 PyObject
* _obj3
= 0;
6000 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6016 if (! wxPoint_helper(_obj2
, &_arg2
))
6022 if (! wxSize_helper(_obj3
, &_arg3
))
6026 wxPy_BEGIN_ALLOW_THREADS
;
6027 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6029 wxPy_END_ALLOW_THREADS
;
6030 if (PyErr_Occurred()) return NULL
;
6032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6033 _resultobj
= Py_BuildValue("s",_ptemp
);
6036 _resultobj
= Py_None
;
6041 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6042 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
* _resultobj
;
6044 wxScrolledWindow
* _result
;
6045 char *_kwnames
[] = { NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6052 wxPy_BEGIN_ALLOW_THREADS
;
6053 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6055 wxPy_END_ALLOW_THREADS
;
6056 if (PyErr_Occurred()) return NULL
;
6058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6059 _resultobj
= Py_BuildValue("s",_ptemp
);
6062 _resultobj
= Py_None
;
6067 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6068 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6071 wxScrolledWindow
* _arg0
;
6073 wxWindowID _arg2
= (wxWindowID
) -1;
6074 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6075 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6076 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6077 char * _arg6
= (char *) "scrolledWindow";
6078 PyObject
* _argo0
= 0;
6079 PyObject
* _argo1
= 0;
6081 PyObject
* _obj3
= 0;
6083 PyObject
* _obj4
= 0;
6084 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6097 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6106 if (! wxPoint_helper(_obj3
, &_arg3
))
6112 if (! wxSize_helper(_obj4
, &_arg4
))
6116 wxPy_BEGIN_ALLOW_THREADS
;
6117 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6119 wxPy_END_ALLOW_THREADS
;
6120 if (PyErr_Occurred()) return NULL
;
6121 } _resultobj
= Py_BuildValue("i",_result
);
6125 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6126 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6128 wxScrolledWindow
* _arg0
;
6131 PyObject
* _argo0
= 0;
6134 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6146 _arg1
= (bool ) tempbool1
;
6147 _arg2
= (bool ) tempbool2
;
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6152 wxPy_END_ALLOW_THREADS
;
6153 if (PyErr_Occurred()) return NULL
;
6154 } Py_INCREF(Py_None
);
6155 _resultobj
= Py_None
;
6159 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6160 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6163 wxScrolledWindow
* _arg0
;
6165 PyObject
* _argo0
= 0;
6166 char *_kwnames
[] = { "self","orient", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6179 wxPy_BEGIN_ALLOW_THREADS
;
6180 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6182 wxPy_END_ALLOW_THREADS
;
6183 if (PyErr_Occurred()) return NULL
;
6184 } _resultobj
= Py_BuildValue("i",_result
);
6188 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6189 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxScrolledWindow
* _arg0
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6216 wxPy_BEGIN_ALLOW_THREADS
;
6217 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6219 wxPy_END_ALLOW_THREADS
;
6220 if (PyErr_Occurred()) return NULL
;
6221 } Py_INCREF(Py_None
);
6222 _resultobj
= Py_None
;
6225 o
= PyInt_FromLong((long) (*_arg1
));
6226 _resultobj
= t_output_helper(_resultobj
, o
);
6230 o
= PyInt_FromLong((long) (*_arg2
));
6231 _resultobj
= t_output_helper(_resultobj
, o
);
6236 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6237 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6240 wxScrolledWindow
* _arg0
;
6241 PyObject
* _argo0
= 0;
6242 char *_kwnames
[] = { "self", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6255 wxPy_BEGIN_ALLOW_THREADS
;
6256 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6258 wxPy_END_ALLOW_THREADS
;
6259 if (PyErr_Occurred()) return NULL
;
6260 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6264 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6265 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6267 wxScrolledWindow
* _arg0
;
6272 PyObject
* _argo0
= 0;
6273 char *_kwnames
[] = { "self", NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6292 wxPy_BEGIN_ALLOW_THREADS
;
6293 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6295 wxPy_END_ALLOW_THREADS
;
6296 if (PyErr_Occurred()) return NULL
;
6297 } Py_INCREF(Py_None
);
6298 _resultobj
= Py_None
;
6301 o
= PyInt_FromLong((long) (*_arg1
));
6302 _resultobj
= t_output_helper(_resultobj
, o
);
6306 o
= PyInt_FromLong((long) (*_arg2
));
6307 _resultobj
= t_output_helper(_resultobj
, o
);
6312 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6313 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6316 wxScrolledWindow
* _arg0
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6331 wxPy_BEGIN_ALLOW_THREADS
;
6332 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6334 wxPy_END_ALLOW_THREADS
;
6335 if (PyErr_Occurred()) return NULL
;
6336 } _resultobj
= Py_BuildValue("i",_result
);
6340 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6341 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6343 wxScrolledWindow
* _arg0
;
6345 PyObject
* _argo0
= 0;
6346 PyObject
* _argo1
= 0;
6347 char *_kwnames
[] = { "self","dc", NULL
};
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6367 wxPy_BEGIN_ALLOW_THREADS
;
6368 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6370 wxPy_END_ALLOW_THREADS
;
6371 if (PyErr_Occurred()) return NULL
;
6372 } Py_INCREF(Py_None
);
6373 _resultobj
= Py_None
;
6377 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6378 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6380 wxScrolledWindow
* _arg0
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self","x","y", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6397 wxPy_BEGIN_ALLOW_THREADS
;
6398 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6400 wxPy_END_ALLOW_THREADS
;
6401 if (PyErr_Occurred()) return NULL
;
6402 } Py_INCREF(Py_None
);
6403 _resultobj
= Py_None
;
6407 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6408 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
* _resultobj
;
6410 wxScrolledWindow
* _arg0
;
6415 int _arg5
= (int ) 0;
6416 int _arg6
= (int ) 0;
6417 int _arg7
= (int ) FALSE
;
6418 PyObject
* _argo0
= 0;
6419 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6432 wxPy_BEGIN_ALLOW_THREADS
;
6433 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6435 wxPy_END_ALLOW_THREADS
;
6436 if (PyErr_Occurred()) return NULL
;
6437 } Py_INCREF(Py_None
);
6438 _resultobj
= Py_None
;
6442 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6443 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6445 wxScrolledWindow
* _arg0
;
6448 PyObject
* _argo0
= 0;
6449 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6462 wxPy_BEGIN_ALLOW_THREADS
;
6463 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6465 wxPy_END_ALLOW_THREADS
;
6466 if (PyErr_Occurred()) return NULL
;
6467 } Py_INCREF(Py_None
);
6468 _resultobj
= Py_None
;
6472 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6473 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6475 wxScrolledWindow
* _arg0
;
6477 PyObject
* _argo0
= 0;
6478 PyObject
* _argo1
= 0;
6479 char *_kwnames
[] = { "self","window", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6499 wxPy_BEGIN_ALLOW_THREADS
;
6500 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6502 wxPy_END_ALLOW_THREADS
;
6503 if (PyErr_Occurred()) return NULL
;
6504 } Py_INCREF(Py_None
);
6505 _resultobj
= Py_None
;
6509 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6510 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6512 wxScrolledWindow
* _arg0
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6537 wxPy_BEGIN_ALLOW_THREADS
;
6538 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6540 wxPy_END_ALLOW_THREADS
;
6541 if (PyErr_Occurred()) return NULL
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6546 o
= PyInt_FromLong((long) (*_arg1
));
6547 _resultobj
= t_output_helper(_resultobj
, o
);
6551 o
= PyInt_FromLong((long) (*_arg2
));
6552 _resultobj
= t_output_helper(_resultobj
, o
);
6557 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6558 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6560 wxScrolledWindow
* _arg0
;
6567 PyObject
* _argo0
= 0;
6568 char *_kwnames
[] = { "self","x","y", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6587 wxPy_BEGIN_ALLOW_THREADS
;
6588 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6590 wxPy_END_ALLOW_THREADS
;
6591 if (PyErr_Occurred()) return NULL
;
6592 } Py_INCREF(Py_None
);
6593 _resultobj
= Py_None
;
6596 o
= PyInt_FromLong((long) (*_arg3
));
6597 _resultobj
= t_output_helper(_resultobj
, o
);
6601 o
= PyInt_FromLong((long) (*_arg4
));
6602 _resultobj
= t_output_helper(_resultobj
, o
);
6607 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6608 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
* _resultobj
;
6610 wxScrolledWindow
* _arg0
;
6617 PyObject
* _argo0
= 0;
6618 char *_kwnames
[] = { "self","x","y", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6637 wxPy_BEGIN_ALLOW_THREADS
;
6638 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6640 wxPy_END_ALLOW_THREADS
;
6641 if (PyErr_Occurred()) return NULL
;
6642 } Py_INCREF(Py_None
);
6643 _resultobj
= Py_None
;
6646 o
= PyInt_FromLong((long) (*_arg3
));
6647 _resultobj
= t_output_helper(_resultobj
, o
);
6651 o
= PyInt_FromLong((long) (*_arg4
));
6652 _resultobj
= t_output_helper(_resultobj
, o
);
6657 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
6658 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6660 wxScrolledWindow
* _arg0
;
6663 PyObject
* _argo0
= 0;
6664 char *_kwnames
[] = { "self","xs","ys", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
6677 wxPy_BEGIN_ALLOW_THREADS
;
6678 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
6680 wxPy_END_ALLOW_THREADS
;
6681 if (PyErr_Occurred()) return NULL
;
6682 } Py_INCREF(Py_None
);
6683 _resultobj
= Py_None
;
6687 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
6688 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
* _resultobj
;
6691 wxScrolledWindow
* _arg0
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
6706 wxPy_BEGIN_ALLOW_THREADS
;
6707 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
6709 wxPy_END_ALLOW_THREADS
;
6710 if (PyErr_Occurred()) return NULL
;
6711 } _resultobj
= Py_BuildValue("d",_result
);
6715 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
6716 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6719 wxScrolledWindow
* _arg0
;
6720 PyObject
* _argo0
= 0;
6721 char *_kwnames
[] = { "self", NULL
};
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
6727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
6734 wxPy_BEGIN_ALLOW_THREADS
;
6735 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
6737 wxPy_END_ALLOW_THREADS
;
6738 if (PyErr_Occurred()) return NULL
;
6739 } _resultobj
= Py_BuildValue("d",_result
);
6743 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
6744 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6746 wxScrolledWindow
* _arg0
;
6747 PyObject
* _argo0
= 0;
6748 char *_kwnames
[] = { "self", NULL
};
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
6754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
6761 wxPy_BEGIN_ALLOW_THREADS
;
6762 wxScrolledWindow_AdjustScrollbars(_arg0
);
6764 wxPy_END_ALLOW_THREADS
;
6765 if (PyErr_Occurred()) return NULL
;
6766 } Py_INCREF(Py_None
);
6767 _resultobj
= Py_None
;
6771 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6774 src
= (wxMenu
*) ptr
;
6775 dest
= (wxEvtHandler
*) src
;
6776 return (void *) dest
;
6779 static void *SwigwxMenuTowxObject(void *ptr
) {
6782 src
= (wxMenu
*) ptr
;
6783 dest
= (wxObject
*) src
;
6784 return (void *) dest
;
6787 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6788 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6791 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6792 long _arg1
= (long ) 0;
6793 PyObject
* _obj0
= 0;
6794 char *_kwnames
[] = { "title","style", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6802 #if PYTHON_API_VERSION >= 1009
6803 char* tmpPtr
; int tmpSize
;
6804 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6808 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6810 _arg0
= new wxString(tmpPtr
, tmpSize
);
6812 if (!PyString_Check(_obj0
)) {
6813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6816 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6820 wxPy_BEGIN_ALLOW_THREADS
;
6821 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6823 wxPy_END_ALLOW_THREADS
;
6824 if (PyErr_Occurred()) return NULL
;
6826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6827 _resultobj
= Py_BuildValue("s",_ptemp
);
6830 _resultobj
= Py_None
;
6839 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6840 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6845 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6846 int _arg4
= (int ) FALSE
;
6847 PyObject
* _argo0
= 0;
6848 PyObject
* _obj2
= 0;
6849 PyObject
* _obj3
= 0;
6850 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6863 #if PYTHON_API_VERSION >= 1009
6864 char* tmpPtr
; int tmpSize
;
6865 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6869 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6871 _arg2
= new wxString(tmpPtr
, tmpSize
);
6873 if (!PyString_Check(_obj2
)) {
6874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6877 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6882 #if PYTHON_API_VERSION >= 1009
6883 char* tmpPtr
; int tmpSize
;
6884 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6888 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6890 _arg3
= new wxString(tmpPtr
, tmpSize
);
6892 if (!PyString_Check(_obj3
)) {
6893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6896 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6900 wxPy_BEGIN_ALLOW_THREADS
;
6901 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6903 wxPy_END_ALLOW_THREADS
;
6904 if (PyErr_Occurred()) return NULL
;
6905 } Py_INCREF(Py_None
);
6906 _resultobj
= Py_None
;
6918 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6919 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
* _resultobj
;
6925 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6926 PyObject
* _argo0
= 0;
6927 PyObject
* _obj2
= 0;
6928 PyObject
* _argo3
= 0;
6929 PyObject
* _obj4
= 0;
6930 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6943 #if PYTHON_API_VERSION >= 1009
6944 char* tmpPtr
; int tmpSize
;
6945 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6949 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6951 _arg2
= new wxString(tmpPtr
, tmpSize
);
6953 if (!PyString_Check(_obj2
)) {
6954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6957 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6961 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6969 #if PYTHON_API_VERSION >= 1009
6970 char* tmpPtr
; int tmpSize
;
6971 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6975 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6977 _arg4
= new wxString(tmpPtr
, tmpSize
);
6979 if (!PyString_Check(_obj4
)) {
6980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6983 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6987 wxPy_BEGIN_ALLOW_THREADS
;
6988 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6990 wxPy_END_ALLOW_THREADS
;
6991 if (PyErr_Occurred()) return NULL
;
6992 } Py_INCREF(Py_None
);
6993 _resultobj
= Py_None
;
7005 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7006 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 PyObject
* _argo1
= 0;
7012 char *_kwnames
[] = { "self","item", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7032 wxPy_BEGIN_ALLOW_THREADS
;
7033 wxMenu_AppendItem(_arg0
,_arg1
);
7035 wxPy_END_ALLOW_THREADS
;
7036 if (PyErr_Occurred()) return NULL
;
7037 } Py_INCREF(Py_None
);
7038 _resultobj
= Py_None
;
7042 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7043 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
* _resultobj
;
7046 PyObject
* _argo0
= 0;
7047 char *_kwnames
[] = { "self", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7060 wxPy_BEGIN_ALLOW_THREADS
;
7061 wxMenu_AppendSeparator(_arg0
);
7063 wxPy_END_ALLOW_THREADS
;
7064 if (PyErr_Occurred()) return NULL
;
7065 } Py_INCREF(Py_None
);
7066 _resultobj
= Py_None
;
7070 #define wxMenu_Break(_swigobj) (_swigobj->Break())
7071 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 char *_kwnames
[] = { "self", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
7088 wxPy_BEGIN_ALLOW_THREADS
;
7089 wxMenu_Break(_arg0
);
7091 wxPy_END_ALLOW_THREADS
;
7092 if (PyErr_Occurred()) return NULL
;
7093 } Py_INCREF(Py_None
);
7094 _resultobj
= Py_None
;
7098 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7099 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7104 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self","id","flag", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
7118 _arg2
= (bool ) tempbool2
;
7120 wxPy_BEGIN_ALLOW_THREADS
;
7121 wxMenu_Check(_arg0
,_arg1
,_arg2
);
7123 wxPy_END_ALLOW_THREADS
;
7124 if (PyErr_Occurred()) return NULL
;
7125 } Py_INCREF(Py_None
);
7126 _resultobj
= Py_None
;
7130 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7131 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self","id", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
7150 wxPy_BEGIN_ALLOW_THREADS
;
7151 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
7153 wxPy_END_ALLOW_THREADS
;
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("i",_result
);
7159 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7160 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
* _resultobj
;
7165 PyObject
* _argo0
= 0;
7167 char *_kwnames
[] = { "self","id","enable", NULL
};
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
7179 _arg2
= (bool ) tempbool2
;
7181 wxPy_BEGIN_ALLOW_THREADS
;
7182 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
7184 wxPy_END_ALLOW_THREADS
;
7185 if (PyErr_Occurred()) return NULL
;
7186 } Py_INCREF(Py_None
);
7187 _resultobj
= Py_None
;
7191 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7192 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
* _resultobj
;
7197 PyObject
* _argo0
= 0;
7198 char *_kwnames
[] = { "self","id", NULL
};
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
7211 wxPy_BEGIN_ALLOW_THREADS
;
7212 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
7214 wxPy_END_ALLOW_THREADS
;
7215 if (PyErr_Occurred()) return NULL
;
7216 } _resultobj
= Py_BuildValue("i",_result
);
7220 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7221 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
* _resultobj
;
7226 PyObject
* _argo0
= 0;
7227 PyObject
* _obj1
= 0;
7228 char *_kwnames
[] = { "self","itemString", NULL
};
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
7234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
7241 #if PYTHON_API_VERSION >= 1009
7242 char* tmpPtr
; int tmpSize
;
7243 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7247 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7249 _arg1
= new wxString(tmpPtr
, tmpSize
);
7251 if (!PyString_Check(_obj1
)) {
7252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7255 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7259 wxPy_BEGIN_ALLOW_THREADS
;
7260 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7262 wxPy_END_ALLOW_THREADS
;
7263 if (PyErr_Occurred()) return NULL
;
7264 } _resultobj
= Py_BuildValue("i",_result
);
7272 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7273 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
* _resultobj
;
7275 wxMenuItem
* _result
;
7278 PyObject
* _argo0
= 0;
7279 char *_kwnames
[] = { "self","id", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
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_FindItemById. Expected _wxMenu_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7295 wxPy_END_ALLOW_THREADS
;
7296 if (PyErr_Occurred()) return NULL
;
7297 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7301 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7302 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7306 PyObject
* _argo0
= 0;
7307 char *_kwnames
[] = { "self", NULL
};
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7320 wxPy_BEGIN_ALLOW_THREADS
;
7321 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7323 wxPy_END_ALLOW_THREADS
;
7324 if (PyErr_Occurred()) return NULL
;
7326 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7334 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7335 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7339 PyObject
* _argo0
= 0;
7340 PyObject
* _obj1
= 0;
7341 char *_kwnames
[] = { "self","title", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7354 #if PYTHON_API_VERSION >= 1009
7355 char* tmpPtr
; int tmpSize
;
7356 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7360 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7362 _arg1
= new wxString(tmpPtr
, tmpSize
);
7364 if (!PyString_Check(_obj1
)) {
7365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7368 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7372 wxPy_BEGIN_ALLOW_THREADS
;
7373 wxMenu_SetTitle(_arg0
,*_arg1
);
7375 wxPy_END_ALLOW_THREADS
;
7376 if (PyErr_Occurred()) return NULL
;
7377 } Py_INCREF(Py_None
);
7378 _resultobj
= Py_None
;
7386 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7387 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7392 PyObject
* _argo0
= 0;
7393 char *_kwnames
[] = { "self","id", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7406 wxPy_BEGIN_ALLOW_THREADS
;
7407 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7409 wxPy_END_ALLOW_THREADS
;
7410 if (PyErr_Occurred()) return NULL
;
7412 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7420 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7421 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
* _resultobj
;
7426 PyObject
* _argo0
= 0;
7427 PyObject
* _obj2
= 0;
7428 char *_kwnames
[] = { "self","id","label", NULL
};
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7441 #if PYTHON_API_VERSION >= 1009
7442 char* tmpPtr
; int tmpSize
;
7443 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7447 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7449 _arg2
= new wxString(tmpPtr
, tmpSize
);
7451 if (!PyString_Check(_obj2
)) {
7452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7455 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7459 wxPy_BEGIN_ALLOW_THREADS
;
7460 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7462 wxPy_END_ALLOW_THREADS
;
7463 if (PyErr_Occurred()) return NULL
;
7464 } Py_INCREF(Py_None
);
7465 _resultobj
= Py_None
;
7473 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7474 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self","id", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7493 wxPy_BEGIN_ALLOW_THREADS
;
7494 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7496 wxPy_END_ALLOW_THREADS
;
7497 if (PyErr_Occurred()) return NULL
;
7499 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7507 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7508 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7513 PyObject
* _argo0
= 0;
7514 PyObject
* _obj2
= 0;
7515 char *_kwnames
[] = { "self","id","helpString", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7528 #if PYTHON_API_VERSION >= 1009
7529 char* tmpPtr
; int tmpSize
;
7530 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7534 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7536 _arg2
= new wxString(tmpPtr
, tmpSize
);
7538 if (!PyString_Check(_obj2
)) {
7539 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7542 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7546 wxPy_BEGIN_ALLOW_THREADS
;
7547 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7549 wxPy_END_ALLOW_THREADS
;
7550 if (PyErr_Occurred()) return NULL
;
7551 } Py_INCREF(Py_None
);
7552 _resultobj
= Py_None
;
7560 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7561 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
* _resultobj
;
7564 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7565 PyObject
* _argo0
= 0;
7566 PyObject
* _argo1
= 0;
7567 char *_kwnames
[] = { "self","source", NULL
};
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7587 wxPy_BEGIN_ALLOW_THREADS
;
7588 wxMenu_UpdateUI(_arg0
,_arg1
);
7590 wxPy_END_ALLOW_THREADS
;
7591 if (PyErr_Occurred()) return NULL
;
7592 } Py_INCREF(Py_None
);
7593 _resultobj
= Py_None
;
7597 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7598 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7603 PyObject
* _argo0
= 0;
7604 char *_kwnames
[] = { "self","id", NULL
};
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7617 wxPy_BEGIN_ALLOW_THREADS
;
7618 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7620 wxPy_END_ALLOW_THREADS
;
7621 if (PyErr_Occurred()) return NULL
;
7622 } _resultobj
= Py_BuildValue("i",_result
);
7626 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7627 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7632 PyObject
* _argo0
= 0;
7633 PyObject
* _argo1
= 0;
7634 char *_kwnames
[] = { "self","item", NULL
};
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7654 wxPy_BEGIN_ALLOW_THREADS
;
7655 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7657 wxPy_END_ALLOW_THREADS
;
7658 if (PyErr_Occurred()) return NULL
;
7659 } _resultobj
= Py_BuildValue("i",_result
);
7663 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7664 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7670 PyObject
* _argo0
= 0;
7671 PyObject
* _argo2
= 0;
7672 char *_kwnames
[] = { "self","pos","item", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7685 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7692 wxPy_BEGIN_ALLOW_THREADS
;
7693 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7695 wxPy_END_ALLOW_THREADS
;
7696 if (PyErr_Occurred()) return NULL
;
7697 } _resultobj
= Py_BuildValue("i",_result
);
7701 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7702 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7704 wxMenuItem
* _result
;
7707 PyObject
* _argo0
= 0;
7708 char *_kwnames
[] = { "self","id", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7721 wxPy_BEGIN_ALLOW_THREADS
;
7722 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7724 wxPy_END_ALLOW_THREADS
;
7725 if (PyErr_Occurred()) return NULL
;
7726 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7730 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7731 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
* _resultobj
;
7733 wxMenuItem
* _result
;
7736 PyObject
* _argo0
= 0;
7737 PyObject
* _argo1
= 0;
7738 char *_kwnames
[] = { "self","item", NULL
};
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7758 wxPy_BEGIN_ALLOW_THREADS
;
7759 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7761 wxPy_END_ALLOW_THREADS
;
7762 if (PyErr_Occurred()) return NULL
;
7763 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7767 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7768 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7771 PyObject
* _argo0
= 0;
7772 char *_kwnames
[] = { "self", NULL
};
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7785 wxPy_BEGIN_ALLOW_THREADS
;
7786 wxMenu_Destroy(_arg0
);
7788 wxPy_END_ALLOW_THREADS
;
7789 if (PyErr_Occurred()) return NULL
;
7790 } Py_INCREF(Py_None
);
7791 _resultobj
= Py_None
;
7795 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7796 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7801 PyObject
* _argo0
= 0;
7802 char *_kwnames
[] = { "self","id", NULL
};
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7815 wxPy_BEGIN_ALLOW_THREADS
;
7816 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7818 wxPy_END_ALLOW_THREADS
;
7819 if (PyErr_Occurred()) return NULL
;
7820 } _resultobj
= Py_BuildValue("i",_result
);
7824 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7825 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
* _resultobj
;
7830 PyObject
* _argo0
= 0;
7831 PyObject
* _argo1
= 0;
7832 char *_kwnames
[] = { "self","item", NULL
};
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7845 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7852 wxPy_BEGIN_ALLOW_THREADS
;
7853 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7855 wxPy_END_ALLOW_THREADS
;
7856 if (PyErr_Occurred()) return NULL
;
7857 } _resultobj
= Py_BuildValue("i",_result
);
7861 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7862 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7866 PyObject
* _argo0
= 0;
7867 char *_kwnames
[] = { "self", NULL
};
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7880 wxPy_BEGIN_ALLOW_THREADS
;
7881 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7883 wxPy_END_ALLOW_THREADS
;
7884 if (PyErr_Occurred()) return NULL
;
7885 } _resultobj
= Py_BuildValue("i",_result
);
7889 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7890 wxMenuItemList
& list
= self
->GetMenuItems();
7891 return wxPy_ConvertList(&list
, "wxMenuItem");
7893 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
* _resultobj
;
7897 PyObject
* _argo0
= 0;
7898 char *_kwnames
[] = { "self", NULL
};
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7911 wxPy_BEGIN_ALLOW_THREADS
;
7912 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7914 wxPy_END_ALLOW_THREADS
;
7915 if (PyErr_Occurred()) return NULL
;
7917 _resultobj
= _result
;
7922 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7923 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7926 wxEvtHandler
* _arg1
;
7927 PyObject
* _argo0
= 0;
7928 PyObject
* _argo1
= 0;
7929 char *_kwnames
[] = { "self","handler", NULL
};
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
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_SetEventHandler. Expected _wxMenu_p.");
7942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7949 wxPy_BEGIN_ALLOW_THREADS
;
7950 wxMenu_SetEventHandler(_arg0
,_arg1
);
7952 wxPy_END_ALLOW_THREADS
;
7953 if (PyErr_Occurred()) return NULL
;
7954 } Py_INCREF(Py_None
);
7955 _resultobj
= Py_None
;
7959 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7960 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
* _resultobj
;
7962 wxEvtHandler
* _result
;
7964 PyObject
* _argo0
= 0;
7965 char *_kwnames
[] = { "self", NULL
};
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7978 wxPy_BEGIN_ALLOW_THREADS
;
7979 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7981 wxPy_END_ALLOW_THREADS
;
7982 if (PyErr_Occurred()) return NULL
;
7983 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7987 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7988 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
* _resultobj
;
7992 PyObject
* _argo0
= 0;
7993 PyObject
* _argo1
= 0;
7994 char *_kwnames
[] = { "self","win", NULL
};
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
8014 wxPy_BEGIN_ALLOW_THREADS
;
8015 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
8017 wxPy_END_ALLOW_THREADS
;
8018 if (PyErr_Occurred()) return NULL
;
8019 } Py_INCREF(Py_None
);
8020 _resultobj
= Py_None
;
8024 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
8025 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
* _resultobj
;
8029 PyObject
* _argo0
= 0;
8030 char *_kwnames
[] = { "self", NULL
};
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
8036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8043 wxPy_BEGIN_ALLOW_THREADS
;
8044 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
8046 wxPy_END_ALLOW_THREADS
;
8047 if (PyErr_Occurred()) return NULL
;
8048 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8052 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
8053 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
* _resultobj
;
8057 PyObject
* _argo0
= 0;
8058 char *_kwnames
[] = { "self", NULL
};
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
8064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8071 wxPy_BEGIN_ALLOW_THREADS
;
8072 _result
= (long )wxMenu_GetStyle(_arg0
);
8074 wxPy_END_ALLOW_THREADS
;
8075 if (PyErr_Occurred()) return NULL
;
8076 } _resultobj
= Py_BuildValue("l",_result
);
8080 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
8081 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8085 PyObject
* _argo0
= 0;
8086 char *_kwnames
[] = { "self", NULL
};
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
8092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8099 wxPy_BEGIN_ALLOW_THREADS
;
8100 _result
= (bool )wxMenu_IsAttached(_arg0
);
8102 wxPy_END_ALLOW_THREADS
;
8103 if (PyErr_Occurred()) return NULL
;
8104 } _resultobj
= Py_BuildValue("i",_result
);
8108 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
8109 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
* _resultobj
;
8113 PyObject
* _argo0
= 0;
8114 PyObject
* _argo1
= 0;
8115 char *_kwnames
[] = { "self","parent", NULL
};
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
8121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8135 wxPy_BEGIN_ALLOW_THREADS
;
8136 wxMenu_SetParent(_arg0
,_arg1
);
8138 wxPy_END_ALLOW_THREADS
;
8139 if (PyErr_Occurred()) return NULL
;
8140 } Py_INCREF(Py_None
);
8141 _resultobj
= Py_None
;
8145 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
8146 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8150 PyObject
* _argo0
= 0;
8151 char *_kwnames
[] = { "self", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8164 wxPy_BEGIN_ALLOW_THREADS
;
8165 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
8167 wxPy_END_ALLOW_THREADS
;
8168 if (PyErr_Occurred()) return NULL
;
8169 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8173 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
8176 src
= (wxMenuBar
*) ptr
;
8177 dest
= (wxWindow
*) src
;
8178 return (void *) dest
;
8181 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
8184 src
= (wxMenuBar
*) ptr
;
8185 dest
= (wxEvtHandler
*) src
;
8186 return (void *) dest
;
8189 static void *SwigwxMenuBarTowxObject(void *ptr
) {
8192 src
= (wxMenuBar
*) ptr
;
8193 dest
= (wxObject
*) src
;
8194 return (void *) dest
;
8197 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
8198 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
* _resultobj
;
8200 wxMenuBar
* _result
;
8201 long _arg0
= (long ) 0;
8202 char *_kwnames
[] = { "style", NULL
};
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
8209 wxPy_BEGIN_ALLOW_THREADS
;
8210 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
8212 wxPy_END_ALLOW_THREADS
;
8213 if (PyErr_Occurred()) return NULL
;
8215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
8216 _resultobj
= Py_BuildValue("s",_ptemp
);
8219 _resultobj
= Py_None
;
8224 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
8225 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
* _resultobj
;
8231 PyObject
* _argo0
= 0;
8232 PyObject
* _argo1
= 0;
8233 PyObject
* _obj2
= 0;
8234 char *_kwnames
[] = { "self","menu","title", NULL
};
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8254 #if PYTHON_API_VERSION >= 1009
8255 char* tmpPtr
; int tmpSize
;
8256 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8260 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8262 _arg2
= new wxString(tmpPtr
, tmpSize
);
8264 if (!PyString_Check(_obj2
)) {
8265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8268 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8272 wxPy_BEGIN_ALLOW_THREADS
;
8273 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8275 wxPy_END_ALLOW_THREADS
;
8276 if (PyErr_Occurred()) return NULL
;
8277 } _resultobj
= Py_BuildValue("i",_result
);
8285 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8286 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
* _resultobj
;
8293 PyObject
* _argo0
= 0;
8294 PyObject
* _argo2
= 0;
8295 PyObject
* _obj3
= 0;
8296 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8309 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8316 #if PYTHON_API_VERSION >= 1009
8317 char* tmpPtr
; int tmpSize
;
8318 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8322 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8324 _arg3
= new wxString(tmpPtr
, tmpSize
);
8326 if (!PyString_Check(_obj3
)) {
8327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8330 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8334 wxPy_BEGIN_ALLOW_THREADS
;
8335 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8337 wxPy_END_ALLOW_THREADS
;
8338 if (PyErr_Occurred()) return NULL
;
8339 } _resultobj
= Py_BuildValue("i",_result
);
8347 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8348 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
* _resultobj
;
8352 PyObject
* _argo0
= 0;
8353 char *_kwnames
[] = { "self", NULL
};
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8366 wxPy_BEGIN_ALLOW_THREADS
;
8367 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8369 wxPy_END_ALLOW_THREADS
;
8370 if (PyErr_Occurred()) return NULL
;
8371 } _resultobj
= Py_BuildValue("i",_result
);
8375 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8376 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8381 PyObject
* _argo0
= 0;
8382 char *_kwnames
[] = { "self","pos", NULL
};
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8395 wxPy_BEGIN_ALLOW_THREADS
;
8396 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8398 wxPy_END_ALLOW_THREADS
;
8399 if (PyErr_Occurred()) return NULL
;
8400 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8404 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8405 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
* _resultobj
;
8412 PyObject
* _argo0
= 0;
8413 PyObject
* _argo2
= 0;
8414 PyObject
* _obj3
= 0;
8415 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8428 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8429 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8435 #if PYTHON_API_VERSION >= 1009
8436 char* tmpPtr
; int tmpSize
;
8437 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8441 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8443 _arg3
= new wxString(tmpPtr
, tmpSize
);
8445 if (!PyString_Check(_obj3
)) {
8446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8449 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8453 wxPy_BEGIN_ALLOW_THREADS
;
8454 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8456 wxPy_END_ALLOW_THREADS
;
8457 if (PyErr_Occurred()) return NULL
;
8458 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8466 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8467 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8472 PyObject
* _argo0
= 0;
8473 char *_kwnames
[] = { "self","pos", NULL
};
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8486 wxPy_BEGIN_ALLOW_THREADS
;
8487 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8489 wxPy_END_ALLOW_THREADS
;
8490 if (PyErr_Occurred()) return NULL
;
8491 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8495 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8496 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
* _resultobj
;
8501 PyObject
* _argo0
= 0;
8503 char *_kwnames
[] = { "self","pos","enable", NULL
};
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8515 _arg2
= (bool ) tempbool2
;
8517 wxPy_BEGIN_ALLOW_THREADS
;
8518 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8520 wxPy_END_ALLOW_THREADS
;
8521 if (PyErr_Occurred()) return NULL
;
8522 } Py_INCREF(Py_None
);
8523 _resultobj
= Py_None
;
8527 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8528 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
* _resultobj
;
8533 PyObject
* _argo0
= 0;
8534 PyObject
* _obj2
= 0;
8535 char *_kwnames
[] = { "self","pos","label", NULL
};
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8548 #if PYTHON_API_VERSION >= 1009
8549 char* tmpPtr
; int tmpSize
;
8550 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8554 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8556 _arg2
= new wxString(tmpPtr
, tmpSize
);
8558 if (!PyString_Check(_obj2
)) {
8559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8562 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8566 wxPy_BEGIN_ALLOW_THREADS
;
8567 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8569 wxPy_END_ALLOW_THREADS
;
8570 if (PyErr_Occurred()) return NULL
;
8571 } Py_INCREF(Py_None
);
8572 _resultobj
= Py_None
;
8580 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8581 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
* _resultobj
;
8586 PyObject
* _argo0
= 0;
8587 char *_kwnames
[] = { "self","pos", NULL
};
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8600 wxPy_BEGIN_ALLOW_THREADS
;
8601 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8603 wxPy_END_ALLOW_THREADS
;
8604 if (PyErr_Occurred()) return NULL
;
8606 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8614 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
8615 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
* _resultobj
;
8620 PyObject
* _argo0
= 0;
8621 PyObject
* _obj1
= 0;
8622 char *_kwnames
[] = { "self","title", NULL
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
8628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
8635 #if PYTHON_API_VERSION >= 1009
8636 char* tmpPtr
; int tmpSize
;
8637 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8641 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8643 _arg1
= new wxString(tmpPtr
, tmpSize
);
8645 if (!PyString_Check(_obj1
)) {
8646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8649 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8653 wxPy_BEGIN_ALLOW_THREADS
;
8654 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
8656 wxPy_END_ALLOW_THREADS
;
8657 if (PyErr_Occurred()) return NULL
;
8658 } _resultobj
= Py_BuildValue("i",_result
);
8666 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8667 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8673 PyObject
* _argo0
= 0;
8674 PyObject
* _obj1
= 0;
8675 PyObject
* _obj2
= 0;
8676 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8689 #if PYTHON_API_VERSION >= 1009
8690 char* tmpPtr
; int tmpSize
;
8691 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8695 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8697 _arg1
= new wxString(tmpPtr
, tmpSize
);
8699 if (!PyString_Check(_obj1
)) {
8700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8703 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8707 #if PYTHON_API_VERSION >= 1009
8708 char* tmpPtr
; int tmpSize
;
8709 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8713 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8715 _arg2
= new wxString(tmpPtr
, tmpSize
);
8717 if (!PyString_Check(_obj2
)) {
8718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8721 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8725 wxPy_BEGIN_ALLOW_THREADS
;
8726 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8728 wxPy_END_ALLOW_THREADS
;
8729 if (PyErr_Occurred()) return NULL
;
8730 } _resultobj
= Py_BuildValue("i",_result
);
8742 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8743 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8745 wxMenuItem
* _result
;
8748 PyObject
* _argo0
= 0;
8749 char *_kwnames
[] = { "self","id", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8762 wxPy_BEGIN_ALLOW_THREADS
;
8763 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8765 wxPy_END_ALLOW_THREADS
;
8766 if (PyErr_Occurred()) return NULL
;
8767 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8771 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8772 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
* _resultobj
;
8777 PyObject
* _argo0
= 0;
8779 char *_kwnames
[] = { "self","id","enable", NULL
};
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8791 _arg2
= (bool ) tempbool2
;
8793 wxPy_BEGIN_ALLOW_THREADS
;
8794 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8796 wxPy_END_ALLOW_THREADS
;
8797 if (PyErr_Occurred()) return NULL
;
8798 } Py_INCREF(Py_None
);
8799 _resultobj
= Py_None
;
8803 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8804 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
* _resultobj
;
8809 PyObject
* _argo0
= 0;
8811 char *_kwnames
[] = { "self","id","check", NULL
};
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8823 _arg2
= (bool ) tempbool2
;
8825 wxPy_BEGIN_ALLOW_THREADS
;
8826 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8828 wxPy_END_ALLOW_THREADS
;
8829 if (PyErr_Occurred()) return NULL
;
8830 } Py_INCREF(Py_None
);
8831 _resultobj
= Py_None
;
8835 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8836 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
* _resultobj
;
8841 PyObject
* _argo0
= 0;
8842 char *_kwnames
[] = { "self","id", NULL
};
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8855 wxPy_BEGIN_ALLOW_THREADS
;
8856 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8858 wxPy_END_ALLOW_THREADS
;
8859 if (PyErr_Occurred()) return NULL
;
8860 } _resultobj
= Py_BuildValue("i",_result
);
8864 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8865 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8870 PyObject
* _argo0
= 0;
8871 char *_kwnames
[] = { "self","id", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8884 wxPy_BEGIN_ALLOW_THREADS
;
8885 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8887 wxPy_END_ALLOW_THREADS
;
8888 if (PyErr_Occurred()) return NULL
;
8889 } _resultobj
= Py_BuildValue("i",_result
);
8893 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8894 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8899 PyObject
* _argo0
= 0;
8900 PyObject
* _obj2
= 0;
8901 char *_kwnames
[] = { "self","id","label", NULL
};
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8914 #if PYTHON_API_VERSION >= 1009
8915 char* tmpPtr
; int tmpSize
;
8916 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8920 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8922 _arg2
= new wxString(tmpPtr
, tmpSize
);
8924 if (!PyString_Check(_obj2
)) {
8925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8928 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8932 wxPy_BEGIN_ALLOW_THREADS
;
8933 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8935 wxPy_END_ALLOW_THREADS
;
8936 if (PyErr_Occurred()) return NULL
;
8937 } Py_INCREF(Py_None
);
8938 _resultobj
= Py_None
;
8946 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8947 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
* _resultobj
;
8952 PyObject
* _argo0
= 0;
8953 char *_kwnames
[] = { "self","id", NULL
};
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8966 wxPy_BEGIN_ALLOW_THREADS
;
8967 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8969 wxPy_END_ALLOW_THREADS
;
8970 if (PyErr_Occurred()) return NULL
;
8972 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8980 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8981 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
* _resultobj
;
8986 PyObject
* _argo0
= 0;
8987 PyObject
* _obj2
= 0;
8988 char *_kwnames
[] = { "self","id","helpString", NULL
};
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9001 #if PYTHON_API_VERSION >= 1009
9002 char* tmpPtr
; int tmpSize
;
9003 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9004 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9007 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9009 _arg2
= new wxString(tmpPtr
, tmpSize
);
9011 if (!PyString_Check(_obj2
)) {
9012 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9015 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9019 wxPy_BEGIN_ALLOW_THREADS
;
9020 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9022 wxPy_END_ALLOW_THREADS
;
9023 if (PyErr_Occurred()) return NULL
;
9024 } Py_INCREF(Py_None
);
9025 _resultobj
= Py_None
;
9033 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9034 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
* _resultobj
;
9039 PyObject
* _argo0
= 0;
9040 char *_kwnames
[] = { "self","id", NULL
};
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9053 wxPy_BEGIN_ALLOW_THREADS
;
9054 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9056 wxPy_END_ALLOW_THREADS
;
9057 if (PyErr_Occurred()) return NULL
;
9059 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9067 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9070 src
= (wxMenuItem
*) ptr
;
9071 dest
= (wxObject
*) src
;
9072 return (void *) dest
;
9075 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9076 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9078 wxMenuItem
* _result
;
9079 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9080 int _arg1
= (int ) wxID_SEPARATOR
;
9081 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
9082 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
9083 bool _arg4
= (bool ) FALSE
;
9084 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9085 PyObject
* _argo0
= 0;
9086 PyObject
* _obj2
= 0;
9087 PyObject
* _obj3
= 0;
9088 int tempbool4
= (int) FALSE
;
9089 PyObject
* _argo5
= 0;
9090 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9105 #if PYTHON_API_VERSION >= 1009
9106 char* tmpPtr
; int tmpSize
;
9107 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9111 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9113 _arg2
= new wxString(tmpPtr
, tmpSize
);
9115 if (!PyString_Check(_obj2
)) {
9116 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9119 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9124 #if PYTHON_API_VERSION >= 1009
9125 char* tmpPtr
; int tmpSize
;
9126 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9127 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9130 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9132 _arg3
= new wxString(tmpPtr
, tmpSize
);
9134 if (!PyString_Check(_obj3
)) {
9135 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9138 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9141 _arg4
= (bool ) tempbool4
;
9143 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9144 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9150 wxPy_BEGIN_ALLOW_THREADS
;
9151 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9153 wxPy_END_ALLOW_THREADS
;
9154 if (PyErr_Occurred()) return NULL
;
9156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9157 _resultobj
= Py_BuildValue("s",_ptemp
);
9160 _resultobj
= Py_None
;
9173 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9174 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
* _resultobj
;
9178 PyObject
* _argo0
= 0;
9179 char *_kwnames
[] = { "self", NULL
};
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9192 wxPy_BEGIN_ALLOW_THREADS
;
9193 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9195 wxPy_END_ALLOW_THREADS
;
9196 if (PyErr_Occurred()) return NULL
;
9197 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9201 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9202 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
* _resultobj
;
9206 PyObject
* _argo0
= 0;
9207 char *_kwnames
[] = { "self","id", NULL
};
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
9213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
9220 wxPy_BEGIN_ALLOW_THREADS
;
9221 wxMenuItem_SetId(_arg0
,_arg1
);
9223 wxPy_END_ALLOW_THREADS
;
9224 if (PyErr_Occurred()) return NULL
;
9225 } Py_INCREF(Py_None
);
9226 _resultobj
= Py_None
;
9230 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
9231 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
* _resultobj
;
9235 PyObject
* _argo0
= 0;
9236 char *_kwnames
[] = { "self", NULL
};
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
9242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
9249 wxPy_BEGIN_ALLOW_THREADS
;
9250 _result
= (int )wxMenuItem_GetId(_arg0
);
9252 wxPy_END_ALLOW_THREADS
;
9253 if (PyErr_Occurred()) return NULL
;
9254 } _resultobj
= Py_BuildValue("i",_result
);
9258 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
9259 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
* _resultobj
;
9263 PyObject
* _argo0
= 0;
9264 char *_kwnames
[] = { "self", NULL
};
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
9270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
9277 wxPy_BEGIN_ALLOW_THREADS
;
9278 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
9280 wxPy_END_ALLOW_THREADS
;
9281 if (PyErr_Occurred()) return NULL
;
9282 } _resultobj
= Py_BuildValue("i",_result
);
9286 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9287 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
* _resultobj
;
9291 PyObject
* _argo0
= 0;
9292 PyObject
* _obj1
= 0;
9293 char *_kwnames
[] = { "self","str", NULL
};
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
9306 #if PYTHON_API_VERSION >= 1009
9307 char* tmpPtr
; int tmpSize
;
9308 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9312 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9314 _arg1
= new wxString(tmpPtr
, tmpSize
);
9316 if (!PyString_Check(_obj1
)) {
9317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9320 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9324 wxPy_BEGIN_ALLOW_THREADS
;
9325 wxMenuItem_SetText(_arg0
,*_arg1
);
9327 wxPy_END_ALLOW_THREADS
;
9328 if (PyErr_Occurred()) return NULL
;
9329 } Py_INCREF(Py_None
);
9330 _resultobj
= Py_None
;
9338 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
9339 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
* _resultobj
;
9343 PyObject
* _argo0
= 0;
9344 char *_kwnames
[] = { "self", NULL
};
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
9350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
9357 wxPy_BEGIN_ALLOW_THREADS
;
9358 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
9360 wxPy_END_ALLOW_THREADS
;
9361 if (PyErr_Occurred()) return NULL
;
9363 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9371 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9372 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
* _resultobj
;
9376 PyObject
* _argo0
= 0;
9377 char *_kwnames
[] = { "self", NULL
};
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9390 wxPy_BEGIN_ALLOW_THREADS
;
9391 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9392 _result
= (wxString
*) &_result_ref
;
9394 wxPy_END_ALLOW_THREADS
;
9395 if (PyErr_Occurred()) return NULL
;
9397 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9402 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9403 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9407 PyObject
* _argo0
= 0;
9409 char *_kwnames
[] = { "self","checkable", NULL
};
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9421 _arg1
= (bool ) tempbool1
;
9423 wxPy_BEGIN_ALLOW_THREADS
;
9424 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9426 wxPy_END_ALLOW_THREADS
;
9427 if (PyErr_Occurred()) return NULL
;
9428 } Py_INCREF(Py_None
);
9429 _resultobj
= Py_None
;
9433 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9434 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9438 PyObject
* _argo0
= 0;
9439 char *_kwnames
[] = { "self", NULL
};
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9452 wxPy_BEGIN_ALLOW_THREADS
;
9453 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9455 wxPy_END_ALLOW_THREADS
;
9456 if (PyErr_Occurred()) return NULL
;
9457 } _resultobj
= Py_BuildValue("i",_result
);
9461 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9462 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
* _resultobj
;
9466 PyObject
* _argo0
= 0;
9467 char *_kwnames
[] = { "self", NULL
};
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9480 wxPy_BEGIN_ALLOW_THREADS
;
9481 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9483 wxPy_END_ALLOW_THREADS
;
9484 if (PyErr_Occurred()) return NULL
;
9485 } _resultobj
= Py_BuildValue("i",_result
);
9489 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9490 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
* _resultobj
;
9494 PyObject
* _argo0
= 0;
9495 PyObject
* _argo1
= 0;
9496 char *_kwnames
[] = { "self","menu", NULL
};
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9516 wxPy_BEGIN_ALLOW_THREADS
;
9517 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9519 wxPy_END_ALLOW_THREADS
;
9520 if (PyErr_Occurred()) return NULL
;
9521 } Py_INCREF(Py_None
);
9522 _resultobj
= Py_None
;
9526 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9527 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
* _resultobj
;
9531 PyObject
* _argo0
= 0;
9532 char *_kwnames
[] = { "self", NULL
};
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9545 wxPy_BEGIN_ALLOW_THREADS
;
9546 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9548 wxPy_END_ALLOW_THREADS
;
9549 if (PyErr_Occurred()) return NULL
;
9550 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9554 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9555 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
* _resultobj
;
9558 bool _arg1
= (bool ) TRUE
;
9559 PyObject
* _argo0
= 0;
9560 int tempbool1
= (int) TRUE
;
9561 char *_kwnames
[] = { "self","enable", NULL
};
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9573 _arg1
= (bool ) tempbool1
;
9575 wxPy_BEGIN_ALLOW_THREADS
;
9576 wxMenuItem_Enable(_arg0
,_arg1
);
9578 wxPy_END_ALLOW_THREADS
;
9579 if (PyErr_Occurred()) return NULL
;
9580 } Py_INCREF(Py_None
);
9581 _resultobj
= Py_None
;
9585 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9586 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
* _resultobj
;
9590 PyObject
* _argo0
= 0;
9591 char *_kwnames
[] = { "self", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9604 wxPy_BEGIN_ALLOW_THREADS
;
9605 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9607 wxPy_END_ALLOW_THREADS
;
9608 if (PyErr_Occurred()) return NULL
;
9609 } _resultobj
= Py_BuildValue("i",_result
);
9613 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9614 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
* _resultobj
;
9617 bool _arg1
= (bool ) TRUE
;
9618 PyObject
* _argo0
= 0;
9619 int tempbool1
= (int) TRUE
;
9620 char *_kwnames
[] = { "self","check", NULL
};
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9632 _arg1
= (bool ) tempbool1
;
9634 wxPy_BEGIN_ALLOW_THREADS
;
9635 wxMenuItem_Check(_arg0
,_arg1
);
9637 wxPy_END_ALLOW_THREADS
;
9638 if (PyErr_Occurred()) return NULL
;
9639 } Py_INCREF(Py_None
);
9640 _resultobj
= Py_None
;
9644 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9645 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
* _resultobj
;
9649 PyObject
* _argo0
= 0;
9650 char *_kwnames
[] = { "self", NULL
};
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9663 wxPy_BEGIN_ALLOW_THREADS
;
9664 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9666 wxPy_END_ALLOW_THREADS
;
9667 if (PyErr_Occurred()) return NULL
;
9668 } _resultobj
= Py_BuildValue("i",_result
);
9672 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9673 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
* _resultobj
;
9676 PyObject
* _argo0
= 0;
9677 char *_kwnames
[] = { "self", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9690 wxPy_BEGIN_ALLOW_THREADS
;
9691 wxMenuItem_Toggle(_arg0
);
9693 wxPy_END_ALLOW_THREADS
;
9694 if (PyErr_Occurred()) return NULL
;
9695 } Py_INCREF(Py_None
);
9696 _resultobj
= Py_None
;
9700 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9701 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
* _resultobj
;
9705 PyObject
* _argo0
= 0;
9706 PyObject
* _obj1
= 0;
9707 char *_kwnames
[] = { "self","str", NULL
};
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9720 #if PYTHON_API_VERSION >= 1009
9721 char* tmpPtr
; int tmpSize
;
9722 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9726 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9728 _arg1
= new wxString(tmpPtr
, tmpSize
);
9730 if (!PyString_Check(_obj1
)) {
9731 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9734 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9738 wxPy_BEGIN_ALLOW_THREADS
;
9739 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9741 wxPy_END_ALLOW_THREADS
;
9742 if (PyErr_Occurred()) return NULL
;
9743 } Py_INCREF(Py_None
);
9744 _resultobj
= Py_None
;
9752 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9753 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
* _resultobj
;
9757 PyObject
* _argo0
= 0;
9758 char *_kwnames
[] = { "self", NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9771 wxPy_BEGIN_ALLOW_THREADS
;
9772 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9773 _result
= (wxString
*) &_result_ref
;
9775 wxPy_END_ALLOW_THREADS
;
9776 if (PyErr_Occurred()) return NULL
;
9778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9783 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9784 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
* _resultobj
;
9786 wxAcceleratorEntry
* _result
;
9788 PyObject
* _argo0
= 0;
9789 char *_kwnames
[] = { "self", NULL
};
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9803 wxPy_BEGIN_ALLOW_THREADS
;
9804 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9806 wxPy_END_ALLOW_THREADS
;
9807 if (PyErr_Occurred()) return NULL
;
9809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9810 _resultobj
= Py_BuildValue("s",_ptemp
);
9813 _resultobj
= Py_None
;
9818 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9819 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
* _resultobj
;
9822 wxAcceleratorEntry
* _arg1
;
9823 PyObject
* _argo0
= 0;
9824 PyObject
* _argo1
= 0;
9825 char *_kwnames
[] = { "self","accel", NULL
};
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9845 wxPy_BEGIN_ALLOW_THREADS
;
9846 wxMenuItem_SetAccel(_arg0
,_arg1
);
9848 wxPy_END_ALLOW_THREADS
;
9849 if (PyErr_Occurred()) return NULL
;
9850 } Py_INCREF(Py_None
);
9851 _resultobj
= Py_None
;
9855 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9859 PyObject
* _obj0
= 0;
9860 char *_kwnames
[] = { "text", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9866 #if PYTHON_API_VERSION >= 1009
9867 char* tmpPtr
; int tmpSize
;
9868 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9872 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9874 _arg0
= new wxString(tmpPtr
, tmpSize
);
9876 if (!PyString_Check(_obj0
)) {
9877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9880 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9884 wxPy_BEGIN_ALLOW_THREADS
;
9885 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9887 wxPy_END_ALLOW_THREADS
;
9888 if (PyErr_Occurred()) return NULL
;
9890 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9902 static PyMethodDef windowscMethods
[] = {
9903 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
10181 * This table is used by the pointer type-checker
10183 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10184 { "_signed_long","_long",0},
10185 { "_wxPrintQuality","_wxCoord",0},
10186 { "_wxPrintQuality","_int",0},
10187 { "_wxPrintQuality","_signed_int",0},
10188 { "_wxPrintQuality","_unsigned_int",0},
10189 { "_wxPrintQuality","_wxWindowID",0},
10190 { "_wxPrintQuality","_uint",0},
10191 { "_wxPrintQuality","_EBool",0},
10192 { "_wxPrintQuality","_size_t",0},
10193 { "_wxPrintQuality","_time_t",0},
10194 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10195 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10196 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10197 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10198 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10199 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10200 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10201 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10202 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10203 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10204 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10205 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10206 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10207 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10208 { "_byte","_unsigned_char",0},
10209 { "_long","_unsigned_long",0},
10210 { "_long","_signed_long",0},
10211 { "_class_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject
},
10212 { "_class_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
10213 { "_class_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject
},
10214 { "_class_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
10215 { "_class_wxObject","_class_wxMenu",SwigwxMenuTowxObject
},
10216 { "_class_wxObject","_wxMenu",SwigwxMenuTowxObject
},
10217 { "_class_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10218 { "_class_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10219 { "_class_wxObject","_class_wxPanel",SwigwxPanelTowxObject
},
10220 { "_class_wxObject","_wxPanel",SwigwxPanelTowxObject
},
10221 { "_class_wxObject","_class_wxWindow",SwigwxWindowTowxObject
},
10222 { "_class_wxObject","_wxWindow",SwigwxWindowTowxObject
},
10223 { "_class_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject
},
10224 { "_class_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
10225 { "_class_wxObject","_class_wxValidator",SwigwxValidatorTowxObject
},
10226 { "_class_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
10227 { "_class_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10228 { "_class_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10229 { "_size_t","_wxCoord",0},
10230 { "_size_t","_wxPrintQuality",0},
10231 { "_size_t","_time_t",0},
10232 { "_size_t","_unsigned_int",0},
10233 { "_size_t","_int",0},
10234 { "_size_t","_wxWindowID",0},
10235 { "_size_t","_uint",0},
10236 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10237 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10238 { "_uint","_wxCoord",0},
10239 { "_uint","_wxPrintQuality",0},
10240 { "_uint","_time_t",0},
10241 { "_uint","_size_t",0},
10242 { "_uint","_unsigned_int",0},
10243 { "_uint","_int",0},
10244 { "_uint","_wxWindowID",0},
10245 { "_wxChar","_char",0},
10246 { "_char","_wxChar",0},
10247 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10248 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10249 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10250 { "_EBool","_wxCoord",0},
10251 { "_EBool","_wxPrintQuality",0},
10252 { "_EBool","_signed_int",0},
10253 { "_EBool","_int",0},
10254 { "_EBool","_wxWindowID",0},
10255 { "_unsigned_long","_long",0},
10256 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10257 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10258 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10259 { "_signed_int","_wxCoord",0},
10260 { "_signed_int","_wxPrintQuality",0},
10261 { "_signed_int","_EBool",0},
10262 { "_signed_int","_wxWindowID",0},
10263 { "_signed_int","_int",0},
10264 { "_WXTYPE","_short",0},
10265 { "_WXTYPE","_signed_short",0},
10266 { "_WXTYPE","_unsigned_short",0},
10267 { "_unsigned_short","_WXTYPE",0},
10268 { "_unsigned_short","_short",0},
10269 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10270 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10271 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10272 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10273 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10274 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10275 { "_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject
},
10276 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
10277 { "_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject
},
10278 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
10279 { "_wxObject","_class_wxMenu",SwigwxMenuTowxObject
},
10280 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
10281 { "_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10282 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10283 { "_wxObject","_class_wxPanel",SwigwxPanelTowxObject
},
10284 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
10285 { "_wxObject","_class_wxWindow",SwigwxWindowTowxObject
},
10286 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
10287 { "_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject
},
10288 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
10289 { "_wxObject","_class_wxValidator",SwigwxValidatorTowxObject
},
10290 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
10291 { "_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10292 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10293 { "_signed_short","_WXTYPE",0},
10294 { "_signed_short","_short",0},
10295 { "_unsigned_char","_byte",0},
10296 { "_unsigned_int","_wxCoord",0},
10297 { "_unsigned_int","_wxPrintQuality",0},
10298 { "_unsigned_int","_time_t",0},
10299 { "_unsigned_int","_size_t",0},
10300 { "_unsigned_int","_uint",0},
10301 { "_unsigned_int","_wxWindowID",0},
10302 { "_unsigned_int","_int",0},
10303 { "_short","_WXTYPE",0},
10304 { "_short","_unsigned_short",0},
10305 { "_short","_signed_short",0},
10306 { "_wxWindowID","_wxCoord",0},
10307 { "_wxWindowID","_wxPrintQuality",0},
10308 { "_wxWindowID","_time_t",0},
10309 { "_wxWindowID","_size_t",0},
10310 { "_wxWindowID","_EBool",0},
10311 { "_wxWindowID","_uint",0},
10312 { "_wxWindowID","_int",0},
10313 { "_wxWindowID","_signed_int",0},
10314 { "_wxWindowID","_unsigned_int",0},
10315 { "_int","_wxCoord",0},
10316 { "_int","_wxPrintQuality",0},
10317 { "_int","_time_t",0},
10318 { "_int","_size_t",0},
10319 { "_int","_EBool",0},
10320 { "_int","_uint",0},
10321 { "_int","_wxWindowID",0},
10322 { "_int","_unsigned_int",0},
10323 { "_int","_signed_int",0},
10324 { "_time_t","_wxCoord",0},
10325 { "_time_t","_wxPrintQuality",0},
10326 { "_time_t","_unsigned_int",0},
10327 { "_time_t","_int",0},
10328 { "_time_t","_wxWindowID",0},
10329 { "_time_t","_uint",0},
10330 { "_time_t","_size_t",0},
10331 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10332 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10333 { "_wxCoord","_int",0},
10334 { "_wxCoord","_signed_int",0},
10335 { "_wxCoord","_unsigned_int",0},
10336 { "_wxCoord","_wxWindowID",0},
10337 { "_wxCoord","_uint",0},
10338 { "_wxCoord","_EBool",0},
10339 { "_wxCoord","_size_t",0},
10340 { "_wxCoord","_time_t",0},
10341 { "_wxCoord","_wxPrintQuality",0},
10342 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10343 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10344 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10345 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10346 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10347 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10348 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10349 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10350 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10351 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10352 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10353 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10354 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10355 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10356 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10357 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10358 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10359 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10360 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10361 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10364 static PyObject
*SWIG_globals
;
10368 SWIGEXPORT(void) initwindowsc() {
10370 SWIG_globals
= SWIG_newvarlink();
10371 m
= Py_InitModule("windowsc", windowscMethods
);
10372 d
= PyModule_GetDict(m
);
10375 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10376 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);