2 * FILE : src/gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindowsc
55 #define SWIG_name "windowsc"
58 #include <wx/menuitem.h>
59 #include <wx/tooltip.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr
);
90 static const wxString
wxPyEmptyString(wxT(""));
92 class wxPyValidator
: public wxValidator
{
93 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
101 wxObject
* Clone() const {
102 wxPyValidator
* ptr
= NULL
;
103 wxPyValidator
* self
= (wxPyValidator
*)this;
105 wxPyBeginBlockThreads();
106 if (self
->m_myInst
.findCallback("Clone")) {
108 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
110 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
114 wxPyEndBlockThreads();
116 // This is very dangerous!!! But is the only way I could find
117 // to squash a memory leak. Currently it is okay, but if the
118 // validator architecture in wxWindows ever changes, problems
125 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
126 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
127 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
132 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
133 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
136 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
139 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
140 return wxWindow::FindWindowById(id
, parent
);
143 wxWindow
* wxFindWindowByName( const wxString
& name
,
144 const wxWindow
*parent
= NULL
) {
145 return wxWindow::FindWindowByName(name
, parent
);
148 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
149 const wxWindow
*parent
= NULL
) {
150 return wxWindow::FindWindowByLabel(label
, parent
);
155 static PyObject
*_wrap_wxFindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
159 wxWindow
* _arg1
= (wxWindow
*) NULL
;
160 PyObject
* _argo1
= 0;
161 char *_kwnames
[] = { "id","parent", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l|O:wxFindWindowById",_kwnames
,&_arg0
,&_argo1
))
167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
175 _result
= (wxWindow
*)wxFindWindowById(_arg0
,_arg1
);
177 wxPyEndAllowThreads(__tstate
);
178 if (PyErr_Occurred()) return NULL
;
179 }{ _resultobj
= wxPyMake_wxObject(_result
); }
183 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
187 wxWindow
* _arg1
= (wxWindow
*) NULL
;
188 PyObject
* _obj0
= 0;
189 PyObject
* _argo1
= 0;
190 char *_kwnames
[] = { "name","parent", NULL
};
193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
196 _arg0
= wxString_in_helper(_obj0
);
201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
209 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
211 wxPyEndAllowThreads(__tstate
);
212 if (PyErr_Occurred()) return NULL
;
213 }{ _resultobj
= wxPyMake_wxObject(_result
); }
221 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 wxWindow
* _arg1
= (wxWindow
*) NULL
;
226 PyObject
* _obj0
= 0;
227 PyObject
* _argo1
= 0;
228 char *_kwnames
[] = { "label","parent", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
234 _arg0
= wxString_in_helper(_obj0
);
239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
247 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
249 wxPyEndAllowThreads(__tstate
);
250 if (PyErr_Occurred()) return NULL
;
251 }{ _resultobj
= wxPyMake_wxObject(_result
); }
259 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
262 src
= (wxEvtHandler
*) ptr
;
263 dest
= (wxObject
*) src
;
264 return (void *) dest
;
267 #define new_wxEvtHandler() (new wxEvtHandler())
268 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
270 wxEvtHandler
* _result
;
271 char *_kwnames
[] = { NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
279 _result
= (wxEvtHandler
*)new_wxEvtHandler();
281 wxPyEndAllowThreads(__tstate
);
282 if (PyErr_Occurred()) return NULL
;
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
288 _resultobj
= Py_None
;
293 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
294 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
297 wxEvtHandler
* _arg0
;
299 PyObject
* _argo0
= 0;
300 PyObject
* _argo1
= 0;
301 char *_kwnames
[] = { "self","event", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
314 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
325 } _resultobj
= Py_BuildValue("i",_result
);
329 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
330 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
332 wxEvtHandler
* _arg0
;
334 PyObject
* _argo0
= 0;
335 PyObject
* _argo1
= 0;
336 char *_kwnames
[] = { "self","event", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
349 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
360 } Py_INCREF(Py_None
);
361 _resultobj
= Py_None
;
365 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
366 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
369 wxEvtHandler
* _arg0
;
370 PyObject
* _argo0
= 0;
371 char *_kwnames
[] = { "self", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
389 } _resultobj
= Py_BuildValue("i",_result
);
393 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
394 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
396 wxEvtHandler
* _arg0
;
398 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self","enabled", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
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_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
412 _arg1
= (bool ) tempbool1
;
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } Py_INCREF(Py_None
);
420 _resultobj
= Py_None
;
424 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
425 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
427 wxEvtHandler
* _result
;
428 wxEvtHandler
* _arg0
;
429 PyObject
* _argo0
= 0;
430 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
444 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
446 wxPyEndAllowThreads(__tstate
);
447 if (PyErr_Occurred()) return NULL
;
448 }{ _resultobj
= wxPyMake_wxObject(_result
); }
452 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
453 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxEvtHandler
* _result
;
456 wxEvtHandler
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 }{ _resultobj
= wxPyMake_wxObject(_result
); }
480 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
481 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxEvtHandler
* _arg0
;
484 wxEvtHandler
* _arg1
;
485 PyObject
* _argo0
= 0;
486 PyObject
* _argo1
= 0;
487 char *_kwnames
[] = { "self","handler", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
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_SetNextHandler. Expected _wxEvtHandler_p.");
500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
508 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
510 wxPyEndAllowThreads(__tstate
);
511 if (PyErr_Occurred()) return NULL
;
512 } Py_INCREF(Py_None
);
513 _resultobj
= Py_None
;
517 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
518 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
520 wxEvtHandler
* _arg0
;
521 wxEvtHandler
* _arg1
;
522 PyObject
* _argo0
= 0;
523 PyObject
* _argo1
= 0;
524 char *_kwnames
[] = { "self","handler", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } Py_INCREF(Py_None
);
550 _resultobj
= Py_None
;
554 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
555 if (PyCallable_Check(func
)) {
556 self
->Connect(id
, lastId
, eventType
,
557 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
558 new wxPyCallback(func
));
560 else if (func
== Py_None
) {
561 self
->Disconnect(id
, lastId
, eventType
,
562 (wxObjectEventFunction
)
563 &wxPyCallback::EventThunker
);
566 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
569 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
571 wxEvtHandler
* _arg0
;
576 PyObject
* _argo0
= 0;
577 PyObject
* _obj4
= 0;
578 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
605 return self
->Disconnect(id
, lastId
, eventType
,
606 (wxObjectEventFunction
)
607 &wxPyCallback::EventThunker
);
609 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
610 PyObject
* _resultobj
;
612 wxEvtHandler
* _arg0
;
614 int _arg2
= (int ) -1;
615 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
616 PyObject
* _argo0
= 0;
617 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
631 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
633 wxPyEndAllowThreads(__tstate
);
634 if (PyErr_Occurred()) return NULL
;
635 } _resultobj
= Py_BuildValue("i",_result
);
639 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
640 self
->SetClientObject(new wxPyOORClientData(_self
));
642 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
644 wxEvtHandler
* _arg0
;
646 PyObject
* _argo0
= 0;
647 PyObject
* _obj1
= 0;
648 char *_kwnames
[] = { "self","_self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) return NULL
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
677 src
= (wxValidator
*) ptr
;
678 dest
= (wxEvtHandler
*) src
;
679 return (void *) dest
;
682 static void *SwigwxValidatorTowxObject(void *ptr
) {
685 src
= (wxValidator
*) ptr
;
686 dest
= (wxObject
*) src
;
687 return (void *) dest
;
690 #define new_wxValidator() (new wxValidator())
691 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
693 wxValidator
* _result
;
694 char *_kwnames
[] = { NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (wxValidator
*)new_wxValidator();
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
708 _resultobj
= Py_BuildValue("s",_ptemp
);
711 _resultobj
= Py_None
;
716 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
717 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
719 wxValidator
* _result
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 }{ _resultobj
= wxPyMake_wxObject(_result
); }
744 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
745 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
766 wxPyEndAllowThreads(__tstate
);
767 if (PyErr_Occurred()) return NULL
;
768 }{ _resultobj
= wxPyMake_wxObject(_result
); }
772 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
773 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 PyObject
* _argo1
= 0;
779 char *_kwnames
[] = { "self","window", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
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_SetWindow. Expected _wxValidator_p.");
792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 wxValidator_SetWindow(_arg0
,_arg1
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
809 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
812 char *_kwnames
[] = { NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
819 _result
= (bool )wxValidator::IsSilent();
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) return NULL
;
823 } _resultobj
= Py_BuildValue("i",_result
);
827 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 PyObject
* _resultobj
;
829 int _arg0
= (int ) TRUE
;
830 char *_kwnames
[] = { "doIt", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 wxValidator::SetBellOnError(_arg0
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
849 src
= (wxPyValidator
*) ptr
;
850 dest
= (wxValidator
*) src
;
851 return (void *) dest
;
854 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
857 src
= (wxPyValidator
*) ptr
;
858 dest
= (wxEvtHandler
*) src
;
859 return (void *) dest
;
862 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
865 src
= (wxPyValidator
*) ptr
;
866 dest
= (wxObject
*) src
;
867 return (void *) dest
;
870 #define new_wxPyValidator() (new wxPyValidator())
871 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
873 wxPyValidator
* _result
;
874 char *_kwnames
[] = { NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 _result
= (wxPyValidator
*)new_wxPyValidator();
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) return NULL
;
887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
888 _resultobj
= Py_BuildValue("s",_ptemp
);
891 _resultobj
= Py_None
;
896 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
897 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxPyValidator
* _arg0
;
902 int _arg3
= (int ) TRUE
;
903 PyObject
* _argo0
= 0;
904 PyObject
* _obj1
= 0;
905 PyObject
* _obj2
= 0;
906 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
938 src
= (wxWindow
*) ptr
;
939 dest
= (wxEvtHandler
*) src
;
940 return (void *) dest
;
943 static void *SwigwxWindowTowxObject(void *ptr
) {
946 src
= (wxWindow
*) ptr
;
947 dest
= (wxObject
*) src
;
948 return (void *) dest
;
951 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
952 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
957 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
958 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
959 long _arg4
= (long ) 0;
960 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
961 PyObject
* _argo0
= 0;
963 PyObject
* _obj2
= 0;
965 PyObject
* _obj3
= 0;
966 PyObject
* _obj5
= 0;
967 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
983 if (! wxPoint_helper(_obj2
, &_arg2
))
989 if (! wxSize_helper(_obj3
, &_arg3
))
994 _arg5
= wxString_in_helper(_obj5
);
999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1000 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1002 wxPyEndAllowThreads(__tstate
);
1003 if (PyErr_Occurred()) return NULL
;
1005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1006 _resultobj
= Py_BuildValue("s",_ptemp
);
1009 _resultobj
= Py_None
;
1018 #define new_wxPreWindow() (new wxWindow())
1019 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1022 char *_kwnames
[] = { NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 _result
= (wxWindow
*)new_wxPreWindow();
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) return NULL
;
1035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1036 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 _resultobj
= Py_None
;
1044 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1045 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1051 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1052 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1053 long _arg5
= (long ) 0;
1054 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
1055 PyObject
* _argo0
= 0;
1056 PyObject
* _argo1
= 0;
1058 PyObject
* _obj3
= 0;
1060 PyObject
* _obj4
= 0;
1061 PyObject
* _obj6
= 0;
1062 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1084 if (! wxPoint_helper(_obj3
, &_arg3
))
1090 if (! wxSize_helper(_obj4
, &_arg4
))
1095 _arg6
= wxString_in_helper(_obj6
);
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1113 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxWindow_Center(_arg0
,_arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_Centre(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_Centre",_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_Centre. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_Centre(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_CentreOnParent(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_CentreOnParent",_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_CentreOnParent. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_CentreOnParent(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1201 static PyObject
*_wrap_wxWindow_CenterOnParent(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_CenterOnParent",_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_CenterOnParent. Expected _wxWindow_p.");
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 wxWindow_CenterOnParent(_arg0
,_arg1
);
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) return NULL
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1229 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1230 static PyObject
*_wrap_wxWindow_CentreOnScreen(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_CentreOnScreen",_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_CentreOnScreen. Expected _wxWindow_p.");
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) return NULL
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1258 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1259 static PyObject
*_wrap_wxWindow_CenterOnScreen(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_CenterOnScreen",_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_CenterOnScreen. Expected _wxWindow_p.");
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) return NULL
;
1282 } Py_INCREF(Py_None
);
1283 _resultobj
= Py_None
;
1287 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1288 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 wxWindow_Clear(_arg0
);
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } Py_INCREF(Py_None
);
1311 _resultobj
= Py_None
;
1315 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1316 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1321 PyObject
* _argo0
= 0;
1323 PyObject
* _obj1
= 0;
1325 PyObject
* _obj2
= 0;
1326 char *_kwnames
[] = { "self","x","y", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1339 temp
= (int) PyInt_AsLong(_obj1
);
1343 temp0
= (int) PyInt_AsLong(_obj2
);
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1356 o
= PyInt_FromLong((long) (*_arg1
));
1357 _resultobj
= t_output_helper(_resultobj
, o
);
1361 o
= PyInt_FromLong((long) (*_arg2
));
1362 _resultobj
= t_output_helper(_resultobj
, o
);
1367 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1368 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1373 PyObject
* _argo0
= 0;
1375 PyObject
* _obj1
= 0;
1376 char *_kwnames
[] = { "self","pt", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1391 if (! wxPoint_helper(_obj1
, &_arg1
))
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1401 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1406 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 int _arg1
= (int ) FALSE
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","force", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } _resultobj
= Py_BuildValue("i",_result
);
1434 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1435 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (bool )wxWindow_Destroy(_arg0
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } _resultobj
= Py_BuildValue("i",_result
);
1462 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1463 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 wxWindow_DestroyChildren(_arg0
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 } Py_INCREF(Py_None
);
1486 _resultobj
= Py_None
;
1490 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1491 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1495 PyObject
* _argo0
= 0;
1496 char *_kwnames
[] = { "self", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_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_IsBeingDeleted. Expected _wxWindow_p.");
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1519 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1523 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self","enable", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
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_Enable. Expected _wxWindow_p.");
1537 _arg1
= (bool ) tempbool1
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 wxWindow_Enable(_arg0
,_arg1
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 #define wxWindow_Disable(_swigobj) (_swigobj->Disable())
1550 static PyObject
*_wrap_wxWindow_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Disable",_kwnames
,&_argo0
))
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_Disable. Expected _wxWindow_p.");
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 wxWindow_Disable(_arg0
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1572 } Py_INCREF(Py_None
);
1573 _resultobj
= Py_None
;
1577 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1578 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","id", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) return NULL
;
1602 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1606 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1607 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _obj1
= 0;
1614 char *_kwnames
[] = { "self","name", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1627 _arg1
= wxString_in_helper(_obj1
);
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1645 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1646 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 wxWindow_Fit(_arg0
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1668 } Py_INCREF(Py_None
);
1669 _resultobj
= Py_None
;
1673 #define wxWindow_FitInside(_swigobj) (_swigobj->FitInside())
1674 static PyObject
*_wrap_wxWindow_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_FitInside",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FitInside. Expected _wxWindow_p.");
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 wxWindow_FitInside(_arg0
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1702 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1731 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1732 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } _resultobj
= Py_BuildValue("i",_result
);
1759 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1760 wxWindowList
& list
= self
->GetChildren();
1761 return wxPy_ConvertList(&list
, "wxWindow");
1763 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1767 PyObject
* _argo0
= 0;
1768 char *_kwnames
[] = { "self", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1787 _resultobj
= _result
;
1792 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1793 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } _resultobj
= Py_BuildValue("i",_result
);
1820 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1821 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } _resultobj
= Py_BuildValue("i",_result
);
1848 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1849 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) return NULL
;
1881 } Py_INCREF(Py_None
);
1882 _resultobj
= Py_None
;
1885 o
= PyInt_FromLong((long) (*_arg1
));
1886 _resultobj
= t_output_helper(_resultobj
, o
);
1890 o
= PyInt_FromLong((long) (*_arg2
));
1891 _resultobj
= t_output_helper(_resultobj
, o
);
1896 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1897 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1901 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1922 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1927 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1931 PyObject
* _argo0
= 0;
1932 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) return NULL
;
1951 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1952 _resultobj
= Py_BuildValue("s",_ptemp
);
1956 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1957 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1982 _resultobj
= Py_BuildValue("s",_ptemp
);
1986 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1987 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1989 wxLayoutConstraints
* _result
;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2013 _resultobj
= Py_BuildValue("s",_ptemp
);
2016 _resultobj
= Py_None
;
2021 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2022 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2024 wxEvtHandler
* _result
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2045 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2049 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2050 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2054 PyObject
* _argo0
= 0;
2055 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 _result
= new wxFont (wxWindow_GetFont(_arg0
));
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) return NULL
;
2074 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2079 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2080 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) return NULL
;
2104 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2105 _resultobj
= Py_BuildValue("s",_ptemp
);
2109 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2110 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) return NULL
;
2133 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2137 static long wxWindow_GetHandle(wxWindow
*self
) {
2138 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2140 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2144 PyObject
* _argo0
= 0;
2145 char *_kwnames
[] = { "self", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 _result
= (long )wxWindow_GetHandle(_arg0
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 } _resultobj
= Py_BuildValue("l",_result
);
2167 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2168 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2172 PyObject
* _argo0
= 0;
2173 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 _result
= (int )wxWindow_GetId(_arg0
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2191 } _resultobj
= Py_BuildValue("i",_result
);
2195 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2196 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) return NULL
;
2221 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2223 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2232 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2233 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2237 PyObject
* _argo0
= 0;
2238 PyObject
* _obj1
= 0;
2239 char *_kwnames
[] = { "self","label", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2252 _arg1
= wxString_in_helper(_obj1
);
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 wxWindow_SetLabel(_arg0
,*_arg1
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2271 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2272 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= new wxString (wxWindow_GetName(_arg0
));
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2297 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2299 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2308 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2309 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2313 PyObject
* _argo0
= 0;
2314 char *_kwnames
[] = { "self", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) return NULL
;
2332 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2336 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2337 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) return NULL
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2373 o
= PyInt_FromLong((long) (*_arg1
));
2374 _resultobj
= t_output_helper(_resultobj
, o
);
2378 o
= PyInt_FromLong((long) (*_arg2
));
2379 _resultobj
= t_output_helper(_resultobj
, o
);
2384 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2385 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2389 PyObject
* _argo0
= 0;
2390 char *_kwnames
[] = { "self", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) return NULL
;
2409 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2410 _resultobj
= Py_BuildValue("s",_ptemp
);
2414 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2415 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) return NULL
;
2439 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2440 _resultobj
= Py_BuildValue("s",_ptemp
);
2444 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2445 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self","orientation", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) return NULL
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2474 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self","orientation", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2503 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2508 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self","orientation", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } _resultobj
= Py_BuildValue("i",_result
);
2531 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2532 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2539 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2568 o
= PyInt_FromLong((long) (*_arg1
));
2569 _resultobj
= t_output_helper(_resultobj
, o
);
2573 o
= PyInt_FromLong((long) (*_arg2
));
2574 _resultobj
= t_output_helper(_resultobj
, o
);
2579 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2580 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2584 PyObject
* _argo0
= 0;
2585 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) return NULL
;
2604 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2605 _resultobj
= Py_BuildValue("s",_ptemp
);
2609 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2610 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 PyObject
* _obj1
= 0;
2620 char *_kwnames
[] = { "self","string", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2639 _arg1
= wxString_in_helper(_obj1
);
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2653 o
= PyInt_FromLong((long) (*_arg2
));
2654 _resultobj
= t_output_helper(_resultobj
, o
);
2658 o
= PyInt_FromLong((long) (*_arg3
));
2659 _resultobj
= t_output_helper(_resultobj
, o
);
2668 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2669 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2681 wxFont
* _arg6
= (wxFont
*) NULL
;
2682 PyObject
* _argo0
= 0;
2683 PyObject
* _obj1
= 0;
2684 PyObject
* _argo6
= 0;
2685 char *_kwnames
[] = { "self","string","font", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2710 _arg1
= wxString_in_helper(_obj1
);
2715 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) return NULL
;
2727 } Py_INCREF(Py_None
);
2728 _resultobj
= Py_None
;
2731 o
= PyInt_FromLong((long) (*_arg2
));
2732 _resultobj
= t_output_helper(_resultobj
, o
);
2736 o
= PyInt_FromLong((long) (*_arg3
));
2737 _resultobj
= t_output_helper(_resultobj
, o
);
2741 o
= PyInt_FromLong((long) (*_arg4
));
2742 _resultobj
= t_output_helper(_resultobj
, o
);
2746 o
= PyInt_FromLong((long) (*_arg5
));
2747 _resultobj
= t_output_helper(_resultobj
, o
);
2756 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2757 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2782 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2784 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2793 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2794 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2798 PyObject
* _argo0
= 0;
2799 char *_kwnames
[] = { "self", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2819 _resultobj
= Py_BuildValue("s",_ptemp
);
2823 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2824 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } _resultobj
= Py_BuildValue("l",_result
);
2851 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2852 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self","style", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) return NULL
;
2875 } Py_INCREF(Py_None
);
2876 _resultobj
= Py_None
;
2880 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2881 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self","style", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2910 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self","orient", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2934 } _resultobj
= Py_BuildValue("i",_result
);
2938 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2939 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2943 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 _result
= (bool )wxWindow_Hide(_arg0
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2962 } _resultobj
= Py_BuildValue("i",_result
);
2966 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2967 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2974 PyObject
* _obj1
= 0;
2975 char *_kwnames
[] = { "self","pt", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2989 if (! wxPoint_helper(_obj1
, &_arg1
))
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2998 } _resultobj
= Py_BuildValue("i",_result
);
3002 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
3003 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 wxWindow_InitDialog(_arg0
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3025 } Py_INCREF(Py_None
);
3026 _resultobj
= Py_None
;
3030 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3031 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 _result
= (bool )wxWindow_IsEnabled(_arg0
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) return NULL
;
3054 } _resultobj
= Py_BuildValue("i",_result
);
3058 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3059 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3065 int _arg3
= (int ) 0;
3066 int _arg4
= (int ) 0;
3067 PyObject
* _argo0
= 0;
3068 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) return NULL
;
3086 } _resultobj
= Py_BuildValue("i",_result
);
3090 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3091 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3096 PyObject
* _argo0
= 0;
3098 PyObject
* _obj1
= 0;
3099 char *_kwnames
[] = { "self","pt", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3113 if (! wxPoint_helper(_obj1
, &_arg1
))
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) return NULL
;
3122 } _resultobj
= Py_BuildValue("i",_result
);
3126 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3127 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3132 PyObject
* _argo0
= 0;
3134 PyObject
* _obj1
= 0;
3135 char *_kwnames
[] = { "self","rect", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3149 if (! wxRect_helper(_obj1
, &_arg1
))
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) return NULL
;
3158 } _resultobj
= Py_BuildValue("i",_result
);
3162 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3163 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 _result
= (bool )wxWindow_IsRetained(_arg0
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) return NULL
;
3186 } _resultobj
= Py_BuildValue("i",_result
);
3190 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3191 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3195 PyObject
* _argo0
= 0;
3196 char *_kwnames
[] = { "self", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 _result
= (bool )wxWindow_IsShown(_arg0
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } _resultobj
= Py_BuildValue("i",_result
);
3218 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3219 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3247 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 wxWindow_Layout(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3275 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxWindow_Lower(_arg0
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3303 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3306 bool _arg1
= (bool ) TRUE
;
3307 PyObject
* _argo0
= 0;
3308 int tempbool1
= (int) TRUE
;
3309 char *_kwnames
[] = { "self","flag", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3321 _arg1
= (bool ) tempbool1
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxWindow_MakeModal(_arg0
,_arg1
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) return NULL
;
3328 } Py_INCREF(Py_None
);
3329 _resultobj
= Py_None
;
3333 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3334 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3339 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3340 PyObject
* _argo0
= 0;
3341 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) return NULL
;
3359 } Py_INCREF(Py_None
);
3360 _resultobj
= Py_None
;
3364 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3365 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
* _resultobj
;
3369 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3370 PyObject
* _argo0
= 0;
3372 PyObject
* _obj1
= 0;
3373 char *_kwnames
[] = { "self","point","flags", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3387 if (! wxPoint_helper(_obj1
, &_arg1
))
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3402 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxEvtHandler
* _result
;
3406 bool _arg1
= (bool ) FALSE
;
3407 PyObject
* _argo0
= 0;
3408 int tempbool1
= (int) FALSE
;
3409 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3421 _arg1
= (bool ) tempbool1
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3432 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3433 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3436 wxEvtHandler
* _arg1
;
3437 PyObject
* _argo0
= 0;
3438 PyObject
* _argo1
= 0;
3439 char *_kwnames
[] = { "self","handler", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 wxWindow_PushEventHandler(_arg0
,_arg1
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } Py_INCREF(Py_None
);
3465 _resultobj
= Py_None
;
3469 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3470 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3474 wxEvtHandler
* _arg1
;
3475 PyObject
* _argo0
= 0;
3476 PyObject
* _argo1
= 0;
3477 char *_kwnames
[] = { "self","handler", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) return NULL
;
3502 } _resultobj
= Py_BuildValue("i",_result
);
3506 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3507 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3515 PyObject
* _argo1
= 0;
3516 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) return NULL
;
3541 } _resultobj
= Py_BuildValue("i",_result
);
3545 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3546 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3552 PyObject
* _argo0
= 0;
3553 PyObject
* _argo1
= 0;
3555 PyObject
* _obj2
= 0;
3556 char *_kwnames
[] = { "self","menu","pos", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3577 if (! wxPoint_helper(_obj2
, &_arg2
))
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) return NULL
;
3586 } _resultobj
= Py_BuildValue("i",_result
);
3590 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3591 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 wxWindow_Raise(_arg0
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3613 } Py_INCREF(Py_None
);
3614 _resultobj
= Py_None
;
3618 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3619 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3622 bool _arg1
= (bool ) TRUE
;
3623 wxRect
* _arg2
= (wxRect
*) NULL
;
3624 PyObject
* _argo0
= 0;
3625 int tempbool1
= (int) TRUE
;
3627 PyObject
* _obj2
= 0;
3628 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3640 _arg1
= (bool ) tempbool1
;
3644 if (! wxRect_helper(_obj2
, &_arg2
))
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } Py_INCREF(Py_None
);
3654 _resultobj
= Py_None
;
3658 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3659 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3663 PyObject
* _argo0
= 0;
3665 PyObject
* _obj1
= 0;
3666 char *_kwnames
[] = { "self","rect", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3680 if (! wxRect_helper(_obj1
, &_arg1
))
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 wxWindow_RefreshRect(_arg0
,*_arg1
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) return NULL
;
3689 } Py_INCREF(Py_None
);
3690 _resultobj
= Py_None
;
3694 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3695 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3699 PyObject
* _argo0
= 0;
3700 PyObject
* _argo1
= 0;
3701 char *_kwnames
[] = { "self","child", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_AddChild",_kwnames
,&_argo0
,&_argo1
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 wxWindow_AddChild(_arg0
,_arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) return NULL
;
3726 } Py_INCREF(Py_None
);
3727 _resultobj
= Py_None
;
3731 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3732 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 PyObject
* _argo1
= 0;
3738 char *_kwnames
[] = { "self","child", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 wxWindow_RemoveChild(_arg0
,_arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3763 } Py_INCREF(Py_None
);
3764 _resultobj
= Py_None
;
3768 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3769 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3774 PyObject
* _argo0
= 0;
3775 PyObject
* _argo1
= 0;
3776 char *_kwnames
[] = { "self","newParent", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) return NULL
;
3801 } _resultobj
= Py_BuildValue("i",_result
);
3805 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3806 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3811 PyObject
* _argo0
= 0;
3813 PyObject
* _obj1
= 0;
3815 PyObject
* _obj2
= 0;
3816 char *_kwnames
[] = { "self","x","y", NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3829 temp
= (int) PyInt_AsLong(_obj1
);
3833 temp0
= (int) PyInt_AsLong(_obj2
);
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) return NULL
;
3842 } Py_INCREF(Py_None
);
3843 _resultobj
= Py_None
;
3846 o
= PyInt_FromLong((long) (*_arg1
));
3847 _resultobj
= t_output_helper(_resultobj
, o
);
3851 o
= PyInt_FromLong((long) (*_arg2
));
3852 _resultobj
= t_output_helper(_resultobj
, o
);
3857 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3858 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3863 PyObject
* _argo0
= 0;
3865 PyObject
* _obj1
= 0;
3866 char *_kwnames
[] = { "self","pt", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3881 if (! wxPoint_helper(_obj1
, &_arg1
))
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) return NULL
;
3890 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3891 _resultobj
= Py_BuildValue("s",_ptemp
);
3895 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3896 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3901 wxRect
* _arg3
= (wxRect
*) NULL
;
3902 PyObject
* _argo0
= 0;
3904 PyObject
* _obj3
= 0;
3905 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3920 if (! wxRect_helper(_obj3
, &_arg3
))
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3935 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3941 char *_kwnames
[] = { "self","autoLayout", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3953 _arg1
= (bool ) tempbool1
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3966 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) return NULL
;
3989 } _resultobj
= Py_BuildValue("i",_result
);
3993 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3994 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
* _resultobj
;
3998 PyObject
* _argo0
= 0;
4000 PyObject
* _obj1
= 0;
4001 char *_kwnames
[] = { "self","colour", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4015 if (! wxColour_helper(_obj1
, &_arg1
))
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4024 } Py_INCREF(Py_None
);
4025 _resultobj
= Py_None
;
4029 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4030 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4033 wxLayoutConstraints
* _arg1
;
4034 PyObject
* _argo0
= 0;
4035 PyObject
* _argo1
= 0;
4036 char *_kwnames
[] = { "self","constraints", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxWindow_SetConstraints(_arg0
,_arg1
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4067 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4070 wxLayoutConstraints
* _arg1
;
4071 PyObject
* _argo0
= 0;
4072 PyObject
* _argo1
= 0;
4073 char *_kwnames
[] = { "self","constraints", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) return NULL
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4104 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxWindow_SetFocus(_arg0
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4132 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 wxWindow_SetFocusFromKbd(_arg0
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } Py_INCREF(Py_None
);
4155 _resultobj
= Py_None
;
4159 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4160 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } _resultobj
= Py_BuildValue("i",_result
);
4187 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4188 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4192 PyObject
* _argo0
= 0;
4193 PyObject
* _argo1
= 0;
4194 char *_kwnames
[] = { "self","font", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4207 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxWindow_SetFont(_arg0
,*_arg1
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4223 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4224 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4228 PyObject
* _argo0
= 0;
4230 PyObject
* _obj1
= 0;
4231 char *_kwnames
[] = { "self","colour", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4245 if (! wxColour_helper(_obj1
, &_arg1
))
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) return NULL
;
4254 } Py_INCREF(Py_None
);
4255 _resultobj
= Py_None
;
4259 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4260 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4264 PyObject
* _argo0
= 0;
4265 char *_kwnames
[] = { "self","id", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxWindow_SetId(_arg0
,_arg1
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) return NULL
;
4283 } Py_INCREF(Py_None
);
4284 _resultobj
= Py_None
;
4288 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4289 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 PyObject
* _argo0
= 0;
4294 PyObject
* _obj1
= 0;
4295 char *_kwnames
[] = { "self","name", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4308 _arg1
= wxString_in_helper(_obj1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 wxWindow_SetName(_arg0
,*_arg1
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) return NULL
;
4318 } Py_INCREF(Py_None
);
4319 _resultobj
= Py_None
;
4327 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4328 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4335 int _arg5
= (int ) TRUE
;
4336 PyObject
* _argo0
= 0;
4337 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) return NULL
;
4355 } Py_INCREF(Py_None
);
4356 _resultobj
= Py_None
;
4360 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4361 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4366 bool _arg3
= (bool ) TRUE
;
4367 PyObject
* _argo0
= 0;
4368 int tempbool3
= (int) TRUE
;
4369 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4381 _arg3
= (bool ) tempbool3
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) return NULL
;
4388 } Py_INCREF(Py_None
);
4389 _resultobj
= Py_None
;
4393 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4394 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4401 int _arg5
= (int ) wxSIZE_AUTO
;
4402 PyObject
* _argo0
= 0;
4403 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } Py_INCREF(Py_None
);
4422 _resultobj
= Py_None
;
4426 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4427 self
->SetSize(size
);
4429 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4433 PyObject
* _argo0
= 0;
4435 PyObject
* _obj1
= 0;
4436 char *_kwnames
[] = { "self","size", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4450 if (! wxSize_helper(_obj1
, &_arg1
))
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 wxWindow_SetSize(_arg0
,*_arg1
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) return NULL
;
4459 } Py_INCREF(Py_None
);
4460 _resultobj
= Py_None
;
4464 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4465 self
->Move(pos
, flags
);
4467 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4471 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4472 PyObject
* _argo0
= 0;
4474 PyObject
* _obj1
= 0;
4475 char *_kwnames
[] = { "self","pos","flags", NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4489 if (! wxPoint_helper(_obj1
, &_arg1
))
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) return NULL
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4503 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4504 self
->SetSize(rect
, sizeFlags
);
4506 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4510 int _arg2
= (int ) wxSIZE_AUTO
;
4511 PyObject
* _argo0
= 0;
4513 PyObject
* _obj1
= 0;
4514 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4528 if (! wxRect_helper(_obj1
, &_arg1
))
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) return NULL
;
4537 } Py_INCREF(Py_None
);
4538 _resultobj
= Py_None
;
4542 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4543 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4548 int _arg3
= (int ) -1;
4549 int _arg4
= (int ) -1;
4550 int _arg5
= (int ) -1;
4551 int _arg6
= (int ) -1;
4552 PyObject
* _argo0
= 0;
4553 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) return NULL
;
4571 } Py_INCREF(Py_None
);
4572 _resultobj
= Py_None
;
4576 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4577 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4582 int _arg3
= (int ) -1;
4583 int _arg4
= (int ) -1;
4584 PyObject
* _argo0
= 0;
4585 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) return NULL
;
4603 } Py_INCREF(Py_None
);
4604 _resultobj
= Py_None
;
4608 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4609 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4613 PyObject
* _argo0
= 0;
4615 PyObject
* _obj1
= 0;
4616 char *_kwnames
[] = { "self","size", NULL
};
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetVirtualSize",_kwnames
,&_argo0
,&_obj1
))
4622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4630 if (! wxSize_helper(_obj1
, &_arg1
))
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) return NULL
;
4639 } Py_INCREF(Py_None
);
4640 _resultobj
= Py_None
;
4644 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4645 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4650 PyObject
* _argo0
= 0;
4651 char *_kwnames
[] = { "self","x","y", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) return NULL
;
4669 } Py_INCREF(Py_None
);
4670 _resultobj
= Py_None
;
4674 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4675 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) return NULL
;
4699 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4700 _resultobj
= Py_BuildValue("s",_ptemp
);
4704 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4705 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4712 PyObject
* _argo0
= 0;
4713 char *_kwnames
[] = { "self", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) return NULL
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4741 o
= PyInt_FromLong((long) (*_arg1
));
4742 _resultobj
= t_output_helper(_resultobj
, o
);
4746 o
= PyInt_FromLong((long) (*_arg2
));
4747 _resultobj
= t_output_helper(_resultobj
, o
);
4752 #define wxWindow_GetBestVirtualSize(_swigobj) (_swigobj->GetBestVirtualSize())
4753 static PyObject
*_wrap_wxWindow_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestVirtualSize",_kwnames
,&_argo0
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestVirtualSize. Expected _wxWindow_p.");
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 _result
= new wxSize (wxWindow_GetBestVirtualSize(_arg0
));
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) return NULL
;
4777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4778 _resultobj
= Py_BuildValue("s",_ptemp
);
4782 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4783 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4788 PyObject
* _argo0
= 0;
4789 char *_kwnames
[] = { "self","width","height", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) return NULL
;
4807 } Py_INCREF(Py_None
);
4808 _resultobj
= Py_None
;
4812 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4813 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
* _resultobj
;
4817 PyObject
* _argo0
= 0;
4819 PyObject
* _obj1
= 0;
4820 char *_kwnames
[] = { "self","size", NULL
};
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4834 if (! wxSize_helper(_obj1
, &_arg1
))
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxWindow_SetClientSize(_arg0
,*_arg1
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) return NULL
;
4843 } Py_INCREF(Py_None
);
4844 _resultobj
= Py_None
;
4848 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4849 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4854 PyObject
* _argo0
= 0;
4855 PyObject
* _argo1
= 0;
4856 char *_kwnames
[] = { "self","cursor", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4869 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 _result
= (bool )wxWindow_SetCursor(_arg0
,*_arg1
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) return NULL
;
4880 } _resultobj
= Py_BuildValue("i",_result
);
4884 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4885 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4889 PyObject
* _argo0
= 0;
4890 char *_kwnames
[] = { "self", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCursor",_kwnames
,&_argo0
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 wxCursor
& _result_ref
= wxWindow_GetCursor(_arg0
);
4906 _result
= (wxCursor
*) &_result_ref
;
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) return NULL
;
4911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
4912 _resultobj
= Py_BuildValue("s",_ptemp
);
4915 _resultobj
= Py_None
;
4920 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4921 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4924 wxEvtHandler
* _arg1
;
4925 PyObject
* _argo0
= 0;
4926 PyObject
* _argo1
= 0;
4927 char *_kwnames
[] = { "self","handler", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxWindow_SetEventHandler(_arg0
,_arg1
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4957 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4958 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4962 PyObject
* _argo0
= 0;
4963 char *_kwnames
[] = { "self","exStyle", NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) return NULL
;
4981 } Py_INCREF(Py_None
);
4982 _resultobj
= Py_None
;
4986 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4987 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4991 PyObject
* _argo0
= 0;
4992 PyObject
* _obj1
= 0;
4993 char *_kwnames
[] = { "self","title", NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5006 _arg1
= wxString_in_helper(_obj1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 wxWindow_SetTitle(_arg0
,*_arg1
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) return NULL
;
5016 } Py_INCREF(Py_None
);
5017 _resultobj
= Py_None
;
5025 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5026 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5030 bool _arg1
= (bool ) TRUE
;
5031 PyObject
* _argo0
= 0;
5032 int tempbool1
= (int) TRUE
;
5033 char *_kwnames
[] = { "self","show", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5045 _arg1
= (bool ) tempbool1
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) return NULL
;
5052 } _resultobj
= Py_BuildValue("i",_result
);
5056 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5057 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5061 PyObject
* _argo0
= 0;
5062 char *_kwnames
[] = { "self", NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
5068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) return NULL
;
5080 } _resultobj
= Py_BuildValue("i",_result
);
5084 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5085 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5089 PyObject
* _argo0
= 0;
5090 char *_kwnames
[] = { "self", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) return NULL
;
5108 } _resultobj
= Py_BuildValue("i",_result
);
5112 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
5113 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxWindow_UpdateWindowUI(_arg0
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) return NULL
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5140 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5141 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5145 PyObject
* _argo0
= 0;
5146 char *_kwnames
[] = { "self", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 _result
= (bool )wxWindow_Validate(_arg0
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) return NULL
;
5164 } _resultobj
= Py_BuildValue("i",_result
);
5168 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5169 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5174 PyObject
* _argo0
= 0;
5176 PyObject
* _obj1
= 0;
5177 char *_kwnames
[] = { "self","pt", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5192 if (! wxPoint_helper(_obj1
, &_arg1
))
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) return NULL
;
5201 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5202 _resultobj
= Py_BuildValue("s",_ptemp
);
5206 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5207 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5212 PyObject
* _argo0
= 0;
5214 PyObject
* _obj1
= 0;
5215 char *_kwnames
[] = { "self","sz", NULL
};
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5230 if (! wxSize_helper(_obj1
, &_arg1
))
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) return NULL
;
5239 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5240 _resultobj
= Py_BuildValue("s",_ptemp
);
5244 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5245 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5250 PyObject
* _argo0
= 0;
5252 PyObject
* _obj1
= 0;
5253 char *_kwnames
[] = { "self","pt", NULL
};
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5268 if (! wxPoint_helper(_obj1
, &_arg1
))
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5278 _resultobj
= Py_BuildValue("s",_ptemp
);
5282 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5283 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
* _resultobj
;
5288 PyObject
* _argo0
= 0;
5290 PyObject
* _obj1
= 0;
5291 char *_kwnames
[] = { "self","sz", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5306 if (! wxSize_helper(_obj1
, &_arg1
))
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5315 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5316 _resultobj
= Py_BuildValue("s",_ptemp
);
5320 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5321 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5325 PyObject
* _argo0
= 0;
5326 PyObject
* _obj1
= 0;
5327 char *_kwnames
[] = { "self","tip", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5340 _arg1
= wxString_in_helper(_obj1
);
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) return NULL
;
5350 } Py_INCREF(Py_None
);
5351 _resultobj
= Py_None
;
5359 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5360 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5364 PyObject
* _argo0
= 0;
5365 PyObject
* _argo1
= 0;
5366 char *_kwnames
[] = { "self","tooltip", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 wxWindow_SetToolTip(_arg0
,_arg1
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5391 } Py_INCREF(Py_None
);
5392 _resultobj
= Py_None
;
5396 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5397 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5399 wxToolTip
* _result
;
5401 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5420 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5424 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5425 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5429 bool _arg2
= (bool ) TRUE
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _argo1
= 0;
5432 int tempbool2
= (int) TRUE
;
5433 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5452 _arg2
= (bool ) tempbool2
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) return NULL
;
5459 } Py_INCREF(Py_None
);
5460 _resultobj
= Py_None
;
5464 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5465 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5469 bool _arg2
= (bool ) TRUE
;
5470 PyObject
* _argo0
= 0;
5471 PyObject
* _argo1
= 0;
5472 int tempbool2
= (int) TRUE
;
5473 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5492 _arg2
= (bool ) tempbool2
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) return NULL
;
5499 } Py_INCREF(Py_None
);
5500 _resultobj
= Py_None
;
5504 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5505 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5509 PyObject
* _argo0
= 0;
5510 char *_kwnames
[] = { "self", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) return NULL
;
5528 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5532 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5533 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5537 PyObject
* _argo0
= 0;
5538 PyObject
* _argo1
= 0;
5539 char *_kwnames
[] = { "self","sizer", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) return NULL
;
5564 } Py_INCREF(Py_None
);
5565 _resultobj
= Py_None
;
5569 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5570 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5574 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) return NULL
;
5593 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5597 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5598 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5600 wxValidator
* _result
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) return NULL
;
5621 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5625 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5626 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5629 wxValidator
* _arg1
;
5630 PyObject
* _argo0
= 0;
5631 PyObject
* _argo1
= 0;
5632 char *_kwnames
[] = { "self","validator", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5645 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 wxWindow_SetValidator(_arg0
,*_arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) return NULL
;
5656 } Py_INCREF(Py_None
);
5657 _resultobj
= Py_None
;
5661 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5662 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5665 wxDropTarget
* _arg1
;
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _argo1
= 0;
5668 char *_kwnames
[] = { "self","target", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxWindow_SetDropTarget(_arg0
,_arg1
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) return NULL
;
5693 } Py_INCREF(Py_None
);
5694 _resultobj
= Py_None
;
5698 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5699 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5701 wxDropTarget
* _result
;
5703 PyObject
* _argo0
= 0;
5704 char *_kwnames
[] = { "self", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) return NULL
;
5724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5725 _resultobj
= Py_BuildValue("s",_ptemp
);
5728 _resultobj
= Py_None
;
5733 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5734 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5738 PyObject
* _argo0
= 0;
5739 char *_kwnames
[] = { "self", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) return NULL
;
5758 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5759 _resultobj
= Py_BuildValue("s",_ptemp
);
5763 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5764 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) return NULL
;
5788 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5789 _resultobj
= Py_BuildValue("s",_ptemp
);
5793 #define wxWindow_GetAdjustedBestSize(_swigobj) (_swigobj->GetAdjustedBestSize())
5794 static PyObject
*_wrap_wxWindow_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAdjustedBestSize",_kwnames
,&_argo0
))
5806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAdjustedBestSize. Expected _wxWindow_p.");
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 _result
= new wxSize (wxWindow_GetAdjustedBestSize(_arg0
));
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) return NULL
;
5818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5819 _resultobj
= Py_BuildValue("s",_ptemp
);
5823 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5824 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5828 PyObject
* _argo0
= 0;
5829 PyObject
* _argo1
= 0;
5830 char *_kwnames
[] = { "self","caret", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 wxWindow_SetCaret(_arg0
,_arg1
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) return NULL
;
5855 } Py_INCREF(Py_None
);
5856 _resultobj
= Py_None
;
5860 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5861 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5865 PyObject
* _argo0
= 0;
5866 char *_kwnames
[] = { "self", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) return NULL
;
5886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5887 _resultobj
= Py_BuildValue("s",_ptemp
);
5890 _resultobj
= Py_None
;
5895 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5896 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5899 PyObject
* _argo0
= 0;
5900 char *_kwnames
[] = { "self", NULL
};
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 wxWindow_Freeze(_arg0
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) return NULL
;
5918 } Py_INCREF(Py_None
);
5919 _resultobj
= Py_None
;
5923 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5924 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5927 PyObject
* _argo0
= 0;
5928 char *_kwnames
[] = { "self", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxWindow_Thaw(_arg0
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) return NULL
;
5946 } Py_INCREF(Py_None
);
5947 _resultobj
= Py_None
;
5951 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5952 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5955 PyObject
* _argo0
= 0;
5956 char *_kwnames
[] = { "self", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxWindow_Update(_arg0
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) return NULL
;
5974 } Py_INCREF(Py_None
);
5975 _resultobj
= Py_None
;
5979 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5980 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5984 PyObject
* _argo0
= 0;
5985 char *_kwnames
[] = { "self", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6005 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6007 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6016 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6017 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6021 PyObject
* _argo0
= 0;
6022 PyObject
* _obj1
= 0;
6023 char *_kwnames
[] = { "self","helpText", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6036 _arg1
= wxString_in_helper(_obj1
);
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 wxWindow_SetHelpText(_arg0
,*_arg1
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) return NULL
;
6046 } Py_INCREF(Py_None
);
6047 _resultobj
= Py_None
;
6055 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6056 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6060 PyObject
* _argo0
= 0;
6061 PyObject
* _obj1
= 0;
6062 char *_kwnames
[] = { "self","text", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6075 _arg1
= wxString_in_helper(_obj1
);
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) return NULL
;
6085 } Py_INCREF(Py_None
);
6086 _resultobj
= Py_None
;
6094 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6095 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self","lines", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6119 } _resultobj
= Py_BuildValue("i",_result
);
6123 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6124 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6129 PyObject
* _argo0
= 0;
6130 char *_kwnames
[] = { "self","pages", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) return NULL
;
6148 } _resultobj
= Py_BuildValue("i",_result
);
6152 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6153 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6157 PyObject
* _argo0
= 0;
6158 char *_kwnames
[] = { "self", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 _result
= (bool )wxWindow_LineUp(_arg0
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) return NULL
;
6176 } _resultobj
= Py_BuildValue("i",_result
);
6180 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6181 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 _result
= (bool )wxWindow_LineDown(_arg0
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) return NULL
;
6204 } _resultobj
= Py_BuildValue("i",_result
);
6208 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6209 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 _result
= (bool )wxWindow_PageUp(_arg0
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) return NULL
;
6232 } _resultobj
= Py_BuildValue("i",_result
);
6236 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6237 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6241 PyObject
* _argo0
= 0;
6242 char *_kwnames
[] = { "self", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 _result
= (bool )wxWindow_PageDown(_arg0
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) return NULL
;
6260 } _resultobj
= Py_BuildValue("i",_result
);
6264 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
* _resultobj
;
6267 char *_kwnames
[] = { NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 _result
= (wxWindow
*)wxWindow::FindFocus();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) return NULL
;
6278 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6282 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
* _resultobj
;
6285 char *_kwnames
[] = { NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 _result
= (int )wxWindow::NewControlId();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) return NULL
;
6296 } _resultobj
= Py_BuildValue("i",_result
);
6300 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6304 char *_kwnames
[] = { "id", NULL
};
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 _result
= (int )wxWindow::NextControlId(_arg0
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) return NULL
;
6315 } _resultobj
= Py_BuildValue("i",_result
);
6319 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6323 char *_kwnames
[] = { "id", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 _result
= (int )wxWindow::PrevControlId(_arg0
);
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) return NULL
;
6334 } _resultobj
= Py_BuildValue("i",_result
);
6338 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6339 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6342 wxAcceleratorTable
* _arg1
;
6343 PyObject
* _argo0
= 0;
6344 PyObject
* _argo1
= 0;
6345 char *_kwnames
[] = { "self","accel", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6358 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6374 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6375 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6377 wxAcceleratorTable
* _result
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6401 _resultobj
= Py_BuildValue("s",_ptemp
);
6404 _resultobj
= Py_None
;
6409 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6410 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) return NULL
;
6433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6437 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6438 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6443 PyObject
* _argo0
= 0;
6444 PyObject
* _argo1
= 0;
6445 char *_kwnames
[] = { "self","btn", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) return NULL
;
6470 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6474 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6475 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
* _resultobj
;
6479 PyObject
* _argo0
= 0;
6480 PyObject
* _argo1
= 0;
6481 char *_kwnames
[] = { "self","win", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) return NULL
;
6506 } Py_INCREF(Py_None
);
6507 _resultobj
= Py_None
;
6511 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6512 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self","x","y", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) return NULL
;
6536 } Py_INCREF(Py_None
);
6537 _resultobj
= Py_None
;
6541 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6542 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
* _resultobj
;
6545 PyObject
* _argo0
= 0;
6546 char *_kwnames
[] = { "self", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 wxWindow_CaptureMouse(_arg0
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) return NULL
;
6564 } Py_INCREF(Py_None
);
6565 _resultobj
= Py_None
;
6569 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6570 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
* _resultobj
;
6573 PyObject
* _argo0
= 0;
6574 char *_kwnames
[] = { "self", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 wxWindow_ReleaseMouse(_arg0
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) return NULL
;
6592 } Py_INCREF(Py_None
);
6593 _resultobj
= Py_None
;
6597 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6600 char *_kwnames
[] = { NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= (wxWindow
*)wxWindow::GetCapture();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6615 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6616 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 _result
= (bool )wxWindow_HasCapture(_arg0
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 static void *SwigwxPanelTowxWindow(void *ptr
) {
6646 src
= (wxPanel
*) ptr
;
6647 dest
= (wxWindow
*) src
;
6648 return (void *) dest
;
6651 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6654 src
= (wxPanel
*) ptr
;
6655 dest
= (wxEvtHandler
*) src
;
6656 return (void *) dest
;
6659 static void *SwigwxPanelTowxObject(void *ptr
) {
6662 src
= (wxPanel
*) ptr
;
6663 dest
= (wxObject
*) src
;
6664 return (void *) dest
;
6667 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6668 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6673 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6674 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6675 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6676 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6677 PyObject
* _argo0
= 0;
6679 PyObject
* _obj2
= 0;
6681 PyObject
* _obj3
= 0;
6682 PyObject
* _obj5
= 0;
6683 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6699 if (! wxPoint_helper(_obj2
, &_arg2
))
6705 if (! wxSize_helper(_obj3
, &_arg3
))
6710 _arg5
= wxString_in_helper(_obj5
);
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6722 _resultobj
= Py_BuildValue("s",_ptemp
);
6725 _resultobj
= Py_None
;
6734 #define new_wxPrePanel() (new wxPanel())
6735 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6738 char *_kwnames
[] = { NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 _result
= (wxPanel
*)new_wxPrePanel();
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) return NULL
;
6751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6752 _resultobj
= Py_BuildValue("s",_ptemp
);
6755 _resultobj
= Py_None
;
6760 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6761 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6767 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6768 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6769 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6770 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6771 PyObject
* _argo0
= 0;
6772 PyObject
* _argo1
= 0;
6774 PyObject
* _obj3
= 0;
6776 PyObject
* _obj4
= 0;
6777 PyObject
* _obj6
= 0;
6778 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6800 if (! wxPoint_helper(_obj3
, &_arg3
))
6806 if (! wxSize_helper(_obj4
, &_arg4
))
6811 _arg6
= wxString_in_helper(_obj6
);
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) return NULL
;
6821 } _resultobj
= Py_BuildValue("i",_result
);
6829 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6830 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6833 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 wxPanel_InitDialog(_arg0
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) return NULL
;
6852 } Py_INCREF(Py_None
);
6853 _resultobj
= Py_None
;
6857 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6858 wxScrolledWindow
*src
;
6860 src
= (wxScrolledWindow
*) ptr
;
6861 dest
= (wxPanel
*) src
;
6862 return (void *) dest
;
6865 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6866 wxScrolledWindow
*src
;
6868 src
= (wxScrolledWindow
*) ptr
;
6869 dest
= (wxWindow
*) src
;
6870 return (void *) dest
;
6873 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6874 wxScrolledWindow
*src
;
6876 src
= (wxScrolledWindow
*) ptr
;
6877 dest
= (wxEvtHandler
*) src
;
6878 return (void *) dest
;
6881 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6882 wxScrolledWindow
*src
;
6884 src
= (wxScrolledWindow
*) ptr
;
6885 dest
= (wxObject
*) src
;
6886 return (void *) dest
;
6889 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6890 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6892 wxScrolledWindow
* _result
;
6894 wxWindowID _arg1
= (wxWindowID
) -1;
6895 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6896 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6897 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6898 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6899 PyObject
* _argo0
= 0;
6901 PyObject
* _obj2
= 0;
6903 PyObject
* _obj3
= 0;
6904 PyObject
* _obj5
= 0;
6905 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6921 if (! wxPoint_helper(_obj2
, &_arg2
))
6927 if (! wxSize_helper(_obj3
, &_arg3
))
6932 _arg5
= wxString_in_helper(_obj5
);
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) return NULL
;
6943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6944 _resultobj
= Py_BuildValue("s",_ptemp
);
6947 _resultobj
= Py_None
;
6956 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6957 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 wxScrolledWindow
* _result
;
6960 char *_kwnames
[] = { NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6974 _resultobj
= Py_BuildValue("s",_ptemp
);
6977 _resultobj
= Py_None
;
6982 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6983 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6986 wxScrolledWindow
* _arg0
;
6988 wxWindowID _arg2
= (wxWindowID
) -1;
6989 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6990 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6991 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6992 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6993 PyObject
* _argo0
= 0;
6994 PyObject
* _argo1
= 0;
6996 PyObject
* _obj3
= 0;
6998 PyObject
* _obj4
= 0;
6999 PyObject
* _obj6
= 0;
7000 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7022 if (! wxPoint_helper(_obj3
, &_arg3
))
7028 if (! wxSize_helper(_obj4
, &_arg4
))
7033 _arg6
= wxString_in_helper(_obj6
);
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) return NULL
;
7043 } _resultobj
= Py_BuildValue("i",_result
);
7051 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7052 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
* _resultobj
;
7054 wxScrolledWindow
* _arg0
;
7057 PyObject
* _argo0
= 0;
7060 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7072 _arg1
= (bool ) tempbool1
;
7073 _arg2
= (bool ) tempbool2
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7080 } Py_INCREF(Py_None
);
7081 _resultobj
= Py_None
;
7085 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7086 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
* _resultobj
;
7089 wxScrolledWindow
* _arg0
;
7091 PyObject
* _argo0
= 0;
7092 char *_kwnames
[] = { "self","orient", NULL
};
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
7098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) return NULL
;
7110 } _resultobj
= Py_BuildValue("i",_result
);
7114 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7115 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
* _resultobj
;
7117 wxScrolledWindow
* _arg0
;
7122 PyObject
* _argo0
= 0;
7123 char *_kwnames
[] = { "self", NULL
};
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
7135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) return NULL
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7151 o
= PyInt_FromLong((long) (*_arg1
));
7152 _resultobj
= t_output_helper(_resultobj
, o
);
7156 o
= PyInt_FromLong((long) (*_arg2
));
7157 _resultobj
= t_output_helper(_resultobj
, o
);
7162 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7163 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
* _resultobj
;
7166 wxScrolledWindow
* _arg0
;
7167 PyObject
* _argo0
= 0;
7168 char *_kwnames
[] = { "self", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) return NULL
;
7186 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7190 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7191 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7194 wxScrolledWindow
* _arg0
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) return NULL
;
7214 } _resultobj
= Py_BuildValue("i",_result
);
7218 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7219 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
* _resultobj
;
7221 wxScrolledWindow
* _arg0
;
7223 PyObject
* _argo0
= 0;
7224 PyObject
* _argo1
= 0;
7225 char *_kwnames
[] = { "self","dc", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7238 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) return NULL
;
7249 } Py_INCREF(Py_None
);
7250 _resultobj
= Py_None
;
7254 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7255 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7257 wxScrolledWindow
* _arg0
;
7260 PyObject
* _argo0
= 0;
7261 char *_kwnames
[] = { "self","x","y", NULL
};
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) return NULL
;
7279 } Py_INCREF(Py_None
);
7280 _resultobj
= Py_None
;
7284 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7285 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7287 wxScrolledWindow
* _arg0
;
7292 int _arg5
= (int ) 0;
7293 int _arg6
= (int ) 0;
7294 int _arg7
= (int ) FALSE
;
7295 PyObject
* _argo0
= 0;
7296 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) return NULL
;
7314 } Py_INCREF(Py_None
);
7315 _resultobj
= Py_None
;
7319 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7320 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7322 wxScrolledWindow
* _arg0
;
7325 PyObject
* _argo0
= 0;
7326 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) return NULL
;
7344 } Py_INCREF(Py_None
);
7345 _resultobj
= Py_None
;
7349 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7350 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7352 wxScrolledWindow
* _arg0
;
7354 PyObject
* _argo0
= 0;
7355 PyObject
* _argo1
= 0;
7356 char *_kwnames
[] = { "self","window", NULL
};
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) return NULL
;
7381 } Py_INCREF(Py_None
);
7382 _resultobj
= Py_None
;
7386 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7387 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7389 wxScrolledWindow
* _arg0
;
7394 PyObject
* _argo0
= 0;
7395 char *_kwnames
[] = { "self", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) return NULL
;
7419 } Py_INCREF(Py_None
);
7420 _resultobj
= Py_None
;
7423 o
= PyInt_FromLong((long) (*_arg1
));
7424 _resultobj
= t_output_helper(_resultobj
, o
);
7428 o
= PyInt_FromLong((long) (*_arg2
));
7429 _resultobj
= t_output_helper(_resultobj
, o
);
7434 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7435 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7438 wxScrolledWindow
* _arg0
;
7440 PyObject
* _argo0
= 0;
7442 PyObject
* _obj1
= 0;
7443 char *_kwnames
[] = { "self","pt", NULL
};
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
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_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7458 if (! wxPoint_helper(_obj1
, &_arg1
))
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) return NULL
;
7467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7468 _resultobj
= Py_BuildValue("s",_ptemp
);
7472 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7473 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7475 wxScrolledWindow
* _arg0
;
7482 PyObject
* _argo0
= 0;
7483 char *_kwnames
[] = { "self","x","y", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) return NULL
;
7507 } Py_INCREF(Py_None
);
7508 _resultobj
= Py_None
;
7511 o
= PyInt_FromLong((long) (*_arg3
));
7512 _resultobj
= t_output_helper(_resultobj
, o
);
7516 o
= PyInt_FromLong((long) (*_arg4
));
7517 _resultobj
= t_output_helper(_resultobj
, o
);
7522 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7523 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
* _resultobj
;
7526 wxScrolledWindow
* _arg0
;
7528 PyObject
* _argo0
= 0;
7530 PyObject
* _obj1
= 0;
7531 char *_kwnames
[] = { "self","pt", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
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_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7546 if (! wxPoint_helper(_obj1
, &_arg1
))
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) return NULL
;
7555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7556 _resultobj
= Py_BuildValue("s",_ptemp
);
7560 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7561 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
* _resultobj
;
7563 wxScrolledWindow
* _arg0
;
7570 PyObject
* _argo0
= 0;
7571 char *_kwnames
[] = { "self","x","y", NULL
};
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) return NULL
;
7595 } Py_INCREF(Py_None
);
7596 _resultobj
= Py_None
;
7599 o
= PyInt_FromLong((long) (*_arg3
));
7600 _resultobj
= t_output_helper(_resultobj
, o
);
7604 o
= PyInt_FromLong((long) (*_arg4
));
7605 _resultobj
= t_output_helper(_resultobj
, o
);
7610 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7611 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7613 wxScrolledWindow
* _arg0
;
7616 PyObject
* _argo0
= 0;
7617 char *_kwnames
[] = { "self","xs","ys", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) return NULL
;
7635 } Py_INCREF(Py_None
);
7636 _resultobj
= Py_None
;
7640 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7641 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7644 wxScrolledWindow
* _arg0
;
7645 PyObject
* _argo0
= 0;
7646 char *_kwnames
[] = { "self", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) return NULL
;
7664 } _resultobj
= Py_BuildValue("d",_result
);
7668 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7669 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
* _resultobj
;
7672 wxScrolledWindow
* _arg0
;
7673 PyObject
* _argo0
= 0;
7674 char *_kwnames
[] = { "self", NULL
};
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) return NULL
;
7692 } _resultobj
= Py_BuildValue("d",_result
);
7696 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7697 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
* _resultobj
;
7699 wxScrolledWindow
* _arg0
;
7700 PyObject
* _argo0
= 0;
7701 char *_kwnames
[] = { "self", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxScrolledWindow_AdjustScrollbars(_arg0
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) return NULL
;
7719 } Py_INCREF(Py_None
);
7720 _resultobj
= Py_None
;
7724 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7725 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
* _resultobj
;
7728 wxScrolledWindow
* _arg0
;
7729 PyObject
* _argo0
= 0;
7730 char *_kwnames
[] = { "self", NULL
};
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) return NULL
;
7748 } _resultobj
= Py_BuildValue("i",_result
);
7752 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7753 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7755 wxScrolledWindow
* _arg0
;
7758 PyObject
* _argo0
= 0;
7759 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) return NULL
;
7777 } Py_INCREF(Py_None
);
7778 _resultobj
= Py_None
;
7782 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7785 src
= (wxMenu
*) ptr
;
7786 dest
= (wxEvtHandler
*) src
;
7787 return (void *) dest
;
7790 static void *SwigwxMenuTowxObject(void *ptr
) {
7793 src
= (wxMenu
*) ptr
;
7794 dest
= (wxObject
*) src
;
7795 return (void *) dest
;
7798 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7799 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7802 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7803 long _arg1
= (long ) 0;
7804 PyObject
* _obj0
= 0;
7805 char *_kwnames
[] = { "title","style", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7813 _arg0
= wxString_in_helper(_obj0
);
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) return NULL
;
7824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7825 _resultobj
= Py_BuildValue("s",_ptemp
);
7828 _resultobj
= Py_None
;
7837 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7838 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
* _resultobj
;
7843 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7844 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7845 PyObject
* _argo0
= 0;
7846 PyObject
* _obj2
= 0;
7847 PyObject
* _obj3
= 0;
7848 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7861 _arg2
= wxString_in_helper(_obj2
);
7867 _arg3
= wxString_in_helper(_obj3
);
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) return NULL
;
7877 } Py_INCREF(Py_None
);
7878 _resultobj
= Py_None
;
7890 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7891 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
* _resultobj
;
7897 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7898 PyObject
* _argo0
= 0;
7899 PyObject
* _obj2
= 0;
7900 PyObject
* _argo3
= 0;
7901 PyObject
* _obj4
= 0;
7902 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7915 _arg2
= wxString_in_helper(_obj2
);
7920 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7921 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7928 _arg4
= wxString_in_helper(_obj4
);
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) return NULL
;
7938 } Py_INCREF(Py_None
);
7939 _resultobj
= Py_None
;
7951 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7952 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
* _resultobj
;
7956 PyObject
* _argo0
= 0;
7957 PyObject
* _argo1
= 0;
7958 char *_kwnames
[] = { "self","item", NULL
};
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7971 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7972 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 wxMenu_AppendItem(_arg0
,_arg1
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) return NULL
;
7983 } Py_INCREF(Py_None
);
7984 _resultobj
= Py_None
;
7988 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7989 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
* _resultobj
;
7994 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7995 PyObject
* _argo0
= 0;
7996 PyObject
* _obj2
= 0;
7997 PyObject
* _obj3
= 0;
7998 char *_kwnames
[] = { "self","id","text","help", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8011 _arg2
= wxString_in_helper(_obj2
);
8017 _arg3
= wxString_in_helper(_obj3
);
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) return NULL
;
8027 } Py_INCREF(Py_None
);
8028 _resultobj
= Py_None
;
8040 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8041 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
* _resultobj
;
8046 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8047 PyObject
* _argo0
= 0;
8048 PyObject
* _obj2
= 0;
8049 PyObject
* _obj3
= 0;
8050 char *_kwnames
[] = { "self","id","text","help", NULL
};
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8063 _arg2
= wxString_in_helper(_obj2
);
8069 _arg3
= wxString_in_helper(_obj3
);
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) return NULL
;
8079 } Py_INCREF(Py_None
);
8080 _resultobj
= Py_None
;
8092 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8093 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
* _resultobj
;
8096 PyObject
* _argo0
= 0;
8097 char *_kwnames
[] = { "self", NULL
};
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
8103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 wxMenu_AppendSeparator(_arg0
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) return NULL
;
8115 } Py_INCREF(Py_None
);
8116 _resultobj
= Py_None
;
8120 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8121 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
* _resultobj
;
8127 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8128 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
8129 PyObject
* _argo0
= 0;
8130 PyObject
* _obj3
= 0;
8131 PyObject
* _obj4
= 0;
8132 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
8138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8145 _arg3
= wxString_in_helper(_obj3
);
8151 _arg4
= wxString_in_helper(_obj4
);
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) return NULL
;
8161 } Py_INCREF(Py_None
);
8162 _resultobj
= Py_None
;
8174 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8175 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
* _resultobj
;
8179 PyObject
* _argo0
= 0;
8180 char *_kwnames
[] = { "self","pos", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 wxMenu_InsertSeparator(_arg0
,_arg1
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8198 } Py_INCREF(Py_None
);
8199 _resultobj
= Py_None
;
8203 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8204 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
* _resultobj
;
8210 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8211 PyObject
* _argo0
= 0;
8212 PyObject
* _obj3
= 0;
8213 PyObject
* _obj4
= 0;
8214 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8227 _arg3
= wxString_in_helper(_obj3
);
8233 _arg4
= wxString_in_helper(_obj4
);
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) return NULL
;
8243 } Py_INCREF(Py_None
);
8244 _resultobj
= Py_None
;
8256 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8257 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
* _resultobj
;
8263 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8264 PyObject
* _argo0
= 0;
8265 PyObject
* _obj3
= 0;
8266 PyObject
* _obj4
= 0;
8267 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8280 _arg3
= wxString_in_helper(_obj3
);
8286 _arg4
= wxString_in_helper(_obj4
);
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) return NULL
;
8296 } Py_INCREF(Py_None
);
8297 _resultobj
= Py_None
;
8309 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8310 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
* _resultobj
;
8317 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8318 PyObject
* _argo0
= 0;
8319 PyObject
* _obj3
= 0;
8320 PyObject
* _argo4
= 0;
8321 PyObject
* _obj5
= 0;
8322 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8335 _arg3
= wxString_in_helper(_obj3
);
8340 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8341 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8348 _arg5
= wxString_in_helper(_obj5
);
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) return NULL
;
8358 } Py_INCREF(Py_None
);
8359 _resultobj
= Py_None
;
8371 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8372 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
* _resultobj
;
8378 PyObject
* _argo0
= 0;
8379 PyObject
* _argo2
= 0;
8380 char *_kwnames
[] = { "self","pos","item", NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8393 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8394 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) return NULL
;
8405 } _resultobj
= Py_BuildValue("i",_result
);
8409 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8410 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
* _resultobj
;
8415 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8416 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8417 PyObject
* _argo0
= 0;
8418 PyObject
* _obj2
= 0;
8419 PyObject
* _obj3
= 0;
8420 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8433 _arg2
= wxString_in_helper(_obj2
);
8439 _arg3
= wxString_in_helper(_obj3
);
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) return NULL
;
8449 } Py_INCREF(Py_None
);
8450 _resultobj
= Py_None
;
8462 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8463 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
* _resultobj
;
8466 PyObject
* _argo0
= 0;
8467 char *_kwnames
[] = { "self", NULL
};
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 wxMenu_PrependSeparator(_arg0
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) return NULL
;
8485 } Py_INCREF(Py_None
);
8486 _resultobj
= Py_None
;
8490 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8491 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8496 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8497 PyObject
* _argo0
= 0;
8498 PyObject
* _obj2
= 0;
8499 PyObject
* _obj3
= 0;
8500 char *_kwnames
[] = { "self","id","text","help", NULL
};
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8513 _arg2
= wxString_in_helper(_obj2
);
8519 _arg3
= wxString_in_helper(_obj3
);
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) return NULL
;
8529 } Py_INCREF(Py_None
);
8530 _resultobj
= Py_None
;
8542 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8543 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
* _resultobj
;
8548 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8549 PyObject
* _argo0
= 0;
8550 PyObject
* _obj2
= 0;
8551 PyObject
* _obj3
= 0;
8552 char *_kwnames
[] = { "self","id","text","help", NULL
};
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8565 _arg2
= wxString_in_helper(_obj2
);
8571 _arg3
= wxString_in_helper(_obj3
);
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) return NULL
;
8581 } Py_INCREF(Py_None
);
8582 _resultobj
= Py_None
;
8594 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8595 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
* _resultobj
;
8601 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8602 PyObject
* _argo0
= 0;
8603 PyObject
* _obj2
= 0;
8604 PyObject
* _argo3
= 0;
8605 PyObject
* _obj4
= 0;
8606 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8619 _arg2
= wxString_in_helper(_obj2
);
8624 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8625 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8632 _arg4
= wxString_in_helper(_obj4
);
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) return NULL
;
8642 } Py_INCREF(Py_None
);
8643 _resultobj
= Py_None
;
8655 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8656 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
* _resultobj
;
8660 PyObject
* _argo0
= 0;
8661 PyObject
* _argo1
= 0;
8662 char *_kwnames
[] = { "self","item", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 wxMenu_PrependItem(_arg0
,_arg1
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) return NULL
;
8687 } Py_INCREF(Py_None
);
8688 _resultobj
= Py_None
;
8692 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8693 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
* _resultobj
;
8696 PyObject
* _argo0
= 0;
8697 char *_kwnames
[] = { "self", NULL
};
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 wxMenu_Break(_arg0
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) return NULL
;
8715 } Py_INCREF(Py_None
);
8716 _resultobj
= Py_None
;
8720 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8721 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
* _resultobj
;
8726 PyObject
* _argo0
= 0;
8728 char *_kwnames
[] = { "self","id","flag", NULL
};
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8740 _arg2
= (bool ) tempbool2
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) return NULL
;
8747 } Py_INCREF(Py_None
);
8748 _resultobj
= Py_None
;
8752 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8753 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
* _resultobj
;
8758 PyObject
* _argo0
= 0;
8759 char *_kwnames
[] = { "self","id", NULL
};
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) return NULL
;
8777 } _resultobj
= Py_BuildValue("i",_result
);
8781 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8782 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8787 PyObject
* _argo0
= 0;
8789 char *_kwnames
[] = { "self","id","enable", NULL
};
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8801 _arg2
= (bool ) tempbool2
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8808 } Py_INCREF(Py_None
);
8809 _resultobj
= Py_None
;
8813 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8814 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
* _resultobj
;
8819 PyObject
* _argo0
= 0;
8820 char *_kwnames
[] = { "self","id", NULL
};
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8838 } _resultobj
= Py_BuildValue("i",_result
);
8842 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8843 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
* _resultobj
;
8848 PyObject
* _argo0
= 0;
8849 PyObject
* _obj1
= 0;
8850 char *_kwnames
[] = { "self","itemString", NULL
};
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8863 _arg1
= wxString_in_helper(_obj1
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) return NULL
;
8873 } _resultobj
= Py_BuildValue("i",_result
);
8881 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8882 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8884 wxMenuItem
* _result
;
8887 PyObject
* _argo0
= 0;
8888 char *_kwnames
[] = { "self","id", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) return NULL
;
8906 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8910 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8911 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
* _resultobj
;
8915 PyObject
* _argo0
= 0;
8916 char *_kwnames
[] = { "self", NULL
};
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) return NULL
;
8936 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8938 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8947 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8948 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8952 PyObject
* _argo0
= 0;
8953 PyObject
* _obj1
= 0;
8954 char *_kwnames
[] = { "self","title", NULL
};
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8967 _arg1
= wxString_in_helper(_obj1
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxMenu_SetTitle(_arg0
,*_arg1
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) return NULL
;
8977 } Py_INCREF(Py_None
);
8978 _resultobj
= Py_None
;
8986 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8987 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
* _resultobj
;
8992 PyObject
* _argo0
= 0;
8993 char *_kwnames
[] = { "self","id", NULL
};
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) return NULL
;
9013 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9015 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9024 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9025 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
* _resultobj
;
9030 PyObject
* _argo0
= 0;
9031 PyObject
* _obj2
= 0;
9032 char *_kwnames
[] = { "self","id","label", NULL
};
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9045 _arg2
= wxString_in_helper(_obj2
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) return NULL
;
9055 } Py_INCREF(Py_None
);
9056 _resultobj
= Py_None
;
9064 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9065 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
* _resultobj
;
9070 PyObject
* _argo0
= 0;
9071 char *_kwnames
[] = { "self","id", NULL
};
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) return NULL
;
9091 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9102 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9103 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
* _resultobj
;
9108 PyObject
* _argo0
= 0;
9109 PyObject
* _obj2
= 0;
9110 char *_kwnames
[] = { "self","id","helpString", NULL
};
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9123 _arg2
= wxString_in_helper(_obj2
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) return NULL
;
9133 } Py_INCREF(Py_None
);
9134 _resultobj
= Py_None
;
9142 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9143 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
* _resultobj
;
9146 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
9147 PyObject
* _argo0
= 0;
9148 PyObject
* _argo1
= 0;
9149 char *_kwnames
[] = { "self","source", NULL
};
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 wxMenu_UpdateUI(_arg0
,_arg1
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) return NULL
;
9174 } Py_INCREF(Py_None
);
9175 _resultobj
= Py_None
;
9179 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9180 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
* _resultobj
;
9185 PyObject
* _argo0
= 0;
9186 char *_kwnames
[] = { "self","id", NULL
};
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) return NULL
;
9204 } _resultobj
= Py_BuildValue("i",_result
);
9208 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9209 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
* _resultobj
;
9214 PyObject
* _argo0
= 0;
9215 PyObject
* _argo1
= 0;
9216 char *_kwnames
[] = { "self","item", NULL
};
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) return NULL
;
9241 } _resultobj
= Py_BuildValue("i",_result
);
9245 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9246 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
* _resultobj
;
9248 wxMenuItem
* _result
;
9251 PyObject
* _argo0
= 0;
9252 char *_kwnames
[] = { "self","id", NULL
};
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) return NULL
;
9270 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9274 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9275 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
* _resultobj
;
9277 wxMenuItem
* _result
;
9280 PyObject
* _argo0
= 0;
9281 PyObject
* _argo1
= 0;
9282 char *_kwnames
[] = { "self","item", NULL
};
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) return NULL
;
9307 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9311 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9312 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9315 PyObject
* _argo0
= 0;
9316 char *_kwnames
[] = { "self", NULL
};
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 wxMenu_Destroy(_arg0
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) return NULL
;
9334 } Py_INCREF(Py_None
);
9335 _resultobj
= Py_None
;
9339 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9340 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
* _resultobj
;
9345 PyObject
* _argo0
= 0;
9346 char *_kwnames
[] = { "self","id", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) return NULL
;
9364 } _resultobj
= Py_BuildValue("i",_result
);
9368 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9369 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
* _resultobj
;
9374 PyObject
* _argo0
= 0;
9375 PyObject
* _argo1
= 0;
9376 char *_kwnames
[] = { "self","item", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) return NULL
;
9401 } _resultobj
= Py_BuildValue("i",_result
);
9405 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9406 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
* _resultobj
;
9410 PyObject
* _argo0
= 0;
9411 char *_kwnames
[] = { "self", NULL
};
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) return NULL
;
9429 } _resultobj
= Py_BuildValue("i",_result
);
9433 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9434 wxMenuItemList
& list
= self
->GetMenuItems();
9435 return wxPy_ConvertList(&list
, "wxMenuItem");
9437 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9441 PyObject
* _argo0
= 0;
9442 char *_kwnames
[] = { "self", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) return NULL
;
9461 _resultobj
= _result
;
9466 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9467 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
* _resultobj
;
9470 wxEvtHandler
* _arg1
;
9471 PyObject
* _argo0
= 0;
9472 PyObject
* _argo1
= 0;
9473 char *_kwnames
[] = { "self","handler", NULL
};
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 wxMenu_SetEventHandler(_arg0
,_arg1
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) return NULL
;
9498 } Py_INCREF(Py_None
);
9499 _resultobj
= Py_None
;
9503 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9504 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9506 wxEvtHandler
* _result
;
9508 PyObject
* _argo0
= 0;
9509 char *_kwnames
[] = { "self", NULL
};
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) return NULL
;
9527 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9531 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9532 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
* _resultobj
;
9536 PyObject
* _argo0
= 0;
9537 PyObject
* _argo1
= 0;
9538 char *_kwnames
[] = { "self","win", NULL
};
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) return NULL
;
9563 } Py_INCREF(Py_None
);
9564 _resultobj
= Py_None
;
9568 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9569 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
* _resultobj
;
9573 PyObject
* _argo0
= 0;
9574 char *_kwnames
[] = { "self", NULL
};
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) return NULL
;
9592 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9596 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9597 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9601 PyObject
* _argo0
= 0;
9602 char *_kwnames
[] = { "self", NULL
};
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 _result
= (long )wxMenu_GetStyle(_arg0
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) return NULL
;
9620 } _resultobj
= Py_BuildValue("l",_result
);
9624 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9625 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
* _resultobj
;
9629 PyObject
* _argo0
= 0;
9630 char *_kwnames
[] = { "self", NULL
};
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 _result
= (bool )wxMenu_IsAttached(_arg0
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) return NULL
;
9648 } _resultobj
= Py_BuildValue("i",_result
);
9652 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9653 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
* _resultobj
;
9657 PyObject
* _argo0
= 0;
9658 PyObject
* _argo1
= 0;
9659 char *_kwnames
[] = { "self","parent", NULL
};
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 wxMenu_SetParent(_arg0
,_arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) return NULL
;
9684 } Py_INCREF(Py_None
);
9685 _resultobj
= Py_None
;
9689 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9690 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9694 PyObject
* _argo0
= 0;
9695 char *_kwnames
[] = { "self", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) return NULL
;
9713 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9717 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9720 src
= (wxMenuBar
*) ptr
;
9721 dest
= (wxWindow
*) src
;
9722 return (void *) dest
;
9725 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9728 src
= (wxMenuBar
*) ptr
;
9729 dest
= (wxEvtHandler
*) src
;
9730 return (void *) dest
;
9733 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9736 src
= (wxMenuBar
*) ptr
;
9737 dest
= (wxObject
*) src
;
9738 return (void *) dest
;
9741 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9742 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
* _resultobj
;
9744 wxMenuBar
* _result
;
9745 long _arg0
= (long ) 0;
9746 char *_kwnames
[] = { "style", NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) return NULL
;
9759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9760 _resultobj
= Py_BuildValue("s",_ptemp
);
9763 _resultobj
= Py_None
;
9768 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9769 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
* _resultobj
;
9775 PyObject
* _argo0
= 0;
9776 PyObject
* _argo1
= 0;
9777 PyObject
* _obj2
= 0;
9778 char *_kwnames
[] = { "self","menu","title", NULL
};
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9798 _arg2
= wxString_in_helper(_obj2
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) return NULL
;
9808 } _resultobj
= Py_BuildValue("i",_result
);
9816 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9817 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
* _resultobj
;
9824 PyObject
* _argo0
= 0;
9825 PyObject
* _argo2
= 0;
9826 PyObject
* _obj3
= 0;
9827 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9840 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9841 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9847 _arg3
= wxString_in_helper(_obj3
);
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) return NULL
;
9857 } _resultobj
= Py_BuildValue("i",_result
);
9865 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9866 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
* _resultobj
;
9870 PyObject
* _argo0
= 0;
9871 char *_kwnames
[] = { "self", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9889 } _resultobj
= Py_BuildValue("i",_result
);
9893 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9894 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
* _resultobj
;
9899 PyObject
* _argo0
= 0;
9900 char *_kwnames
[] = { "self","pos", NULL
};
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) return NULL
;
9918 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9922 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9923 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
* _resultobj
;
9930 PyObject
* _argo0
= 0;
9931 PyObject
* _argo2
= 0;
9932 PyObject
* _obj3
= 0;
9933 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9946 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9947 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9953 _arg3
= wxString_in_helper(_obj3
);
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) return NULL
;
9963 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9971 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9972 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
* _resultobj
;
9977 PyObject
* _argo0
= 0;
9978 char *_kwnames
[] = { "self","pos", NULL
};
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) return NULL
;
9996 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10000 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10001 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
* _resultobj
;
10006 PyObject
* _argo0
= 0;
10008 char *_kwnames
[] = { "self","pos","enable", NULL
};
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10020 _arg2
= (bool ) tempbool2
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) return NULL
;
10027 } Py_INCREF(Py_None
);
10028 _resultobj
= Py_None
;
10032 #define wxMenuBar_IsEnabledTop(_swigobj,_swigarg0) (_swigobj->IsEnabledTop(_swigarg0))
10033 static PyObject
*_wrap_wxMenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
* _resultobj
;
10038 PyObject
* _argo0
= 0;
10039 char *_kwnames
[] = { "self","pos", NULL
};
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabledTop",_kwnames
,&_argo0
,&_arg1
))
10045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabledTop. Expected _wxMenuBar_p.");
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 _result
= (bool )wxMenuBar_IsEnabledTop(_arg0
,_arg1
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) return NULL
;
10057 } _resultobj
= Py_BuildValue("i",_result
);
10061 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10062 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
* _resultobj
;
10067 PyObject
* _argo0
= 0;
10068 PyObject
* _obj2
= 0;
10069 char *_kwnames
[] = { "self","pos","label", NULL
};
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10082 _arg2
= wxString_in_helper(_obj2
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) return NULL
;
10092 } Py_INCREF(Py_None
);
10093 _resultobj
= Py_None
;
10101 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10102 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
* _resultobj
;
10104 wxString
* _result
;
10107 PyObject
* _argo0
= 0;
10108 char *_kwnames
[] = { "self","pos", NULL
};
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
10114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) return NULL
;
10128 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10130 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10139 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10140 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
* _resultobj
;
10145 PyObject
* _argo0
= 0;
10146 PyObject
* _obj1
= 0;
10147 char *_kwnames
[] = { "self","title", NULL
};
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
10153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10160 _arg1
= wxString_in_helper(_obj1
);
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) return NULL
;
10170 } _resultobj
= Py_BuildValue("i",_result
);
10178 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10179 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
* _resultobj
;
10185 PyObject
* _argo0
= 0;
10186 PyObject
* _obj1
= 0;
10187 PyObject
* _obj2
= 0;
10188 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10201 _arg1
= wxString_in_helper(_obj1
);
10206 _arg2
= wxString_in_helper(_obj2
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } _resultobj
= Py_BuildValue("i",_result
);
10228 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10229 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
* _resultobj
;
10231 wxMenuItem
* _result
;
10234 PyObject
* _argo0
= 0;
10235 char *_kwnames
[] = { "self","id", NULL
};
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) return NULL
;
10253 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10257 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10258 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
* _resultobj
;
10263 PyObject
* _argo0
= 0;
10265 char *_kwnames
[] = { "self","id","enable", NULL
};
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10277 _arg2
= (bool ) tempbool2
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) return NULL
;
10284 } Py_INCREF(Py_None
);
10285 _resultobj
= Py_None
;
10289 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10290 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
* _resultobj
;
10295 PyObject
* _argo0
= 0;
10297 char *_kwnames
[] = { "self","id","check", NULL
};
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10309 _arg2
= (bool ) tempbool2
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) return NULL
;
10316 } Py_INCREF(Py_None
);
10317 _resultobj
= Py_None
;
10321 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10322 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10327 PyObject
* _argo0
= 0;
10328 char *_kwnames
[] = { "self","id", NULL
};
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) return NULL
;
10346 } _resultobj
= Py_BuildValue("i",_result
);
10350 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10351 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
* _resultobj
;
10356 PyObject
* _argo0
= 0;
10357 char *_kwnames
[] = { "self","id", NULL
};
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) return NULL
;
10375 } _resultobj
= Py_BuildValue("i",_result
);
10379 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10380 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
* _resultobj
;
10385 PyObject
* _argo0
= 0;
10386 PyObject
* _obj2
= 0;
10387 char *_kwnames
[] = { "self","id","label", NULL
};
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10400 _arg2
= wxString_in_helper(_obj2
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) return NULL
;
10410 } Py_INCREF(Py_None
);
10411 _resultobj
= Py_None
;
10419 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10420 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
* _resultobj
;
10422 wxString
* _result
;
10425 PyObject
* _argo0
= 0;
10426 char *_kwnames
[] = { "self","id", NULL
};
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) return NULL
;
10446 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10457 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10458 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
* _resultobj
;
10463 PyObject
* _argo0
= 0;
10464 PyObject
* _obj2
= 0;
10465 char *_kwnames
[] = { "self","id","helpString", NULL
};
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10478 _arg2
= wxString_in_helper(_obj2
);
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) return NULL
;
10488 } Py_INCREF(Py_None
);
10489 _resultobj
= Py_None
;
10497 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10498 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
* _resultobj
;
10500 wxString
* _result
;
10503 PyObject
* _argo0
= 0;
10504 char *_kwnames
[] = { "self","id", NULL
};
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) return NULL
;
10524 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10526 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10535 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10538 src
= (wxMenuItem
*) ptr
;
10539 dest
= (wxObject
*) src
;
10540 return (void *) dest
;
10543 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10544 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
* _resultobj
;
10546 wxMenuItem
* _result
;
10547 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10548 int _arg1
= (int ) wxID_SEPARATOR
;
10549 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10550 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10551 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10552 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10553 PyObject
* _argo0
= 0;
10554 PyObject
* _obj2
= 0;
10555 PyObject
* _obj3
= 0;
10556 PyObject
* _argo5
= 0;
10557 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10572 _arg2
= wxString_in_helper(_obj2
);
10578 _arg3
= wxString_in_helper(_obj3
);
10583 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10584 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) return NULL
;
10596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10597 _resultobj
= Py_BuildValue("s",_ptemp
);
10599 Py_INCREF(Py_None
);
10600 _resultobj
= Py_None
;
10613 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10614 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
* _resultobj
;
10617 wxMenuItem
* _arg0
;
10618 PyObject
* _argo0
= 0;
10619 char *_kwnames
[] = { "self", NULL
};
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) return NULL
;
10637 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10641 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10642 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
* _resultobj
;
10644 wxMenuItem
* _arg0
;
10646 PyObject
* _argo0
= 0;
10647 char *_kwnames
[] = { "self","id", NULL
};
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 wxMenuItem_SetId(_arg0
,_arg1
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) return NULL
;
10665 } Py_INCREF(Py_None
);
10666 _resultobj
= Py_None
;
10670 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10671 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
* _resultobj
;
10674 wxMenuItem
* _arg0
;
10675 PyObject
* _argo0
= 0;
10676 char *_kwnames
[] = { "self", NULL
};
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 _result
= (int )wxMenuItem_GetId(_arg0
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) return NULL
;
10694 } _resultobj
= Py_BuildValue("i",_result
);
10698 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10699 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
* _resultobj
;
10702 wxMenuItem
* _arg0
;
10703 PyObject
* _argo0
= 0;
10704 char *_kwnames
[] = { "self", NULL
};
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) return NULL
;
10722 } _resultobj
= Py_BuildValue("i",_result
);
10726 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10727 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10729 wxMenuItem
* _arg0
;
10731 PyObject
* _argo0
= 0;
10732 PyObject
* _obj1
= 0;
10733 char *_kwnames
[] = { "self","str", NULL
};
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10746 _arg1
= wxString_in_helper(_obj1
);
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 wxMenuItem_SetText(_arg0
,*_arg1
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) return NULL
;
10756 } Py_INCREF(Py_None
);
10757 _resultobj
= Py_None
;
10765 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10766 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
* _resultobj
;
10768 wxString
* _result
;
10769 wxMenuItem
* _arg0
;
10770 PyObject
* _argo0
= 0;
10771 char *_kwnames
[] = { "self", NULL
};
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) return NULL
;
10791 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10793 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10802 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10803 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
* _resultobj
;
10805 wxString
* _result
;
10806 wxMenuItem
* _arg0
;
10807 PyObject
* _argo0
= 0;
10808 char *_kwnames
[] = { "self", NULL
};
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10823 _result
= (wxString
*) &_result_ref
;
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) return NULL
;
10829 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10837 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10838 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
* _resultobj
;
10840 wxItemKind _result
;
10841 wxMenuItem
* _arg0
;
10842 PyObject
* _argo0
= 0;
10843 char *_kwnames
[] = { "self", NULL
};
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) return NULL
;
10861 } _resultobj
= Py_BuildValue("i",_result
);
10865 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10866 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
* _resultobj
;
10868 wxMenuItem
* _arg0
;
10870 PyObject
* _argo0
= 0;
10872 char *_kwnames
[] = { "self","checkable", NULL
};
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10884 _arg1
= (bool ) tempbool1
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) return NULL
;
10891 } Py_INCREF(Py_None
);
10892 _resultobj
= Py_None
;
10896 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10897 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
* _resultobj
;
10900 wxMenuItem
* _arg0
;
10901 PyObject
* _argo0
= 0;
10902 char *_kwnames
[] = { "self", NULL
};
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) return NULL
;
10920 } _resultobj
= Py_BuildValue("i",_result
);
10924 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10925 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
* _resultobj
;
10928 wxMenuItem
* _arg0
;
10929 PyObject
* _argo0
= 0;
10930 char *_kwnames
[] = { "self", NULL
};
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) return NULL
;
10948 } _resultobj
= Py_BuildValue("i",_result
);
10952 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10953 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
* _resultobj
;
10955 wxMenuItem
* _arg0
;
10957 PyObject
* _argo0
= 0;
10958 PyObject
* _argo1
= 0;
10959 char *_kwnames
[] = { "self","menu", NULL
};
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) return NULL
;
10984 } Py_INCREF(Py_None
);
10985 _resultobj
= Py_None
;
10989 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10990 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
* _resultobj
;
10993 wxMenuItem
* _arg0
;
10994 PyObject
* _argo0
= 0;
10995 char *_kwnames
[] = { "self", NULL
};
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
11001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) return NULL
;
11013 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11017 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11018 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
* _resultobj
;
11020 wxMenuItem
* _arg0
;
11021 bool _arg1
= (bool ) TRUE
;
11022 PyObject
* _argo0
= 0;
11023 int tempbool1
= (int) TRUE
;
11024 char *_kwnames
[] = { "self","enable", NULL
};
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
11030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11036 _arg1
= (bool ) tempbool1
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 wxMenuItem_Enable(_arg0
,_arg1
);
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) return NULL
;
11043 } Py_INCREF(Py_None
);
11044 _resultobj
= Py_None
;
11048 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11049 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
* _resultobj
;
11052 wxMenuItem
* _arg0
;
11053 PyObject
* _argo0
= 0;
11054 char *_kwnames
[] = { "self", NULL
};
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
11060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) return NULL
;
11072 } _resultobj
= Py_BuildValue("i",_result
);
11076 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11077 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
* _resultobj
;
11079 wxMenuItem
* _arg0
;
11080 bool _arg1
= (bool ) TRUE
;
11081 PyObject
* _argo0
= 0;
11082 int tempbool1
= (int) TRUE
;
11083 char *_kwnames
[] = { "self","check", NULL
};
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
11089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11095 _arg1
= (bool ) tempbool1
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 wxMenuItem_Check(_arg0
,_arg1
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) return NULL
;
11102 } Py_INCREF(Py_None
);
11103 _resultobj
= Py_None
;
11107 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11108 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
* _resultobj
;
11111 wxMenuItem
* _arg0
;
11112 PyObject
* _argo0
= 0;
11113 char *_kwnames
[] = { "self", NULL
};
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
11119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) return NULL
;
11131 } _resultobj
= Py_BuildValue("i",_result
);
11135 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11136 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
* _resultobj
;
11138 wxMenuItem
* _arg0
;
11139 PyObject
* _argo0
= 0;
11140 char *_kwnames
[] = { "self", NULL
};
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
11146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 wxMenuItem_Toggle(_arg0
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) return NULL
;
11158 } Py_INCREF(Py_None
);
11159 _resultobj
= Py_None
;
11163 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11164 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
* _resultobj
;
11166 wxMenuItem
* _arg0
;
11168 PyObject
* _argo0
= 0;
11169 PyObject
* _obj1
= 0;
11170 char *_kwnames
[] = { "self","str", NULL
};
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
11176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11183 _arg1
= wxString_in_helper(_obj1
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) return NULL
;
11193 } Py_INCREF(Py_None
);
11194 _resultobj
= Py_None
;
11202 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11203 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
* _resultobj
;
11205 wxString
* _result
;
11206 wxMenuItem
* _arg0
;
11207 PyObject
* _argo0
= 0;
11208 char *_kwnames
[] = { "self", NULL
};
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11223 _result
= (wxString
*) &_result_ref
;
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) return NULL
;
11229 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11237 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11238 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
* _resultobj
;
11240 wxAcceleratorEntry
* _result
;
11241 wxMenuItem
* _arg0
;
11242 PyObject
* _argo0
= 0;
11243 char *_kwnames
[] = { "self", NULL
};
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) return NULL
;
11263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11264 _resultobj
= Py_BuildValue("s",_ptemp
);
11266 Py_INCREF(Py_None
);
11267 _resultobj
= Py_None
;
11272 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11273 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
* _resultobj
;
11275 wxMenuItem
* _arg0
;
11276 wxAcceleratorEntry
* _arg1
;
11277 PyObject
* _argo0
= 0;
11278 PyObject
* _argo1
= 0;
11279 char *_kwnames
[] = { "self","accel", NULL
};
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 wxMenuItem_SetAccel(_arg0
,_arg1
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) return NULL
;
11304 } Py_INCREF(Py_None
);
11305 _resultobj
= Py_None
;
11309 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
* _resultobj
;
11311 wxString
* _result
;
11313 PyObject
* _obj0
= 0;
11314 char *_kwnames
[] = { "text", NULL
};
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11320 _arg0
= wxString_in_helper(_obj0
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) return NULL
;
11332 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11347 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11348 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
* _resultobj
;
11350 wxMenuItem
* _arg0
;
11352 PyObject
* _argo0
= 0;
11353 PyObject
* _argo1
= 0;
11354 char *_kwnames
[] = { "self","bitmap", NULL
};
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11367 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) return NULL
;
11378 } Py_INCREF(Py_None
);
11379 _resultobj
= Py_None
;
11383 #define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
11384 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
* _resultobj
;
11386 wxBitmap
* _result
;
11387 wxMenuItem
* _arg0
;
11388 PyObject
* _argo0
= 0;
11389 char *_kwnames
[] = { "self", NULL
};
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBitmap",_kwnames
,&_argo0
))
11396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
);
11405 _result
= (wxBitmap
*) &_result_ref
;
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) return NULL
;
11410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
11411 _resultobj
= Py_BuildValue("s",_ptemp
);
11413 Py_INCREF(Py_None
);
11414 _resultobj
= Py_None
;
11419 static PyMethodDef windowscMethods
[] = {
11420 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxMenuBar_IsEnabledTop", (PyCFunction
) _wrap_wxMenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxWindow_GetAdjustedBestSize", (PyCFunction
) _wrap_wxWindow_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxWindow_GetBestVirtualSize", (PyCFunction
) _wrap_wxWindow_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxWindow_FitInside", (PyCFunction
) _wrap_wxWindow_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxWindow_Disable", (PyCFunction
) _wrap_wxWindow_Disable
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11748 * This table is used by the pointer type-checker
11750 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11751 { "_signed_long","_long",0},
11752 { "_wxPrintQuality","_wxCoord",0},
11753 { "_wxPrintQuality","_int",0},
11754 { "_wxPrintQuality","_signed_int",0},
11755 { "_wxPrintQuality","_unsigned_int",0},
11756 { "_wxPrintQuality","_wxWindowID",0},
11757 { "_wxPrintQuality","_uint",0},
11758 { "_wxPrintQuality","_EBool",0},
11759 { "_wxPrintQuality","_size_t",0},
11760 { "_wxPrintQuality","_time_t",0},
11761 { "_byte","_unsigned_char",0},
11762 { "_long","_unsigned_long",0},
11763 { "_long","_signed_long",0},
11764 { "_size_t","_wxCoord",0},
11765 { "_size_t","_wxPrintQuality",0},
11766 { "_size_t","_time_t",0},
11767 { "_size_t","_unsigned_int",0},
11768 { "_size_t","_int",0},
11769 { "_size_t","_wxWindowID",0},
11770 { "_size_t","_uint",0},
11771 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11772 { "_uint","_wxCoord",0},
11773 { "_uint","_wxPrintQuality",0},
11774 { "_uint","_time_t",0},
11775 { "_uint","_size_t",0},
11776 { "_uint","_unsigned_int",0},
11777 { "_uint","_int",0},
11778 { "_uint","_wxWindowID",0},
11779 { "_wxChar","_char",0},
11780 { "_char","_wxChar",0},
11781 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11782 { "_EBool","_wxCoord",0},
11783 { "_EBool","_wxPrintQuality",0},
11784 { "_EBool","_signed_int",0},
11785 { "_EBool","_int",0},
11786 { "_EBool","_wxWindowID",0},
11787 { "_unsigned_long","_long",0},
11788 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11789 { "_signed_int","_wxCoord",0},
11790 { "_signed_int","_wxPrintQuality",0},
11791 { "_signed_int","_EBool",0},
11792 { "_signed_int","_wxWindowID",0},
11793 { "_signed_int","_int",0},
11794 { "_WXTYPE","_short",0},
11795 { "_WXTYPE","_signed_short",0},
11796 { "_WXTYPE","_unsigned_short",0},
11797 { "_unsigned_short","_WXTYPE",0},
11798 { "_unsigned_short","_short",0},
11799 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11800 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11801 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11802 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11803 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11804 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11805 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11806 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11807 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11808 { "_signed_short","_WXTYPE",0},
11809 { "_signed_short","_short",0},
11810 { "_unsigned_char","_byte",0},
11811 { "_unsigned_int","_wxCoord",0},
11812 { "_unsigned_int","_wxPrintQuality",0},
11813 { "_unsigned_int","_time_t",0},
11814 { "_unsigned_int","_size_t",0},
11815 { "_unsigned_int","_uint",0},
11816 { "_unsigned_int","_wxWindowID",0},
11817 { "_unsigned_int","_int",0},
11818 { "_short","_WXTYPE",0},
11819 { "_short","_unsigned_short",0},
11820 { "_short","_signed_short",0},
11821 { "_wxWindowID","_wxCoord",0},
11822 { "_wxWindowID","_wxPrintQuality",0},
11823 { "_wxWindowID","_time_t",0},
11824 { "_wxWindowID","_size_t",0},
11825 { "_wxWindowID","_EBool",0},
11826 { "_wxWindowID","_uint",0},
11827 { "_wxWindowID","_int",0},
11828 { "_wxWindowID","_signed_int",0},
11829 { "_wxWindowID","_unsigned_int",0},
11830 { "_int","_wxCoord",0},
11831 { "_int","_wxPrintQuality",0},
11832 { "_int","_time_t",0},
11833 { "_int","_size_t",0},
11834 { "_int","_EBool",0},
11835 { "_int","_uint",0},
11836 { "_int","_wxWindowID",0},
11837 { "_int","_unsigned_int",0},
11838 { "_int","_signed_int",0},
11839 { "_time_t","_wxCoord",0},
11840 { "_time_t","_wxPrintQuality",0},
11841 { "_time_t","_unsigned_int",0},
11842 { "_time_t","_int",0},
11843 { "_time_t","_wxWindowID",0},
11844 { "_time_t","_uint",0},
11845 { "_time_t","_size_t",0},
11846 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11847 { "_wxCoord","_int",0},
11848 { "_wxCoord","_signed_int",0},
11849 { "_wxCoord","_unsigned_int",0},
11850 { "_wxCoord","_wxWindowID",0},
11851 { "_wxCoord","_uint",0},
11852 { "_wxCoord","_EBool",0},
11853 { "_wxCoord","_size_t",0},
11854 { "_wxCoord","_time_t",0},
11855 { "_wxCoord","_wxPrintQuality",0},
11856 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11857 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11858 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11859 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11860 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11861 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11862 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11863 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11864 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11865 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11868 static PyObject
*SWIG_globals
;
11872 SWIGEXPORT(void) initwindowsc() {
11874 SWIG_globals
= SWIG_newvarlink();
11875 m
= Py_InitModule("windowsc", windowscMethods
);
11876 d
= PyModule_GetDict(m
);
11879 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11880 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);