2 * FILE : src/msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 static const wxString
wxPyEmptyString(wxT(""));
93 class wxPyValidator
: public wxValidator
{
94 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
102 wxObject
* Clone() const {
103 wxPyValidator
* ptr
= NULL
;
104 wxPyValidator
* self
= (wxPyValidator
*)this;
106 wxPyBeginBlockThreads();
107 if (self
->m_myInst
.findCallback("Clone")) {
109 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
111 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
115 wxPyEndBlockThreads();
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
140 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
141 wxWindow
* win
= new wxWindow
;
143 win
->SubclassWin(hWnd
);
147 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
148 return wxWindow::FindWindowById(id
, parent
);
151 wxWindow
* wxFindWindowByName( const wxString
& name
,
152 const wxWindow
*parent
= NULL
) {
153 return wxWindow::FindWindowByName(name
, parent
);
156 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
157 const wxWindow
*parent
= NULL
) {
158 return wxWindow::FindWindowByLabel(label
, parent
);
163 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
167 char *_kwnames
[] = { "hWnd", NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
174 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
176 wxPyEndAllowThreads(__tstate
);
177 if (PyErr_Occurred()) return NULL
;
178 }{ _resultobj
= wxPyMake_wxObject(_result
); }
182 static PyObject
*_wrap_wxFindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
186 wxWindow
* _arg1
= (wxWindow
*) NULL
;
187 PyObject
* _argo1
= 0;
188 char *_kwnames
[] = { "id","parent", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l|O:wxFindWindowById",_kwnames
,&_arg0
,&_argo1
))
194 if (_argo1
== Py_None
) { _arg1
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
202 _result
= (wxWindow
*)wxFindWindowById(_arg0
,_arg1
);
204 wxPyEndAllowThreads(__tstate
);
205 if (PyErr_Occurred()) return NULL
;
206 }{ _resultobj
= wxPyMake_wxObject(_result
); }
210 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
214 wxWindow
* _arg1
= (wxWindow
*) NULL
;
215 PyObject
* _obj0
= 0;
216 PyObject
* _argo1
= 0;
217 char *_kwnames
[] = { "name","parent", NULL
};
220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
223 _arg0
= wxString_in_helper(_obj0
);
228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
236 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
238 wxPyEndAllowThreads(__tstate
);
239 if (PyErr_Occurred()) return NULL
;
240 }{ _resultobj
= wxPyMake_wxObject(_result
); }
248 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
252 wxWindow
* _arg1
= (wxWindow
*) NULL
;
253 PyObject
* _obj0
= 0;
254 PyObject
* _argo1
= 0;
255 char *_kwnames
[] = { "label","parent", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
261 _arg0
= wxString_in_helper(_obj0
);
266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
274 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
276 wxPyEndAllowThreads(__tstate
);
277 if (PyErr_Occurred()) return NULL
;
278 }{ _resultobj
= wxPyMake_wxObject(_result
); }
286 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
289 src
= (wxEvtHandler
*) ptr
;
290 dest
= (wxObject
*) src
;
291 return (void *) dest
;
294 #define new_wxEvtHandler() (new wxEvtHandler())
295 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
297 wxEvtHandler
* _result
;
298 char *_kwnames
[] = { NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
306 _result
= (wxEvtHandler
*)new_wxEvtHandler();
308 wxPyEndAllowThreads(__tstate
);
309 if (PyErr_Occurred()) return NULL
;
311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
312 _resultobj
= Py_BuildValue("s",_ptemp
);
315 _resultobj
= Py_None
;
320 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
321 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 wxEvtHandler
* _arg0
;
326 PyObject
* _argo0
= 0;
327 PyObject
* _argo1
= 0;
328 char *_kwnames
[] = { "self","event", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
349 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
351 wxPyEndAllowThreads(__tstate
);
352 if (PyErr_Occurred()) return NULL
;
353 } _resultobj
= Py_BuildValue("i",_result
);
357 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
358 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxEvtHandler
* _arg0
;
362 PyObject
* _argo0
= 0;
363 PyObject
* _argo1
= 0;
364 char *_kwnames
[] = { "self","event", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
389 } Py_INCREF(Py_None
);
390 _resultobj
= Py_None
;
394 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
395 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxEvtHandler
* _arg0
;
399 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
418 } _resultobj
= Py_BuildValue("i",_result
);
422 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
423 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
425 wxEvtHandler
* _arg0
;
427 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self","enabled", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
441 _arg1
= (bool ) tempbool1
;
443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
444 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
446 wxPyEndAllowThreads(__tstate
);
447 if (PyErr_Occurred()) return NULL
;
448 } Py_INCREF(Py_None
);
449 _resultobj
= Py_None
;
453 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
454 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
456 wxEvtHandler
* _result
;
457 wxEvtHandler
* _arg0
;
458 PyObject
* _argo0
= 0;
459 char *_kwnames
[] = { "self", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
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_GetNextHandler. Expected _wxEvtHandler_p.");
472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
473 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
475 wxPyEndAllowThreads(__tstate
);
476 if (PyErr_Occurred()) return NULL
;
477 }{ _resultobj
= wxPyMake_wxObject(_result
); }
481 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
482 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxEvtHandler
* _result
;
485 wxEvtHandler
* _arg0
;
486 PyObject
* _argo0
= 0;
487 char *_kwnames
[] = { "self", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
501 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
505 }{ _resultobj
= wxPyMake_wxObject(_result
); }
509 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
510 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
512 wxEvtHandler
* _arg0
;
513 wxEvtHandler
* _arg1
;
514 PyObject
* _argo0
= 0;
515 PyObject
* _argo1
= 0;
516 char *_kwnames
[] = { "self","handler", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
537 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
539 wxPyEndAllowThreads(__tstate
);
540 if (PyErr_Occurred()) return NULL
;
541 } Py_INCREF(Py_None
);
542 _resultobj
= Py_None
;
546 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
547 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
549 wxEvtHandler
* _arg0
;
550 wxEvtHandler
* _arg1
;
551 PyObject
* _argo0
= 0;
552 PyObject
* _argo1
= 0;
553 char *_kwnames
[] = { "self","handler", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
578 } Py_INCREF(Py_None
);
579 _resultobj
= Py_None
;
583 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
584 if (PyCallable_Check(func
)) {
585 self
->Connect(id
, lastId
, eventType
,
586 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
587 new wxPyCallback(func
));
589 else if (func
== Py_None
) {
590 self
->Disconnect(id
, lastId
, eventType
,
591 (wxObjectEventFunction
)
592 &wxPyCallback::EventThunker
);
595 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
598 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxEvtHandler
* _arg0
;
605 PyObject
* _argo0
= 0;
606 PyObject
* _obj4
= 0;
607 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
624 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
626 wxPyEndAllowThreads(__tstate
);
627 if (PyErr_Occurred()) return NULL
;
628 } Py_INCREF(Py_None
);
629 _resultobj
= Py_None
;
633 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
634 return self
->Disconnect(id
, lastId
, eventType
,
635 (wxObjectEventFunction
)
636 &wxPyCallback::EventThunker
);
638 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
641 wxEvtHandler
* _arg0
;
643 int _arg2
= (int ) -1;
644 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
645 PyObject
* _argo0
= 0;
646 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
660 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
662 wxPyEndAllowThreads(__tstate
);
663 if (PyErr_Occurred()) return NULL
;
664 } _resultobj
= Py_BuildValue("i",_result
);
668 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
669 self
->SetClientObject(new wxPyOORClientData(_self
));
671 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
673 wxEvtHandler
* _arg0
;
675 PyObject
* _argo0
= 0;
676 PyObject
* _obj1
= 0;
677 char *_kwnames
[] = { "self","_self", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
694 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
696 wxPyEndAllowThreads(__tstate
);
697 if (PyErr_Occurred()) return NULL
;
698 } Py_INCREF(Py_None
);
699 _resultobj
= Py_None
;
703 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
706 src
= (wxValidator
*) ptr
;
707 dest
= (wxEvtHandler
*) src
;
708 return (void *) dest
;
711 static void *SwigwxValidatorTowxObject(void *ptr
) {
714 src
= (wxValidator
*) ptr
;
715 dest
= (wxObject
*) src
;
716 return (void *) dest
;
719 #define new_wxValidator() (new wxValidator())
720 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
722 wxValidator
* _result
;
723 char *_kwnames
[] = { NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 _result
= (wxValidator
*)new_wxValidator();
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
737 _resultobj
= Py_BuildValue("s",_ptemp
);
740 _resultobj
= Py_None
;
745 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
746 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
748 wxValidator
* _result
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
769 }{ _resultobj
= wxPyMake_wxObject(_result
); }
773 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
774 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
797 }{ _resultobj
= wxPyMake_wxObject(_result
); }
801 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
802 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 PyObject
* _argo1
= 0;
808 char *_kwnames
[] = { "self","window", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
829 wxValidator_SetWindow(_arg0
,_arg1
);
831 wxPyEndAllowThreads(__tstate
);
832 if (PyErr_Occurred()) return NULL
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
841 char *_kwnames
[] = { NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
848 _result
= (bool )wxValidator::IsSilent();
850 wxPyEndAllowThreads(__tstate
);
851 if (PyErr_Occurred()) return NULL
;
852 } _resultobj
= Py_BuildValue("i",_result
);
856 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
858 int _arg0
= (int ) TRUE
;
859 char *_kwnames
[] = { "doIt", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxValidator::SetBellOnError(_arg0
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
878 src
= (wxPyValidator
*) ptr
;
879 dest
= (wxValidator
*) src
;
880 return (void *) dest
;
883 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
886 src
= (wxPyValidator
*) ptr
;
887 dest
= (wxEvtHandler
*) src
;
888 return (void *) dest
;
891 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
894 src
= (wxPyValidator
*) ptr
;
895 dest
= (wxObject
*) src
;
896 return (void *) dest
;
899 #define new_wxPyValidator() (new wxPyValidator())
900 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
902 wxPyValidator
* _result
;
903 char *_kwnames
[] = { NULL
};
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 _result
= (wxPyValidator
*)new_wxPyValidator();
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
917 _resultobj
= Py_BuildValue("s",_ptemp
);
920 _resultobj
= Py_None
;
925 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
926 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxPyValidator
* _arg0
;
931 int _arg3
= (int ) TRUE
;
932 PyObject
* _argo0
= 0;
933 PyObject
* _obj1
= 0;
934 PyObject
* _obj2
= 0;
935 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) return NULL
;
959 } Py_INCREF(Py_None
);
960 _resultobj
= Py_None
;
964 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
967 src
= (wxWindow
*) ptr
;
968 dest
= (wxEvtHandler
*) src
;
969 return (void *) dest
;
972 static void *SwigwxWindowTowxObject(void *ptr
) {
975 src
= (wxWindow
*) ptr
;
976 dest
= (wxObject
*) src
;
977 return (void *) dest
;
980 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
981 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
986 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
987 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
988 long _arg4
= (long ) 0;
989 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
990 PyObject
* _argo0
= 0;
992 PyObject
* _obj2
= 0;
994 PyObject
* _obj3
= 0;
995 PyObject
* _obj5
= 0;
996 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1012 if (! wxPoint_helper(_obj2
, &_arg2
))
1018 if (! wxSize_helper(_obj3
, &_arg3
))
1023 _arg5
= wxString_in_helper(_obj5
);
1028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1029 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1031 wxPyEndAllowThreads(__tstate
);
1032 if (PyErr_Occurred()) return NULL
;
1034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1035 _resultobj
= Py_BuildValue("s",_ptemp
);
1038 _resultobj
= Py_None
;
1047 #define new_wxPreWindow() (new wxWindow())
1048 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 char *_kwnames
[] = { NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 _result
= (wxWindow
*)new_wxPreWindow();
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) return NULL
;
1064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1065 _resultobj
= Py_BuildValue("s",_ptemp
);
1068 _resultobj
= Py_None
;
1073 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1074 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1080 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1081 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1082 long _arg5
= (long ) 0;
1083 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
1084 PyObject
* _argo0
= 0;
1085 PyObject
* _argo1
= 0;
1087 PyObject
* _obj3
= 0;
1089 PyObject
* _obj4
= 0;
1090 PyObject
* _obj6
= 0;
1091 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1113 if (! wxPoint_helper(_obj3
, &_arg3
))
1119 if (! wxSize_helper(_obj4
, &_arg4
))
1124 _arg6
= wxString_in_helper(_obj6
);
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) return NULL
;
1134 } _resultobj
= Py_BuildValue("i",_result
);
1142 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 int _arg1
= (int ) wxBOTH
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","direction", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_Center(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 int _arg1
= (int ) wxBOTH
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self","direction", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_Centre(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1201 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 int _arg1
= (int ) wxBOTH
;
1205 PyObject
* _argo0
= 0;
1206 char *_kwnames
[] = { "self","direction", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 wxWindow_CentreOnParent(_arg0
,_arg1
);
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) return NULL
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1229 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1230 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1233 int _arg1
= (int ) wxBOTH
;
1234 PyObject
* _argo0
= 0;
1235 char *_kwnames
[] = { "self","direction", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 wxWindow_CenterOnParent(_arg0
,_arg1
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) return NULL
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1258 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1259 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1262 int _arg1
= (int ) wxBOTH
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","direction", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_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_CentreOnScreen. Expected _wxWindow_p.");
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) return NULL
;
1282 } Py_INCREF(Py_None
);
1283 _resultobj
= Py_None
;
1287 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1288 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 int _arg1
= (int ) wxBOTH
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self","direction", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } Py_INCREF(Py_None
);
1312 _resultobj
= Py_None
;
1316 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1317 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1320 PyObject
* _argo0
= 0;
1321 char *_kwnames
[] = { "self", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 wxWindow_Clear(_arg0
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1344 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1345 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1352 PyObject
* _obj1
= 0;
1354 PyObject
* _obj2
= 0;
1355 char *_kwnames
[] = { "self","x","y", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1368 temp
= (int) PyInt_AsLong(_obj1
);
1372 temp0
= (int) PyInt_AsLong(_obj2
);
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) return NULL
;
1381 } Py_INCREF(Py_None
);
1382 _resultobj
= Py_None
;
1385 o
= PyInt_FromLong((long) (*_arg1
));
1386 _resultobj
= t_output_helper(_resultobj
, o
);
1390 o
= PyInt_FromLong((long) (*_arg2
));
1391 _resultobj
= t_output_helper(_resultobj
, o
);
1396 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1397 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1402 PyObject
* _argo0
= 0;
1404 PyObject
* _obj1
= 0;
1405 char *_kwnames
[] = { "self","pt", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1420 if (! wxPoint_helper(_obj1
, &_arg1
))
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) return NULL
;
1429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1430 _resultobj
= Py_BuildValue("s",_ptemp
);
1434 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1435 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1439 int _arg1
= (int ) FALSE
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self","force", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1464 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 _result
= (bool )wxWindow_Destroy(_arg0
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 } _resultobj
= Py_BuildValue("i",_result
);
1491 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1492 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1495 PyObject
* _argo0
= 0;
1496 char *_kwnames
[] = { "self", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 wxWindow_DestroyChildren(_arg0
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } Py_INCREF(Py_None
);
1515 _resultobj
= Py_None
;
1519 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1520 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1524 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) return NULL
;
1543 } _resultobj
= Py_BuildValue("i",_result
);
1547 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1548 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1552 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self","accept", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1566 _arg1
= (bool ) tempbool1
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) return NULL
;
1573 } Py_INCREF(Py_None
);
1574 _resultobj
= Py_None
;
1578 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1579 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self","enable", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1597 _arg1
= (bool ) tempbool1
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 wxWindow_Enable(_arg0
,_arg1
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1604 } Py_INCREF(Py_None
);
1605 _resultobj
= Py_None
;
1609 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1610 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self","id", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1638 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1639 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _obj1
= 0;
1646 char *_kwnames
[] = { "self","name", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1659 _arg1
= wxString_in_helper(_obj1
);
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1669 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1677 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1678 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1681 PyObject
* _argo0
= 0;
1682 char *_kwnames
[] = { "self", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 wxWindow_Fit(_arg0
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1700 } Py_INCREF(Py_None
);
1701 _resultobj
= Py_None
;
1705 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1706 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1710 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1731 _resultobj
= Py_BuildValue("s",_ptemp
);
1735 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1736 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } _resultobj
= Py_BuildValue("i",_result
);
1763 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1764 wxWindowList
& list
= self
->GetChildren();
1765 return wxPy_ConvertList(&list
, "wxWindow");
1767 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1771 PyObject
* _argo0
= 0;
1772 char *_kwnames
[] = { "self", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) return NULL
;
1791 _resultobj
= _result
;
1796 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1797 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) return NULL
;
1820 } _resultobj
= Py_BuildValue("i",_result
);
1824 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1825 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) return NULL
;
1848 } _resultobj
= Py_BuildValue("i",_result
);
1852 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1853 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1860 PyObject
* _argo0
= 0;
1861 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1889 o
= PyInt_FromLong((long) (*_arg1
));
1890 _resultobj
= t_output_helper(_resultobj
, o
);
1894 o
= PyInt_FromLong((long) (*_arg2
));
1895 _resultobj
= t_output_helper(_resultobj
, o
);
1900 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1901 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1926 _resultobj
= Py_BuildValue("s",_ptemp
);
1930 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1931 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) return NULL
;
1955 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1956 _resultobj
= Py_BuildValue("s",_ptemp
);
1960 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1961 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1965 PyObject
* _argo0
= 0;
1966 char *_kwnames
[] = { "self", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) return NULL
;
1985 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1986 _resultobj
= Py_BuildValue("s",_ptemp
);
1990 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1991 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1993 wxLayoutConstraints
* _result
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2017 _resultobj
= Py_BuildValue("s",_ptemp
);
2020 _resultobj
= Py_None
;
2025 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2026 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 wxEvtHandler
* _result
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2053 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2054 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 _result
= new wxFont (wxWindow_GetFont(_arg0
));
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2079 _resultobj
= Py_BuildValue("s",_ptemp
);
2083 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2084 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2113 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2114 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2118 PyObject
* _argo0
= 0;
2119 char *_kwnames
[] = { "self", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) return NULL
;
2137 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2141 static long wxWindow_GetHandle(wxWindow
*self
) {
2142 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2144 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2148 PyObject
* _argo0
= 0;
2149 char *_kwnames
[] = { "self", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 _result
= (long )wxWindow_GetHandle(_arg0
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) return NULL
;
2167 } _resultobj
= Py_BuildValue("l",_result
);
2171 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2172 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2176 PyObject
* _argo0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 _result
= (int )wxWindow_GetId(_arg0
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2200 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2204 PyObject
* _argo0
= 0;
2205 char *_kwnames
[] = { "self", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) return NULL
;
2225 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2227 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2236 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2237 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2241 PyObject
* _argo0
= 0;
2242 PyObject
* _obj1
= 0;
2243 char *_kwnames
[] = { "self","label", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2256 _arg1
= wxString_in_helper(_obj1
);
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 wxWindow_SetLabel(_arg0
,*_arg1
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) return NULL
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2275 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2276 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= new wxString (wxWindow_GetName(_arg0
));
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2301 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2303 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2312 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2313 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_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_GetParent. Expected _wxWindow_p.");
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2340 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2341 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) return NULL
;
2373 } Py_INCREF(Py_None
);
2374 _resultobj
= Py_None
;
2377 o
= PyInt_FromLong((long) (*_arg1
));
2378 _resultobj
= t_output_helper(_resultobj
, o
);
2382 o
= PyInt_FromLong((long) (*_arg2
));
2383 _resultobj
= t_output_helper(_resultobj
, o
);
2388 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2389 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2413 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2414 _resultobj
= Py_BuildValue("s",_ptemp
);
2418 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2419 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2444 _resultobj
= Py_BuildValue("s",_ptemp
);
2448 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2449 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self","orientation", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } _resultobj
= Py_BuildValue("i",_result
);
2477 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2478 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2483 PyObject
* _argo0
= 0;
2484 char *_kwnames
[] = { "self","orientation", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } _resultobj
= Py_BuildValue("i",_result
);
2506 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2507 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self","orientation", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 } _resultobj
= Py_BuildValue("i",_result
);
2535 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2536 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2543 PyObject
* _argo0
= 0;
2544 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2572 o
= PyInt_FromLong((long) (*_arg1
));
2573 _resultobj
= t_output_helper(_resultobj
, o
);
2577 o
= PyInt_FromLong((long) (*_arg2
));
2578 _resultobj
= t_output_helper(_resultobj
, o
);
2583 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2584 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2614 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 PyObject
* _obj1
= 0;
2624 char *_kwnames
[] = { "self","string", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2643 _arg1
= wxString_in_helper(_obj1
);
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) return NULL
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2657 o
= PyInt_FromLong((long) (*_arg2
));
2658 _resultobj
= t_output_helper(_resultobj
, o
);
2662 o
= PyInt_FromLong((long) (*_arg3
));
2663 _resultobj
= t_output_helper(_resultobj
, o
);
2672 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2673 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2685 wxFont
* _arg6
= (wxFont
*) NULL
;
2686 PyObject
* _argo0
= 0;
2687 PyObject
* _obj1
= 0;
2688 PyObject
* _argo6
= 0;
2689 char *_kwnames
[] = { "self","string","font", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2714 _arg1
= wxString_in_helper(_obj1
);
2719 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) return NULL
;
2731 } Py_INCREF(Py_None
);
2732 _resultobj
= Py_None
;
2735 o
= PyInt_FromLong((long) (*_arg2
));
2736 _resultobj
= t_output_helper(_resultobj
, o
);
2740 o
= PyInt_FromLong((long) (*_arg3
));
2741 _resultobj
= t_output_helper(_resultobj
, o
);
2745 o
= PyInt_FromLong((long) (*_arg4
));
2746 _resultobj
= t_output_helper(_resultobj
, o
);
2750 o
= PyInt_FromLong((long) (*_arg5
));
2751 _resultobj
= t_output_helper(_resultobj
, o
);
2760 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2761 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) return NULL
;
2786 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2788 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2797 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2798 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2802 PyObject
* _argo0
= 0;
2803 char *_kwnames
[] = { "self", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2822 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2823 _resultobj
= Py_BuildValue("s",_ptemp
);
2827 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2828 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) return NULL
;
2851 } _resultobj
= Py_BuildValue("l",_result
);
2855 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2856 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2860 PyObject
* _argo0
= 0;
2861 char *_kwnames
[] = { "self","style", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) return NULL
;
2879 } Py_INCREF(Py_None
);
2880 _resultobj
= Py_None
;
2884 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2885 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2889 PyObject
* _argo0
= 0;
2890 char *_kwnames
[] = { "self","style", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) return NULL
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2913 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2914 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self","orient", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } _resultobj
= Py_BuildValue("i",_result
);
2942 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2943 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 _result
= (bool )wxWindow_Hide(_arg0
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2971 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2976 PyObject
* _argo0
= 0;
2978 PyObject
* _obj1
= 0;
2979 char *_kwnames
[] = { "self","pt", NULL
};
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2993 if (! wxPoint_helper(_obj1
, &_arg1
))
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
3007 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3010 PyObject
* _argo0
= 0;
3011 char *_kwnames
[] = { "self", NULL
};
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
3017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 wxWindow_InitDialog(_arg0
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3029 } Py_INCREF(Py_None
);
3030 _resultobj
= Py_None
;
3034 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3035 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 _result
= (bool )wxWindow_IsEnabled(_arg0
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) return NULL
;
3058 } _resultobj
= Py_BuildValue("i",_result
);
3062 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3063 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
* _resultobj
;
3069 int _arg3
= (int ) 0;
3070 int _arg4
= (int ) 0;
3071 PyObject
* _argo0
= 0;
3072 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } _resultobj
= Py_BuildValue("i",_result
);
3094 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3095 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3100 PyObject
* _argo0
= 0;
3102 PyObject
* _obj1
= 0;
3103 char *_kwnames
[] = { "self","pt", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3117 if (! wxPoint_helper(_obj1
, &_arg1
))
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) return NULL
;
3126 } _resultobj
= Py_BuildValue("i",_result
);
3130 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3131 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3136 PyObject
* _argo0
= 0;
3138 PyObject
* _obj1
= 0;
3139 char *_kwnames
[] = { "self","rect", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3153 if (! wxRect_helper(_obj1
, &_arg1
))
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) return NULL
;
3162 } _resultobj
= Py_BuildValue("i",_result
);
3166 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3167 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 _result
= (bool )wxWindow_IsRetained(_arg0
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) return NULL
;
3190 } _resultobj
= Py_BuildValue("i",_result
);
3194 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3195 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3199 PyObject
* _argo0
= 0;
3200 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 _result
= (bool )wxWindow_IsShown(_arg0
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) return NULL
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3223 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3251 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxWindow_Layout(_arg0
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3279 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3285 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3286 PyObject
* _argo0
= 0;
3287 PyObject
* _argo1
= 0;
3288 PyObject
* _obj2
= 0;
3289 PyObject
* _argo3
= 0;
3290 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3310 _arg2
= wxString_in_helper(_obj2
);
3315 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) return NULL
;
3327 } _resultobj
= Py_BuildValue("i",_result
);
3335 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3336 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 wxWindow_Lower(_arg0
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3358 } Py_INCREF(Py_None
);
3359 _resultobj
= Py_None
;
3363 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3364 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
* _resultobj
;
3367 bool _arg1
= (bool ) TRUE
;
3368 PyObject
* _argo0
= 0;
3369 int tempbool1
= (int) TRUE
;
3370 char *_kwnames
[] = { "self","flag", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3382 _arg1
= (bool ) tempbool1
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 wxWindow_MakeModal(_arg0
,_arg1
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) return NULL
;
3389 } Py_INCREF(Py_None
);
3390 _resultobj
= Py_None
;
3394 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3395 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3400 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) return NULL
;
3420 } Py_INCREF(Py_None
);
3421 _resultobj
= Py_None
;
3425 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3426 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3430 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3431 PyObject
* _argo0
= 0;
3433 PyObject
* _obj1
= 0;
3434 char *_kwnames
[] = { "self","point","flags", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3448 if (! wxPoint_helper(_obj1
, &_arg1
))
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) return NULL
;
3457 } Py_INCREF(Py_None
);
3458 _resultobj
= Py_None
;
3462 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3463 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
* _resultobj
;
3465 wxEvtHandler
* _result
;
3467 bool _arg1
= (bool ) FALSE
;
3468 PyObject
* _argo0
= 0;
3469 int tempbool1
= (int) FALSE
;
3470 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3482 _arg1
= (bool ) tempbool1
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) return NULL
;
3489 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3493 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3494 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3497 wxEvtHandler
* _arg1
;
3498 PyObject
* _argo0
= 0;
3499 PyObject
* _argo1
= 0;
3500 char *_kwnames
[] = { "self","handler", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 wxWindow_PushEventHandler(_arg0
,_arg1
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3525 } Py_INCREF(Py_None
);
3526 _resultobj
= Py_None
;
3530 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3531 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3535 wxEvtHandler
* _arg1
;
3536 PyObject
* _argo0
= 0;
3537 PyObject
* _argo1
= 0;
3538 char *_kwnames
[] = { "self","handler", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) return NULL
;
3563 } _resultobj
= Py_BuildValue("i",_result
);
3567 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3568 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3575 PyObject
* _argo0
= 0;
3576 PyObject
* _argo1
= 0;
3577 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) return NULL
;
3602 } _resultobj
= Py_BuildValue("i",_result
);
3606 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3607 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3613 PyObject
* _argo0
= 0;
3614 PyObject
* _argo1
= 0;
3616 PyObject
* _obj2
= 0;
3617 char *_kwnames
[] = { "self","menu","pos", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3638 if (! wxPoint_helper(_obj2
, &_arg2
))
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) return NULL
;
3647 } _resultobj
= Py_BuildValue("i",_result
);
3651 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3652 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 wxWindow_Raise(_arg0
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3680 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3683 bool _arg1
= (bool ) TRUE
;
3684 wxRect
* _arg2
= (wxRect
*) NULL
;
3685 PyObject
* _argo0
= 0;
3686 int tempbool1
= (int) TRUE
;
3688 PyObject
* _obj2
= 0;
3689 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
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_Refresh. Expected _wxWindow_p.");
3701 _arg1
= (bool ) tempbool1
;
3705 if (! wxRect_helper(_obj2
, &_arg2
))
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) return NULL
;
3714 } Py_INCREF(Py_None
);
3715 _resultobj
= Py_None
;
3719 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3720 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3726 PyObject
* _obj1
= 0;
3727 char *_kwnames
[] = { "self","rect", NULL
};
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3741 if (! wxRect_helper(_obj1
, &_arg1
))
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 wxWindow_RefreshRect(_arg0
,*_arg1
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) return NULL
;
3750 } Py_INCREF(Py_None
);
3751 _resultobj
= Py_None
;
3755 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3756 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3760 PyObject
* _argo0
= 0;
3761 PyObject
* _argo1
= 0;
3762 char *_kwnames
[] = { "self","child", NULL
};
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_AddChild",_kwnames
,&_argo0
,&_argo1
))
3768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3775 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 wxWindow_AddChild(_arg0
,_arg1
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) return NULL
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3792 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3793 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3797 PyObject
* _argo0
= 0;
3798 PyObject
* _argo1
= 0;
3799 char *_kwnames
[] = { "self","child", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 wxWindow_RemoveChild(_arg0
,_arg1
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3830 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 PyObject
* _argo1
= 0;
3837 char *_kwnames
[] = { "self","newParent", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) return NULL
;
3862 } _resultobj
= Py_BuildValue("i",_result
);
3866 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3872 PyObject
* _argo0
= 0;
3874 PyObject
* _obj1
= 0;
3876 PyObject
* _obj2
= 0;
3877 char *_kwnames
[] = { "self","x","y", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3890 temp
= (int) PyInt_AsLong(_obj1
);
3894 temp0
= (int) PyInt_AsLong(_obj2
);
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) return NULL
;
3903 } Py_INCREF(Py_None
);
3904 _resultobj
= Py_None
;
3907 o
= PyInt_FromLong((long) (*_arg1
));
3908 _resultobj
= t_output_helper(_resultobj
, o
);
3912 o
= PyInt_FromLong((long) (*_arg2
));
3913 _resultobj
= t_output_helper(_resultobj
, o
);
3918 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3919 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3924 PyObject
* _argo0
= 0;
3926 PyObject
* _obj1
= 0;
3927 char *_kwnames
[] = { "self","pt", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3942 if (! wxPoint_helper(_obj1
, &_arg1
))
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) return NULL
;
3951 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3952 _resultobj
= Py_BuildValue("s",_ptemp
);
3956 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3957 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3962 wxRect
* _arg3
= (wxRect
*) NULL
;
3963 PyObject
* _argo0
= 0;
3965 PyObject
* _obj3
= 0;
3966 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3981 if (! wxRect_helper(_obj3
, &_arg3
))
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) return NULL
;
3990 } Py_INCREF(Py_None
);
3991 _resultobj
= Py_None
;
3995 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3996 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
4000 PyObject
* _argo0
= 0;
4002 char *_kwnames
[] = { "self","autoLayout", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
4014 _arg1
= (bool ) tempbool1
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 wxWindow_SetAutoLayout(_arg0
,_arg1
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) return NULL
;
4021 } Py_INCREF(Py_None
);
4022 _resultobj
= Py_None
;
4026 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
4027 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4031 PyObject
* _argo0
= 0;
4032 char *_kwnames
[] = { "self", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) return NULL
;
4050 } _resultobj
= Py_BuildValue("i",_result
);
4054 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4055 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4059 PyObject
* _argo0
= 0;
4061 PyObject
* _obj1
= 0;
4062 char *_kwnames
[] = { "self","colour", NULL
};
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4076 if (! wxColour_helper(_obj1
, &_arg1
))
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4091 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4094 wxLayoutConstraints
* _arg1
;
4095 PyObject
* _argo0
= 0;
4096 PyObject
* _argo1
= 0;
4097 char *_kwnames
[] = { "self","constraints", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 wxWindow_SetConstraints(_arg0
,_arg1
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) return NULL
;
4122 } Py_INCREF(Py_None
);
4123 _resultobj
= Py_None
;
4127 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4128 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4131 wxLayoutConstraints
* _arg1
;
4132 PyObject
* _argo0
= 0;
4133 PyObject
* _argo1
= 0;
4134 char *_kwnames
[] = { "self","constraints", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) return NULL
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4165 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 wxWindow_SetFocus(_arg0
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) return NULL
;
4187 } Py_INCREF(Py_None
);
4188 _resultobj
= Py_None
;
4192 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4193 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4196 PyObject
* _argo0
= 0;
4197 char *_kwnames
[] = { "self", NULL
};
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 wxWindow_SetFocusFromKbd(_arg0
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4215 } Py_INCREF(Py_None
);
4216 _resultobj
= Py_None
;
4220 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4221 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) return NULL
;
4244 } _resultobj
= Py_BuildValue("i",_result
);
4248 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4249 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4253 PyObject
* _argo0
= 0;
4254 PyObject
* _argo1
= 0;
4255 char *_kwnames
[] = { "self","font", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 wxWindow_SetFont(_arg0
,*_arg1
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4286 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4290 PyObject
* _argo0
= 0;
4292 PyObject
* _obj1
= 0;
4293 char *_kwnames
[] = { "self","colour", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4307 if (! wxColour_helper(_obj1
, &_arg1
))
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } Py_INCREF(Py_None
);
4317 _resultobj
= Py_None
;
4321 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4322 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4326 PyObject
* _argo0
= 0;
4327 char *_kwnames
[] = { "self","id", NULL
};
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxWindow_SetId(_arg0
,_arg1
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) return NULL
;
4345 } Py_INCREF(Py_None
);
4346 _resultobj
= Py_None
;
4350 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4351 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
* _resultobj
;
4355 PyObject
* _argo0
= 0;
4356 PyObject
* _obj1
= 0;
4357 char *_kwnames
[] = { "self","name", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4370 _arg1
= wxString_in_helper(_obj1
);
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxWindow_SetName(_arg0
,*_arg1
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4389 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4390 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4397 int _arg5
= (int ) TRUE
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) return NULL
;
4417 } Py_INCREF(Py_None
);
4418 _resultobj
= Py_None
;
4422 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4423 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4428 bool _arg3
= (bool ) TRUE
;
4429 PyObject
* _argo0
= 0;
4430 int tempbool3
= (int) TRUE
;
4431 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4443 _arg3
= (bool ) tempbool3
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4450 } Py_INCREF(Py_None
);
4451 _resultobj
= Py_None
;
4455 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4456 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
* _resultobj
;
4463 int _arg5
= (int ) wxSIZE_AUTO
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) return NULL
;
4483 } Py_INCREF(Py_None
);
4484 _resultobj
= Py_None
;
4488 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4489 self
->SetSize(size
);
4491 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4495 PyObject
* _argo0
= 0;
4497 PyObject
* _obj1
= 0;
4498 char *_kwnames
[] = { "self","size", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4512 if (! wxSize_helper(_obj1
, &_arg1
))
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 wxWindow_SetSize(_arg0
,*_arg1
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) return NULL
;
4521 } Py_INCREF(Py_None
);
4522 _resultobj
= Py_None
;
4526 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4527 self
->Move(pos
, flags
);
4529 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4533 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4534 PyObject
* _argo0
= 0;
4536 PyObject
* _obj1
= 0;
4537 char *_kwnames
[] = { "self","pos","flags", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4551 if (! wxPoint_helper(_obj1
, &_arg1
))
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) return NULL
;
4560 } Py_INCREF(Py_None
);
4561 _resultobj
= Py_None
;
4565 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4566 self
->SetSize(rect
, sizeFlags
);
4568 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4572 int _arg2
= (int ) wxSIZE_AUTO
;
4573 PyObject
* _argo0
= 0;
4575 PyObject
* _obj1
= 0;
4576 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4590 if (! wxRect_helper(_obj1
, &_arg1
))
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) return NULL
;
4599 } Py_INCREF(Py_None
);
4600 _resultobj
= Py_None
;
4604 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4605 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4610 int _arg3
= (int ) -1;
4611 int _arg4
= (int ) -1;
4612 int _arg5
= (int ) -1;
4613 int _arg6
= (int ) -1;
4614 PyObject
* _argo0
= 0;
4615 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } Py_INCREF(Py_None
);
4634 _resultobj
= Py_None
;
4638 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4639 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4644 int _arg3
= (int ) -1;
4645 int _arg4
= (int ) -1;
4646 PyObject
* _argo0
= 0;
4647 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) return NULL
;
4665 } Py_INCREF(Py_None
);
4666 _resultobj
= Py_None
;
4670 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4671 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4675 PyObject
* _argo0
= 0;
4677 PyObject
* _obj1
= 0;
4678 char *_kwnames
[] = { "self","size", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetVirtualSize",_kwnames
,&_argo0
,&_obj1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4692 if (! wxSize_helper(_obj1
, &_arg1
))
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) return NULL
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4706 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4707 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4712 PyObject
* _argo0
= 0;
4713 char *_kwnames
[] = { "self","x","y", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) return NULL
;
4731 } Py_INCREF(Py_None
);
4732 _resultobj
= Py_None
;
4736 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4737 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4762 _resultobj
= Py_BuildValue("s",_ptemp
);
4766 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4767 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4774 PyObject
* _argo0
= 0;
4775 char *_kwnames
[] = { "self", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) return NULL
;
4799 } Py_INCREF(Py_None
);
4800 _resultobj
= Py_None
;
4803 o
= PyInt_FromLong((long) (*_arg1
));
4804 _resultobj
= t_output_helper(_resultobj
, o
);
4808 o
= PyInt_FromLong((long) (*_arg2
));
4809 _resultobj
= t_output_helper(_resultobj
, o
);
4814 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4815 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self","width","height", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4839 } Py_INCREF(Py_None
);
4840 _resultobj
= Py_None
;
4844 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4845 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
* _resultobj
;
4849 PyObject
* _argo0
= 0;
4851 PyObject
* _obj1
= 0;
4852 char *_kwnames
[] = { "self","size", NULL
};
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4866 if (! wxSize_helper(_obj1
, &_arg1
))
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 wxWindow_SetClientSize(_arg0
,*_arg1
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) return NULL
;
4875 } Py_INCREF(Py_None
);
4876 _resultobj
= Py_None
;
4880 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4881 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4886 PyObject
* _argo0
= 0;
4887 PyObject
* _argo1
= 0;
4888 char *_kwnames
[] = { "self","cursor", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 _result
= (bool )wxWindow_SetCursor(_arg0
,*_arg1
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) return NULL
;
4913 } _resultobj
= Py_BuildValue("i",_result
);
4917 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4918 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4922 PyObject
* _argo0
= 0;
4923 char *_kwnames
[] = { "self", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCursor",_kwnames
,&_argo0
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 wxCursor
& _result_ref
= wxWindow_GetCursor(_arg0
);
4939 _result
= (wxCursor
*) &_result_ref
;
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) return NULL
;
4944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
4945 _resultobj
= Py_BuildValue("s",_ptemp
);
4948 _resultobj
= Py_None
;
4953 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4954 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4957 wxEvtHandler
* _arg1
;
4958 PyObject
* _argo0
= 0;
4959 PyObject
* _argo1
= 0;
4960 char *_kwnames
[] = { "self","handler", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxWindow_SetEventHandler(_arg0
,_arg1
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) return NULL
;
4985 } Py_INCREF(Py_None
);
4986 _resultobj
= Py_None
;
4990 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4991 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self","exStyle", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 wxWindow_SetExtraStyle(_arg0
,_arg1
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) return NULL
;
5014 } Py_INCREF(Py_None
);
5015 _resultobj
= Py_None
;
5019 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5020 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5024 PyObject
* _argo0
= 0;
5025 PyObject
* _obj1
= 0;
5026 char *_kwnames
[] = { "self","title", NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5039 _arg1
= wxString_in_helper(_obj1
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxWindow_SetTitle(_arg0
,*_arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) return NULL
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5058 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5059 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5063 bool _arg1
= (bool ) TRUE
;
5064 PyObject
* _argo0
= 0;
5065 int tempbool1
= (int) TRUE
;
5066 char *_kwnames
[] = { "self","show", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5078 _arg1
= (bool ) tempbool1
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) return NULL
;
5085 } _resultobj
= Py_BuildValue("i",_result
);
5089 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5090 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) return NULL
;
5113 } _resultobj
= Py_BuildValue("i",_result
);
5117 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5118 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5122 PyObject
* _argo0
= 0;
5123 char *_kwnames
[] = { "self", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) return NULL
;
5141 } _resultobj
= Py_BuildValue("i",_result
);
5145 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
5146 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5149 PyObject
* _argo0
= 0;
5150 char *_kwnames
[] = { "self", NULL
};
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
5156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 wxWindow_UpdateWindowUI(_arg0
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) return NULL
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5173 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5174 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
* _resultobj
;
5178 PyObject
* _argo0
= 0;
5179 char *_kwnames
[] = { "self", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 _result
= (bool )wxWindow_Validate(_arg0
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) return NULL
;
5197 } _resultobj
= Py_BuildValue("i",_result
);
5201 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5202 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
* _resultobj
;
5207 PyObject
* _argo0
= 0;
5209 PyObject
* _obj1
= 0;
5210 char *_kwnames
[] = { "self","pt", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5225 if (! wxPoint_helper(_obj1
, &_arg1
))
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) return NULL
;
5234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5235 _resultobj
= Py_BuildValue("s",_ptemp
);
5239 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5240 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5245 PyObject
* _argo0
= 0;
5247 PyObject
* _obj1
= 0;
5248 char *_kwnames
[] = { "self","sz", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5263 if (! wxSize_helper(_obj1
, &_arg1
))
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) return NULL
;
5272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5273 _resultobj
= Py_BuildValue("s",_ptemp
);
5277 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5278 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
* _resultobj
;
5283 PyObject
* _argo0
= 0;
5285 PyObject
* _obj1
= 0;
5286 char *_kwnames
[] = { "self","pt", NULL
};
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5301 if (! wxPoint_helper(_obj1
, &_arg1
))
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) return NULL
;
5310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5311 _resultobj
= Py_BuildValue("s",_ptemp
);
5315 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5316 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5321 PyObject
* _argo0
= 0;
5323 PyObject
* _obj1
= 0;
5324 char *_kwnames
[] = { "self","sz", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5339 if (! wxSize_helper(_obj1
, &_arg1
))
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) return NULL
;
5348 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5349 _resultobj
= Py_BuildValue("s",_ptemp
);
5353 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5354 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5358 PyObject
* _argo0
= 0;
5359 PyObject
* _obj1
= 0;
5360 char *_kwnames
[] = { "self","tip", NULL
};
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5373 _arg1
= wxString_in_helper(_obj1
);
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) return NULL
;
5383 } Py_INCREF(Py_None
);
5384 _resultobj
= Py_None
;
5392 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5393 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5397 PyObject
* _argo0
= 0;
5398 PyObject
* _argo1
= 0;
5399 char *_kwnames
[] = { "self","tooltip", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 wxWindow_SetToolTip(_arg0
,_arg1
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) return NULL
;
5424 } Py_INCREF(Py_None
);
5425 _resultobj
= Py_None
;
5429 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5430 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
* _resultobj
;
5432 wxToolTip
* _result
;
5434 PyObject
* _argo0
= 0;
5435 char *_kwnames
[] = { "self", NULL
};
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) return NULL
;
5453 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5457 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5458 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5462 bool _arg2
= (bool ) TRUE
;
5463 PyObject
* _argo0
= 0;
5464 PyObject
* _argo1
= 0;
5465 int tempbool2
= (int) TRUE
;
5466 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5485 _arg2
= (bool ) tempbool2
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) return NULL
;
5492 } Py_INCREF(Py_None
);
5493 _resultobj
= Py_None
;
5497 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5498 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5502 bool _arg2
= (bool ) TRUE
;
5503 PyObject
* _argo0
= 0;
5504 PyObject
* _argo1
= 0;
5505 int tempbool2
= (int) TRUE
;
5506 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5525 _arg2
= (bool ) tempbool2
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5538 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5542 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) return NULL
;
5561 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5565 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5566 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 PyObject
* _argo1
= 0;
5572 char *_kwnames
[] = { "self","sizer", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) return NULL
;
5597 } Py_INCREF(Py_None
);
5598 _resultobj
= Py_None
;
5602 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5603 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5608 char *_kwnames
[] = { "self", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) return NULL
;
5626 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5630 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5631 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5633 wxValidator
* _result
;
5635 PyObject
* _argo0
= 0;
5636 char *_kwnames
[] = { "self", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5658 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5659 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5662 wxValidator
* _arg1
;
5663 PyObject
* _argo0
= 0;
5664 PyObject
* _argo1
= 0;
5665 char *_kwnames
[] = { "self","validator", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 wxWindow_SetValidator(_arg0
,*_arg1
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 } Py_INCREF(Py_None
);
5691 _resultobj
= Py_None
;
5695 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5696 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5699 wxDropTarget
* _arg1
;
5700 PyObject
* _argo0
= 0;
5701 PyObject
* _argo1
= 0;
5702 char *_kwnames
[] = { "self","target", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 wxWindow_SetDropTarget(_arg0
,_arg1
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) return NULL
;
5727 } Py_INCREF(Py_None
);
5728 _resultobj
= Py_None
;
5732 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5733 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5735 wxDropTarget
* _result
;
5737 PyObject
* _argo0
= 0;
5738 char *_kwnames
[] = { "self", NULL
};
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) return NULL
;
5758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5759 _resultobj
= Py_BuildValue("s",_ptemp
);
5762 _resultobj
= Py_None
;
5767 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5768 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5772 PyObject
* _argo0
= 0;
5773 char *_kwnames
[] = { "self", NULL
};
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) return NULL
;
5792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5793 _resultobj
= Py_BuildValue("s",_ptemp
);
5797 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5798 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5802 PyObject
* _argo0
= 0;
5803 char *_kwnames
[] = { "self", NULL
};
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5822 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5823 _resultobj
= Py_BuildValue("s",_ptemp
);
5827 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5828 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5832 PyObject
* _argo0
= 0;
5833 PyObject
* _argo1
= 0;
5834 char *_kwnames
[] = { "self","caret", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxWindow_SetCaret(_arg0
,_arg1
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5859 } Py_INCREF(Py_None
);
5860 _resultobj
= Py_None
;
5864 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5865 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) return NULL
;
5890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5891 _resultobj
= Py_BuildValue("s",_ptemp
);
5894 _resultobj
= Py_None
;
5899 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5900 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 wxWindow_Freeze(_arg0
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) return NULL
;
5922 } Py_INCREF(Py_None
);
5923 _resultobj
= Py_None
;
5927 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5928 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxWindow_Thaw(_arg0
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5950 } Py_INCREF(Py_None
);
5951 _resultobj
= Py_None
;
5955 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5956 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxWindow_Update(_arg0
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5978 } Py_INCREF(Py_None
);
5979 _resultobj
= Py_None
;
5983 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5984 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6009 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6011 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6020 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6021 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
* _resultobj
;
6025 PyObject
* _argo0
= 0;
6026 PyObject
* _obj1
= 0;
6027 char *_kwnames
[] = { "self","helpText", NULL
};
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
6033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6040 _arg1
= wxString_in_helper(_obj1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 wxWindow_SetHelpText(_arg0
,*_arg1
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) return NULL
;
6050 } Py_INCREF(Py_None
);
6051 _resultobj
= Py_None
;
6059 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6060 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6064 PyObject
* _argo0
= 0;
6065 PyObject
* _obj1
= 0;
6066 char *_kwnames
[] = { "self","text", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6079 _arg1
= wxString_in_helper(_obj1
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) return NULL
;
6089 } Py_INCREF(Py_None
);
6090 _resultobj
= Py_None
;
6098 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6099 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
* _resultobj
;
6104 PyObject
* _argo0
= 0;
6105 char *_kwnames
[] = { "self","lines", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) return NULL
;
6123 } _resultobj
= Py_BuildValue("i",_result
);
6127 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6128 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6133 PyObject
* _argo0
= 0;
6134 char *_kwnames
[] = { "self","pages", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) return NULL
;
6152 } _resultobj
= Py_BuildValue("i",_result
);
6156 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6157 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
* _resultobj
;
6161 PyObject
* _argo0
= 0;
6162 char *_kwnames
[] = { "self", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 _result
= (bool )wxWindow_LineUp(_arg0
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) return NULL
;
6180 } _resultobj
= Py_BuildValue("i",_result
);
6184 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6185 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 _result
= (bool )wxWindow_LineDown(_arg0
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) return NULL
;
6208 } _resultobj
= Py_BuildValue("i",_result
);
6212 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6213 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6217 PyObject
* _argo0
= 0;
6218 char *_kwnames
[] = { "self", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 _result
= (bool )wxWindow_PageUp(_arg0
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) return NULL
;
6236 } _resultobj
= Py_BuildValue("i",_result
);
6240 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6241 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6245 PyObject
* _argo0
= 0;
6246 char *_kwnames
[] = { "self", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 _result
= (bool )wxWindow_PageDown(_arg0
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) return NULL
;
6264 } _resultobj
= Py_BuildValue("i",_result
);
6268 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
* _resultobj
;
6271 char *_kwnames
[] = { NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 _result
= (wxWindow
*)wxWindow::FindFocus();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) return NULL
;
6282 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6286 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6289 char *_kwnames
[] = { NULL
};
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (int )wxWindow::NewControlId();
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6300 } _resultobj
= Py_BuildValue("i",_result
);
6304 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6308 char *_kwnames
[] = { "id", NULL
};
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 _result
= (int )wxWindow::NextControlId(_arg0
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) return NULL
;
6319 } _resultobj
= Py_BuildValue("i",_result
);
6323 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 char *_kwnames
[] = { "id", NULL
};
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 _result
= (int )wxWindow::PrevControlId(_arg0
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6338 } _resultobj
= Py_BuildValue("i",_result
);
6342 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6343 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6346 wxAcceleratorTable
* _arg1
;
6347 PyObject
* _argo0
= 0;
6348 PyObject
* _argo1
= 0;
6349 char *_kwnames
[] = { "self","accel", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) return NULL
;
6374 } Py_INCREF(Py_None
);
6375 _resultobj
= Py_None
;
6379 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6380 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
* _resultobj
;
6382 wxAcceleratorTable
* _result
;
6384 PyObject
* _argo0
= 0;
6385 char *_kwnames
[] = { "self", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) return NULL
;
6405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6406 _resultobj
= Py_BuildValue("s",_ptemp
);
6409 _resultobj
= Py_None
;
6414 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6415 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6418 wxPaintEvent
* _arg1
;
6419 PyObject
* _argo0
= 0;
6420 PyObject
* _argo1
= 0;
6421 char *_kwnames
[] = { "self","event", NULL
};
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 wxWindow_OnPaint(_arg0
,*_arg1
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } Py_INCREF(Py_None
);
6447 _resultobj
= Py_None
;
6451 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6452 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6456 PyObject
* _argo0
= 0;
6457 char *_kwnames
[] = { "self", NULL
};
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) return NULL
;
6475 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6479 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6480 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
* _resultobj
;
6485 PyObject
* _argo0
= 0;
6486 PyObject
* _argo1
= 0;
6487 char *_kwnames
[] = { "self","btn", NULL
};
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6512 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6516 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6517 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6521 PyObject
* _argo0
= 0;
6522 PyObject
* _argo1
= 0;
6523 char *_kwnames
[] = { "self","win", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) return NULL
;
6548 } Py_INCREF(Py_None
);
6549 _resultobj
= Py_None
;
6553 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6554 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self","x","y", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6578 } Py_INCREF(Py_None
);
6579 _resultobj
= Py_None
;
6583 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6584 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 wxWindow_CaptureMouse(_arg0
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) return NULL
;
6606 } Py_INCREF(Py_None
);
6607 _resultobj
= Py_None
;
6611 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6612 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 wxWindow_ReleaseMouse(_arg0
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } Py_INCREF(Py_None
);
6635 _resultobj
= Py_None
;
6639 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6642 char *_kwnames
[] = { NULL
};
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 _result
= (wxWindow
*)wxWindow::GetCapture();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6653 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6657 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6658 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6662 PyObject
* _argo0
= 0;
6663 char *_kwnames
[] = { "self", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 _result
= (bool )wxWindow_HasCapture(_arg0
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) return NULL
;
6681 } _resultobj
= Py_BuildValue("i",_result
);
6685 static void *SwigwxPanelTowxWindow(void *ptr
) {
6688 src
= (wxPanel
*) ptr
;
6689 dest
= (wxWindow
*) src
;
6690 return (void *) dest
;
6693 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6696 src
= (wxPanel
*) ptr
;
6697 dest
= (wxEvtHandler
*) src
;
6698 return (void *) dest
;
6701 static void *SwigwxPanelTowxObject(void *ptr
) {
6704 src
= (wxPanel
*) ptr
;
6705 dest
= (wxObject
*) src
;
6706 return (void *) dest
;
6709 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6710 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6715 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6716 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6717 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6718 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6719 PyObject
* _argo0
= 0;
6721 PyObject
* _obj2
= 0;
6723 PyObject
* _obj3
= 0;
6724 PyObject
* _obj5
= 0;
6725 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6741 if (! wxPoint_helper(_obj2
, &_arg2
))
6747 if (! wxSize_helper(_obj3
, &_arg3
))
6752 _arg5
= wxString_in_helper(_obj5
);
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) return NULL
;
6763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6764 _resultobj
= Py_BuildValue("s",_ptemp
);
6767 _resultobj
= Py_None
;
6776 #define new_wxPrePanel() (new wxPanel())
6777 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6780 char *_kwnames
[] = { NULL
};
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 _result
= (wxPanel
*)new_wxPrePanel();
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) return NULL
;
6793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6794 _resultobj
= Py_BuildValue("s",_ptemp
);
6797 _resultobj
= Py_None
;
6802 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6803 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
* _resultobj
;
6809 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6810 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6811 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6812 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6813 PyObject
* _argo0
= 0;
6814 PyObject
* _argo1
= 0;
6816 PyObject
* _obj3
= 0;
6818 PyObject
* _obj4
= 0;
6819 PyObject
* _obj6
= 0;
6820 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6833 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6842 if (! wxPoint_helper(_obj3
, &_arg3
))
6848 if (! wxSize_helper(_obj4
, &_arg4
))
6853 _arg6
= wxString_in_helper(_obj6
);
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) return NULL
;
6863 } _resultobj
= Py_BuildValue("i",_result
);
6871 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6872 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 char *_kwnames
[] = { "self", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 wxPanel_InitDialog(_arg0
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } Py_INCREF(Py_None
);
6895 _resultobj
= Py_None
;
6899 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6900 wxScrolledWindow
*src
;
6902 src
= (wxScrolledWindow
*) ptr
;
6903 dest
= (wxPanel
*) src
;
6904 return (void *) dest
;
6907 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6908 wxScrolledWindow
*src
;
6910 src
= (wxScrolledWindow
*) ptr
;
6911 dest
= (wxWindow
*) src
;
6912 return (void *) dest
;
6915 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6916 wxScrolledWindow
*src
;
6918 src
= (wxScrolledWindow
*) ptr
;
6919 dest
= (wxEvtHandler
*) src
;
6920 return (void *) dest
;
6923 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6924 wxScrolledWindow
*src
;
6926 src
= (wxScrolledWindow
*) ptr
;
6927 dest
= (wxObject
*) src
;
6928 return (void *) dest
;
6931 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6932 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6934 wxScrolledWindow
* _result
;
6936 wxWindowID _arg1
= (wxWindowID
) -1;
6937 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6938 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6939 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6940 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6941 PyObject
* _argo0
= 0;
6943 PyObject
* _obj2
= 0;
6945 PyObject
* _obj3
= 0;
6946 PyObject
* _obj5
= 0;
6947 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6963 if (! wxPoint_helper(_obj2
, &_arg2
))
6969 if (! wxSize_helper(_obj3
, &_arg3
))
6974 _arg5
= wxString_in_helper(_obj5
);
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6986 _resultobj
= Py_BuildValue("s",_ptemp
);
6989 _resultobj
= Py_None
;
6998 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6999 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
* _resultobj
;
7001 wxScrolledWindow
* _result
;
7002 char *_kwnames
[] = { NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7016 _resultobj
= Py_BuildValue("s",_ptemp
);
7019 _resultobj
= Py_None
;
7024 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7025 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
* _resultobj
;
7028 wxScrolledWindow
* _arg0
;
7030 wxWindowID _arg2
= (wxWindowID
) -1;
7031 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7032 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7033 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
7034 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7035 PyObject
* _argo0
= 0;
7036 PyObject
* _argo1
= 0;
7038 PyObject
* _obj3
= 0;
7040 PyObject
* _obj4
= 0;
7041 PyObject
* _obj6
= 0;
7042 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7064 if (! wxPoint_helper(_obj3
, &_arg3
))
7070 if (! wxSize_helper(_obj4
, &_arg4
))
7075 _arg6
= wxString_in_helper(_obj6
);
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) return NULL
;
7085 } _resultobj
= Py_BuildValue("i",_result
);
7093 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7094 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
* _resultobj
;
7096 wxScrolledWindow
* _arg0
;
7099 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7114 _arg1
= (bool ) tempbool1
;
7115 _arg2
= (bool ) tempbool2
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) return NULL
;
7122 } Py_INCREF(Py_None
);
7123 _resultobj
= Py_None
;
7127 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7128 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7131 wxScrolledWindow
* _arg0
;
7133 PyObject
* _argo0
= 0;
7134 char *_kwnames
[] = { "self","orient", NULL
};
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
7140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) return NULL
;
7152 } _resultobj
= Py_BuildValue("i",_result
);
7156 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7157 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
* _resultobj
;
7159 wxScrolledWindow
* _arg0
;
7164 PyObject
* _argo0
= 0;
7165 char *_kwnames
[] = { "self", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) return NULL
;
7189 } Py_INCREF(Py_None
);
7190 _resultobj
= Py_None
;
7193 o
= PyInt_FromLong((long) (*_arg1
));
7194 _resultobj
= t_output_helper(_resultobj
, o
);
7198 o
= PyInt_FromLong((long) (*_arg2
));
7199 _resultobj
= t_output_helper(_resultobj
, o
);
7204 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7205 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7208 wxScrolledWindow
* _arg0
;
7209 PyObject
* _argo0
= 0;
7210 char *_kwnames
[] = { "self", NULL
};
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) return NULL
;
7228 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7232 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7233 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7236 wxScrolledWindow
* _arg0
;
7237 PyObject
* _argo0
= 0;
7238 char *_kwnames
[] = { "self", NULL
};
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) return NULL
;
7256 } _resultobj
= Py_BuildValue("i",_result
);
7260 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7261 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7263 wxScrolledWindow
* _arg0
;
7265 PyObject
* _argo0
= 0;
7266 PyObject
* _argo1
= 0;
7267 char *_kwnames
[] = { "self","dc", NULL
};
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) return NULL
;
7292 } Py_INCREF(Py_None
);
7293 _resultobj
= Py_None
;
7297 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7298 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7300 wxScrolledWindow
* _arg0
;
7303 PyObject
* _argo0
= 0;
7304 char *_kwnames
[] = { "self","x","y", NULL
};
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) return NULL
;
7322 } Py_INCREF(Py_None
);
7323 _resultobj
= Py_None
;
7327 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7328 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
* _resultobj
;
7330 wxScrolledWindow
* _arg0
;
7335 int _arg5
= (int ) 0;
7336 int _arg6
= (int ) 0;
7337 int _arg7
= (int ) FALSE
;
7338 PyObject
* _argo0
= 0;
7339 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) return NULL
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7363 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7365 wxScrolledWindow
* _arg0
;
7368 PyObject
* _argo0
= 0;
7369 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) return NULL
;
7387 } Py_INCREF(Py_None
);
7388 _resultobj
= Py_None
;
7392 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7393 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7395 wxScrolledWindow
* _arg0
;
7397 PyObject
* _argo0
= 0;
7398 PyObject
* _argo1
= 0;
7399 char *_kwnames
[] = { "self","window", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) return NULL
;
7424 } Py_INCREF(Py_None
);
7425 _resultobj
= Py_None
;
7429 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7430 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
* _resultobj
;
7432 wxScrolledWindow
* _arg0
;
7437 PyObject
* _argo0
= 0;
7438 char *_kwnames
[] = { "self", NULL
};
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } Py_INCREF(Py_None
);
7463 _resultobj
= Py_None
;
7466 o
= PyInt_FromLong((long) (*_arg1
));
7467 _resultobj
= t_output_helper(_resultobj
, o
);
7471 o
= PyInt_FromLong((long) (*_arg2
));
7472 _resultobj
= t_output_helper(_resultobj
, o
);
7477 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7478 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
* _resultobj
;
7481 wxScrolledWindow
* _arg0
;
7483 PyObject
* _argo0
= 0;
7485 PyObject
* _obj1
= 0;
7486 char *_kwnames
[] = { "self","pt", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7501 if (! wxPoint_helper(_obj1
, &_arg1
))
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) return NULL
;
7510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7511 _resultobj
= Py_BuildValue("s",_ptemp
);
7515 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7516 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7518 wxScrolledWindow
* _arg0
;
7525 PyObject
* _argo0
= 0;
7526 char *_kwnames
[] = { "self","x","y", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) return NULL
;
7550 } Py_INCREF(Py_None
);
7551 _resultobj
= Py_None
;
7554 o
= PyInt_FromLong((long) (*_arg3
));
7555 _resultobj
= t_output_helper(_resultobj
, o
);
7559 o
= PyInt_FromLong((long) (*_arg4
));
7560 _resultobj
= t_output_helper(_resultobj
, o
);
7565 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7566 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7569 wxScrolledWindow
* _arg0
;
7571 PyObject
* _argo0
= 0;
7573 PyObject
* _obj1
= 0;
7574 char *_kwnames
[] = { "self","pt", NULL
};
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7589 if (! wxPoint_helper(_obj1
, &_arg1
))
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) return NULL
;
7598 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7599 _resultobj
= Py_BuildValue("s",_ptemp
);
7603 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7604 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7606 wxScrolledWindow
* _arg0
;
7613 PyObject
* _argo0
= 0;
7614 char *_kwnames
[] = { "self","x","y", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) return NULL
;
7638 } Py_INCREF(Py_None
);
7639 _resultobj
= Py_None
;
7642 o
= PyInt_FromLong((long) (*_arg3
));
7643 _resultobj
= t_output_helper(_resultobj
, o
);
7647 o
= PyInt_FromLong((long) (*_arg4
));
7648 _resultobj
= t_output_helper(_resultobj
, o
);
7653 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7654 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7656 wxScrolledWindow
* _arg0
;
7659 PyObject
* _argo0
= 0;
7660 char *_kwnames
[] = { "self","xs","ys", NULL
};
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) return NULL
;
7678 } Py_INCREF(Py_None
);
7679 _resultobj
= Py_None
;
7683 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7684 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
* _resultobj
;
7687 wxScrolledWindow
* _arg0
;
7688 PyObject
* _argo0
= 0;
7689 char *_kwnames
[] = { "self", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) return NULL
;
7707 } _resultobj
= Py_BuildValue("d",_result
);
7711 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7712 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7715 wxScrolledWindow
* _arg0
;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) return NULL
;
7735 } _resultobj
= Py_BuildValue("d",_result
);
7739 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7740 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7742 wxScrolledWindow
* _arg0
;
7743 PyObject
* _argo0
= 0;
7744 char *_kwnames
[] = { "self", NULL
};
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 wxScrolledWindow_AdjustScrollbars(_arg0
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) return NULL
;
7762 } Py_INCREF(Py_None
);
7763 _resultobj
= Py_None
;
7767 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7768 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7771 wxScrolledWindow
* _arg0
;
7772 PyObject
* _argo0
= 0;
7773 char *_kwnames
[] = { "self", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7791 } _resultobj
= Py_BuildValue("i",_result
);
7795 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7796 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7798 wxScrolledWindow
* _arg0
;
7801 PyObject
* _argo0
= 0;
7802 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) return NULL
;
7820 } Py_INCREF(Py_None
);
7821 _resultobj
= Py_None
;
7825 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7828 src
= (wxMenu
*) ptr
;
7829 dest
= (wxEvtHandler
*) src
;
7830 return (void *) dest
;
7833 static void *SwigwxMenuTowxObject(void *ptr
) {
7836 src
= (wxMenu
*) ptr
;
7837 dest
= (wxObject
*) src
;
7838 return (void *) dest
;
7841 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7842 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7845 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7846 long _arg1
= (long ) 0;
7847 PyObject
* _obj0
= 0;
7848 char *_kwnames
[] = { "title","style", NULL
};
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7856 _arg0
= wxString_in_helper(_obj0
);
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) return NULL
;
7867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7868 _resultobj
= Py_BuildValue("s",_ptemp
);
7871 _resultobj
= Py_None
;
7880 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7881 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
* _resultobj
;
7886 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7887 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7888 PyObject
* _argo0
= 0;
7889 PyObject
* _obj2
= 0;
7890 PyObject
* _obj3
= 0;
7891 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7904 _arg2
= wxString_in_helper(_obj2
);
7910 _arg3
= wxString_in_helper(_obj3
);
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) return NULL
;
7920 } Py_INCREF(Py_None
);
7921 _resultobj
= Py_None
;
7933 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7934 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
* _resultobj
;
7940 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7941 PyObject
* _argo0
= 0;
7942 PyObject
* _obj2
= 0;
7943 PyObject
* _argo3
= 0;
7944 PyObject
* _obj4
= 0;
7945 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7958 _arg2
= wxString_in_helper(_obj2
);
7963 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7964 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7971 _arg4
= wxString_in_helper(_obj4
);
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) return NULL
;
7981 } Py_INCREF(Py_None
);
7982 _resultobj
= Py_None
;
7994 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7995 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
* _resultobj
;
7999 PyObject
* _argo0
= 0;
8000 PyObject
* _argo1
= 0;
8001 char *_kwnames
[] = { "self","item", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxMenu_AppendItem(_arg0
,_arg1
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) return NULL
;
8026 } Py_INCREF(Py_None
);
8027 _resultobj
= Py_None
;
8031 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8032 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
* _resultobj
;
8037 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8038 PyObject
* _argo0
= 0;
8039 PyObject
* _obj2
= 0;
8040 PyObject
* _obj3
= 0;
8041 char *_kwnames
[] = { "self","id","text","help", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8054 _arg2
= wxString_in_helper(_obj2
);
8060 _arg3
= wxString_in_helper(_obj3
);
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) return NULL
;
8070 } Py_INCREF(Py_None
);
8071 _resultobj
= Py_None
;
8083 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8084 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8089 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8090 PyObject
* _argo0
= 0;
8091 PyObject
* _obj2
= 0;
8092 PyObject
* _obj3
= 0;
8093 char *_kwnames
[] = { "self","id","text","help", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8106 _arg2
= wxString_in_helper(_obj2
);
8112 _arg3
= wxString_in_helper(_obj3
);
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) return NULL
;
8122 } Py_INCREF(Py_None
);
8123 _resultobj
= Py_None
;
8135 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8136 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
* _resultobj
;
8139 PyObject
* _argo0
= 0;
8140 char *_kwnames
[] = { "self", NULL
};
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
8146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 wxMenu_AppendSeparator(_arg0
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) return NULL
;
8158 } Py_INCREF(Py_None
);
8159 _resultobj
= Py_None
;
8163 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8164 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
* _resultobj
;
8170 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8171 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
8172 PyObject
* _argo0
= 0;
8173 PyObject
* _obj3
= 0;
8174 PyObject
* _obj4
= 0;
8175 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
8181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8188 _arg3
= wxString_in_helper(_obj3
);
8194 _arg4
= wxString_in_helper(_obj4
);
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) return NULL
;
8204 } Py_INCREF(Py_None
);
8205 _resultobj
= Py_None
;
8217 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8218 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8222 PyObject
* _argo0
= 0;
8223 char *_kwnames
[] = { "self","pos", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 wxMenu_InsertSeparator(_arg0
,_arg1
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) return NULL
;
8241 } Py_INCREF(Py_None
);
8242 _resultobj
= Py_None
;
8246 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8247 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
* _resultobj
;
8253 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8254 PyObject
* _argo0
= 0;
8255 PyObject
* _obj3
= 0;
8256 PyObject
* _obj4
= 0;
8257 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8270 _arg3
= wxString_in_helper(_obj3
);
8276 _arg4
= wxString_in_helper(_obj4
);
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) return NULL
;
8286 } Py_INCREF(Py_None
);
8287 _resultobj
= Py_None
;
8299 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8300 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
* _resultobj
;
8306 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8307 PyObject
* _argo0
= 0;
8308 PyObject
* _obj3
= 0;
8309 PyObject
* _obj4
= 0;
8310 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8323 _arg3
= wxString_in_helper(_obj3
);
8329 _arg4
= wxString_in_helper(_obj4
);
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) return NULL
;
8339 } Py_INCREF(Py_None
);
8340 _resultobj
= Py_None
;
8352 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8353 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
* _resultobj
;
8360 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8361 PyObject
* _argo0
= 0;
8362 PyObject
* _obj3
= 0;
8363 PyObject
* _argo4
= 0;
8364 PyObject
* _obj5
= 0;
8365 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8378 _arg3
= wxString_in_helper(_obj3
);
8383 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8391 _arg5
= wxString_in_helper(_obj5
);
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) return NULL
;
8401 } Py_INCREF(Py_None
);
8402 _resultobj
= Py_None
;
8414 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8415 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8421 PyObject
* _argo0
= 0;
8422 PyObject
* _argo2
= 0;
8423 char *_kwnames
[] = { "self","pos","item", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8436 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8437 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) return NULL
;
8448 } _resultobj
= Py_BuildValue("i",_result
);
8452 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8453 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
* _resultobj
;
8458 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8459 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8460 PyObject
* _argo0
= 0;
8461 PyObject
* _obj2
= 0;
8462 PyObject
* _obj3
= 0;
8463 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8476 _arg2
= wxString_in_helper(_obj2
);
8482 _arg3
= wxString_in_helper(_obj3
);
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) return NULL
;
8492 } Py_INCREF(Py_None
);
8493 _resultobj
= Py_None
;
8505 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8506 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
* _resultobj
;
8509 PyObject
* _argo0
= 0;
8510 char *_kwnames
[] = { "self", NULL
};
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxMenu_PrependSeparator(_arg0
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) return NULL
;
8528 } Py_INCREF(Py_None
);
8529 _resultobj
= Py_None
;
8533 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8534 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8539 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8540 PyObject
* _argo0
= 0;
8541 PyObject
* _obj2
= 0;
8542 PyObject
* _obj3
= 0;
8543 char *_kwnames
[] = { "self","id","text","help", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8556 _arg2
= wxString_in_helper(_obj2
);
8562 _arg3
= wxString_in_helper(_obj3
);
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) return NULL
;
8572 } Py_INCREF(Py_None
);
8573 _resultobj
= Py_None
;
8585 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8586 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
* _resultobj
;
8591 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8592 PyObject
* _argo0
= 0;
8593 PyObject
* _obj2
= 0;
8594 PyObject
* _obj3
= 0;
8595 char *_kwnames
[] = { "self","id","text","help", NULL
};
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8608 _arg2
= wxString_in_helper(_obj2
);
8614 _arg3
= wxString_in_helper(_obj3
);
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8624 } Py_INCREF(Py_None
);
8625 _resultobj
= Py_None
;
8637 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8638 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
* _resultobj
;
8644 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8645 PyObject
* _argo0
= 0;
8646 PyObject
* _obj2
= 0;
8647 PyObject
* _argo3
= 0;
8648 PyObject
* _obj4
= 0;
8649 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8662 _arg2
= wxString_in_helper(_obj2
);
8667 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8668 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8675 _arg4
= wxString_in_helper(_obj4
);
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) return NULL
;
8685 } Py_INCREF(Py_None
);
8686 _resultobj
= Py_None
;
8698 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8699 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
* _resultobj
;
8703 PyObject
* _argo0
= 0;
8704 PyObject
* _argo1
= 0;
8705 char *_kwnames
[] = { "self","item", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxMenu_PrependItem(_arg0
,_arg1
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) return NULL
;
8730 } Py_INCREF(Py_None
);
8731 _resultobj
= Py_None
;
8735 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8736 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
* _resultobj
;
8739 PyObject
* _argo0
= 0;
8740 char *_kwnames
[] = { "self", NULL
};
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 wxMenu_Break(_arg0
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) return NULL
;
8758 } Py_INCREF(Py_None
);
8759 _resultobj
= Py_None
;
8763 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8764 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
* _resultobj
;
8769 PyObject
* _argo0
= 0;
8771 char *_kwnames
[] = { "self","id","flag", NULL
};
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8783 _arg2
= (bool ) tempbool2
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) return NULL
;
8790 } Py_INCREF(Py_None
);
8791 _resultobj
= Py_None
;
8795 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8796 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
* _resultobj
;
8801 PyObject
* _argo0
= 0;
8802 char *_kwnames
[] = { "self","id", NULL
};
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) return NULL
;
8820 } _resultobj
= Py_BuildValue("i",_result
);
8824 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8825 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
* _resultobj
;
8830 PyObject
* _argo0
= 0;
8832 char *_kwnames
[] = { "self","id","enable", NULL
};
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8844 _arg2
= (bool ) tempbool2
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) return NULL
;
8851 } Py_INCREF(Py_None
);
8852 _resultobj
= Py_None
;
8856 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8857 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8862 PyObject
* _argo0
= 0;
8863 char *_kwnames
[] = { "self","id", NULL
};
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8881 } _resultobj
= Py_BuildValue("i",_result
);
8885 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8886 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
* _resultobj
;
8891 PyObject
* _argo0
= 0;
8892 PyObject
* _obj1
= 0;
8893 char *_kwnames
[] = { "self","itemString", NULL
};
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8906 _arg1
= wxString_in_helper(_obj1
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) return NULL
;
8916 } _resultobj
= Py_BuildValue("i",_result
);
8924 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8925 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
* _resultobj
;
8927 wxMenuItem
* _result
;
8930 PyObject
* _argo0
= 0;
8931 char *_kwnames
[] = { "self","id", NULL
};
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) return NULL
;
8949 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8953 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8954 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
* _resultobj
;
8958 PyObject
* _argo0
= 0;
8959 char *_kwnames
[] = { "self", NULL
};
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) return NULL
;
8979 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8981 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8990 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8991 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
* _resultobj
;
8995 PyObject
* _argo0
= 0;
8996 PyObject
* _obj1
= 0;
8997 char *_kwnames
[] = { "self","title", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9010 _arg1
= wxString_in_helper(_obj1
);
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 wxMenu_SetTitle(_arg0
,*_arg1
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) return NULL
;
9020 } Py_INCREF(Py_None
);
9021 _resultobj
= Py_None
;
9029 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9030 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9035 PyObject
* _argo0
= 0;
9036 char *_kwnames
[] = { "self","id", NULL
};
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) return NULL
;
9056 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9058 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9067 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9068 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9073 PyObject
* _argo0
= 0;
9074 PyObject
* _obj2
= 0;
9075 char *_kwnames
[] = { "self","id","label", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9088 _arg2
= wxString_in_helper(_obj2
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) return NULL
;
9098 } Py_INCREF(Py_None
);
9099 _resultobj
= Py_None
;
9107 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9108 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
* _resultobj
;
9113 PyObject
* _argo0
= 0;
9114 char *_kwnames
[] = { "self","id", NULL
};
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) return NULL
;
9134 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9136 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9145 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9146 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
* _resultobj
;
9151 PyObject
* _argo0
= 0;
9152 PyObject
* _obj2
= 0;
9153 char *_kwnames
[] = { "self","id","helpString", NULL
};
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9166 _arg2
= wxString_in_helper(_obj2
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) return NULL
;
9176 } Py_INCREF(Py_None
);
9177 _resultobj
= Py_None
;
9185 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9186 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
* _resultobj
;
9189 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
9190 PyObject
* _argo0
= 0;
9191 PyObject
* _argo1
= 0;
9192 char *_kwnames
[] = { "self","source", NULL
};
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 wxMenu_UpdateUI(_arg0
,_arg1
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) return NULL
;
9217 } Py_INCREF(Py_None
);
9218 _resultobj
= Py_None
;
9222 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9223 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
* _resultobj
;
9228 PyObject
* _argo0
= 0;
9229 char *_kwnames
[] = { "self","id", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) return NULL
;
9247 } _resultobj
= Py_BuildValue("i",_result
);
9251 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9252 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
* _resultobj
;
9257 PyObject
* _argo0
= 0;
9258 PyObject
* _argo1
= 0;
9259 char *_kwnames
[] = { "self","item", NULL
};
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) return NULL
;
9284 } _resultobj
= Py_BuildValue("i",_result
);
9288 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9289 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9291 wxMenuItem
* _result
;
9294 PyObject
* _argo0
= 0;
9295 char *_kwnames
[] = { "self","id", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9313 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9317 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9318 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9320 wxMenuItem
* _result
;
9323 PyObject
* _argo0
= 0;
9324 PyObject
* _argo1
= 0;
9325 char *_kwnames
[] = { "self","item", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9350 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9354 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9355 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
* _resultobj
;
9358 PyObject
* _argo0
= 0;
9359 char *_kwnames
[] = { "self", NULL
};
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 wxMenu_Destroy(_arg0
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) return NULL
;
9377 } Py_INCREF(Py_None
);
9378 _resultobj
= Py_None
;
9382 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9383 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
* _resultobj
;
9388 PyObject
* _argo0
= 0;
9389 char *_kwnames
[] = { "self","id", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) return NULL
;
9407 } _resultobj
= Py_BuildValue("i",_result
);
9411 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9412 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9417 PyObject
* _argo0
= 0;
9418 PyObject
* _argo1
= 0;
9419 char *_kwnames
[] = { "self","item", NULL
};
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) return NULL
;
9444 } _resultobj
= Py_BuildValue("i",_result
);
9448 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9449 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
* _resultobj
;
9453 PyObject
* _argo0
= 0;
9454 char *_kwnames
[] = { "self", NULL
};
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) return NULL
;
9472 } _resultobj
= Py_BuildValue("i",_result
);
9476 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9477 wxMenuItemList
& list
= self
->GetMenuItems();
9478 return wxPy_ConvertList(&list
, "wxMenuItem");
9480 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
* _resultobj
;
9484 PyObject
* _argo0
= 0;
9485 char *_kwnames
[] = { "self", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) return NULL
;
9504 _resultobj
= _result
;
9509 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9510 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
* _resultobj
;
9513 wxEvtHandler
* _arg1
;
9514 PyObject
* _argo0
= 0;
9515 PyObject
* _argo1
= 0;
9516 char *_kwnames
[] = { "self","handler", NULL
};
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 wxMenu_SetEventHandler(_arg0
,_arg1
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) return NULL
;
9541 } Py_INCREF(Py_None
);
9542 _resultobj
= Py_None
;
9546 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9547 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
* _resultobj
;
9549 wxEvtHandler
* _result
;
9551 PyObject
* _argo0
= 0;
9552 char *_kwnames
[] = { "self", NULL
};
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) return NULL
;
9570 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9574 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9575 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
* _resultobj
;
9579 PyObject
* _argo0
= 0;
9580 PyObject
* _argo1
= 0;
9581 char *_kwnames
[] = { "self","win", NULL
};
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9606 } Py_INCREF(Py_None
);
9607 _resultobj
= Py_None
;
9611 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9612 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9616 PyObject
* _argo0
= 0;
9617 char *_kwnames
[] = { "self", NULL
};
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) return NULL
;
9635 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9639 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9640 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
* _resultobj
;
9644 PyObject
* _argo0
= 0;
9645 char *_kwnames
[] = { "self", NULL
};
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 _result
= (long )wxMenu_GetStyle(_arg0
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) return NULL
;
9663 } _resultobj
= Py_BuildValue("l",_result
);
9667 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9668 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
* _resultobj
;
9672 PyObject
* _argo0
= 0;
9673 char *_kwnames
[] = { "self", NULL
};
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 _result
= (bool )wxMenu_IsAttached(_arg0
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) return NULL
;
9691 } _resultobj
= Py_BuildValue("i",_result
);
9695 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9696 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
* _resultobj
;
9700 PyObject
* _argo0
= 0;
9701 PyObject
* _argo1
= 0;
9702 char *_kwnames
[] = { "self","parent", NULL
};
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 wxMenu_SetParent(_arg0
,_arg1
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) return NULL
;
9727 } Py_INCREF(Py_None
);
9728 _resultobj
= Py_None
;
9732 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9733 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
* _resultobj
;
9737 PyObject
* _argo0
= 0;
9738 char *_kwnames
[] = { "self", NULL
};
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) return NULL
;
9756 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9760 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9763 src
= (wxMenuBar
*) ptr
;
9764 dest
= (wxWindow
*) src
;
9765 return (void *) dest
;
9768 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9771 src
= (wxMenuBar
*) ptr
;
9772 dest
= (wxEvtHandler
*) src
;
9773 return (void *) dest
;
9776 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9779 src
= (wxMenuBar
*) ptr
;
9780 dest
= (wxObject
*) src
;
9781 return (void *) dest
;
9784 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9785 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
* _resultobj
;
9787 wxMenuBar
* _result
;
9788 long _arg0
= (long ) 0;
9789 char *_kwnames
[] = { "style", NULL
};
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) return NULL
;
9802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9803 _resultobj
= Py_BuildValue("s",_ptemp
);
9806 _resultobj
= Py_None
;
9811 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9812 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
* _resultobj
;
9818 PyObject
* _argo0
= 0;
9819 PyObject
* _argo1
= 0;
9820 PyObject
* _obj2
= 0;
9821 char *_kwnames
[] = { "self","menu","title", NULL
};
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9841 _arg2
= wxString_in_helper(_obj2
);
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9851 } _resultobj
= Py_BuildValue("i",_result
);
9859 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9860 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
* _resultobj
;
9867 PyObject
* _argo0
= 0;
9868 PyObject
* _argo2
= 0;
9869 PyObject
* _obj3
= 0;
9870 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9883 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9884 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9890 _arg3
= wxString_in_helper(_obj3
);
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) return NULL
;
9900 } _resultobj
= Py_BuildValue("i",_result
);
9908 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9909 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
* _resultobj
;
9913 PyObject
* _argo0
= 0;
9914 char *_kwnames
[] = { "self", NULL
};
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } _resultobj
= Py_BuildValue("i",_result
);
9936 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9937 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
* _resultobj
;
9942 PyObject
* _argo0
= 0;
9943 char *_kwnames
[] = { "self","pos", NULL
};
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9965 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9966 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
* _resultobj
;
9973 PyObject
* _argo0
= 0;
9974 PyObject
* _argo2
= 0;
9975 PyObject
* _obj3
= 0;
9976 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9989 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9990 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9996 _arg3
= wxString_in_helper(_obj3
);
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) return NULL
;
10006 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10014 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10015 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
* _resultobj
;
10020 PyObject
* _argo0
= 0;
10021 char *_kwnames
[] = { "self","pos", NULL
};
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
10027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10039 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10043 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10044 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
* _resultobj
;
10049 PyObject
* _argo0
= 0;
10051 char *_kwnames
[] = { "self","pos","enable", NULL
};
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10063 _arg2
= (bool ) tempbool2
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) return NULL
;
10070 } Py_INCREF(Py_None
);
10071 _resultobj
= Py_None
;
10075 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10076 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
* _resultobj
;
10081 PyObject
* _argo0
= 0;
10082 PyObject
* _obj2
= 0;
10083 char *_kwnames
[] = { "self","pos","label", NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10096 _arg2
= wxString_in_helper(_obj2
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) return NULL
;
10106 } Py_INCREF(Py_None
);
10107 _resultobj
= Py_None
;
10115 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10116 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
* _resultobj
;
10118 wxString
* _result
;
10121 PyObject
* _argo0
= 0;
10122 char *_kwnames
[] = { "self","pos", NULL
};
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
10128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) return NULL
;
10142 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10144 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10153 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10154 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
* _resultobj
;
10159 PyObject
* _argo0
= 0;
10160 PyObject
* _obj1
= 0;
10161 char *_kwnames
[] = { "self","title", NULL
};
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
10167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10174 _arg1
= wxString_in_helper(_obj1
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) return NULL
;
10184 } _resultobj
= Py_BuildValue("i",_result
);
10192 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10193 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
* _resultobj
;
10199 PyObject
* _argo0
= 0;
10200 PyObject
* _obj1
= 0;
10201 PyObject
* _obj2
= 0;
10202 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10215 _arg1
= wxString_in_helper(_obj1
);
10220 _arg2
= wxString_in_helper(_obj2
);
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) return NULL
;
10230 } _resultobj
= Py_BuildValue("i",_result
);
10242 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10243 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
* _resultobj
;
10245 wxMenuItem
* _result
;
10248 PyObject
* _argo0
= 0;
10249 char *_kwnames
[] = { "self","id", NULL
};
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) return NULL
;
10267 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10271 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10272 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
* _resultobj
;
10277 PyObject
* _argo0
= 0;
10279 char *_kwnames
[] = { "self","id","enable", NULL
};
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10291 _arg2
= (bool ) tempbool2
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) return NULL
;
10298 } Py_INCREF(Py_None
);
10299 _resultobj
= Py_None
;
10303 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10304 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
* _resultobj
;
10309 PyObject
* _argo0
= 0;
10311 char *_kwnames
[] = { "self","id","check", NULL
};
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10323 _arg2
= (bool ) tempbool2
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) return NULL
;
10330 } Py_INCREF(Py_None
);
10331 _resultobj
= Py_None
;
10335 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10336 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
* _resultobj
;
10341 PyObject
* _argo0
= 0;
10342 char *_kwnames
[] = { "self","id", NULL
};
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) return NULL
;
10360 } _resultobj
= Py_BuildValue("i",_result
);
10364 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10365 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
* _resultobj
;
10370 PyObject
* _argo0
= 0;
10371 char *_kwnames
[] = { "self","id", NULL
};
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) return NULL
;
10389 } _resultobj
= Py_BuildValue("i",_result
);
10393 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10394 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
* _resultobj
;
10399 PyObject
* _argo0
= 0;
10400 PyObject
* _obj2
= 0;
10401 char *_kwnames
[] = { "self","id","label", NULL
};
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10414 _arg2
= wxString_in_helper(_obj2
);
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } Py_INCREF(Py_None
);
10425 _resultobj
= Py_None
;
10433 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10434 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
* _resultobj
;
10436 wxString
* _result
;
10439 PyObject
* _argo0
= 0;
10440 char *_kwnames
[] = { "self","id", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) return NULL
;
10460 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10462 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10471 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10472 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
* _resultobj
;
10477 PyObject
* _argo0
= 0;
10478 PyObject
* _obj2
= 0;
10479 char *_kwnames
[] = { "self","id","helpString", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10492 _arg2
= wxString_in_helper(_obj2
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) return NULL
;
10502 } Py_INCREF(Py_None
);
10503 _resultobj
= Py_None
;
10511 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10512 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
* _resultobj
;
10514 wxString
* _result
;
10517 PyObject
* _argo0
= 0;
10518 char *_kwnames
[] = { "self","id", NULL
};
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) return NULL
;
10538 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10540 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10549 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10552 src
= (wxMenuItem
*) ptr
;
10553 dest
= (wxObject
*) src
;
10554 return (void *) dest
;
10557 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10558 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
* _resultobj
;
10560 wxMenuItem
* _result
;
10561 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10562 int _arg1
= (int ) wxID_SEPARATOR
;
10563 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10564 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10565 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10566 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10567 PyObject
* _argo0
= 0;
10568 PyObject
* _obj2
= 0;
10569 PyObject
* _obj3
= 0;
10570 PyObject
* _argo5
= 0;
10571 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10586 _arg2
= wxString_in_helper(_obj2
);
10592 _arg3
= wxString_in_helper(_obj3
);
10597 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10598 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) return NULL
;
10610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10611 _resultobj
= Py_BuildValue("s",_ptemp
);
10613 Py_INCREF(Py_None
);
10614 _resultobj
= Py_None
;
10627 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10628 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
* _resultobj
;
10631 wxMenuItem
* _arg0
;
10632 PyObject
* _argo0
= 0;
10633 char *_kwnames
[] = { "self", NULL
};
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) return NULL
;
10651 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10655 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10656 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
* _resultobj
;
10658 wxMenuItem
* _arg0
;
10660 PyObject
* _argo0
= 0;
10661 char *_kwnames
[] = { "self","id", NULL
};
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 wxMenuItem_SetId(_arg0
,_arg1
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) return NULL
;
10679 } Py_INCREF(Py_None
);
10680 _resultobj
= Py_None
;
10684 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10685 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
* _resultobj
;
10688 wxMenuItem
* _arg0
;
10689 PyObject
* _argo0
= 0;
10690 char *_kwnames
[] = { "self", NULL
};
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 _result
= (int )wxMenuItem_GetId(_arg0
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) return NULL
;
10708 } _resultobj
= Py_BuildValue("i",_result
);
10712 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10713 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
* _resultobj
;
10716 wxMenuItem
* _arg0
;
10717 PyObject
* _argo0
= 0;
10718 char *_kwnames
[] = { "self", NULL
};
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) return NULL
;
10736 } _resultobj
= Py_BuildValue("i",_result
);
10740 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10741 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
* _resultobj
;
10743 wxMenuItem
* _arg0
;
10745 PyObject
* _argo0
= 0;
10746 PyObject
* _obj1
= 0;
10747 char *_kwnames
[] = { "self","str", NULL
};
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10760 _arg1
= wxString_in_helper(_obj1
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 wxMenuItem_SetText(_arg0
,*_arg1
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) return NULL
;
10770 } Py_INCREF(Py_None
);
10771 _resultobj
= Py_None
;
10779 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10780 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
* _resultobj
;
10782 wxString
* _result
;
10783 wxMenuItem
* _arg0
;
10784 PyObject
* _argo0
= 0;
10785 char *_kwnames
[] = { "self", NULL
};
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) return NULL
;
10805 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10807 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10816 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10817 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
* _resultobj
;
10819 wxString
* _result
;
10820 wxMenuItem
* _arg0
;
10821 PyObject
* _argo0
= 0;
10822 char *_kwnames
[] = { "self", NULL
};
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10837 _result
= (wxString
*) &_result_ref
;
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) return NULL
;
10843 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10845 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10851 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10852 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
* _resultobj
;
10854 wxItemKind _result
;
10855 wxMenuItem
* _arg0
;
10856 PyObject
* _argo0
= 0;
10857 char *_kwnames
[] = { "self", NULL
};
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) return NULL
;
10875 } _resultobj
= Py_BuildValue("i",_result
);
10879 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10880 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
* _resultobj
;
10882 wxMenuItem
* _arg0
;
10884 PyObject
* _argo0
= 0;
10886 char *_kwnames
[] = { "self","checkable", NULL
};
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10898 _arg1
= (bool ) tempbool1
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) return NULL
;
10905 } Py_INCREF(Py_None
);
10906 _resultobj
= Py_None
;
10910 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10911 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
* _resultobj
;
10914 wxMenuItem
* _arg0
;
10915 PyObject
* _argo0
= 0;
10916 char *_kwnames
[] = { "self", NULL
};
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) return NULL
;
10934 } _resultobj
= Py_BuildValue("i",_result
);
10938 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10939 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
* _resultobj
;
10942 wxMenuItem
* _arg0
;
10943 PyObject
* _argo0
= 0;
10944 char *_kwnames
[] = { "self", NULL
};
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) return NULL
;
10962 } _resultobj
= Py_BuildValue("i",_result
);
10966 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10967 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
* _resultobj
;
10969 wxMenuItem
* _arg0
;
10971 PyObject
* _argo0
= 0;
10972 PyObject
* _argo1
= 0;
10973 char *_kwnames
[] = { "self","menu", NULL
};
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) return NULL
;
10998 } Py_INCREF(Py_None
);
10999 _resultobj
= Py_None
;
11003 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11004 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
* _resultobj
;
11007 wxMenuItem
* _arg0
;
11008 PyObject
* _argo0
= 0;
11009 char *_kwnames
[] = { "self", NULL
};
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
11015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) return NULL
;
11027 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11031 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11032 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
* _resultobj
;
11034 wxMenuItem
* _arg0
;
11035 bool _arg1
= (bool ) TRUE
;
11036 PyObject
* _argo0
= 0;
11037 int tempbool1
= (int) TRUE
;
11038 char *_kwnames
[] = { "self","enable", NULL
};
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
11044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11050 _arg1
= (bool ) tempbool1
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 wxMenuItem_Enable(_arg0
,_arg1
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) return NULL
;
11057 } Py_INCREF(Py_None
);
11058 _resultobj
= Py_None
;
11062 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11063 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
* _resultobj
;
11066 wxMenuItem
* _arg0
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self", NULL
};
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
11074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) return NULL
;
11086 } _resultobj
= Py_BuildValue("i",_result
);
11090 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11091 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
* _resultobj
;
11093 wxMenuItem
* _arg0
;
11094 bool _arg1
= (bool ) TRUE
;
11095 PyObject
* _argo0
= 0;
11096 int tempbool1
= (int) TRUE
;
11097 char *_kwnames
[] = { "self","check", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11109 _arg1
= (bool ) tempbool1
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 wxMenuItem_Check(_arg0
,_arg1
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) return NULL
;
11116 } Py_INCREF(Py_None
);
11117 _resultobj
= Py_None
;
11121 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11122 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
* _resultobj
;
11125 wxMenuItem
* _arg0
;
11126 PyObject
* _argo0
= 0;
11127 char *_kwnames
[] = { "self", NULL
};
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
11133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) return NULL
;
11145 } _resultobj
= Py_BuildValue("i",_result
);
11149 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11150 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
* _resultobj
;
11152 wxMenuItem
* _arg0
;
11153 PyObject
* _argo0
= 0;
11154 char *_kwnames
[] = { "self", NULL
};
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
11160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxMenuItem_Toggle(_arg0
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) return NULL
;
11172 } Py_INCREF(Py_None
);
11173 _resultobj
= Py_None
;
11177 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11178 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
* _resultobj
;
11180 wxMenuItem
* _arg0
;
11182 PyObject
* _argo0
= 0;
11183 PyObject
* _obj1
= 0;
11184 char *_kwnames
[] = { "self","str", NULL
};
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
11190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11197 _arg1
= wxString_in_helper(_obj1
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) return NULL
;
11207 } Py_INCREF(Py_None
);
11208 _resultobj
= Py_None
;
11216 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11217 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
* _resultobj
;
11219 wxString
* _result
;
11220 wxMenuItem
* _arg0
;
11221 PyObject
* _argo0
= 0;
11222 char *_kwnames
[] = { "self", NULL
};
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11237 _result
= (wxString
*) &_result_ref
;
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) return NULL
;
11243 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11245 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11251 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11252 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
* _resultobj
;
11254 wxAcceleratorEntry
* _result
;
11255 wxMenuItem
* _arg0
;
11256 PyObject
* _argo0
= 0;
11257 char *_kwnames
[] = { "self", NULL
};
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) return NULL
;
11277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11278 _resultobj
= Py_BuildValue("s",_ptemp
);
11280 Py_INCREF(Py_None
);
11281 _resultobj
= Py_None
;
11286 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11287 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
* _resultobj
;
11289 wxMenuItem
* _arg0
;
11290 wxAcceleratorEntry
* _arg1
;
11291 PyObject
* _argo0
= 0;
11292 PyObject
* _argo1
= 0;
11293 char *_kwnames
[] = { "self","accel", NULL
};
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 wxMenuItem_SetAccel(_arg0
,_arg1
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) return NULL
;
11318 } Py_INCREF(Py_None
);
11319 _resultobj
= Py_None
;
11323 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
* _resultobj
;
11325 wxString
* _result
;
11327 PyObject
* _obj0
= 0;
11328 char *_kwnames
[] = { "text", NULL
};
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11334 _arg0
= wxString_in_helper(_obj0
);
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) return NULL
;
11346 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11348 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11361 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11362 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
* _resultobj
;
11364 wxMenuItem
* _arg0
;
11366 PyObject
* _argo0
= 0;
11367 PyObject
* _argo1
= 0;
11368 char *_kwnames
[] = { "self","font", NULL
};
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
11374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 wxMenuItem_SetFont(_arg0
,*_arg1
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) return NULL
;
11393 } Py_INCREF(Py_None
);
11394 _resultobj
= Py_None
;
11398 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11399 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
* _resultobj
;
11402 wxMenuItem
* _arg0
;
11403 PyObject
* _argo0
= 0;
11404 char *_kwnames
[] = { "self", NULL
};
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
11411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) return NULL
;
11423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11424 _resultobj
= Py_BuildValue("s",_ptemp
);
11428 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11429 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
* _resultobj
;
11431 wxMenuItem
* _arg0
;
11433 PyObject
* _argo0
= 0;
11435 PyObject
* _obj1
= 0;
11436 char *_kwnames
[] = { "self","colText", NULL
};
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
11442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11450 if (! wxColour_helper(_obj1
, &_arg1
))
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) return NULL
;
11459 } Py_INCREF(Py_None
);
11460 _resultobj
= Py_None
;
11464 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11465 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
* _resultobj
;
11467 wxColour
* _result
;
11468 wxMenuItem
* _arg0
;
11469 PyObject
* _argo0
= 0;
11470 char *_kwnames
[] = { "self", NULL
};
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
11477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) return NULL
;
11489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11490 _resultobj
= Py_BuildValue("s",_ptemp
);
11494 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11495 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
* _resultobj
;
11497 wxMenuItem
* _arg0
;
11499 PyObject
* _argo0
= 0;
11501 PyObject
* _obj1
= 0;
11502 char *_kwnames
[] = { "self","colBack", NULL
};
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11516 if (! wxColour_helper(_obj1
, &_arg1
))
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) return NULL
;
11525 } Py_INCREF(Py_None
);
11526 _resultobj
= Py_None
;
11530 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11531 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
* _resultobj
;
11533 wxColour
* _result
;
11534 wxMenuItem
* _arg0
;
11535 PyObject
* _argo0
= 0;
11536 char *_kwnames
[] = { "self", NULL
};
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) return NULL
;
11555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11556 _resultobj
= Py_BuildValue("s",_ptemp
);
11560 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11561 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
* _resultobj
;
11563 wxMenuItem
* _arg0
;
11565 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11566 PyObject
* _argo0
= 0;
11567 PyObject
* _argo1
= 0;
11568 PyObject
* _argo2
= 0;
11569 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11589 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11590 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) return NULL
;
11601 } Py_INCREF(Py_None
);
11602 _resultobj
= Py_None
;
11606 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11607 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
* _resultobj
;
11609 wxMenuItem
* _arg0
;
11611 PyObject
* _argo0
= 0;
11612 char *_kwnames
[] = { "self","nWidth", NULL
};
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) return NULL
;
11630 } Py_INCREF(Py_None
);
11631 _resultobj
= Py_None
;
11635 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11636 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
* _resultobj
;
11639 wxMenuItem
* _arg0
;
11640 PyObject
* _argo0
= 0;
11641 char *_kwnames
[] = { "self", NULL
};
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) return NULL
;
11659 } _resultobj
= Py_BuildValue("i",_result
);
11663 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
* _resultobj
;
11666 char *_kwnames
[] = { NULL
};
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) return NULL
;
11677 } _resultobj
= Py_BuildValue("i",_result
);
11681 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11682 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
* _resultobj
;
11685 wxMenuItem
* _arg0
;
11686 PyObject
* _argo0
= 0;
11687 char *_kwnames
[] = { "self", NULL
};
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) return NULL
;
11705 } _resultobj
= Py_BuildValue("i",_result
);
11709 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11710 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
* _resultobj
;
11712 wxMenuItem
* _arg0
;
11713 PyObject
* _argo0
= 0;
11714 char *_kwnames
[] = { "self", NULL
};
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 wxMenuItem_ResetOwnerDrawn(_arg0
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) return NULL
;
11732 } Py_INCREF(Py_None
);
11733 _resultobj
= Py_None
;
11737 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11738 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
* _resultobj
;
11740 wxMenuItem
* _arg0
;
11742 PyObject
* _argo0
= 0;
11743 PyObject
* _argo1
= 0;
11744 char *_kwnames
[] = { "self","bitmap", NULL
};
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) return NULL
;
11769 } Py_INCREF(Py_None
);
11770 _resultobj
= Py_None
;
11774 #define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
11775 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
* _resultobj
;
11777 wxBitmap
* _result
;
11778 wxMenuItem
* _arg0
;
11779 PyObject
* _argo0
= 0;
11780 char *_kwnames
[] = { "self", NULL
};
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBitmap",_kwnames
,&_argo0
))
11787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
);
11796 _result
= (wxBitmap
*) &_result_ref
;
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) return NULL
;
11801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
11802 _resultobj
= Py_BuildValue("s",_ptemp
);
11804 Py_INCREF(Py_None
);
11805 _resultobj
= Py_None
;
11810 static PyMethodDef windowscMethods
[] = {
11811 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11986 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11987 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11988 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11989 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11990 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11991 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11992 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11993 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11994 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11995 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11996 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11997 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11998 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11999 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
12000 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
12001 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
12002 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12003 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
12004 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12005 { "wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
12006 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
12007 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
12008 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
12009 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12010 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12011 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
12012 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12013 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
12014 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
12015 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
12016 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12017 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
12018 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
12019 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
12020 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12021 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
12022 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12023 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12024 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12025 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
12026 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
12027 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
12028 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12029 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12030 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12031 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
12032 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
12033 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
12034 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
12035 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
12036 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
12037 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
12038 { "wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
12039 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
12040 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
12041 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
12042 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
12043 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
12044 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12045 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12046 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12047 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
12048 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
12049 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
12050 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
12051 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
12052 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
12053 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
12054 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
12055 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
12056 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
12057 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
12058 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
12059 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12060 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
12061 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
12062 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
12063 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12064 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
12065 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
12066 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
12067 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
12068 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12069 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12070 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12071 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12072 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12073 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
12074 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
12075 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
12076 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
12077 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12078 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
12079 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
12080 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
12081 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12082 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12083 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12084 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12085 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
12086 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12087 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12088 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12089 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12090 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
12091 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12092 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
12093 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12094 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
12095 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
12096 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
12097 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
12098 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12099 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
12100 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
12101 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
12102 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12103 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
12104 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
12105 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
12106 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12107 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
12108 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
12109 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
12110 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12111 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12112 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12113 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
12114 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
12115 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
12116 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
12117 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
12118 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
12119 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
12120 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
12121 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
12122 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
12123 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
12124 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12125 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12126 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
12127 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
12128 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
12129 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
12130 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
12131 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
12132 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
12133 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
12134 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
12135 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12136 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12137 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
12138 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
12139 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
12140 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
12141 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
12142 { "wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
12143 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
12150 * This table is used by the pointer type-checker
12152 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12153 { "_signed_long","_long",0},
12154 { "_wxPrintQuality","_wxCoord",0},
12155 { "_wxPrintQuality","_int",0},
12156 { "_wxPrintQuality","_signed_int",0},
12157 { "_wxPrintQuality","_unsigned_int",0},
12158 { "_wxPrintQuality","_wxWindowID",0},
12159 { "_wxPrintQuality","_uint",0},
12160 { "_wxPrintQuality","_EBool",0},
12161 { "_wxPrintQuality","_size_t",0},
12162 { "_wxPrintQuality","_time_t",0},
12163 { "_byte","_unsigned_char",0},
12164 { "_long","_unsigned_long",0},
12165 { "_long","_signed_long",0},
12166 { "_size_t","_wxCoord",0},
12167 { "_size_t","_wxPrintQuality",0},
12168 { "_size_t","_time_t",0},
12169 { "_size_t","_unsigned_int",0},
12170 { "_size_t","_int",0},
12171 { "_size_t","_wxWindowID",0},
12172 { "_size_t","_uint",0},
12173 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
12174 { "_uint","_wxCoord",0},
12175 { "_uint","_wxPrintQuality",0},
12176 { "_uint","_time_t",0},
12177 { "_uint","_size_t",0},
12178 { "_uint","_unsigned_int",0},
12179 { "_uint","_int",0},
12180 { "_uint","_wxWindowID",0},
12181 { "_wxChar","_char",0},
12182 { "_char","_wxChar",0},
12183 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12184 { "_EBool","_wxCoord",0},
12185 { "_EBool","_wxPrintQuality",0},
12186 { "_EBool","_signed_int",0},
12187 { "_EBool","_int",0},
12188 { "_EBool","_wxWindowID",0},
12189 { "_unsigned_long","_long",0},
12190 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12191 { "_signed_int","_wxCoord",0},
12192 { "_signed_int","_wxPrintQuality",0},
12193 { "_signed_int","_EBool",0},
12194 { "_signed_int","_wxWindowID",0},
12195 { "_signed_int","_int",0},
12196 { "_WXTYPE","_short",0},
12197 { "_WXTYPE","_signed_short",0},
12198 { "_WXTYPE","_unsigned_short",0},
12199 { "_unsigned_short","_WXTYPE",0},
12200 { "_unsigned_short","_short",0},
12201 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
12202 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
12203 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
12204 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
12205 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
12206 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
12207 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
12208 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
12209 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
12210 { "_signed_short","_WXTYPE",0},
12211 { "_signed_short","_short",0},
12212 { "_unsigned_char","_byte",0},
12213 { "_unsigned_int","_wxCoord",0},
12214 { "_unsigned_int","_wxPrintQuality",0},
12215 { "_unsigned_int","_time_t",0},
12216 { "_unsigned_int","_size_t",0},
12217 { "_unsigned_int","_uint",0},
12218 { "_unsigned_int","_wxWindowID",0},
12219 { "_unsigned_int","_int",0},
12220 { "_short","_WXTYPE",0},
12221 { "_short","_unsigned_short",0},
12222 { "_short","_signed_short",0},
12223 { "_wxWindowID","_wxCoord",0},
12224 { "_wxWindowID","_wxPrintQuality",0},
12225 { "_wxWindowID","_time_t",0},
12226 { "_wxWindowID","_size_t",0},
12227 { "_wxWindowID","_EBool",0},
12228 { "_wxWindowID","_uint",0},
12229 { "_wxWindowID","_int",0},
12230 { "_wxWindowID","_signed_int",0},
12231 { "_wxWindowID","_unsigned_int",0},
12232 { "_int","_wxCoord",0},
12233 { "_int","_wxPrintQuality",0},
12234 { "_int","_time_t",0},
12235 { "_int","_size_t",0},
12236 { "_int","_EBool",0},
12237 { "_int","_uint",0},
12238 { "_int","_wxWindowID",0},
12239 { "_int","_unsigned_int",0},
12240 { "_int","_signed_int",0},
12241 { "_time_t","_wxCoord",0},
12242 { "_time_t","_wxPrintQuality",0},
12243 { "_time_t","_unsigned_int",0},
12244 { "_time_t","_int",0},
12245 { "_time_t","_wxWindowID",0},
12246 { "_time_t","_uint",0},
12247 { "_time_t","_size_t",0},
12248 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
12249 { "_wxCoord","_int",0},
12250 { "_wxCoord","_signed_int",0},
12251 { "_wxCoord","_unsigned_int",0},
12252 { "_wxCoord","_wxWindowID",0},
12253 { "_wxCoord","_uint",0},
12254 { "_wxCoord","_EBool",0},
12255 { "_wxCoord","_size_t",0},
12256 { "_wxCoord","_time_t",0},
12257 { "_wxCoord","_wxPrintQuality",0},
12258 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
12259 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
12260 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
12261 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
12262 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
12263 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
12264 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
12265 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
12266 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
12267 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
12270 static PyObject
*SWIG_globals
;
12274 SWIGEXPORT(void) initwindowsc() {
12276 SWIG_globals
= SWIG_newvarlink();
12277 m
= Py_InitModule("windowsc", windowscMethods
);
12278 d
= PyModule_GetDict(m
);
12281 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12282 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);