2 * FILE : src/msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
95 static wxString
wxPyEmptyStr("");
97 class wxPyValidator
: public wxValidator
{
98 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
106 wxObject
* wxPyValidator::Clone() const {
107 wxPyValidator
* ptr
= NULL
;
108 wxPyValidator
* self
= (wxPyValidator
*)this;
110 bool doSave
= wxPyRestoreThread();
111 if (self
->m_myInst
.findCallback("Clone")) {
113 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
115 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
119 // This is very dangerous!!! But is the only way I could find
120 // to squash a memory leak. Currently it is okay, but if the
121 // validator architecture in wxWindows ever changes, problems
125 wxPySaveThread(doSave
);
130 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
131 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
132 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
137 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
138 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
139 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
141 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
144 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
145 wxWindow
* win
= new wxWindow
;
147 win
->SubclassWin(hWnd
);
153 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
154 PyObject
* _resultobj
;
157 char *_kwnames
[] = { "hWnd", NULL
};
160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
163 wxPy_BEGIN_ALLOW_THREADS
;
164 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
166 wxPy_END_ALLOW_THREADS
;
167 if (PyErr_Occurred()) return NULL
;
168 }{ _resultobj
= wxPyMake_wxObject(_result
); }
172 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
175 src
= (wxEvtHandler
*) ptr
;
176 dest
= (wxObject
*) src
;
177 return (void *) dest
;
180 #define new_wxEvtHandler() (new wxEvtHandler())
181 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
183 wxEvtHandler
* _result
;
184 char *_kwnames
[] = { NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
191 wxPy_BEGIN_ALLOW_THREADS
;
192 _result
= (wxEvtHandler
*)new_wxEvtHandler();
194 wxPy_END_ALLOW_THREADS
;
195 if (PyErr_Occurred()) return NULL
;
197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
198 _resultobj
= Py_BuildValue("s",_ptemp
);
201 _resultobj
= Py_None
;
206 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
207 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
210 wxEvtHandler
* _arg0
;
212 PyObject
* _argo0
= 0;
213 PyObject
* _argo1
= 0;
214 char *_kwnames
[] = { "self","event", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
234 wxPy_BEGIN_ALLOW_THREADS
;
235 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
237 wxPy_END_ALLOW_THREADS
;
238 if (PyErr_Occurred()) return NULL
;
239 } _resultobj
= Py_BuildValue("i",_result
);
243 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
244 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
245 PyObject
* _resultobj
;
246 wxEvtHandler
* _arg0
;
248 PyObject
* _argo0
= 0;
249 PyObject
* _argo1
= 0;
250 char *_kwnames
[] = { "self","event", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
273 wxPy_END_ALLOW_THREADS
;
274 if (PyErr_Occurred()) return NULL
;
275 } Py_INCREF(Py_None
);
276 _resultobj
= Py_None
;
280 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
281 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
284 wxEvtHandler
* _arg0
;
285 PyObject
* _argo0
= 0;
286 char *_kwnames
[] = { "self", NULL
};
289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
299 wxPy_BEGIN_ALLOW_THREADS
;
300 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
302 wxPy_END_ALLOW_THREADS
;
303 if (PyErr_Occurred()) return NULL
;
304 } _resultobj
= Py_BuildValue("i",_result
);
308 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
309 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
311 wxEvtHandler
* _arg0
;
313 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self","enabled", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
327 _arg1
= (bool ) tempbool1
;
329 wxPy_BEGIN_ALLOW_THREADS
;
330 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
332 wxPy_END_ALLOW_THREADS
;
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
340 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
342 wxEvtHandler
* _result
;
343 wxEvtHandler
* _arg0
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
358 wxPy_BEGIN_ALLOW_THREADS
;
359 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
361 wxPy_END_ALLOW_THREADS
;
362 if (PyErr_Occurred()) return NULL
;
363 }{ _resultobj
= wxPyMake_wxObject(_result
); }
367 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
368 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
370 wxEvtHandler
* _result
;
371 wxEvtHandler
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
389 wxPy_END_ALLOW_THREADS
;
390 if (PyErr_Occurred()) return NULL
;
391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
395 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
396 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxEvtHandler
* _arg0
;
399 wxEvtHandler
* _arg1
;
400 PyObject
* _argo0
= 0;
401 PyObject
* _argo1
= 0;
402 char *_kwnames
[] = { "self","handler", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
422 wxPy_BEGIN_ALLOW_THREADS
;
423 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
425 wxPy_END_ALLOW_THREADS
;
426 if (PyErr_Occurred()) return NULL
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
432 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
433 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
435 wxEvtHandler
* _arg0
;
436 wxEvtHandler
* _arg1
;
437 PyObject
* _argo0
= 0;
438 PyObject
* _argo1
= 0;
439 char *_kwnames
[] = { "self","handler", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
459 wxPy_BEGIN_ALLOW_THREADS
;
460 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
462 wxPy_END_ALLOW_THREADS
;
463 if (PyErr_Occurred()) return NULL
;
464 } Py_INCREF(Py_None
);
465 _resultobj
= Py_None
;
469 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
470 if (PyCallable_Check(func
)) {
471 self
->Connect(id
, lastId
, eventType
,
472 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
473 new wxPyCallback(func
));
476 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
478 wxEvtHandler
* _arg0
;
483 PyObject
* _argo0
= 0;
484 PyObject
* _obj4
= 0;
485 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
504 wxPy_END_ALLOW_THREADS
;
505 if (PyErr_Occurred()) return NULL
;
506 } Py_INCREF(Py_None
);
507 _resultobj
= Py_None
;
511 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
512 return self
->Disconnect(id
, lastId
, eventType
,
513 (wxObjectEventFunction
)
514 &wxPyCallback::EventThunker
);
516 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 wxEvtHandler
* _arg0
;
521 int _arg2
= (int ) -1;
522 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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_Disconnect. Expected _wxEvtHandler_p.");
537 wxPy_BEGIN_ALLOW_THREADS
;
538 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
540 wxPy_END_ALLOW_THREADS
;
541 if (PyErr_Occurred()) return NULL
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
549 src
= (wxValidator
*) ptr
;
550 dest
= (wxEvtHandler
*) src
;
551 return (void *) dest
;
554 static void *SwigwxValidatorTowxObject(void *ptr
) {
557 src
= (wxValidator
*) ptr
;
558 dest
= (wxObject
*) src
;
559 return (void *) dest
;
562 #define new_wxValidator() (new wxValidator())
563 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxValidator
* _result
;
566 char *_kwnames
[] = { NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (wxValidator
*)new_wxValidator();
576 wxPy_END_ALLOW_THREADS
;
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
588 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
589 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
591 wxValidator
* _result
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
607 wxPy_BEGIN_ALLOW_THREADS
;
608 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
610 wxPy_END_ALLOW_THREADS
;
611 if (PyErr_Occurred()) return NULL
;
612 }{ _resultobj
= wxPyMake_wxObject(_result
); }
616 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
617 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
621 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
638 wxPy_END_ALLOW_THREADS
;
639 if (PyErr_Occurred()) return NULL
;
640 }{ _resultobj
= wxPyMake_wxObject(_result
); }
644 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
645 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
649 PyObject
* _argo0
= 0;
650 PyObject
* _argo1
= 0;
651 char *_kwnames
[] = { "self","window", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
664 if (_argo1
== Py_None
) { _arg1
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
671 wxPy_BEGIN_ALLOW_THREADS
;
672 wxValidator_SetWindow(_arg0
,_arg1
);
674 wxPy_END_ALLOW_THREADS
;
675 if (PyErr_Occurred()) return NULL
;
676 } Py_INCREF(Py_None
);
677 _resultobj
= Py_None
;
681 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
684 char *_kwnames
[] = { NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
690 wxPy_BEGIN_ALLOW_THREADS
;
691 _result
= (bool )wxValidator::IsSilent();
693 wxPy_END_ALLOW_THREADS
;
694 if (PyErr_Occurred()) return NULL
;
695 } _resultobj
= Py_BuildValue("i",_result
);
699 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
701 int _arg0
= (int ) TRUE
;
702 char *_kwnames
[] = { "doIt", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
708 wxPy_BEGIN_ALLOW_THREADS
;
709 wxValidator::SetBellOnError(_arg0
);
711 wxPy_END_ALLOW_THREADS
;
712 if (PyErr_Occurred()) return NULL
;
713 } Py_INCREF(Py_None
);
714 _resultobj
= Py_None
;
718 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
721 src
= (wxPyValidator
*) ptr
;
722 dest
= (wxValidator
*) src
;
723 return (void *) dest
;
726 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
729 src
= (wxPyValidator
*) ptr
;
730 dest
= (wxEvtHandler
*) src
;
731 return (void *) dest
;
734 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
737 src
= (wxPyValidator
*) ptr
;
738 dest
= (wxObject
*) src
;
739 return (void *) dest
;
742 #define new_wxPyValidator() (new wxPyValidator())
743 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
745 wxPyValidator
* _result
;
746 char *_kwnames
[] = { NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
753 wxPy_BEGIN_ALLOW_THREADS
;
754 _result
= (wxPyValidator
*)new_wxPyValidator();
756 wxPy_END_ALLOW_THREADS
;
757 if (PyErr_Occurred()) return NULL
;
759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
760 _resultobj
= Py_BuildValue("s",_ptemp
);
763 _resultobj
= Py_None
;
768 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
769 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
771 wxPyValidator
* _arg0
;
774 int _arg3
= (int ) TRUE
;
775 PyObject
* _argo0
= 0;
776 PyObject
* _obj1
= 0;
777 PyObject
* _obj2
= 0;
778 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
797 wxPy_BEGIN_ALLOW_THREADS
;
798 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
800 wxPy_END_ALLOW_THREADS
;
801 if (PyErr_Occurred()) return NULL
;
802 } Py_INCREF(Py_None
);
803 _resultobj
= Py_None
;
807 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
810 src
= (wxWindow
*) ptr
;
811 dest
= (wxEvtHandler
*) src
;
812 return (void *) dest
;
815 static void *SwigwxWindowTowxObject(void *ptr
) {
818 src
= (wxWindow
*) ptr
;
819 dest
= (wxObject
*) src
;
820 return (void *) dest
;
823 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
824 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
829 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
830 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
831 long _arg4
= (long ) 0;
832 char * _arg5
= (char *) "panel";
833 PyObject
* _argo0
= 0;
835 PyObject
* _obj2
= 0;
837 PyObject
* _obj3
= 0;
838 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
854 if (! wxPoint_helper(_obj2
, &_arg2
))
860 if (! wxSize_helper(_obj3
, &_arg3
))
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
867 wxPy_END_ALLOW_THREADS
;
868 if (PyErr_Occurred()) return NULL
;
870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
871 _resultobj
= Py_BuildValue("s",_ptemp
);
874 _resultobj
= Py_None
;
879 #define new_wxPreWindow() (new wxWindow())
880 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
883 char *_kwnames
[] = { NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
890 wxPy_BEGIN_ALLOW_THREADS
;
891 _result
= (wxWindow
*)new_wxPreWindow();
893 wxPy_END_ALLOW_THREADS
;
894 if (PyErr_Occurred()) return NULL
;
896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
897 _resultobj
= Py_BuildValue("s",_ptemp
);
900 _resultobj
= Py_None
;
905 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
906 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
912 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
913 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
914 long _arg5
= (long ) 0;
915 char * _arg6
= (char *) "panel";
916 PyObject
* _argo0
= 0;
917 PyObject
* _argo1
= 0;
919 PyObject
* _obj3
= 0;
921 PyObject
* _obj4
= 0;
922 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
944 if (! wxPoint_helper(_obj3
, &_arg3
))
950 if (! wxSize_helper(_obj4
, &_arg4
))
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
957 wxPy_END_ALLOW_THREADS
;
958 if (PyErr_Occurred()) return NULL
;
959 } _resultobj
= Py_BuildValue("i",_result
);
963 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
964 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
967 PyObject
* _argo0
= 0;
968 char *_kwnames
[] = { "self", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
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 wxWindow_CaptureMouse. Expected _wxWindow_p.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 wxWindow_CaptureMouse(_arg0
);
984 wxPy_END_ALLOW_THREADS
;
985 if (PyErr_Occurred()) return NULL
;
986 } Py_INCREF(Py_None
);
987 _resultobj
= Py_None
;
991 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
992 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 int _arg1
= (int ) wxBOTH
;
996 PyObject
* _argo0
= 0;
997 char *_kwnames
[] = { "self","direction", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 wxWindow_Center(_arg0
,_arg1
);
1013 wxPy_END_ALLOW_THREADS
;
1014 if (PyErr_Occurred()) return NULL
;
1015 } Py_INCREF(Py_None
);
1016 _resultobj
= Py_None
;
1020 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1021 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 int _arg1
= (int ) wxBOTH
;
1025 PyObject
* _argo0
= 0;
1026 char *_kwnames
[] = { "self","direction", NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 wxWindow_Centre(_arg0
,_arg1
);
1042 wxPy_END_ALLOW_THREADS
;
1043 if (PyErr_Occurred()) return NULL
;
1044 } Py_INCREF(Py_None
);
1045 _resultobj
= Py_None
;
1049 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1050 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1053 int _arg1
= (int ) wxBOTH
;
1054 PyObject
* _argo0
= 0;
1055 char *_kwnames
[] = { "self","direction", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1068 wxPy_BEGIN_ALLOW_THREADS
;
1069 wxWindow_CentreOnParent(_arg0
,_arg1
);
1071 wxPy_END_ALLOW_THREADS
;
1072 if (PyErr_Occurred()) return NULL
;
1073 } Py_INCREF(Py_None
);
1074 _resultobj
= Py_None
;
1078 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1079 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1082 int _arg1
= (int ) wxBOTH
;
1083 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self","direction", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 wxWindow_CenterOnParent(_arg0
,_arg1
);
1100 wxPy_END_ALLOW_THREADS
;
1101 if (PyErr_Occurred()) return NULL
;
1102 } Py_INCREF(Py_None
);
1103 _resultobj
= Py_None
;
1107 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1108 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1111 int _arg1
= (int ) wxBOTH
;
1112 PyObject
* _argo0
= 0;
1113 char *_kwnames
[] = { "self","direction", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1126 wxPy_BEGIN_ALLOW_THREADS
;
1127 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1129 wxPy_END_ALLOW_THREADS
;
1130 if (PyErr_Occurred()) return NULL
;
1131 } Py_INCREF(Py_None
);
1132 _resultobj
= Py_None
;
1136 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1137 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1140 int _arg1
= (int ) wxBOTH
;
1141 PyObject
* _argo0
= 0;
1142 char *_kwnames
[] = { "self","direction", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1158 wxPy_END_ALLOW_THREADS
;
1159 if (PyErr_Occurred()) return NULL
;
1160 } Py_INCREF(Py_None
);
1161 _resultobj
= Py_None
;
1165 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1166 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1169 PyObject
* _argo0
= 0;
1170 char *_kwnames
[] = { "self", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1183 wxPy_BEGIN_ALLOW_THREADS
;
1184 wxWindow_Clear(_arg0
);
1186 wxPy_END_ALLOW_THREADS
;
1187 if (PyErr_Occurred()) return NULL
;
1188 } Py_INCREF(Py_None
);
1189 _resultobj
= Py_None
;
1193 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1194 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1201 PyObject
* _obj1
= 0;
1203 PyObject
* _obj2
= 0;
1204 char *_kwnames
[] = { "self","x","y", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1217 temp
= (int) PyInt_AsLong(_obj1
);
1221 temp0
= (int) PyInt_AsLong(_obj2
);
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1228 wxPy_END_ALLOW_THREADS
;
1229 if (PyErr_Occurred()) return NULL
;
1230 } Py_INCREF(Py_None
);
1231 _resultobj
= Py_None
;
1234 o
= PyInt_FromLong((long) (*_arg1
));
1235 _resultobj
= t_output_helper(_resultobj
, o
);
1239 o
= PyInt_FromLong((long) (*_arg2
));
1240 _resultobj
= t_output_helper(_resultobj
, o
);
1245 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1246 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1251 PyObject
* _argo0
= 0;
1253 PyObject
* _obj1
= 0;
1254 char *_kwnames
[] = { "self","pt", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1269 if (! wxPoint_helper(_obj1
, &_arg1
))
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1276 wxPy_END_ALLOW_THREADS
;
1277 if (PyErr_Occurred()) return NULL
;
1278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1279 _resultobj
= Py_BuildValue("s",_ptemp
);
1283 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1284 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1288 int _arg1
= (int ) FALSE
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self","force", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1306 wxPy_END_ALLOW_THREADS
;
1307 if (PyErr_Occurred()) return NULL
;
1308 } _resultobj
= Py_BuildValue("i",_result
);
1312 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1313 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 _result
= (bool )wxWindow_Destroy(_arg0
);
1334 wxPy_END_ALLOW_THREADS
;
1335 if (PyErr_Occurred()) return NULL
;
1336 } _resultobj
= Py_BuildValue("i",_result
);
1340 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1341 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 wxWindow_DestroyChildren(_arg0
);
1361 wxPy_END_ALLOW_THREADS
;
1362 if (PyErr_Occurred()) return NULL
;
1363 } Py_INCREF(Py_None
);
1364 _resultobj
= Py_None
;
1368 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1369 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1373 PyObject
* _argo0
= 0;
1374 char *_kwnames
[] = { "self", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1390 wxPy_END_ALLOW_THREADS
;
1391 if (PyErr_Occurred()) return NULL
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1397 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1401 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self","accept", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1415 _arg1
= (bool ) tempbool1
;
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1420 wxPy_END_ALLOW_THREADS
;
1421 if (PyErr_Occurred()) return NULL
;
1422 } Py_INCREF(Py_None
);
1423 _resultobj
= Py_None
;
1427 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1428 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1432 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self","enable", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1446 _arg1
= (bool ) tempbool1
;
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 wxWindow_Enable(_arg0
,_arg1
);
1451 wxPy_END_ALLOW_THREADS
;
1452 if (PyErr_Occurred()) return NULL
;
1453 } Py_INCREF(Py_None
);
1454 _resultobj
= Py_None
;
1458 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1459 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1464 PyObject
* _argo0
= 0;
1465 char *_kwnames
[] = { "self","id", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1481 wxPy_END_ALLOW_THREADS
;
1482 if (PyErr_Occurred()) return NULL
;
1483 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1487 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1488 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1493 PyObject
* _argo0
= 0;
1494 PyObject
* _obj1
= 0;
1495 char *_kwnames
[] = { "self","name", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1508 #if PYTHON_API_VERSION >= 1009
1509 char* tmpPtr
; int tmpSize
;
1510 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1514 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1516 _arg1
= new wxString(tmpPtr
, tmpSize
);
1518 if (!PyString_Check(_obj1
)) {
1519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1522 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1526 wxPy_BEGIN_ALLOW_THREADS
;
1527 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1529 wxPy_END_ALLOW_THREADS
;
1530 if (PyErr_Occurred()) return NULL
;
1531 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1539 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1540 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 wxWindow_Fit(_arg0
);
1560 wxPy_END_ALLOW_THREADS
;
1561 if (PyErr_Occurred()) return NULL
;
1562 } Py_INCREF(Py_None
);
1563 _resultobj
= Py_None
;
1567 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1568 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1572 PyObject
* _argo0
= 0;
1573 char *_kwnames
[] = { "self", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1590 wxPy_END_ALLOW_THREADS
;
1591 if (PyErr_Occurred()) return NULL
;
1592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1593 _resultobj
= Py_BuildValue("s",_ptemp
);
1597 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1598 wxWindowList
& list
= self
->GetChildren();
1599 return wxPy_ConvertList(&list
, "wxWindow");
1601 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1605 PyObject
* _argo0
= 0;
1606 char *_kwnames
[] = { "self", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1622 wxPy_END_ALLOW_THREADS
;
1623 if (PyErr_Occurred()) return NULL
;
1625 _resultobj
= _result
;
1630 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1631 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1635 PyObject
* _argo0
= 0;
1636 char *_kwnames
[] = { "self", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1652 wxPy_END_ALLOW_THREADS
;
1653 if (PyErr_Occurred()) return NULL
;
1654 } _resultobj
= Py_BuildValue("i",_result
);
1658 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1659 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1663 PyObject
* _argo0
= 0;
1664 char *_kwnames
[] = { "self", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1680 wxPy_END_ALLOW_THREADS
;
1681 if (PyErr_Occurred()) return NULL
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1686 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1687 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1717 wxPy_END_ALLOW_THREADS
;
1718 if (PyErr_Occurred()) return NULL
;
1719 } Py_INCREF(Py_None
);
1720 _resultobj
= Py_None
;
1723 o
= PyInt_FromLong((long) (*_arg1
));
1724 _resultobj
= t_output_helper(_resultobj
, o
);
1728 o
= PyInt_FromLong((long) (*_arg2
));
1729 _resultobj
= t_output_helper(_resultobj
, o
);
1734 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1735 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1757 wxPy_END_ALLOW_THREADS
;
1758 if (PyErr_Occurred()) return NULL
;
1759 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1760 _resultobj
= Py_BuildValue("s",_ptemp
);
1764 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1765 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 wxLayoutConstraints
* _result
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1787 wxPy_END_ALLOW_THREADS
;
1788 if (PyErr_Occurred()) return NULL
;
1790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1791 _resultobj
= Py_BuildValue("s",_ptemp
);
1794 _resultobj
= Py_None
;
1799 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1800 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxEvtHandler
* _result
;
1804 PyObject
* _argo0
= 0;
1805 char *_kwnames
[] = { "self", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1821 wxPy_END_ALLOW_THREADS
;
1822 if (PyErr_Occurred()) return NULL
;
1823 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1827 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1828 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1832 PyObject
* _argo0
= 0;
1833 char *_kwnames
[] = { "self", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1849 _result
= (wxFont
*) &_result_ref
;
1851 wxPy_END_ALLOW_THREADS
;
1852 if (PyErr_Occurred()) return NULL
;
1854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1855 _resultobj
= Py_BuildValue("s",_ptemp
);
1858 _resultobj
= Py_None
;
1863 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1864 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1886 wxPy_END_ALLOW_THREADS
;
1887 if (PyErr_Occurred()) return NULL
;
1888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1889 _resultobj
= Py_BuildValue("s",_ptemp
);
1893 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1894 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1915 wxPy_END_ALLOW_THREADS
;
1916 if (PyErr_Occurred()) return NULL
;
1917 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1921 static long wxWindow_GetHandle(wxWindow
*self
) {
1922 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1924 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1928 PyObject
* _argo0
= 0;
1929 char *_kwnames
[] = { "self", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1942 wxPy_BEGIN_ALLOW_THREADS
;
1943 _result
= (long )wxWindow_GetHandle(_arg0
);
1945 wxPy_END_ALLOW_THREADS
;
1946 if (PyErr_Occurred()) return NULL
;
1947 } _resultobj
= Py_BuildValue("l",_result
);
1951 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1952 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1956 PyObject
* _argo0
= 0;
1957 char *_kwnames
[] = { "self", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1970 wxPy_BEGIN_ALLOW_THREADS
;
1971 _result
= (int )wxWindow_GetId(_arg0
);
1973 wxPy_END_ALLOW_THREADS
;
1974 if (PyErr_Occurred()) return NULL
;
1975 } _resultobj
= Py_BuildValue("i",_result
);
1979 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1980 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2001 wxPy_END_ALLOW_THREADS
;
2002 if (PyErr_Occurred()) return NULL
;
2004 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2012 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2013 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2017 PyObject
* _argo0
= 0;
2018 PyObject
* _obj1
= 0;
2019 char *_kwnames
[] = { "self","label", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2032 #if PYTHON_API_VERSION >= 1009
2033 char* tmpPtr
; int tmpSize
;
2034 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2038 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2040 _arg1
= new wxString(tmpPtr
, tmpSize
);
2042 if (!PyString_Check(_obj1
)) {
2043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2046 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2050 wxPy_BEGIN_ALLOW_THREADS
;
2051 wxWindow_SetLabel(_arg0
,*_arg1
);
2053 wxPy_END_ALLOW_THREADS
;
2054 if (PyErr_Occurred()) return NULL
;
2055 } Py_INCREF(Py_None
);
2056 _resultobj
= Py_None
;
2064 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2065 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2069 PyObject
* _argo0
= 0;
2070 char *_kwnames
[] = { "self", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2083 wxPy_BEGIN_ALLOW_THREADS
;
2084 _result
= new wxString (wxWindow_GetName(_arg0
));
2086 wxPy_END_ALLOW_THREADS
;
2087 if (PyErr_Occurred()) return NULL
;
2089 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2097 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2098 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2119 wxPy_END_ALLOW_THREADS
;
2120 if (PyErr_Occurred()) return NULL
;
2121 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2125 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2126 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2133 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2156 wxPy_END_ALLOW_THREADS
;
2157 if (PyErr_Occurred()) return NULL
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2162 o
= PyInt_FromLong((long) (*_arg1
));
2163 _resultobj
= t_output_helper(_resultobj
, o
);
2167 o
= PyInt_FromLong((long) (*_arg2
));
2168 _resultobj
= t_output_helper(_resultobj
, o
);
2173 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2174 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2178 PyObject
* _argo0
= 0;
2179 char *_kwnames
[] = { "self", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2193 wxPy_BEGIN_ALLOW_THREADS
;
2194 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2196 wxPy_END_ALLOW_THREADS
;
2197 if (PyErr_Occurred()) return NULL
;
2198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2199 _resultobj
= Py_BuildValue("s",_ptemp
);
2203 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2204 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2226 wxPy_END_ALLOW_THREADS
;
2227 if (PyErr_Occurred()) return NULL
;
2228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2234 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2239 PyObject
* _argo0
= 0;
2240 char *_kwnames
[] = { "self","orientation", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2253 wxPy_BEGIN_ALLOW_THREADS
;
2254 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2256 wxPy_END_ALLOW_THREADS
;
2257 if (PyErr_Occurred()) return NULL
;
2258 } _resultobj
= Py_BuildValue("i",_result
);
2262 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2263 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2268 PyObject
* _argo0
= 0;
2269 char *_kwnames
[] = { "self","orientation", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2285 wxPy_END_ALLOW_THREADS
;
2286 if (PyErr_Occurred()) return NULL
;
2287 } _resultobj
= Py_BuildValue("i",_result
);
2291 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2292 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2297 PyObject
* _argo0
= 0;
2298 char *_kwnames
[] = { "self","orientation", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2314 wxPy_END_ALLOW_THREADS
;
2315 if (PyErr_Occurred()) return NULL
;
2316 } _resultobj
= Py_BuildValue("i",_result
);
2320 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2321 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2328 PyObject
* _argo0
= 0;
2329 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2351 wxPy_END_ALLOW_THREADS
;
2352 if (PyErr_Occurred()) return NULL
;
2353 } Py_INCREF(Py_None
);
2354 _resultobj
= Py_None
;
2357 o
= PyInt_FromLong((long) (*_arg1
));
2358 _resultobj
= t_output_helper(_resultobj
, o
);
2362 o
= PyInt_FromLong((long) (*_arg2
));
2363 _resultobj
= t_output_helper(_resultobj
, o
);
2368 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2369 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2391 wxPy_END_ALLOW_THREADS
;
2392 if (PyErr_Occurred()) return NULL
;
2393 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2394 _resultobj
= Py_BuildValue("s",_ptemp
);
2398 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2399 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2408 PyObject
* _obj1
= 0;
2409 char *_kwnames
[] = { "self","string", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2428 #if PYTHON_API_VERSION >= 1009
2429 char* tmpPtr
; int tmpSize
;
2430 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2434 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2436 _arg1
= new wxString(tmpPtr
, tmpSize
);
2438 if (!PyString_Check(_obj1
)) {
2439 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2442 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2449 wxPy_END_ALLOW_THREADS
;
2450 if (PyErr_Occurred()) return NULL
;
2451 } Py_INCREF(Py_None
);
2452 _resultobj
= Py_None
;
2455 o
= PyInt_FromLong((long) (*_arg2
));
2456 _resultobj
= t_output_helper(_resultobj
, o
);
2460 o
= PyInt_FromLong((long) (*_arg3
));
2461 _resultobj
= t_output_helper(_resultobj
, o
);
2470 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2471 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2483 wxFont
* _arg6
= (wxFont
*) NULL
;
2484 PyObject
* _argo0
= 0;
2485 PyObject
* _obj1
= 0;
2486 PyObject
* _argo6
= 0;
2487 char *_kwnames
[] = { "self","string","font", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2512 #if PYTHON_API_VERSION >= 1009
2513 char* tmpPtr
; int tmpSize
;
2514 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2518 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2520 _arg1
= new wxString(tmpPtr
, tmpSize
);
2522 if (!PyString_Check(_obj1
)) {
2523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2526 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2530 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2540 wxPy_END_ALLOW_THREADS
;
2541 if (PyErr_Occurred()) return NULL
;
2542 } Py_INCREF(Py_None
);
2543 _resultobj
= Py_None
;
2546 o
= PyInt_FromLong((long) (*_arg2
));
2547 _resultobj
= t_output_helper(_resultobj
, o
);
2551 o
= PyInt_FromLong((long) (*_arg3
));
2552 _resultobj
= t_output_helper(_resultobj
, o
);
2556 o
= PyInt_FromLong((long) (*_arg4
));
2557 _resultobj
= t_output_helper(_resultobj
, o
);
2561 o
= PyInt_FromLong((long) (*_arg5
));
2562 _resultobj
= t_output_helper(_resultobj
, o
);
2571 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2572 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2576 PyObject
* _argo0
= 0;
2577 char *_kwnames
[] = { "self", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2593 wxPy_END_ALLOW_THREADS
;
2594 if (PyErr_Occurred()) return NULL
;
2596 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2604 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2605 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2627 wxPy_END_ALLOW_THREADS
;
2628 if (PyErr_Occurred()) return NULL
;
2629 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2630 _resultobj
= Py_BuildValue("s",_ptemp
);
2634 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2635 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2656 wxPy_END_ALLOW_THREADS
;
2657 if (PyErr_Occurred()) return NULL
;
2658 } _resultobj
= Py_BuildValue("l",_result
);
2662 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2663 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self","style", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2684 wxPy_END_ALLOW_THREADS
;
2685 if (PyErr_Occurred()) return NULL
;
2686 } Py_INCREF(Py_None
);
2687 _resultobj
= Py_None
;
2691 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2692 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2697 char *_kwnames
[] = { "self","style", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
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_SetWindowStyle. Expected _wxWindow_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2713 wxPy_END_ALLOW_THREADS
;
2714 if (PyErr_Occurred()) return NULL
;
2715 } Py_INCREF(Py_None
);
2716 _resultobj
= Py_None
;
2720 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2721 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2725 PyObject
* _argo0
= 0;
2726 char *_kwnames
[] = { "self", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2739 wxPy_BEGIN_ALLOW_THREADS
;
2740 _result
= (bool )wxWindow_Hide(_arg0
);
2742 wxPy_END_ALLOW_THREADS
;
2743 if (PyErr_Occurred()) return NULL
;
2744 } _resultobj
= Py_BuildValue("i",_result
);
2748 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2749 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
* _resultobj
;
2752 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 wxWindow_InitDialog(_arg0
);
2769 wxPy_END_ALLOW_THREADS
;
2770 if (PyErr_Occurred()) return NULL
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2777 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2798 wxPy_END_ALLOW_THREADS
;
2799 if (PyErr_Occurred()) return NULL
;
2800 } _resultobj
= Py_BuildValue("i",_result
);
2804 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2805 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2811 int _arg3
= (int ) 0;
2812 int _arg4
= (int ) 0;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2830 wxPy_END_ALLOW_THREADS
;
2831 if (PyErr_Occurred()) return NULL
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2837 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2842 PyObject
* _argo0
= 0;
2844 PyObject
* _obj1
= 0;
2845 char *_kwnames
[] = { "self","pt", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2859 if (! wxPoint_helper(_obj1
, &_arg1
))
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2866 wxPy_END_ALLOW_THREADS
;
2867 if (PyErr_Occurred()) return NULL
;
2868 } _resultobj
= Py_BuildValue("i",_result
);
2872 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2873 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2878 PyObject
* _argo0
= 0;
2880 PyObject
* _obj1
= 0;
2881 char *_kwnames
[] = { "self","rect", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2895 if (! wxRect_helper(_obj1
, &_arg1
))
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2902 wxPy_END_ALLOW_THREADS
;
2903 if (PyErr_Occurred()) return NULL
;
2904 } _resultobj
= Py_BuildValue("i",_result
);
2908 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2909 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2927 wxPy_BEGIN_ALLOW_THREADS
;
2928 _result
= (bool )wxWindow_IsRetained(_arg0
);
2930 wxPy_END_ALLOW_THREADS
;
2931 if (PyErr_Occurred()) return NULL
;
2932 } _resultobj
= Py_BuildValue("i",_result
);
2936 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2937 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 _result
= (bool )wxWindow_IsShown(_arg0
);
2958 wxPy_END_ALLOW_THREADS
;
2959 if (PyErr_Occurred()) return NULL
;
2960 } _resultobj
= Py_BuildValue("i",_result
);
2964 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2965 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
* _resultobj
;
2969 PyObject
* _argo0
= 0;
2970 char *_kwnames
[] = { "self", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2983 wxPy_BEGIN_ALLOW_THREADS
;
2984 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2986 wxPy_END_ALLOW_THREADS
;
2987 if (PyErr_Occurred()) return NULL
;
2988 } _resultobj
= Py_BuildValue("i",_result
);
2992 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2993 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 wxWindow_Layout(_arg0
);
3013 wxPy_END_ALLOW_THREADS
;
3014 if (PyErr_Occurred()) return NULL
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3021 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3027 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3028 PyObject
* _argo0
= 0;
3029 PyObject
* _argo1
= 0;
3030 PyObject
* _obj2
= 0;
3031 PyObject
* _argo3
= 0;
3032 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3052 #if PYTHON_API_VERSION >= 1009
3053 char* tmpPtr
; int tmpSize
;
3054 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3055 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3058 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3060 _arg2
= new wxString(tmpPtr
, tmpSize
);
3062 if (!PyString_Check(_obj2
)) {
3063 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3066 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3070 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3080 wxPy_END_ALLOW_THREADS
;
3081 if (PyErr_Occurred()) return NULL
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3090 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3091 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxWindow_Lower(_arg0
);
3111 wxPy_END_ALLOW_THREADS
;
3112 if (PyErr_Occurred()) return NULL
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3119 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3123 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self","flag", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3137 _arg1
= (bool ) tempbool1
;
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 wxWindow_MakeModal(_arg0
,_arg1
);
3142 wxPy_END_ALLOW_THREADS
;
3143 if (PyErr_Occurred()) return NULL
;
3144 } Py_INCREF(Py_None
);
3145 _resultobj
= Py_None
;
3149 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3150 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self","x","y", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3172 wxPy_END_ALLOW_THREADS
;
3173 if (PyErr_Occurred()) return NULL
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3179 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3180 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3184 PyObject
* _argo0
= 0;
3186 PyObject
* _obj1
= 0;
3187 char *_kwnames
[] = { "self","point", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3201 if (! wxPoint_helper(_obj1
, &_arg1
))
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 wxWindow_Move(_arg0
,*_arg1
);
3208 wxPy_END_ALLOW_THREADS
;
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3216 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3218 wxEvtHandler
* _result
;
3220 bool _arg1
= (bool ) FALSE
;
3221 PyObject
* _argo0
= 0;
3222 int tempbool1
= (int) FALSE
;
3223 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3235 _arg1
= (bool ) tempbool1
;
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3240 wxPy_END_ALLOW_THREADS
;
3241 if (PyErr_Occurred()) return NULL
;
3242 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3246 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3247 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxEvtHandler
* _arg1
;
3251 PyObject
* _argo0
= 0;
3252 PyObject
* _argo1
= 0;
3253 char *_kwnames
[] = { "self","handler", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3273 wxPy_BEGIN_ALLOW_THREADS
;
3274 wxWindow_PushEventHandler(_arg0
,_arg1
);
3276 wxPy_END_ALLOW_THREADS
;
3277 if (PyErr_Occurred()) return NULL
;
3278 } Py_INCREF(Py_None
);
3279 _resultobj
= Py_None
;
3283 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3284 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3291 PyObject
* _argo0
= 0;
3292 PyObject
* _argo1
= 0;
3293 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3313 wxPy_BEGIN_ALLOW_THREADS
;
3314 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3316 wxPy_END_ALLOW_THREADS
;
3317 if (PyErr_Occurred()) return NULL
;
3318 } _resultobj
= Py_BuildValue("i",_result
);
3322 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3323 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3329 PyObject
* _argo0
= 0;
3330 PyObject
* _argo1
= 0;
3332 PyObject
* _obj2
= 0;
3333 char *_kwnames
[] = { "self","menu","pos", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3354 if (! wxPoint_helper(_obj2
, &_arg2
))
3358 wxPy_BEGIN_ALLOW_THREADS
;
3359 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3361 wxPy_END_ALLOW_THREADS
;
3362 if (PyErr_Occurred()) return NULL
;
3363 } _resultobj
= Py_BuildValue("i",_result
);
3367 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3368 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 PyObject
* _argo0
= 0;
3372 char *_kwnames
[] = { "self", NULL
};
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3385 wxPy_BEGIN_ALLOW_THREADS
;
3386 wxWindow_Raise(_arg0
);
3388 wxPy_END_ALLOW_THREADS
;
3389 if (PyErr_Occurred()) return NULL
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3396 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3399 bool _arg1
= (bool ) TRUE
;
3400 wxRect
* _arg2
= (wxRect
*) NULL
;
3401 PyObject
* _argo0
= 0;
3402 int tempbool1
= (int) TRUE
;
3404 PyObject
* _obj2
= 0;
3405 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3417 _arg1
= (bool ) tempbool1
;
3421 if (! wxRect_helper(_obj2
, &_arg2
))
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3428 wxPy_END_ALLOW_THREADS
;
3429 if (PyErr_Occurred()) return NULL
;
3430 } Py_INCREF(Py_None
);
3431 _resultobj
= Py_None
;
3435 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3436 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3442 PyObject
* _obj1
= 0;
3443 char *_kwnames
[] = { "self","rect", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3457 if (! wxRect_helper(_obj1
, &_arg1
))
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 wxWindow_RefreshRect(_arg0
,*_arg1
);
3464 wxPy_END_ALLOW_THREADS
;
3465 if (PyErr_Occurred()) return NULL
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3472 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 PyObject
* _argo0
= 0;
3476 char *_kwnames
[] = { "self", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 wxWindow_ReleaseMouse(_arg0
);
3492 wxPy_END_ALLOW_THREADS
;
3493 if (PyErr_Occurred()) return NULL
;
3494 } Py_INCREF(Py_None
);
3495 _resultobj
= Py_None
;
3499 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3500 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3504 PyObject
* _argo0
= 0;
3505 PyObject
* _argo1
= 0;
3506 char *_kwnames
[] = { "self","child", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 wxWindow_RemoveChild(_arg0
,_arg1
);
3529 wxPy_END_ALLOW_THREADS
;
3530 if (PyErr_Occurred()) return NULL
;
3531 } Py_INCREF(Py_None
);
3532 _resultobj
= Py_None
;
3536 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3537 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3542 PyObject
* _argo0
= 0;
3543 PyObject
* _argo1
= 0;
3544 char *_kwnames
[] = { "self","newParent", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3567 wxPy_END_ALLOW_THREADS
;
3568 if (PyErr_Occurred()) return NULL
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3574 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3579 PyObject
* _argo0
= 0;
3581 PyObject
* _obj1
= 0;
3583 PyObject
* _obj2
= 0;
3584 char *_kwnames
[] = { "self","x","y", NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3597 temp
= (int) PyInt_AsLong(_obj1
);
3601 temp0
= (int) PyInt_AsLong(_obj2
);
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3608 wxPy_END_ALLOW_THREADS
;
3609 if (PyErr_Occurred()) return NULL
;
3610 } Py_INCREF(Py_None
);
3611 _resultobj
= Py_None
;
3614 o
= PyInt_FromLong((long) (*_arg1
));
3615 _resultobj
= t_output_helper(_resultobj
, o
);
3619 o
= PyInt_FromLong((long) (*_arg2
));
3620 _resultobj
= t_output_helper(_resultobj
, o
);
3625 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3626 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3631 PyObject
* _argo0
= 0;
3633 PyObject
* _obj1
= 0;
3634 char *_kwnames
[] = { "self","pt", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3649 if (! wxPoint_helper(_obj1
, &_arg1
))
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3656 wxPy_END_ALLOW_THREADS
;
3657 if (PyErr_Occurred()) return NULL
;
3658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3659 _resultobj
= Py_BuildValue("s",_ptemp
);
3663 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3664 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3669 wxRect
* _arg3
= (wxRect
*) NULL
;
3670 PyObject
* _argo0
= 0;
3672 PyObject
* _obj3
= 0;
3673 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3688 if (! wxRect_helper(_obj3
, &_arg3
))
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3695 wxPy_END_ALLOW_THREADS
;
3696 if (PyErr_Occurred()) return NULL
;
3697 } Py_INCREF(Py_None
);
3698 _resultobj
= Py_None
;
3702 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3703 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3706 wxAcceleratorTable
* _arg1
;
3707 PyObject
* _argo0
= 0;
3708 PyObject
* _argo1
= 0;
3709 char *_kwnames
[] = { "self","accel", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3729 wxPy_BEGIN_ALLOW_THREADS
;
3730 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3732 wxPy_END_ALLOW_THREADS
;
3733 if (PyErr_Occurred()) return NULL
;
3734 } Py_INCREF(Py_None
);
3735 _resultobj
= Py_None
;
3739 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3740 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3744 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self","autoLayout", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3758 _arg1
= (bool ) tempbool1
;
3760 wxPy_BEGIN_ALLOW_THREADS
;
3761 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3763 wxPy_END_ALLOW_THREADS
;
3764 if (PyErr_Occurred()) return NULL
;
3765 } Py_INCREF(Py_None
);
3766 _resultobj
= Py_None
;
3770 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3771 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "self", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
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_GetAutoLayout. Expected _wxWindow_p.");
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3792 wxPy_END_ALLOW_THREADS
;
3793 if (PyErr_Occurred()) return NULL
;
3794 } _resultobj
= Py_BuildValue("i",_result
);
3798 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3799 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3803 PyObject
* _argo0
= 0;
3805 PyObject
* _obj1
= 0;
3806 char *_kwnames
[] = { "self","colour", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3820 if (! wxColour_helper(_obj1
, &_arg1
))
3824 wxPy_BEGIN_ALLOW_THREADS
;
3825 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3827 wxPy_END_ALLOW_THREADS
;
3828 if (PyErr_Occurred()) return NULL
;
3829 } Py_INCREF(Py_None
);
3830 _resultobj
= Py_None
;
3834 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3835 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3838 wxLayoutConstraints
* _arg1
;
3839 PyObject
* _argo0
= 0;
3840 PyObject
* _argo1
= 0;
3841 char *_kwnames
[] = { "self","constraints", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 wxWindow_SetConstraints(_arg0
,_arg1
);
3864 wxPy_END_ALLOW_THREADS
;
3865 if (PyErr_Occurred()) return NULL
;
3866 } Py_INCREF(Py_None
);
3867 _resultobj
= Py_None
;
3871 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3872 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxLayoutConstraints
* _arg1
;
3876 PyObject
* _argo0
= 0;
3877 PyObject
* _argo1
= 0;
3878 char *_kwnames
[] = { "self","constraints", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3898 wxPy_BEGIN_ALLOW_THREADS
;
3899 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3901 wxPy_END_ALLOW_THREADS
;
3902 if (PyErr_Occurred()) return NULL
;
3903 } Py_INCREF(Py_None
);
3904 _resultobj
= Py_None
;
3908 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3909 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3926 wxPy_BEGIN_ALLOW_THREADS
;
3927 wxWindow_SetFocus(_arg0
);
3929 wxPy_END_ALLOW_THREADS
;
3930 if (PyErr_Occurred()) return NULL
;
3931 } Py_INCREF(Py_None
);
3932 _resultobj
= Py_None
;
3936 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3937 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3941 PyObject
* _argo0
= 0;
3942 char *_kwnames
[] = { "self", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3958 wxPy_END_ALLOW_THREADS
;
3959 if (PyErr_Occurred()) return NULL
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3964 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3965 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3969 PyObject
* _argo0
= 0;
3970 PyObject
* _argo1
= 0;
3971 char *_kwnames
[] = { "self","font", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
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_SetFont. Expected _wxWindow_p.");
3984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 wxWindow_SetFont(_arg0
,*_arg1
);
3994 wxPy_END_ALLOW_THREADS
;
3995 if (PyErr_Occurred()) return NULL
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4001 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4002 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4006 PyObject
* _argo0
= 0;
4008 PyObject
* _obj1
= 0;
4009 char *_kwnames
[] = { "self","colour", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4023 if (! wxColour_helper(_obj1
, &_arg1
))
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4030 wxPy_END_ALLOW_THREADS
;
4031 if (PyErr_Occurred()) return NULL
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4038 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self","id", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 wxWindow_SetId(_arg0
,_arg1
);
4059 wxPy_END_ALLOW_THREADS
;
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4067 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4071 PyObject
* _argo0
= 0;
4072 PyObject
* _obj1
= 0;
4073 char *_kwnames
[] = { "self","name", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
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_SetName. Expected _wxWindow_p.");
4086 #if PYTHON_API_VERSION >= 1009
4087 char* tmpPtr
; int tmpSize
;
4088 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4092 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4094 _arg1
= new wxString(tmpPtr
, tmpSize
);
4096 if (!PyString_Check(_obj1
)) {
4097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4100 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4104 wxPy_BEGIN_ALLOW_THREADS
;
4105 wxWindow_SetName(_arg0
,*_arg1
);
4107 wxPy_END_ALLOW_THREADS
;
4108 if (PyErr_Occurred()) return NULL
;
4109 } Py_INCREF(Py_None
);
4110 _resultobj
= Py_None
;
4118 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4119 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4126 int _arg5
= (int ) TRUE
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4141 wxPy_BEGIN_ALLOW_THREADS
;
4142 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4144 wxPy_END_ALLOW_THREADS
;
4145 if (PyErr_Occurred()) return NULL
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4152 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4157 bool _arg3
= (bool ) TRUE
;
4158 PyObject
* _argo0
= 0;
4159 int tempbool3
= (int) TRUE
;
4160 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4172 _arg3
= (bool ) tempbool3
;
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4177 wxPy_END_ALLOW_THREADS
;
4178 if (PyErr_Occurred()) return NULL
;
4179 } Py_INCREF(Py_None
);
4180 _resultobj
= Py_None
;
4184 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4185 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
* _resultobj
;
4192 int _arg5
= (int ) wxSIZE_AUTO
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_SetDimensions. Expected _wxWindow_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4210 wxPy_END_ALLOW_THREADS
;
4211 if (PyErr_Occurred()) return NULL
;
4212 } Py_INCREF(Py_None
);
4213 _resultobj
= Py_None
;
4217 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4218 self
->SetSize(size
);
4220 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4224 PyObject
* _argo0
= 0;
4226 PyObject
* _obj1
= 0;
4227 char *_kwnames
[] = { "self","size", NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4241 if (! wxSize_helper(_obj1
, &_arg1
))
4245 wxPy_BEGIN_ALLOW_THREADS
;
4246 wxWindow_SetSize(_arg0
,*_arg1
);
4248 wxPy_END_ALLOW_THREADS
;
4249 if (PyErr_Occurred()) return NULL
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4258 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4262 PyObject
* _argo0
= 0;
4264 PyObject
* _obj1
= 0;
4265 char *_kwnames
[] = { "self","pos", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
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_SetPosition. Expected _wxWindow_p.");
4279 if (! wxPoint_helper(_obj1
, &_arg1
))
4283 wxPy_BEGIN_ALLOW_THREADS
;
4284 wxWindow_SetPosition(_arg0
,*_arg1
);
4286 wxPy_END_ALLOW_THREADS
;
4287 if (PyErr_Occurred()) return NULL
;
4288 } Py_INCREF(Py_None
);
4289 _resultobj
= Py_None
;
4293 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4294 self
->SetSize(rect
, sizeFlags
);
4296 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4300 int _arg2
= (int ) wxSIZE_AUTO
;
4301 PyObject
* _argo0
= 0;
4303 PyObject
* _obj1
= 0;
4304 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4318 if (! wxRect_helper(_obj1
, &_arg1
))
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4325 wxPy_END_ALLOW_THREADS
;
4326 if (PyErr_Occurred()) return NULL
;
4327 } Py_INCREF(Py_None
);
4328 _resultobj
= Py_None
;
4332 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4333 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 int _arg1
= (int ) -1;
4337 int _arg2
= (int ) -1;
4338 int _arg3
= (int ) -1;
4339 int _arg4
= (int ) -1;
4340 int _arg5
= (int ) -1;
4341 int _arg6
= (int ) -1;
4342 PyObject
* _argo0
= 0;
4343 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4356 wxPy_BEGIN_ALLOW_THREADS
;
4357 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4359 wxPy_END_ALLOW_THREADS
;
4360 if (PyErr_Occurred()) return NULL
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4367 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self","width","height", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4389 wxPy_END_ALLOW_THREADS
;
4390 if (PyErr_Occurred()) return NULL
;
4391 } Py_INCREF(Py_None
);
4392 _resultobj
= Py_None
;
4396 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4397 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4403 PyObject
* _obj1
= 0;
4404 char *_kwnames
[] = { "self","size", NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4418 if (! wxSize_helper(_obj1
, &_arg1
))
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 wxWindow_SetClientSize(_arg0
,*_arg1
);
4425 wxPy_END_ALLOW_THREADS
;
4426 if (PyErr_Occurred()) return NULL
;
4427 } Py_INCREF(Py_None
);
4428 _resultobj
= Py_None
;
4432 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4433 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4437 PyObject
* _argo0
= 0;
4438 PyObject
* _argo1
= 0;
4439 char *_kwnames
[] = { "self","cursor", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 wxWindow_SetCursor(_arg0
,*_arg1
);
4462 wxPy_END_ALLOW_THREADS
;
4463 if (PyErr_Occurred()) return NULL
;
4464 } Py_INCREF(Py_None
);
4465 _resultobj
= Py_None
;
4469 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4470 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4473 wxEvtHandler
* _arg1
;
4474 PyObject
* _argo0
= 0;
4475 PyObject
* _argo1
= 0;
4476 char *_kwnames
[] = { "self","handler", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4496 wxPy_BEGIN_ALLOW_THREADS
;
4497 wxWindow_SetEventHandler(_arg0
,_arg1
);
4499 wxPy_END_ALLOW_THREADS
;
4500 if (PyErr_Occurred()) return NULL
;
4501 } Py_INCREF(Py_None
);
4502 _resultobj
= Py_None
;
4506 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4507 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self","exStyle", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4525 wxPy_BEGIN_ALLOW_THREADS
;
4526 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4528 wxPy_END_ALLOW_THREADS
;
4529 if (PyErr_Occurred()) return NULL
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4536 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _obj1
= 0;
4542 char *_kwnames
[] = { "self","title", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4555 #if PYTHON_API_VERSION >= 1009
4556 char* tmpPtr
; int tmpSize
;
4557 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4561 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4563 _arg1
= new wxString(tmpPtr
, tmpSize
);
4565 if (!PyString_Check(_obj1
)) {
4566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4569 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4573 wxPy_BEGIN_ALLOW_THREADS
;
4574 wxWindow_SetTitle(_arg0
,*_arg1
);
4576 wxPy_END_ALLOW_THREADS
;
4577 if (PyErr_Occurred()) return NULL
;
4578 } Py_INCREF(Py_None
);
4579 _resultobj
= Py_None
;
4587 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4588 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4593 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self","show", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4607 _arg1
= (bool ) tempbool1
;
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4612 wxPy_END_ALLOW_THREADS
;
4613 if (PyErr_Occurred()) return NULL
;
4614 } _resultobj
= Py_BuildValue("i",_result
);
4618 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4619 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "self", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4637 wxPy_BEGIN_ALLOW_THREADS
;
4638 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4640 wxPy_END_ALLOW_THREADS
;
4641 if (PyErr_Occurred()) return NULL
;
4642 } _resultobj
= Py_BuildValue("i",_result
);
4646 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4647 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4652 char *_kwnames
[] = { "self", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4668 wxPy_END_ALLOW_THREADS
;
4669 if (PyErr_Occurred()) return NULL
;
4670 } _resultobj
= Py_BuildValue("i",_result
);
4674 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4675 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4693 wxPy_BEGIN_ALLOW_THREADS
;
4694 _result
= (bool )wxWindow_Validate(_arg0
);
4696 wxPy_END_ALLOW_THREADS
;
4697 if (PyErr_Occurred()) return NULL
;
4698 } _resultobj
= Py_BuildValue("i",_result
);
4702 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4703 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4708 PyObject
* _argo0
= 0;
4709 char *_kwnames
[] = { "self","x","y", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4722 wxPy_BEGIN_ALLOW_THREADS
;
4723 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4725 wxPy_END_ALLOW_THREADS
;
4726 if (PyErr_Occurred()) return NULL
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4733 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4738 PyObject
* _argo0
= 0;
4740 PyObject
* _obj1
= 0;
4741 char *_kwnames
[] = { "self","pt", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4756 if (! wxPoint_helper(_obj1
, &_arg1
))
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4763 wxPy_END_ALLOW_THREADS
;
4764 if (PyErr_Occurred()) return NULL
;
4765 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4766 _resultobj
= Py_BuildValue("s",_ptemp
);
4770 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4771 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4778 PyObject
* _obj1
= 0;
4779 char *_kwnames
[] = { "self","sz", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4794 if (! wxSize_helper(_obj1
, &_arg1
))
4798 wxPy_BEGIN_ALLOW_THREADS
;
4799 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4801 wxPy_END_ALLOW_THREADS
;
4802 if (PyErr_Occurred()) return NULL
;
4803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4804 _resultobj
= Py_BuildValue("s",_ptemp
);
4808 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4809 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4814 PyObject
* _argo0
= 0;
4816 PyObject
* _obj1
= 0;
4817 char *_kwnames
[] = { "self","pt", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4832 if (! wxPoint_helper(_obj1
, &_arg1
))
4836 wxPy_BEGIN_ALLOW_THREADS
;
4837 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4839 wxPy_END_ALLOW_THREADS
;
4840 if (PyErr_Occurred()) return NULL
;
4841 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4842 _resultobj
= Py_BuildValue("s",_ptemp
);
4846 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4847 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
* _resultobj
;
4852 PyObject
* _argo0
= 0;
4854 PyObject
* _obj1
= 0;
4855 char *_kwnames
[] = { "self","sz", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
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_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4870 if (! wxSize_helper(_obj1
, &_arg1
))
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4877 wxPy_END_ALLOW_THREADS
;
4878 if (PyErr_Occurred()) return NULL
;
4879 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4880 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4885 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4889 PyObject
* _argo0
= 0;
4890 PyObject
* _obj1
= 0;
4891 char *_kwnames
[] = { "self","tip", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
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_SetToolTipString. Expected _wxWindow_p.");
4904 #if PYTHON_API_VERSION >= 1009
4905 char* tmpPtr
; int tmpSize
;
4906 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4910 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4912 _arg1
= new wxString(tmpPtr
, tmpSize
);
4914 if (!PyString_Check(_obj1
)) {
4915 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4918 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4925 wxPy_END_ALLOW_THREADS
;
4926 if (PyErr_Occurred()) return NULL
;
4927 } Py_INCREF(Py_None
);
4928 _resultobj
= Py_None
;
4936 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4937 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4941 PyObject
* _argo0
= 0;
4942 PyObject
* _argo1
= 0;
4943 char *_kwnames
[] = { "self","tooltip", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4963 wxPy_BEGIN_ALLOW_THREADS
;
4964 wxWindow_SetToolTip(_arg0
,_arg1
);
4966 wxPy_END_ALLOW_THREADS
;
4967 if (PyErr_Occurred()) return NULL
;
4968 } Py_INCREF(Py_None
);
4969 _resultobj
= Py_None
;
4973 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4974 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4976 wxToolTip
* _result
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4995 wxPy_END_ALLOW_THREADS
;
4996 if (PyErr_Occurred()) return NULL
;
4997 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5001 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
5002 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5006 PyObject
* _argo0
= 0;
5007 PyObject
* _argo1
= 0;
5008 char *_kwnames
[] = { "self","sizer", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 wxWindow_SetSizer(_arg0
,_arg1
);
5031 wxPy_END_ALLOW_THREADS
;
5032 if (PyErr_Occurred()) return NULL
;
5033 } Py_INCREF(Py_None
);
5034 _resultobj
= Py_None
;
5038 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5039 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5043 PyObject
* _argo0
= 0;
5044 char *_kwnames
[] = { "self", NULL
};
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5057 wxPy_BEGIN_ALLOW_THREADS
;
5058 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5060 wxPy_END_ALLOW_THREADS
;
5061 if (PyErr_Occurred()) return NULL
;
5062 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5066 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5067 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
* _resultobj
;
5069 wxValidator
* _result
;
5071 PyObject
* _argo0
= 0;
5072 char *_kwnames
[] = { "self", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5088 wxPy_END_ALLOW_THREADS
;
5089 if (PyErr_Occurred()) return NULL
;
5090 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5094 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5095 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5098 wxValidator
* _arg1
;
5099 PyObject
* _argo0
= 0;
5100 PyObject
* _argo1
= 0;
5101 char *_kwnames
[] = { "self","validator", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 wxWindow_SetValidator(_arg0
,*_arg1
);
5124 wxPy_END_ALLOW_THREADS
;
5125 if (PyErr_Occurred()) return NULL
;
5126 } Py_INCREF(Py_None
);
5127 _resultobj
= Py_None
;
5131 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5132 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5135 wxDropTarget
* _arg1
;
5136 PyObject
* _argo0
= 0;
5137 PyObject
* _argo1
= 0;
5138 char *_kwnames
[] = { "self","target", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5151 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 wxWindow_SetDropTarget(_arg0
,_arg1
);
5161 wxPy_END_ALLOW_THREADS
;
5162 if (PyErr_Occurred()) return NULL
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5168 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5169 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5171 wxDropTarget
* _result
;
5173 PyObject
* _argo0
= 0;
5174 char *_kwnames
[] = { "self", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5188 wxPy_BEGIN_ALLOW_THREADS
;
5189 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5191 wxPy_END_ALLOW_THREADS
;
5192 if (PyErr_Occurred()) return NULL
;
5194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5195 _resultobj
= Py_BuildValue("s",_ptemp
);
5198 _resultobj
= Py_None
;
5203 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5204 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5223 wxPy_BEGIN_ALLOW_THREADS
;
5224 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5226 wxPy_END_ALLOW_THREADS
;
5227 if (PyErr_Occurred()) return NULL
;
5228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5229 _resultobj
= Py_BuildValue("s",_ptemp
);
5233 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5234 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 PyObject
* _argo1
= 0;
5240 char *_kwnames
[] = { "self","caret", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 wxWindow_SetCaret(_arg0
,_arg1
);
5263 wxPy_END_ALLOW_THREADS
;
5264 if (PyErr_Occurred()) return NULL
;
5265 } Py_INCREF(Py_None
);
5266 _resultobj
= Py_None
;
5270 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5271 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5275 PyObject
* _argo0
= 0;
5276 char *_kwnames
[] = { "self", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5293 wxPy_END_ALLOW_THREADS
;
5294 if (PyErr_Occurred()) return NULL
;
5296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5297 _resultobj
= Py_BuildValue("s",_ptemp
);
5300 _resultobj
= Py_None
;
5305 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5306 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
* _resultobj
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5323 wxPy_BEGIN_ALLOW_THREADS
;
5324 wxWindow_Freeze(_arg0
);
5326 wxPy_END_ALLOW_THREADS
;
5327 if (PyErr_Occurred()) return NULL
;
5328 } Py_INCREF(Py_None
);
5329 _resultobj
= Py_None
;
5333 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5334 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
* _resultobj
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 wxWindow_Thaw(_arg0
);
5354 wxPy_END_ALLOW_THREADS
;
5355 if (PyErr_Occurred()) return NULL
;
5356 } Py_INCREF(Py_None
);
5357 _resultobj
= Py_None
;
5361 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5362 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5365 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
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_Update. Expected _wxWindow_p.");
5379 wxPy_BEGIN_ALLOW_THREADS
;
5380 wxWindow_Update(_arg0
);
5382 wxPy_END_ALLOW_THREADS
;
5383 if (PyErr_Occurred()) return NULL
;
5384 } Py_INCREF(Py_None
);
5385 _resultobj
= Py_None
;
5389 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5390 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5394 PyObject
* _argo0
= 0;
5395 char *_kwnames
[] = { "self", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5408 wxPy_BEGIN_ALLOW_THREADS
;
5409 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5411 wxPy_END_ALLOW_THREADS
;
5412 if (PyErr_Occurred()) return NULL
;
5414 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5422 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5423 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5428 PyObject
* _obj1
= 0;
5429 char *_kwnames
[] = { "self","helpText", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5442 #if PYTHON_API_VERSION >= 1009
5443 char* tmpPtr
; int tmpSize
;
5444 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5448 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5450 _arg1
= new wxString(tmpPtr
, tmpSize
);
5452 if (!PyString_Check(_obj1
)) {
5453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5456 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5460 wxPy_BEGIN_ALLOW_THREADS
;
5461 wxWindow_SetHelpText(_arg0
,*_arg1
);
5463 wxPy_END_ALLOW_THREADS
;
5464 if (PyErr_Occurred()) return NULL
;
5465 } Py_INCREF(Py_None
);
5466 _resultobj
= Py_None
;
5474 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5475 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5480 PyObject
* _argo0
= 0;
5481 char *_kwnames
[] = { "self","lines", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5494 wxPy_BEGIN_ALLOW_THREADS
;
5495 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5497 wxPy_END_ALLOW_THREADS
;
5498 if (PyErr_Occurred()) return NULL
;
5499 } _resultobj
= Py_BuildValue("i",_result
);
5503 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5504 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5509 PyObject
* _argo0
= 0;
5510 char *_kwnames
[] = { "self","pages", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
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_ScrollPages. Expected _wxWindow_p.");
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5526 wxPy_END_ALLOW_THREADS
;
5527 if (PyErr_Occurred()) return NULL
;
5528 } _resultobj
= Py_BuildValue("i",_result
);
5532 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5533 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5537 PyObject
* _argo0
= 0;
5538 char *_kwnames
[] = { "self", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5551 wxPy_BEGIN_ALLOW_THREADS
;
5552 _result
= (bool )wxWindow_LineUp(_arg0
);
5554 wxPy_END_ALLOW_THREADS
;
5555 if (PyErr_Occurred()) return NULL
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5561 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5565 PyObject
* _argo0
= 0;
5566 char *_kwnames
[] = { "self", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5579 wxPy_BEGIN_ALLOW_THREADS
;
5580 _result
= (bool )wxWindow_LineDown(_arg0
);
5582 wxPy_END_ALLOW_THREADS
;
5583 if (PyErr_Occurred()) return NULL
;
5584 } _resultobj
= Py_BuildValue("i",_result
);
5588 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5589 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
* _resultobj
;
5593 PyObject
* _argo0
= 0;
5594 char *_kwnames
[] = { "self", NULL
};
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5607 wxPy_BEGIN_ALLOW_THREADS
;
5608 _result
= (bool )wxWindow_PageUp(_arg0
);
5610 wxPy_END_ALLOW_THREADS
;
5611 if (PyErr_Occurred()) return NULL
;
5612 } _resultobj
= Py_BuildValue("i",_result
);
5616 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5617 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5621 PyObject
* _argo0
= 0;
5622 char *_kwnames
[] = { "self", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 _result
= (bool )wxWindow_PageDown(_arg0
);
5638 wxPy_END_ALLOW_THREADS
;
5639 if (PyErr_Occurred()) return NULL
;
5640 } _resultobj
= Py_BuildValue("i",_result
);
5644 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5647 char *_kwnames
[] = { NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5653 wxPy_BEGIN_ALLOW_THREADS
;
5654 _result
= (wxWindow
*)wxWindow::FindFocus();
5656 wxPy_END_ALLOW_THREADS
;
5657 if (PyErr_Occurred()) return NULL
;
5658 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5662 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5665 char *_kwnames
[] = { NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 _result
= (int )wxWindow::NewControlId();
5674 wxPy_END_ALLOW_THREADS
;
5675 if (PyErr_Occurred()) return NULL
;
5676 } _resultobj
= Py_BuildValue("i",_result
);
5680 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5684 char *_kwnames
[] = { "id", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (int )wxWindow::NextControlId(_arg0
);
5693 wxPy_END_ALLOW_THREADS
;
5694 if (PyErr_Occurred()) return NULL
;
5695 } _resultobj
= Py_BuildValue("i",_result
);
5699 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5703 char *_kwnames
[] = { "id", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5709 wxPy_BEGIN_ALLOW_THREADS
;
5710 _result
= (int )wxWindow::PrevControlId(_arg0
);
5712 wxPy_END_ALLOW_THREADS
;
5713 if (PyErr_Occurred()) return NULL
;
5714 } _resultobj
= Py_BuildValue("i",_result
);
5718 static void *SwigwxPanelTowxWindow(void *ptr
) {
5721 src
= (wxPanel
*) ptr
;
5722 dest
= (wxWindow
*) src
;
5723 return (void *) dest
;
5726 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5729 src
= (wxPanel
*) ptr
;
5730 dest
= (wxEvtHandler
*) src
;
5731 return (void *) dest
;
5734 static void *SwigwxPanelTowxObject(void *ptr
) {
5737 src
= (wxPanel
*) ptr
;
5738 dest
= (wxObject
*) src
;
5739 return (void *) dest
;
5742 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5743 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5748 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5749 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5750 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5751 char * _arg5
= (char *) "panel";
5752 PyObject
* _argo0
= 0;
5754 PyObject
* _obj2
= 0;
5756 PyObject
* _obj3
= 0;
5757 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5773 if (! wxPoint_helper(_obj2
, &_arg2
))
5779 if (! wxSize_helper(_obj3
, &_arg3
))
5783 wxPy_BEGIN_ALLOW_THREADS
;
5784 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5786 wxPy_END_ALLOW_THREADS
;
5787 if (PyErr_Occurred()) return NULL
;
5789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5790 _resultobj
= Py_BuildValue("s",_ptemp
);
5793 _resultobj
= Py_None
;
5798 #define new_wxPrePanel() (new wxPanel())
5799 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
* _resultobj
;
5802 char *_kwnames
[] = { NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
5809 wxPy_BEGIN_ALLOW_THREADS
;
5810 _result
= (wxPanel
*)new_wxPrePanel();
5812 wxPy_END_ALLOW_THREADS
;
5813 if (PyErr_Occurred()) return NULL
;
5815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5816 _resultobj
= Py_BuildValue("s",_ptemp
);
5819 _resultobj
= Py_None
;
5824 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5825 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5831 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5832 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5833 long _arg5
= (long ) wxTAB_TRAVERSAL
;
5834 char * _arg6
= (char *) "panel";
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _argo1
= 0;
5838 PyObject
* _obj3
= 0;
5840 PyObject
* _obj4
= 0;
5841 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
5854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
5863 if (! wxPoint_helper(_obj3
, &_arg3
))
5869 if (! wxSize_helper(_obj4
, &_arg4
))
5873 wxPy_BEGIN_ALLOW_THREADS
;
5874 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5876 wxPy_END_ALLOW_THREADS
;
5877 if (PyErr_Occurred()) return NULL
;
5878 } _resultobj
= Py_BuildValue("i",_result
);
5882 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5883 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5886 PyObject
* _argo0
= 0;
5887 char *_kwnames
[] = { "self", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5900 wxPy_BEGIN_ALLOW_THREADS
;
5901 wxPanel_InitDialog(_arg0
);
5903 wxPy_END_ALLOW_THREADS
;
5904 if (PyErr_Occurred()) return NULL
;
5905 } Py_INCREF(Py_None
);
5906 _resultobj
= Py_None
;
5910 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5911 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5915 PyObject
* _argo0
= 0;
5916 char *_kwnames
[] = { "self", NULL
};
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5929 wxPy_BEGIN_ALLOW_THREADS
;
5930 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5932 wxPy_END_ALLOW_THREADS
;
5933 if (PyErr_Occurred()) return NULL
;
5934 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5938 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5939 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5943 PyObject
* _argo0
= 0;
5944 PyObject
* _argo1
= 0;
5945 char *_kwnames
[] = { "self","btn", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5968 wxPy_END_ALLOW_THREADS
;
5969 if (PyErr_Occurred()) return NULL
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5975 static void *SwigwxDialogTowxPanel(void *ptr
) {
5978 src
= (wxDialog
*) ptr
;
5979 dest
= (wxPanel
*) src
;
5980 return (void *) dest
;
5983 static void *SwigwxDialogTowxWindow(void *ptr
) {
5986 src
= (wxDialog
*) ptr
;
5987 dest
= (wxWindow
*) src
;
5988 return (void *) dest
;
5991 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5994 src
= (wxDialog
*) ptr
;
5995 dest
= (wxEvtHandler
*) src
;
5996 return (void *) dest
;
5999 static void *SwigwxDialogTowxObject(void *ptr
) {
6002 src
= (wxDialog
*) ptr
;
6003 dest
= (wxObject
*) src
;
6004 return (void *) dest
;
6007 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6008 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6014 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6015 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6016 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
6017 char * _arg6
= (char *) "dialogBox";
6018 PyObject
* _argo0
= 0;
6019 PyObject
* _obj2
= 0;
6021 PyObject
* _obj3
= 0;
6023 PyObject
* _obj4
= 0;
6024 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
6038 #if PYTHON_API_VERSION >= 1009
6039 char* tmpPtr
; int tmpSize
;
6040 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6044 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6046 _arg2
= new wxString(tmpPtr
, tmpSize
);
6048 if (!PyString_Check(_obj2
)) {
6049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6052 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6058 if (! wxPoint_helper(_obj3
, &_arg3
))
6064 if (! wxSize_helper(_obj4
, &_arg4
))
6068 wxPy_BEGIN_ALLOW_THREADS
;
6069 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6071 wxPy_END_ALLOW_THREADS
;
6072 if (PyErr_Occurred()) return NULL
;
6074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
6075 _resultobj
= Py_BuildValue("s",_ptemp
);
6078 _resultobj
= Py_None
;
6087 #define new_wxPreDialog() (new wxDialog())
6088 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6091 char *_kwnames
[] = { NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
6098 wxPy_BEGIN_ALLOW_THREADS
;
6099 _result
= (wxDialog
*)new_wxPreDialog();
6101 wxPy_END_ALLOW_THREADS
;
6102 if (PyErr_Occurred()) return NULL
;
6104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
6105 _resultobj
= Py_BuildValue("s",_ptemp
);
6108 _resultobj
= Py_None
;
6113 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6114 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6121 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6122 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6123 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
6124 char * _arg7
= (char *) "dialogBox";
6125 PyObject
* _argo0
= 0;
6126 PyObject
* _argo1
= 0;
6127 PyObject
* _obj3
= 0;
6129 PyObject
* _obj4
= 0;
6131 PyObject
* _obj5
= 0;
6132 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
6138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
6145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
6152 #if PYTHON_API_VERSION >= 1009
6153 char* tmpPtr
; int tmpSize
;
6154 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6158 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6160 _arg3
= new wxString(tmpPtr
, tmpSize
);
6162 if (!PyString_Check(_obj3
)) {
6163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6166 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6172 if (! wxPoint_helper(_obj4
, &_arg4
))
6178 if (! wxSize_helper(_obj5
, &_arg5
))
6182 wxPy_BEGIN_ALLOW_THREADS
;
6183 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
6185 wxPy_END_ALLOW_THREADS
;
6186 if (PyErr_Occurred()) return NULL
;
6187 } _resultobj
= Py_BuildValue("i",_result
);
6195 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
6196 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6199 int _arg1
= (int ) wxBOTH
;
6200 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self","direction", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
6214 wxPy_BEGIN_ALLOW_THREADS
;
6215 wxDialog_Centre(_arg0
,_arg1
);
6217 wxPy_END_ALLOW_THREADS
;
6218 if (PyErr_Occurred()) return NULL
;
6219 } Py_INCREF(Py_None
);
6220 _resultobj
= Py_None
;
6224 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
6225 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6229 PyObject
* _argo0
= 0;
6230 char *_kwnames
[] = { "self","retCode", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
6243 wxPy_BEGIN_ALLOW_THREADS
;
6244 wxDialog_EndModal(_arg0
,_arg1
);
6246 wxPy_END_ALLOW_THREADS
;
6247 if (PyErr_Occurred()) return NULL
;
6248 } Py_INCREF(Py_None
);
6249 _resultobj
= Py_None
;
6253 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
6254 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= new wxString (wxDialog_GetTitle(_arg0
));
6275 wxPy_END_ALLOW_THREADS
;
6276 if (PyErr_Occurred()) return NULL
;
6278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6286 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
6287 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6291 PyObject
* _argo0
= 0;
6293 char *_kwnames
[] = { "self","iconize", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
6305 _arg1
= (bool ) tempbool1
;
6307 wxPy_BEGIN_ALLOW_THREADS
;
6308 wxDialog_Iconize(_arg0
,_arg1
);
6310 wxPy_END_ALLOW_THREADS
;
6311 if (PyErr_Occurred()) return NULL
;
6312 } Py_INCREF(Py_None
);
6313 _resultobj
= Py_None
;
6317 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
6318 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
* _resultobj
;
6322 PyObject
* _argo0
= 0;
6323 char *_kwnames
[] = { "self", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
6336 wxPy_BEGIN_ALLOW_THREADS
;
6337 _result
= (bool )wxDialog_IsIconized(_arg0
);
6339 wxPy_END_ALLOW_THREADS
;
6340 if (PyErr_Occurred()) return NULL
;
6341 } _resultobj
= Py_BuildValue("i",_result
);
6345 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
6346 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
* _resultobj
;
6350 PyObject
* _argo0
= 0;
6352 char *_kwnames
[] = { "self","flag", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
6364 _arg1
= (bool ) tempbool1
;
6366 wxPy_BEGIN_ALLOW_THREADS
;
6367 wxDialog_SetModal(_arg0
,_arg1
);
6369 wxPy_END_ALLOW_THREADS
;
6370 if (PyErr_Occurred()) return NULL
;
6371 } Py_INCREF(Py_None
);
6372 _resultobj
= Py_None
;
6376 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
6377 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
6395 wxPy_BEGIN_ALLOW_THREADS
;
6396 _result
= (bool )wxDialog_IsModal(_arg0
);
6398 wxPy_END_ALLOW_THREADS
;
6399 if (PyErr_Occurred()) return NULL
;
6400 } _resultobj
= Py_BuildValue("i",_result
);
6404 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6405 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6409 PyObject
* _argo0
= 0;
6410 PyObject
* _obj1
= 0;
6411 char *_kwnames
[] = { "self","title", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
6424 #if PYTHON_API_VERSION >= 1009
6425 char* tmpPtr
; int tmpSize
;
6426 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6430 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6432 _arg1
= new wxString(tmpPtr
, tmpSize
);
6434 if (!PyString_Check(_obj1
)) {
6435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6438 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6442 wxPy_BEGIN_ALLOW_THREADS
;
6443 wxDialog_SetTitle(_arg0
,*_arg1
);
6445 wxPy_END_ALLOW_THREADS
;
6446 if (PyErr_Occurred()) return NULL
;
6447 } Py_INCREF(Py_None
);
6448 _resultobj
= Py_None
;
6456 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6457 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6462 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self","show", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
6476 _arg1
= (bool ) tempbool1
;
6478 wxPy_BEGIN_ALLOW_THREADS
;
6479 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
6481 wxPy_END_ALLOW_THREADS
;
6482 if (PyErr_Occurred()) return NULL
;
6483 } _resultobj
= Py_BuildValue("i",_result
);
6487 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
6488 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
6506 wxPy_BEGIN_ALLOW_THREADS
;
6507 _result
= (int )wxDialog_ShowModal(_arg0
);
6509 wxPy_END_ALLOW_THREADS
;
6510 if (PyErr_Occurred()) return NULL
;
6511 } _resultobj
= Py_BuildValue("i",_result
);
6515 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
6516 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6520 PyObject
* _argo0
= 0;
6521 char *_kwnames
[] = { "self", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
6534 wxPy_BEGIN_ALLOW_THREADS
;
6535 _result
= (int )wxDialog_GetReturnCode(_arg0
);
6537 wxPy_END_ALLOW_THREADS
;
6538 if (PyErr_Occurred()) return NULL
;
6539 } _resultobj
= Py_BuildValue("i",_result
);
6543 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
6544 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
* _resultobj
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self","retCode", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
6562 wxPy_BEGIN_ALLOW_THREADS
;
6563 wxDialog_SetReturnCode(_arg0
,_arg1
);
6565 wxPy_END_ALLOW_THREADS
;
6566 if (PyErr_Occurred()) return NULL
;
6567 } Py_INCREF(Py_None
);
6568 _resultobj
= Py_None
;
6572 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
6573 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 PyObject
* _obj1
= 0;
6580 char *_kwnames
[] = { "self","message", NULL
};
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
6586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
6593 #if PYTHON_API_VERSION >= 1009
6594 char* tmpPtr
; int tmpSize
;
6595 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6599 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6601 _arg1
= new wxString(tmpPtr
, tmpSize
);
6603 if (!PyString_Check(_obj1
)) {
6604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6607 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
6614 wxPy_END_ALLOW_THREADS
;
6615 if (PyErr_Occurred()) return NULL
;
6616 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6624 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
6625 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self","flags", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
6647 wxPy_END_ALLOW_THREADS
;
6648 if (PyErr_Occurred()) return NULL
;
6649 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6653 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6654 wxScrolledWindow
*src
;
6656 src
= (wxScrolledWindow
*) ptr
;
6657 dest
= (wxPanel
*) src
;
6658 return (void *) dest
;
6661 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6662 wxScrolledWindow
*src
;
6664 src
= (wxScrolledWindow
*) ptr
;
6665 dest
= (wxWindow
*) src
;
6666 return (void *) dest
;
6669 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6670 wxScrolledWindow
*src
;
6672 src
= (wxScrolledWindow
*) ptr
;
6673 dest
= (wxEvtHandler
*) src
;
6674 return (void *) dest
;
6677 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6678 wxScrolledWindow
*src
;
6680 src
= (wxScrolledWindow
*) ptr
;
6681 dest
= (wxObject
*) src
;
6682 return (void *) dest
;
6685 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6686 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6688 wxScrolledWindow
* _result
;
6690 wxWindowID _arg1
= (wxWindowID
) -1;
6691 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6692 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6693 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6694 char * _arg5
= (char *) "scrolledWindow";
6695 PyObject
* _argo0
= 0;
6697 PyObject
* _obj2
= 0;
6699 PyObject
* _obj3
= 0;
6700 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6716 if (! wxPoint_helper(_obj2
, &_arg2
))
6722 if (! wxSize_helper(_obj3
, &_arg3
))
6726 wxPy_BEGIN_ALLOW_THREADS
;
6727 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6729 wxPy_END_ALLOW_THREADS
;
6730 if (PyErr_Occurred()) return NULL
;
6732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6733 _resultobj
= Py_BuildValue("s",_ptemp
);
6736 _resultobj
= Py_None
;
6741 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6742 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6744 wxScrolledWindow
* _result
;
6745 char *_kwnames
[] = { NULL
};
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6755 wxPy_END_ALLOW_THREADS
;
6756 if (PyErr_Occurred()) return NULL
;
6758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6759 _resultobj
= Py_BuildValue("s",_ptemp
);
6762 _resultobj
= Py_None
;
6767 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6768 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
* _resultobj
;
6771 wxScrolledWindow
* _arg0
;
6773 wxWindowID _arg2
= (wxWindowID
) -1;
6774 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6775 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6776 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6777 char * _arg6
= (char *) "scrolledWindow";
6778 PyObject
* _argo0
= 0;
6779 PyObject
* _argo1
= 0;
6781 PyObject
* _obj3
= 0;
6783 PyObject
* _obj4
= 0;
6784 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6806 if (! wxPoint_helper(_obj3
, &_arg3
))
6812 if (! wxSize_helper(_obj4
, &_arg4
))
6816 wxPy_BEGIN_ALLOW_THREADS
;
6817 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6819 wxPy_END_ALLOW_THREADS
;
6820 if (PyErr_Occurred()) return NULL
;
6821 } _resultobj
= Py_BuildValue("i",_result
);
6825 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6826 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
* _resultobj
;
6828 wxScrolledWindow
* _arg0
;
6831 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6846 _arg1
= (bool ) tempbool1
;
6847 _arg2
= (bool ) tempbool2
;
6849 wxPy_BEGIN_ALLOW_THREADS
;
6850 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6852 wxPy_END_ALLOW_THREADS
;
6853 if (PyErr_Occurred()) return NULL
;
6854 } Py_INCREF(Py_None
);
6855 _resultobj
= Py_None
;
6859 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6860 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6863 wxScrolledWindow
* _arg0
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self","orient", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6879 wxPy_BEGIN_ALLOW_THREADS
;
6880 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6882 wxPy_END_ALLOW_THREADS
;
6883 if (PyErr_Occurred()) return NULL
;
6884 } _resultobj
= Py_BuildValue("i",_result
);
6888 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6889 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6891 wxScrolledWindow
* _arg0
;
6896 PyObject
* _argo0
= 0;
6897 char *_kwnames
[] = { "self", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6916 wxPy_BEGIN_ALLOW_THREADS
;
6917 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6919 wxPy_END_ALLOW_THREADS
;
6920 if (PyErr_Occurred()) return NULL
;
6921 } Py_INCREF(Py_None
);
6922 _resultobj
= Py_None
;
6925 o
= PyInt_FromLong((long) (*_arg1
));
6926 _resultobj
= t_output_helper(_resultobj
, o
);
6930 o
= PyInt_FromLong((long) (*_arg2
));
6931 _resultobj
= t_output_helper(_resultobj
, o
);
6936 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6937 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6940 wxScrolledWindow
* _arg0
;
6941 PyObject
* _argo0
= 0;
6942 char *_kwnames
[] = { "self", NULL
};
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6955 wxPy_BEGIN_ALLOW_THREADS
;
6956 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6958 wxPy_END_ALLOW_THREADS
;
6959 if (PyErr_Occurred()) return NULL
;
6960 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6964 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6965 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
* _resultobj
;
6967 wxScrolledWindow
* _arg0
;
6972 PyObject
* _argo0
= 0;
6973 char *_kwnames
[] = { "self", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6992 wxPy_BEGIN_ALLOW_THREADS
;
6993 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6995 wxPy_END_ALLOW_THREADS
;
6996 if (PyErr_Occurred()) return NULL
;
6997 } Py_INCREF(Py_None
);
6998 _resultobj
= Py_None
;
7001 o
= PyInt_FromLong((long) (*_arg1
));
7002 _resultobj
= t_output_helper(_resultobj
, o
);
7006 o
= PyInt_FromLong((long) (*_arg2
));
7007 _resultobj
= t_output_helper(_resultobj
, o
);
7012 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7013 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7016 wxScrolledWindow
* _arg0
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7031 wxPy_BEGIN_ALLOW_THREADS
;
7032 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7034 wxPy_END_ALLOW_THREADS
;
7035 if (PyErr_Occurred()) return NULL
;
7036 } _resultobj
= Py_BuildValue("i",_result
);
7040 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7041 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7043 wxScrolledWindow
* _arg0
;
7045 PyObject
* _argo0
= 0;
7046 PyObject
* _argo1
= 0;
7047 char *_kwnames
[] = { "self","dc", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7067 wxPy_BEGIN_ALLOW_THREADS
;
7068 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7070 wxPy_END_ALLOW_THREADS
;
7071 if (PyErr_Occurred()) return NULL
;
7072 } Py_INCREF(Py_None
);
7073 _resultobj
= Py_None
;
7077 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7078 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7080 wxScrolledWindow
* _arg0
;
7083 PyObject
* _argo0
= 0;
7084 char *_kwnames
[] = { "self","x","y", NULL
};
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7097 wxPy_BEGIN_ALLOW_THREADS
;
7098 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7100 wxPy_END_ALLOW_THREADS
;
7101 if (PyErr_Occurred()) return NULL
;
7102 } Py_INCREF(Py_None
);
7103 _resultobj
= Py_None
;
7107 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7108 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7110 wxScrolledWindow
* _arg0
;
7115 int _arg5
= (int ) 0;
7116 int _arg6
= (int ) 0;
7117 int _arg7
= (int ) FALSE
;
7118 PyObject
* _argo0
= 0;
7119 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7132 wxPy_BEGIN_ALLOW_THREADS
;
7133 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7135 wxPy_END_ALLOW_THREADS
;
7136 if (PyErr_Occurred()) return NULL
;
7137 } Py_INCREF(Py_None
);
7138 _resultobj
= Py_None
;
7142 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7143 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7145 wxScrolledWindow
* _arg0
;
7148 PyObject
* _argo0
= 0;
7149 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7162 wxPy_BEGIN_ALLOW_THREADS
;
7163 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7165 wxPy_END_ALLOW_THREADS
;
7166 if (PyErr_Occurred()) return NULL
;
7167 } Py_INCREF(Py_None
);
7168 _resultobj
= Py_None
;
7172 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7173 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7175 wxScrolledWindow
* _arg0
;
7177 PyObject
* _argo0
= 0;
7178 PyObject
* _argo1
= 0;
7179 char *_kwnames
[] = { "self","window", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7199 wxPy_BEGIN_ALLOW_THREADS
;
7200 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7202 wxPy_END_ALLOW_THREADS
;
7203 if (PyErr_Occurred()) return NULL
;
7204 } Py_INCREF(Py_None
);
7205 _resultobj
= Py_None
;
7209 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7210 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7212 wxScrolledWindow
* _arg0
;
7217 PyObject
* _argo0
= 0;
7218 char *_kwnames
[] = { "self", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7237 wxPy_BEGIN_ALLOW_THREADS
;
7238 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7240 wxPy_END_ALLOW_THREADS
;
7241 if (PyErr_Occurred()) return NULL
;
7242 } Py_INCREF(Py_None
);
7243 _resultobj
= Py_None
;
7246 o
= PyInt_FromLong((long) (*_arg1
));
7247 _resultobj
= t_output_helper(_resultobj
, o
);
7251 o
= PyInt_FromLong((long) (*_arg2
));
7252 _resultobj
= t_output_helper(_resultobj
, o
);
7257 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7258 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
* _resultobj
;
7260 wxScrolledWindow
* _arg0
;
7267 PyObject
* _argo0
= 0;
7268 char *_kwnames
[] = { "self","x","y", NULL
};
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
7287 wxPy_BEGIN_ALLOW_THREADS
;
7288 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7290 wxPy_END_ALLOW_THREADS
;
7291 if (PyErr_Occurred()) return NULL
;
7292 } Py_INCREF(Py_None
);
7293 _resultobj
= Py_None
;
7296 o
= PyInt_FromLong((long) (*_arg3
));
7297 _resultobj
= t_output_helper(_resultobj
, o
);
7301 o
= PyInt_FromLong((long) (*_arg4
));
7302 _resultobj
= t_output_helper(_resultobj
, o
);
7307 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7308 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
* _resultobj
;
7310 wxScrolledWindow
* _arg0
;
7317 PyObject
* _argo0
= 0;
7318 char *_kwnames
[] = { "self","x","y", NULL
};
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
7337 wxPy_BEGIN_ALLOW_THREADS
;
7338 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7340 wxPy_END_ALLOW_THREADS
;
7341 if (PyErr_Occurred()) return NULL
;
7342 } Py_INCREF(Py_None
);
7343 _resultobj
= Py_None
;
7346 o
= PyInt_FromLong((long) (*_arg3
));
7347 _resultobj
= t_output_helper(_resultobj
, o
);
7351 o
= PyInt_FromLong((long) (*_arg4
));
7352 _resultobj
= t_output_helper(_resultobj
, o
);
7357 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7358 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
* _resultobj
;
7360 wxScrolledWindow
* _arg0
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self","xs","ys", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7377 wxPy_BEGIN_ALLOW_THREADS
;
7378 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7380 wxPy_END_ALLOW_THREADS
;
7381 if (PyErr_Occurred()) return NULL
;
7382 } Py_INCREF(Py_None
);
7383 _resultobj
= Py_None
;
7387 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7388 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7391 wxScrolledWindow
* _arg0
;
7392 PyObject
* _argo0
= 0;
7393 char *_kwnames
[] = { "self", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7406 wxPy_BEGIN_ALLOW_THREADS
;
7407 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7409 wxPy_END_ALLOW_THREADS
;
7410 if (PyErr_Occurred()) return NULL
;
7411 } _resultobj
= Py_BuildValue("d",_result
);
7415 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7416 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7419 wxScrolledWindow
* _arg0
;
7420 PyObject
* _argo0
= 0;
7421 char *_kwnames
[] = { "self", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7434 wxPy_BEGIN_ALLOW_THREADS
;
7435 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7437 wxPy_END_ALLOW_THREADS
;
7438 if (PyErr_Occurred()) return NULL
;
7439 } _resultobj
= Py_BuildValue("d",_result
);
7443 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7444 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7446 wxScrolledWindow
* _arg0
;
7447 PyObject
* _argo0
= 0;
7448 char *_kwnames
[] = { "self", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7461 wxPy_BEGIN_ALLOW_THREADS
;
7462 wxScrolledWindow_AdjustScrollbars(_arg0
);
7464 wxPy_END_ALLOW_THREADS
;
7465 if (PyErr_Occurred()) return NULL
;
7466 } Py_INCREF(Py_None
);
7467 _resultobj
= Py_None
;
7471 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7474 src
= (wxMenu
*) ptr
;
7475 dest
= (wxEvtHandler
*) src
;
7476 return (void *) dest
;
7479 static void *SwigwxMenuTowxObject(void *ptr
) {
7482 src
= (wxMenu
*) ptr
;
7483 dest
= (wxObject
*) src
;
7484 return (void *) dest
;
7487 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7488 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7491 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
7492 long _arg1
= (long ) 0;
7493 PyObject
* _obj0
= 0;
7494 char *_kwnames
[] = { "title","style", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7502 #if PYTHON_API_VERSION >= 1009
7503 char* tmpPtr
; int tmpSize
;
7504 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7508 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7510 _arg0
= new wxString(tmpPtr
, tmpSize
);
7512 if (!PyString_Check(_obj0
)) {
7513 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7516 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7520 wxPy_BEGIN_ALLOW_THREADS
;
7521 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7523 wxPy_END_ALLOW_THREADS
;
7524 if (PyErr_Occurred()) return NULL
;
7526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7527 _resultobj
= Py_BuildValue("s",_ptemp
);
7530 _resultobj
= Py_None
;
7539 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7540 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
* _resultobj
;
7545 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7546 int _arg4
= (int ) FALSE
;
7547 PyObject
* _argo0
= 0;
7548 PyObject
* _obj2
= 0;
7549 PyObject
* _obj3
= 0;
7550 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7563 #if PYTHON_API_VERSION >= 1009
7564 char* tmpPtr
; int tmpSize
;
7565 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7569 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7571 _arg2
= new wxString(tmpPtr
, tmpSize
);
7573 if (!PyString_Check(_obj2
)) {
7574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7577 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7582 #if PYTHON_API_VERSION >= 1009
7583 char* tmpPtr
; int tmpSize
;
7584 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7588 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7590 _arg3
= new wxString(tmpPtr
, tmpSize
);
7592 if (!PyString_Check(_obj3
)) {
7593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7596 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7600 wxPy_BEGIN_ALLOW_THREADS
;
7601 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7603 wxPy_END_ALLOW_THREADS
;
7604 if (PyErr_Occurred()) return NULL
;
7605 } Py_INCREF(Py_None
);
7606 _resultobj
= Py_None
;
7618 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7619 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7625 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
7626 PyObject
* _argo0
= 0;
7627 PyObject
* _obj2
= 0;
7628 PyObject
* _argo3
= 0;
7629 PyObject
* _obj4
= 0;
7630 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7643 #if PYTHON_API_VERSION >= 1009
7644 char* tmpPtr
; int tmpSize
;
7645 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7649 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7651 _arg2
= new wxString(tmpPtr
, tmpSize
);
7653 if (!PyString_Check(_obj2
)) {
7654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7657 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7661 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7662 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7669 #if PYTHON_API_VERSION >= 1009
7670 char* tmpPtr
; int tmpSize
;
7671 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
7672 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7675 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
7677 _arg4
= new wxString(tmpPtr
, tmpSize
);
7679 if (!PyString_Check(_obj4
)) {
7680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7683 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
7687 wxPy_BEGIN_ALLOW_THREADS
;
7688 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7690 wxPy_END_ALLOW_THREADS
;
7691 if (PyErr_Occurred()) return NULL
;
7692 } Py_INCREF(Py_None
);
7693 _resultobj
= Py_None
;
7705 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7706 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
* _resultobj
;
7710 PyObject
* _argo0
= 0;
7711 PyObject
* _argo1
= 0;
7712 char *_kwnames
[] = { "self","item", NULL
};
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 wxMenu_AppendItem(_arg0
,_arg1
);
7735 wxPy_END_ALLOW_THREADS
;
7736 if (PyErr_Occurred()) return NULL
;
7737 } Py_INCREF(Py_None
);
7738 _resultobj
= Py_None
;
7742 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7743 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7760 wxPy_BEGIN_ALLOW_THREADS
;
7761 wxMenu_AppendSeparator(_arg0
);
7763 wxPy_END_ALLOW_THREADS
;
7764 if (PyErr_Occurred()) return NULL
;
7765 } Py_INCREF(Py_None
);
7766 _resultobj
= Py_None
;
7770 #define wxMenu_Break(_swigobj) (_swigobj->Break())
7771 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7774 PyObject
* _argo0
= 0;
7775 char *_kwnames
[] = { "self", NULL
};
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
7781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
7788 wxPy_BEGIN_ALLOW_THREADS
;
7789 wxMenu_Break(_arg0
);
7791 wxPy_END_ALLOW_THREADS
;
7792 if (PyErr_Occurred()) return NULL
;
7793 } Py_INCREF(Py_None
);
7794 _resultobj
= Py_None
;
7798 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7799 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7804 PyObject
* _argo0
= 0;
7806 char *_kwnames
[] = { "self","id","flag", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
7818 _arg2
= (bool ) tempbool2
;
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 wxMenu_Check(_arg0
,_arg1
,_arg2
);
7823 wxPy_END_ALLOW_THREADS
;
7824 if (PyErr_Occurred()) return NULL
;
7825 } Py_INCREF(Py_None
);
7826 _resultobj
= Py_None
;
7830 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7831 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7836 PyObject
* _argo0
= 0;
7837 char *_kwnames
[] = { "self","id", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
7850 wxPy_BEGIN_ALLOW_THREADS
;
7851 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
7853 wxPy_END_ALLOW_THREADS
;
7854 if (PyErr_Occurred()) return NULL
;
7855 } _resultobj
= Py_BuildValue("i",_result
);
7859 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7860 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
* _resultobj
;
7865 PyObject
* _argo0
= 0;
7867 char *_kwnames
[] = { "self","id","enable", NULL
};
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
7879 _arg2
= (bool ) tempbool2
;
7881 wxPy_BEGIN_ALLOW_THREADS
;
7882 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
7884 wxPy_END_ALLOW_THREADS
;
7885 if (PyErr_Occurred()) return NULL
;
7886 } Py_INCREF(Py_None
);
7887 _resultobj
= Py_None
;
7891 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7892 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
* _resultobj
;
7897 PyObject
* _argo0
= 0;
7898 char *_kwnames
[] = { "self","id", NULL
};
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
7911 wxPy_BEGIN_ALLOW_THREADS
;
7912 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
7914 wxPy_END_ALLOW_THREADS
;
7915 if (PyErr_Occurred()) return NULL
;
7916 } _resultobj
= Py_BuildValue("i",_result
);
7920 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7921 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7926 PyObject
* _argo0
= 0;
7927 PyObject
* _obj1
= 0;
7928 char *_kwnames
[] = { "self","itemString", NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
7934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
7941 #if PYTHON_API_VERSION >= 1009
7942 char* tmpPtr
; int tmpSize
;
7943 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7947 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7949 _arg1
= new wxString(tmpPtr
, tmpSize
);
7951 if (!PyString_Check(_obj1
)) {
7952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7955 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7959 wxPy_BEGIN_ALLOW_THREADS
;
7960 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7962 wxPy_END_ALLOW_THREADS
;
7963 if (PyErr_Occurred()) return NULL
;
7964 } _resultobj
= Py_BuildValue("i",_result
);
7972 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7973 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
* _resultobj
;
7975 wxMenuItem
* _result
;
7978 PyObject
* _argo0
= 0;
7979 char *_kwnames
[] = { "self","id", NULL
};
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7992 wxPy_BEGIN_ALLOW_THREADS
;
7993 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7995 wxPy_END_ALLOW_THREADS
;
7996 if (PyErr_Occurred()) return NULL
;
7997 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8001 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8002 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
* _resultobj
;
8006 PyObject
* _argo0
= 0;
8007 char *_kwnames
[] = { "self", NULL
};
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8020 wxPy_BEGIN_ALLOW_THREADS
;
8021 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8023 wxPy_END_ALLOW_THREADS
;
8024 if (PyErr_Occurred()) return NULL
;
8026 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8034 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8035 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8039 PyObject
* _argo0
= 0;
8040 PyObject
* _obj1
= 0;
8041 char *_kwnames
[] = { "self","title", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8054 #if PYTHON_API_VERSION >= 1009
8055 char* tmpPtr
; int tmpSize
;
8056 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8060 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8062 _arg1
= new wxString(tmpPtr
, tmpSize
);
8064 if (!PyString_Check(_obj1
)) {
8065 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8068 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8072 wxPy_BEGIN_ALLOW_THREADS
;
8073 wxMenu_SetTitle(_arg0
,*_arg1
);
8075 wxPy_END_ALLOW_THREADS
;
8076 if (PyErr_Occurred()) return NULL
;
8077 } Py_INCREF(Py_None
);
8078 _resultobj
= Py_None
;
8086 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8087 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8092 PyObject
* _argo0
= 0;
8093 char *_kwnames
[] = { "self","id", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8106 wxPy_BEGIN_ALLOW_THREADS
;
8107 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8109 wxPy_END_ALLOW_THREADS
;
8110 if (PyErr_Occurred()) return NULL
;
8112 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8120 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8121 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
* _resultobj
;
8126 PyObject
* _argo0
= 0;
8127 PyObject
* _obj2
= 0;
8128 char *_kwnames
[] = { "self","id","label", NULL
};
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8141 #if PYTHON_API_VERSION >= 1009
8142 char* tmpPtr
; int tmpSize
;
8143 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8147 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8149 _arg2
= new wxString(tmpPtr
, tmpSize
);
8151 if (!PyString_Check(_obj2
)) {
8152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8155 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8159 wxPy_BEGIN_ALLOW_THREADS
;
8160 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8162 wxPy_END_ALLOW_THREADS
;
8163 if (PyErr_Occurred()) return NULL
;
8164 } Py_INCREF(Py_None
);
8165 _resultobj
= Py_None
;
8173 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8174 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
* _resultobj
;
8179 PyObject
* _argo0
= 0;
8180 char *_kwnames
[] = { "self","id", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_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_GetHelpString. Expected _wxMenu_p.");
8193 wxPy_BEGIN_ALLOW_THREADS
;
8194 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8196 wxPy_END_ALLOW_THREADS
;
8197 if (PyErr_Occurred()) return NULL
;
8199 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8207 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8208 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8213 PyObject
* _argo0
= 0;
8214 PyObject
* _obj2
= 0;
8215 char *_kwnames
[] = { "self","id","helpString", NULL
};
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8228 #if PYTHON_API_VERSION >= 1009
8229 char* tmpPtr
; int tmpSize
;
8230 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8234 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8236 _arg2
= new wxString(tmpPtr
, tmpSize
);
8238 if (!PyString_Check(_obj2
)) {
8239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8242 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8246 wxPy_BEGIN_ALLOW_THREADS
;
8247 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8249 wxPy_END_ALLOW_THREADS
;
8250 if (PyErr_Occurred()) return NULL
;
8251 } Py_INCREF(Py_None
);
8252 _resultobj
= Py_None
;
8260 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8261 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8264 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8265 PyObject
* _argo0
= 0;
8266 PyObject
* _argo1
= 0;
8267 char *_kwnames
[] = { "self","source", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
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_UpdateUI. Expected _wxMenu_p.");
8280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8287 wxPy_BEGIN_ALLOW_THREADS
;
8288 wxMenu_UpdateUI(_arg0
,_arg1
);
8290 wxPy_END_ALLOW_THREADS
;
8291 if (PyErr_Occurred()) return NULL
;
8292 } Py_INCREF(Py_None
);
8293 _resultobj
= Py_None
;
8297 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8298 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8303 PyObject
* _argo0
= 0;
8304 char *_kwnames
[] = { "self","id", NULL
};
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8317 wxPy_BEGIN_ALLOW_THREADS
;
8318 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8320 wxPy_END_ALLOW_THREADS
;
8321 if (PyErr_Occurred()) return NULL
;
8322 } _resultobj
= Py_BuildValue("i",_result
);
8326 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8327 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
* _resultobj
;
8332 PyObject
* _argo0
= 0;
8333 PyObject
* _argo1
= 0;
8334 char *_kwnames
[] = { "self","item", NULL
};
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8354 wxPy_BEGIN_ALLOW_THREADS
;
8355 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8357 wxPy_END_ALLOW_THREADS
;
8358 if (PyErr_Occurred()) return NULL
;
8359 } _resultobj
= Py_BuildValue("i",_result
);
8363 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8364 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
* _resultobj
;
8370 PyObject
* _argo0
= 0;
8371 PyObject
* _argo2
= 0;
8372 char *_kwnames
[] = { "self","pos","item", NULL
};
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8385 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8386 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
8392 wxPy_BEGIN_ALLOW_THREADS
;
8393 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
8395 wxPy_END_ALLOW_THREADS
;
8396 if (PyErr_Occurred()) return NULL
;
8397 } _resultobj
= Py_BuildValue("i",_result
);
8401 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8402 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8404 wxMenuItem
* _result
;
8407 PyObject
* _argo0
= 0;
8408 char *_kwnames
[] = { "self","id", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8421 wxPy_BEGIN_ALLOW_THREADS
;
8422 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8424 wxPy_END_ALLOW_THREADS
;
8425 if (PyErr_Occurred()) return NULL
;
8426 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8430 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8431 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8433 wxMenuItem
* _result
;
8436 PyObject
* _argo0
= 0;
8437 PyObject
* _argo1
= 0;
8438 char *_kwnames
[] = { "self","item", NULL
};
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8458 wxPy_BEGIN_ALLOW_THREADS
;
8459 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8461 wxPy_END_ALLOW_THREADS
;
8462 if (PyErr_Occurred()) return NULL
;
8463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8467 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8468 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
* _resultobj
;
8471 PyObject
* _argo0
= 0;
8472 char *_kwnames
[] = { "self", NULL
};
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8485 wxPy_BEGIN_ALLOW_THREADS
;
8486 wxMenu_Destroy(_arg0
);
8488 wxPy_END_ALLOW_THREADS
;
8489 if (PyErr_Occurred()) return NULL
;
8490 } Py_INCREF(Py_None
);
8491 _resultobj
= Py_None
;
8495 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8496 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
* _resultobj
;
8501 PyObject
* _argo0
= 0;
8502 char *_kwnames
[] = { "self","id", NULL
};
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8515 wxPy_BEGIN_ALLOW_THREADS
;
8516 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8518 wxPy_END_ALLOW_THREADS
;
8519 if (PyErr_Occurred()) return NULL
;
8520 } _resultobj
= Py_BuildValue("i",_result
);
8524 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8525 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8530 PyObject
* _argo0
= 0;
8531 PyObject
* _argo1
= 0;
8532 char *_kwnames
[] = { "self","item", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8552 wxPy_BEGIN_ALLOW_THREADS
;
8553 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8555 wxPy_END_ALLOW_THREADS
;
8556 if (PyErr_Occurred()) return NULL
;
8557 } _resultobj
= Py_BuildValue("i",_result
);
8561 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8562 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
* _resultobj
;
8566 PyObject
* _argo0
= 0;
8567 char *_kwnames
[] = { "self", NULL
};
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8580 wxPy_BEGIN_ALLOW_THREADS
;
8581 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8583 wxPy_END_ALLOW_THREADS
;
8584 if (PyErr_Occurred()) return NULL
;
8585 } _resultobj
= Py_BuildValue("i",_result
);
8589 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8590 wxMenuItemList
& list
= self
->GetMenuItems();
8591 return wxPy_ConvertList(&list
, "wxMenuItem");
8593 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8597 PyObject
* _argo0
= 0;
8598 char *_kwnames
[] = { "self", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8611 wxPy_BEGIN_ALLOW_THREADS
;
8612 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8614 wxPy_END_ALLOW_THREADS
;
8615 if (PyErr_Occurred()) return NULL
;
8617 _resultobj
= _result
;
8622 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8623 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8626 wxEvtHandler
* _arg1
;
8627 PyObject
* _argo0
= 0;
8628 PyObject
* _argo1
= 0;
8629 char *_kwnames
[] = { "self","handler", NULL
};
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8649 wxPy_BEGIN_ALLOW_THREADS
;
8650 wxMenu_SetEventHandler(_arg0
,_arg1
);
8652 wxPy_END_ALLOW_THREADS
;
8653 if (PyErr_Occurred()) return NULL
;
8654 } Py_INCREF(Py_None
);
8655 _resultobj
= Py_None
;
8659 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8660 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
* _resultobj
;
8662 wxEvtHandler
* _result
;
8664 PyObject
* _argo0
= 0;
8665 char *_kwnames
[] = { "self", NULL
};
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8678 wxPy_BEGIN_ALLOW_THREADS
;
8679 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8681 wxPy_END_ALLOW_THREADS
;
8682 if (PyErr_Occurred()) return NULL
;
8683 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8687 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8688 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8692 PyObject
* _argo0
= 0;
8693 PyObject
* _argo1
= 0;
8694 char *_kwnames
[] = { "self","win", NULL
};
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
8714 wxPy_BEGIN_ALLOW_THREADS
;
8715 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
8717 wxPy_END_ALLOW_THREADS
;
8718 if (PyErr_Occurred()) return NULL
;
8719 } Py_INCREF(Py_None
);
8720 _resultobj
= Py_None
;
8724 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
8725 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8729 PyObject
* _argo0
= 0;
8730 char *_kwnames
[] = { "self", NULL
};
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
8736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8743 wxPy_BEGIN_ALLOW_THREADS
;
8744 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
8746 wxPy_END_ALLOW_THREADS
;
8747 if (PyErr_Occurred()) return NULL
;
8748 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8752 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
8753 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
* _resultobj
;
8757 PyObject
* _argo0
= 0;
8758 char *_kwnames
[] = { "self", NULL
};
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
8764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8771 wxPy_BEGIN_ALLOW_THREADS
;
8772 _result
= (long )wxMenu_GetStyle(_arg0
);
8774 wxPy_END_ALLOW_THREADS
;
8775 if (PyErr_Occurred()) return NULL
;
8776 } _resultobj
= Py_BuildValue("l",_result
);
8780 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
8781 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
* _resultobj
;
8785 PyObject
* _argo0
= 0;
8786 char *_kwnames
[] = { "self", NULL
};
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
8792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8799 wxPy_BEGIN_ALLOW_THREADS
;
8800 _result
= (bool )wxMenu_IsAttached(_arg0
);
8802 wxPy_END_ALLOW_THREADS
;
8803 if (PyErr_Occurred()) return NULL
;
8804 } _resultobj
= Py_BuildValue("i",_result
);
8808 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
8809 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
* _resultobj
;
8813 PyObject
* _argo0
= 0;
8814 PyObject
* _argo1
= 0;
8815 char *_kwnames
[] = { "self","parent", NULL
};
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
8821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8835 wxPy_BEGIN_ALLOW_THREADS
;
8836 wxMenu_SetParent(_arg0
,_arg1
);
8838 wxPy_END_ALLOW_THREADS
;
8839 if (PyErr_Occurred()) return NULL
;
8840 } Py_INCREF(Py_None
);
8841 _resultobj
= Py_None
;
8845 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
8846 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8850 PyObject
* _argo0
= 0;
8851 char *_kwnames
[] = { "self", NULL
};
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
8857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8864 wxPy_BEGIN_ALLOW_THREADS
;
8865 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
8867 wxPy_END_ALLOW_THREADS
;
8868 if (PyErr_Occurred()) return NULL
;
8869 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8873 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
8876 src
= (wxMenuBar
*) ptr
;
8877 dest
= (wxWindow
*) src
;
8878 return (void *) dest
;
8881 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
8884 src
= (wxMenuBar
*) ptr
;
8885 dest
= (wxEvtHandler
*) src
;
8886 return (void *) dest
;
8889 static void *SwigwxMenuBarTowxObject(void *ptr
) {
8892 src
= (wxMenuBar
*) ptr
;
8893 dest
= (wxObject
*) src
;
8894 return (void *) dest
;
8897 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
8898 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
* _resultobj
;
8900 wxMenuBar
* _result
;
8901 long _arg0
= (long ) 0;
8902 char *_kwnames
[] = { "style", NULL
};
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
8909 wxPy_BEGIN_ALLOW_THREADS
;
8910 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
8912 wxPy_END_ALLOW_THREADS
;
8913 if (PyErr_Occurred()) return NULL
;
8915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
8916 _resultobj
= Py_BuildValue("s",_ptemp
);
8919 _resultobj
= Py_None
;
8924 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
8925 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
* _resultobj
;
8931 PyObject
* _argo0
= 0;
8932 PyObject
* _argo1
= 0;
8933 PyObject
* _obj2
= 0;
8934 char *_kwnames
[] = { "self","menu","title", NULL
};
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8954 #if PYTHON_API_VERSION >= 1009
8955 char* tmpPtr
; int tmpSize
;
8956 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8960 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8962 _arg2
= new wxString(tmpPtr
, tmpSize
);
8964 if (!PyString_Check(_obj2
)) {
8965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8968 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8972 wxPy_BEGIN_ALLOW_THREADS
;
8973 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8975 wxPy_END_ALLOW_THREADS
;
8976 if (PyErr_Occurred()) return NULL
;
8977 } _resultobj
= Py_BuildValue("i",_result
);
8985 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8986 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
* _resultobj
;
8993 PyObject
* _argo0
= 0;
8994 PyObject
* _argo2
= 0;
8995 PyObject
* _obj3
= 0;
8996 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9009 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9010 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9016 #if PYTHON_API_VERSION >= 1009
9017 char* tmpPtr
; int tmpSize
;
9018 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9019 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9022 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9024 _arg3
= new wxString(tmpPtr
, tmpSize
);
9026 if (!PyString_Check(_obj3
)) {
9027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9030 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9034 wxPy_BEGIN_ALLOW_THREADS
;
9035 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9037 wxPy_END_ALLOW_THREADS
;
9038 if (PyErr_Occurred()) return NULL
;
9039 } _resultobj
= Py_BuildValue("i",_result
);
9047 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9048 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
* _resultobj
;
9052 PyObject
* _argo0
= 0;
9053 char *_kwnames
[] = { "self", NULL
};
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9066 wxPy_BEGIN_ALLOW_THREADS
;
9067 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9069 wxPy_END_ALLOW_THREADS
;
9070 if (PyErr_Occurred()) return NULL
;
9071 } _resultobj
= Py_BuildValue("i",_result
);
9075 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9076 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9081 PyObject
* _argo0
= 0;
9082 char *_kwnames
[] = { "self","pos", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9095 wxPy_BEGIN_ALLOW_THREADS
;
9096 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9098 wxPy_END_ALLOW_THREADS
;
9099 if (PyErr_Occurred()) return NULL
;
9100 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9104 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9105 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
* _resultobj
;
9112 PyObject
* _argo0
= 0;
9113 PyObject
* _argo2
= 0;
9114 PyObject
* _obj3
= 0;
9115 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9128 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9135 #if PYTHON_API_VERSION >= 1009
9136 char* tmpPtr
; int tmpSize
;
9137 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9141 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9143 _arg3
= new wxString(tmpPtr
, tmpSize
);
9145 if (!PyString_Check(_obj3
)) {
9146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9149 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9153 wxPy_BEGIN_ALLOW_THREADS
;
9154 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9156 wxPy_END_ALLOW_THREADS
;
9157 if (PyErr_Occurred()) return NULL
;
9158 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9166 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9167 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
* _resultobj
;
9172 PyObject
* _argo0
= 0;
9173 char *_kwnames
[] = { "self","pos", NULL
};
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9186 wxPy_BEGIN_ALLOW_THREADS
;
9187 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9189 wxPy_END_ALLOW_THREADS
;
9190 if (PyErr_Occurred()) return NULL
;
9191 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9195 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9196 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9201 PyObject
* _argo0
= 0;
9203 char *_kwnames
[] = { "self","pos","enable", NULL
};
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9215 _arg2
= (bool ) tempbool2
;
9217 wxPy_BEGIN_ALLOW_THREADS
;
9218 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9220 wxPy_END_ALLOW_THREADS
;
9221 if (PyErr_Occurred()) return NULL
;
9222 } Py_INCREF(Py_None
);
9223 _resultobj
= Py_None
;
9227 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9228 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
* _resultobj
;
9233 PyObject
* _argo0
= 0;
9234 PyObject
* _obj2
= 0;
9235 char *_kwnames
[] = { "self","pos","label", NULL
};
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9248 #if PYTHON_API_VERSION >= 1009
9249 char* tmpPtr
; int tmpSize
;
9250 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9254 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9256 _arg2
= new wxString(tmpPtr
, tmpSize
);
9258 if (!PyString_Check(_obj2
)) {
9259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9262 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9266 wxPy_BEGIN_ALLOW_THREADS
;
9267 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9269 wxPy_END_ALLOW_THREADS
;
9270 if (PyErr_Occurred()) return NULL
;
9271 } Py_INCREF(Py_None
);
9272 _resultobj
= Py_None
;
9280 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9281 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
* _resultobj
;
9286 PyObject
* _argo0
= 0;
9287 char *_kwnames
[] = { "self","pos", NULL
};
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9300 wxPy_BEGIN_ALLOW_THREADS
;
9301 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9303 wxPy_END_ALLOW_THREADS
;
9304 if (PyErr_Occurred()) return NULL
;
9306 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9314 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9315 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9320 PyObject
* _argo0
= 0;
9321 PyObject
* _obj1
= 0;
9322 char *_kwnames
[] = { "self","title", NULL
};
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9335 #if PYTHON_API_VERSION >= 1009
9336 char* tmpPtr
; int tmpSize
;
9337 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9341 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9343 _arg1
= new wxString(tmpPtr
, tmpSize
);
9345 if (!PyString_Check(_obj1
)) {
9346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9349 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9353 wxPy_BEGIN_ALLOW_THREADS
;
9354 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9356 wxPy_END_ALLOW_THREADS
;
9357 if (PyErr_Occurred()) return NULL
;
9358 } _resultobj
= Py_BuildValue("i",_result
);
9366 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9367 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
* _resultobj
;
9373 PyObject
* _argo0
= 0;
9374 PyObject
* _obj1
= 0;
9375 PyObject
* _obj2
= 0;
9376 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9389 #if PYTHON_API_VERSION >= 1009
9390 char* tmpPtr
; int tmpSize
;
9391 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9395 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9397 _arg1
= new wxString(tmpPtr
, tmpSize
);
9399 if (!PyString_Check(_obj1
)) {
9400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9403 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9407 #if PYTHON_API_VERSION >= 1009
9408 char* tmpPtr
; int tmpSize
;
9409 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9413 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9415 _arg2
= new wxString(tmpPtr
, tmpSize
);
9417 if (!PyString_Check(_obj2
)) {
9418 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9421 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9425 wxPy_BEGIN_ALLOW_THREADS
;
9426 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9428 wxPy_END_ALLOW_THREADS
;
9429 if (PyErr_Occurred()) return NULL
;
9430 } _resultobj
= Py_BuildValue("i",_result
);
9442 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9443 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
* _resultobj
;
9445 wxMenuItem
* _result
;
9448 PyObject
* _argo0
= 0;
9449 char *_kwnames
[] = { "self","id", NULL
};
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9462 wxPy_BEGIN_ALLOW_THREADS
;
9463 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9465 wxPy_END_ALLOW_THREADS
;
9466 if (PyErr_Occurred()) return NULL
;
9467 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9471 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9472 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9477 PyObject
* _argo0
= 0;
9479 char *_kwnames
[] = { "self","id","enable", NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9491 _arg2
= (bool ) tempbool2
;
9493 wxPy_BEGIN_ALLOW_THREADS
;
9494 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9496 wxPy_END_ALLOW_THREADS
;
9497 if (PyErr_Occurred()) return NULL
;
9498 } Py_INCREF(Py_None
);
9499 _resultobj
= Py_None
;
9503 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9504 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9509 PyObject
* _argo0
= 0;
9511 char *_kwnames
[] = { "self","id","check", NULL
};
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9523 _arg2
= (bool ) tempbool2
;
9525 wxPy_BEGIN_ALLOW_THREADS
;
9526 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9528 wxPy_END_ALLOW_THREADS
;
9529 if (PyErr_Occurred()) return NULL
;
9530 } Py_INCREF(Py_None
);
9531 _resultobj
= Py_None
;
9535 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9536 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self","id", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9555 wxPy_BEGIN_ALLOW_THREADS
;
9556 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9558 wxPy_END_ALLOW_THREADS
;
9559 if (PyErr_Occurred()) return NULL
;
9560 } _resultobj
= Py_BuildValue("i",_result
);
9564 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9565 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
* _resultobj
;
9570 PyObject
* _argo0
= 0;
9571 char *_kwnames
[] = { "self","id", NULL
};
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9584 wxPy_BEGIN_ALLOW_THREADS
;
9585 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9587 wxPy_END_ALLOW_THREADS
;
9588 if (PyErr_Occurred()) return NULL
;
9589 } _resultobj
= Py_BuildValue("i",_result
);
9593 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9594 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
* _resultobj
;
9599 PyObject
* _argo0
= 0;
9600 PyObject
* _obj2
= 0;
9601 char *_kwnames
[] = { "self","id","label", NULL
};
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9614 #if PYTHON_API_VERSION >= 1009
9615 char* tmpPtr
; int tmpSize
;
9616 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9620 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9622 _arg2
= new wxString(tmpPtr
, tmpSize
);
9624 if (!PyString_Check(_obj2
)) {
9625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9628 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9632 wxPy_BEGIN_ALLOW_THREADS
;
9633 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9635 wxPy_END_ALLOW_THREADS
;
9636 if (PyErr_Occurred()) return NULL
;
9637 } Py_INCREF(Py_None
);
9638 _resultobj
= Py_None
;
9646 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9647 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
* _resultobj
;
9652 PyObject
* _argo0
= 0;
9653 char *_kwnames
[] = { "self","id", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9666 wxPy_BEGIN_ALLOW_THREADS
;
9667 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9669 wxPy_END_ALLOW_THREADS
;
9670 if (PyErr_Occurred()) return NULL
;
9672 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9680 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9681 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
* _resultobj
;
9686 PyObject
* _argo0
= 0;
9687 PyObject
* _obj2
= 0;
9688 char *_kwnames
[] = { "self","id","helpString", NULL
};
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9701 #if PYTHON_API_VERSION >= 1009
9702 char* tmpPtr
; int tmpSize
;
9703 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9707 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9709 _arg2
= new wxString(tmpPtr
, tmpSize
);
9711 if (!PyString_Check(_obj2
)) {
9712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9715 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9719 wxPy_BEGIN_ALLOW_THREADS
;
9720 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9722 wxPy_END_ALLOW_THREADS
;
9723 if (PyErr_Occurred()) return NULL
;
9724 } Py_INCREF(Py_None
);
9725 _resultobj
= Py_None
;
9733 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9734 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
* _resultobj
;
9739 PyObject
* _argo0
= 0;
9740 char *_kwnames
[] = { "self","id", NULL
};
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9753 wxPy_BEGIN_ALLOW_THREADS
;
9754 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9756 wxPy_END_ALLOW_THREADS
;
9757 if (PyErr_Occurred()) return NULL
;
9759 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9767 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9770 src
= (wxMenuItem
*) ptr
;
9771 dest
= (wxObject
*) src
;
9772 return (void *) dest
;
9775 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9776 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
* _resultobj
;
9778 wxMenuItem
* _result
;
9779 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9780 int _arg1
= (int ) wxID_SEPARATOR
;
9781 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
9782 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
9783 bool _arg4
= (bool ) FALSE
;
9784 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9785 PyObject
* _argo0
= 0;
9786 PyObject
* _obj2
= 0;
9787 PyObject
* _obj3
= 0;
9788 int tempbool4
= (int) FALSE
;
9789 PyObject
* _argo5
= 0;
9790 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
9797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9805 #if PYTHON_API_VERSION >= 1009
9806 char* tmpPtr
; int tmpSize
;
9807 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9811 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9813 _arg2
= new wxString(tmpPtr
, tmpSize
);
9815 if (!PyString_Check(_obj2
)) {
9816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9819 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9824 #if PYTHON_API_VERSION >= 1009
9825 char* tmpPtr
; int tmpSize
;
9826 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9830 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9832 _arg3
= new wxString(tmpPtr
, tmpSize
);
9834 if (!PyString_Check(_obj3
)) {
9835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9838 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9841 _arg4
= (bool ) tempbool4
;
9843 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9844 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9850 wxPy_BEGIN_ALLOW_THREADS
;
9851 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9853 wxPy_END_ALLOW_THREADS
;
9854 if (PyErr_Occurred()) return NULL
;
9856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9857 _resultobj
= Py_BuildValue("s",_ptemp
);
9860 _resultobj
= Py_None
;
9873 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9874 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
* _resultobj
;
9878 PyObject
* _argo0
= 0;
9879 char *_kwnames
[] = { "self", NULL
};
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9892 wxPy_BEGIN_ALLOW_THREADS
;
9893 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9895 wxPy_END_ALLOW_THREADS
;
9896 if (PyErr_Occurred()) return NULL
;
9897 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9901 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9902 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
* _resultobj
;
9906 PyObject
* _argo0
= 0;
9907 char *_kwnames
[] = { "self","id", NULL
};
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
9913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
9920 wxPy_BEGIN_ALLOW_THREADS
;
9921 wxMenuItem_SetId(_arg0
,_arg1
);
9923 wxPy_END_ALLOW_THREADS
;
9924 if (PyErr_Occurred()) return NULL
;
9925 } Py_INCREF(Py_None
);
9926 _resultobj
= Py_None
;
9930 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
9931 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
* _resultobj
;
9935 PyObject
* _argo0
= 0;
9936 char *_kwnames
[] = { "self", NULL
};
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
9942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
9949 wxPy_BEGIN_ALLOW_THREADS
;
9950 _result
= (int )wxMenuItem_GetId(_arg0
);
9952 wxPy_END_ALLOW_THREADS
;
9953 if (PyErr_Occurred()) return NULL
;
9954 } _resultobj
= Py_BuildValue("i",_result
);
9958 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
9959 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
* _resultobj
;
9963 PyObject
* _argo0
= 0;
9964 char *_kwnames
[] = { "self", NULL
};
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
9970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
9977 wxPy_BEGIN_ALLOW_THREADS
;
9978 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
9980 wxPy_END_ALLOW_THREADS
;
9981 if (PyErr_Occurred()) return NULL
;
9982 } _resultobj
= Py_BuildValue("i",_result
);
9986 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9987 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
* _resultobj
;
9991 PyObject
* _argo0
= 0;
9992 PyObject
* _obj1
= 0;
9993 char *_kwnames
[] = { "self","str", NULL
};
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10006 #if PYTHON_API_VERSION >= 1009
10007 char* tmpPtr
; int tmpSize
;
10008 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10012 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10014 _arg1
= new wxString(tmpPtr
, tmpSize
);
10016 if (!PyString_Check(_obj1
)) {
10017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10020 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10024 wxPy_BEGIN_ALLOW_THREADS
;
10025 wxMenuItem_SetText(_arg0
,*_arg1
);
10027 wxPy_END_ALLOW_THREADS
;
10028 if (PyErr_Occurred()) return NULL
;
10029 } Py_INCREF(Py_None
);
10030 _resultobj
= Py_None
;
10038 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10039 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
* _resultobj
;
10041 wxString
* _result
;
10042 wxMenuItem
* _arg0
;
10043 PyObject
* _argo0
= 0;
10044 char *_kwnames
[] = { "self", NULL
};
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10057 wxPy_BEGIN_ALLOW_THREADS
;
10058 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10060 wxPy_END_ALLOW_THREADS
;
10061 if (PyErr_Occurred()) return NULL
;
10063 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10071 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10072 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
* _resultobj
;
10074 wxString
* _result
;
10075 wxMenuItem
* _arg0
;
10076 PyObject
* _argo0
= 0;
10077 char *_kwnames
[] = { "self", NULL
};
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10090 wxPy_BEGIN_ALLOW_THREADS
;
10091 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10092 _result
= (wxString
*) &_result_ref
;
10094 wxPy_END_ALLOW_THREADS
;
10095 if (PyErr_Occurred()) return NULL
;
10097 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10102 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10103 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
* _resultobj
;
10105 wxMenuItem
* _arg0
;
10107 PyObject
* _argo0
= 0;
10109 char *_kwnames
[] = { "self","checkable", NULL
};
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10121 _arg1
= (bool ) tempbool1
;
10123 wxPy_BEGIN_ALLOW_THREADS
;
10124 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10126 wxPy_END_ALLOW_THREADS
;
10127 if (PyErr_Occurred()) return NULL
;
10128 } Py_INCREF(Py_None
);
10129 _resultobj
= Py_None
;
10133 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10134 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
* _resultobj
;
10137 wxMenuItem
* _arg0
;
10138 PyObject
* _argo0
= 0;
10139 char *_kwnames
[] = { "self", NULL
};
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10152 wxPy_BEGIN_ALLOW_THREADS
;
10153 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10155 wxPy_END_ALLOW_THREADS
;
10156 if (PyErr_Occurred()) return NULL
;
10157 } _resultobj
= Py_BuildValue("i",_result
);
10161 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10162 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
* _resultobj
;
10165 wxMenuItem
* _arg0
;
10166 PyObject
* _argo0
= 0;
10167 char *_kwnames
[] = { "self", NULL
};
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10180 wxPy_BEGIN_ALLOW_THREADS
;
10181 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10183 wxPy_END_ALLOW_THREADS
;
10184 if (PyErr_Occurred()) return NULL
;
10185 } _resultobj
= Py_BuildValue("i",_result
);
10189 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10190 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
* _resultobj
;
10192 wxMenuItem
* _arg0
;
10194 PyObject
* _argo0
= 0;
10195 PyObject
* _argo1
= 0;
10196 char *_kwnames
[] = { "self","menu", NULL
};
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10216 wxPy_BEGIN_ALLOW_THREADS
;
10217 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10219 wxPy_END_ALLOW_THREADS
;
10220 if (PyErr_Occurred()) return NULL
;
10221 } Py_INCREF(Py_None
);
10222 _resultobj
= Py_None
;
10226 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10227 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
* _resultobj
;
10230 wxMenuItem
* _arg0
;
10231 PyObject
* _argo0
= 0;
10232 char *_kwnames
[] = { "self", NULL
};
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10245 wxPy_BEGIN_ALLOW_THREADS
;
10246 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10248 wxPy_END_ALLOW_THREADS
;
10249 if (PyErr_Occurred()) return NULL
;
10250 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10254 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10255 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
* _resultobj
;
10257 wxMenuItem
* _arg0
;
10258 bool _arg1
= (bool ) TRUE
;
10259 PyObject
* _argo0
= 0;
10260 int tempbool1
= (int) TRUE
;
10261 char *_kwnames
[] = { "self","enable", NULL
};
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10273 _arg1
= (bool ) tempbool1
;
10275 wxPy_BEGIN_ALLOW_THREADS
;
10276 wxMenuItem_Enable(_arg0
,_arg1
);
10278 wxPy_END_ALLOW_THREADS
;
10279 if (PyErr_Occurred()) return NULL
;
10280 } Py_INCREF(Py_None
);
10281 _resultobj
= Py_None
;
10285 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10286 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10289 wxMenuItem
* _arg0
;
10290 PyObject
* _argo0
= 0;
10291 char *_kwnames
[] = { "self", NULL
};
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10304 wxPy_BEGIN_ALLOW_THREADS
;
10305 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10307 wxPy_END_ALLOW_THREADS
;
10308 if (PyErr_Occurred()) return NULL
;
10309 } _resultobj
= Py_BuildValue("i",_result
);
10313 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10314 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
* _resultobj
;
10316 wxMenuItem
* _arg0
;
10317 bool _arg1
= (bool ) TRUE
;
10318 PyObject
* _argo0
= 0;
10319 int tempbool1
= (int) TRUE
;
10320 char *_kwnames
[] = { "self","check", NULL
};
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10332 _arg1
= (bool ) tempbool1
;
10334 wxPy_BEGIN_ALLOW_THREADS
;
10335 wxMenuItem_Check(_arg0
,_arg1
);
10337 wxPy_END_ALLOW_THREADS
;
10338 if (PyErr_Occurred()) return NULL
;
10339 } Py_INCREF(Py_None
);
10340 _resultobj
= Py_None
;
10344 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10345 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
* _resultobj
;
10348 wxMenuItem
* _arg0
;
10349 PyObject
* _argo0
= 0;
10350 char *_kwnames
[] = { "self", NULL
};
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10363 wxPy_BEGIN_ALLOW_THREADS
;
10364 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10366 wxPy_END_ALLOW_THREADS
;
10367 if (PyErr_Occurred()) return NULL
;
10368 } _resultobj
= Py_BuildValue("i",_result
);
10372 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10373 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
* _resultobj
;
10375 wxMenuItem
* _arg0
;
10376 PyObject
* _argo0
= 0;
10377 char *_kwnames
[] = { "self", NULL
};
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10390 wxPy_BEGIN_ALLOW_THREADS
;
10391 wxMenuItem_Toggle(_arg0
);
10393 wxPy_END_ALLOW_THREADS
;
10394 if (PyErr_Occurred()) return NULL
;
10395 } Py_INCREF(Py_None
);
10396 _resultobj
= Py_None
;
10400 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10401 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10403 wxMenuItem
* _arg0
;
10405 PyObject
* _argo0
= 0;
10406 PyObject
* _obj1
= 0;
10407 char *_kwnames
[] = { "self","str", NULL
};
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10420 #if PYTHON_API_VERSION >= 1009
10421 char* tmpPtr
; int tmpSize
;
10422 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10426 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10428 _arg1
= new wxString(tmpPtr
, tmpSize
);
10430 if (!PyString_Check(_obj1
)) {
10431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10434 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10438 wxPy_BEGIN_ALLOW_THREADS
;
10439 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10441 wxPy_END_ALLOW_THREADS
;
10442 if (PyErr_Occurred()) return NULL
;
10443 } Py_INCREF(Py_None
);
10444 _resultobj
= Py_None
;
10452 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10453 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
* _resultobj
;
10455 wxString
* _result
;
10456 wxMenuItem
* _arg0
;
10457 PyObject
* _argo0
= 0;
10458 char *_kwnames
[] = { "self", NULL
};
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10471 wxPy_BEGIN_ALLOW_THREADS
;
10472 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10473 _result
= (wxString
*) &_result_ref
;
10475 wxPy_END_ALLOW_THREADS
;
10476 if (PyErr_Occurred()) return NULL
;
10478 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10483 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10484 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
* _resultobj
;
10486 wxAcceleratorEntry
* _result
;
10487 wxMenuItem
* _arg0
;
10488 PyObject
* _argo0
= 0;
10489 char *_kwnames
[] = { "self", NULL
};
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10503 wxPy_BEGIN_ALLOW_THREADS
;
10504 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10506 wxPy_END_ALLOW_THREADS
;
10507 if (PyErr_Occurred()) return NULL
;
10509 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10510 _resultobj
= Py_BuildValue("s",_ptemp
);
10512 Py_INCREF(Py_None
);
10513 _resultobj
= Py_None
;
10518 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10519 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
* _resultobj
;
10521 wxMenuItem
* _arg0
;
10522 wxAcceleratorEntry
* _arg1
;
10523 PyObject
* _argo0
= 0;
10524 PyObject
* _argo1
= 0;
10525 char *_kwnames
[] = { "self","accel", NULL
};
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10545 wxPy_BEGIN_ALLOW_THREADS
;
10546 wxMenuItem_SetAccel(_arg0
,_arg1
);
10548 wxPy_END_ALLOW_THREADS
;
10549 if (PyErr_Occurred()) return NULL
;
10550 } Py_INCREF(Py_None
);
10551 _resultobj
= Py_None
;
10555 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
* _resultobj
;
10557 wxString
* _result
;
10559 PyObject
* _obj0
= 0;
10560 char *_kwnames
[] = { "text", NULL
};
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10566 #if PYTHON_API_VERSION >= 1009
10567 char* tmpPtr
; int tmpSize
;
10568 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
10569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10572 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
10574 _arg0
= new wxString(tmpPtr
, tmpSize
);
10576 if (!PyString_Check(_obj0
)) {
10577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10580 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
10584 wxPy_BEGIN_ALLOW_THREADS
;
10585 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10587 wxPy_END_ALLOW_THREADS
;
10588 if (PyErr_Occurred()) return NULL
;
10590 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10602 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
10603 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
* _resultobj
;
10605 wxMenuItem
* _arg0
;
10607 PyObject
* _argo0
= 0;
10608 PyObject
* _argo1
= 0;
10609 char *_kwnames
[] = { "self","font", NULL
};
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
10615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
10622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
10629 wxPy_BEGIN_ALLOW_THREADS
;
10630 wxMenuItem_SetFont(_arg0
,*_arg1
);
10632 wxPy_END_ALLOW_THREADS
;
10633 if (PyErr_Occurred()) return NULL
;
10634 } Py_INCREF(Py_None
);
10635 _resultobj
= Py_None
;
10639 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
10640 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
* _resultobj
;
10643 wxMenuItem
* _arg0
;
10644 PyObject
* _argo0
= 0;
10645 char *_kwnames
[] = { "self", NULL
};
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
10652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
10659 wxPy_BEGIN_ALLOW_THREADS
;
10660 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
10661 _result
= (wxFont
*) &_result_ref
;
10663 wxPy_END_ALLOW_THREADS
;
10664 if (PyErr_Occurred()) return NULL
;
10666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
10667 _resultobj
= Py_BuildValue("s",_ptemp
);
10669 Py_INCREF(Py_None
);
10670 _resultobj
= Py_None
;
10675 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
10676 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
* _resultobj
;
10678 wxMenuItem
* _arg0
;
10680 PyObject
* _argo0
= 0;
10682 PyObject
* _obj1
= 0;
10683 char *_kwnames
[] = { "self","colText", NULL
};
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
10689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
10697 if (! wxColour_helper(_obj1
, &_arg1
))
10701 wxPy_BEGIN_ALLOW_THREADS
;
10702 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
10704 wxPy_END_ALLOW_THREADS
;
10705 if (PyErr_Occurred()) return NULL
;
10706 } Py_INCREF(Py_None
);
10707 _resultobj
= Py_None
;
10711 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
10712 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
* _resultobj
;
10714 wxColour
* _result
;
10715 wxMenuItem
* _arg0
;
10716 PyObject
* _argo0
= 0;
10717 char *_kwnames
[] = { "self", NULL
};
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
10724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
10731 wxPy_BEGIN_ALLOW_THREADS
;
10732 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
10734 wxPy_END_ALLOW_THREADS
;
10735 if (PyErr_Occurred()) return NULL
;
10736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10737 _resultobj
= Py_BuildValue("s",_ptemp
);
10741 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
10742 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
* _resultobj
;
10744 wxMenuItem
* _arg0
;
10746 PyObject
* _argo0
= 0;
10748 PyObject
* _obj1
= 0;
10749 char *_kwnames
[] = { "self","colBack", NULL
};
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
10763 if (! wxColour_helper(_obj1
, &_arg1
))
10767 wxPy_BEGIN_ALLOW_THREADS
;
10768 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
10770 wxPy_END_ALLOW_THREADS
;
10771 if (PyErr_Occurred()) return NULL
;
10772 } Py_INCREF(Py_None
);
10773 _resultobj
= Py_None
;
10777 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
10778 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10780 wxColour
* _result
;
10781 wxMenuItem
* _arg0
;
10782 PyObject
* _argo0
= 0;
10783 char *_kwnames
[] = { "self", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
10797 wxPy_BEGIN_ALLOW_THREADS
;
10798 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
10800 wxPy_END_ALLOW_THREADS
;
10801 if (PyErr_Occurred()) return NULL
;
10802 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10803 _resultobj
= Py_BuildValue("s",_ptemp
);
10807 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
10808 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
* _resultobj
;
10810 wxMenuItem
* _arg0
;
10812 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10813 PyObject
* _argo0
= 0;
10814 PyObject
* _argo1
= 0;
10815 PyObject
* _argo2
= 0;
10816 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
10829 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10830 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
10836 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10837 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
10843 wxPy_BEGIN_ALLOW_THREADS
;
10844 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
10846 wxPy_END_ALLOW_THREADS
;
10847 if (PyErr_Occurred()) return NULL
;
10848 } Py_INCREF(Py_None
);
10849 _resultobj
= Py_None
;
10853 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
10854 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
* _resultobj
;
10856 wxMenuItem
* _arg0
;
10858 PyObject
* _argo0
= 0;
10859 PyObject
* _argo1
= 0;
10860 char *_kwnames
[] = { "self","bmpChecked", NULL
};
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
10866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
10873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
10880 wxPy_BEGIN_ALLOW_THREADS
;
10881 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
10883 wxPy_END_ALLOW_THREADS
;
10884 if (PyErr_Occurred()) return NULL
;
10885 } Py_INCREF(Py_None
);
10886 _resultobj
= Py_None
;
10890 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
10891 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
* _resultobj
;
10893 wxBitmap
* _result
;
10894 wxMenuItem
* _arg0
;
10895 bool _arg1
= (bool ) TRUE
;
10896 PyObject
* _argo0
= 0;
10897 int tempbool1
= (int) TRUE
;
10898 char *_kwnames
[] = { "self","bChecked", NULL
};
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
10905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
10911 _arg1
= (bool ) tempbool1
;
10913 wxPy_BEGIN_ALLOW_THREADS
;
10914 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
,_arg1
);
10915 _result
= (wxBitmap
*) &_result_ref
;
10917 wxPy_END_ALLOW_THREADS
;
10918 if (PyErr_Occurred()) return NULL
;
10920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
10921 _resultobj
= Py_BuildValue("s",_ptemp
);
10923 Py_INCREF(Py_None
);
10924 _resultobj
= Py_None
;
10929 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
10930 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
* _resultobj
;
10932 wxMenuItem
* _arg0
;
10934 PyObject
* _argo0
= 0;
10935 char *_kwnames
[] = { "self","nWidth", NULL
};
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
10941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
10948 wxPy_BEGIN_ALLOW_THREADS
;
10949 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
10951 wxPy_END_ALLOW_THREADS
;
10952 if (PyErr_Occurred()) return NULL
;
10953 } Py_INCREF(Py_None
);
10954 _resultobj
= Py_None
;
10958 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
10959 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
* _resultobj
;
10962 wxMenuItem
* _arg0
;
10963 PyObject
* _argo0
= 0;
10964 char *_kwnames
[] = { "self", NULL
};
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
10970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
10977 wxPy_BEGIN_ALLOW_THREADS
;
10978 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
10980 wxPy_END_ALLOW_THREADS
;
10981 if (PyErr_Occurred()) return NULL
;
10982 } _resultobj
= Py_BuildValue("i",_result
);
10986 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
* _resultobj
;
10989 char *_kwnames
[] = { NULL
};
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
10995 wxPy_BEGIN_ALLOW_THREADS
;
10996 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
10998 wxPy_END_ALLOW_THREADS
;
10999 if (PyErr_Occurred()) return NULL
;
11000 } _resultobj
= Py_BuildValue("i",_result
);
11004 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11005 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
* _resultobj
;
11008 wxMenuItem
* _arg0
;
11009 PyObject
* _argo0
= 0;
11010 char *_kwnames
[] = { "self", NULL
};
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11023 wxPy_BEGIN_ALLOW_THREADS
;
11024 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11026 wxPy_END_ALLOW_THREADS
;
11027 if (PyErr_Occurred()) return NULL
;
11028 } _resultobj
= Py_BuildValue("i",_result
);
11032 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11033 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
* _resultobj
;
11035 wxMenuItem
* _arg0
;
11036 PyObject
* _argo0
= 0;
11037 char *_kwnames
[] = { "self", NULL
};
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11050 wxPy_BEGIN_ALLOW_THREADS
;
11051 wxMenuItem_ResetOwnerDrawn(_arg0
);
11053 wxPy_END_ALLOW_THREADS
;
11054 if (PyErr_Occurred()) return NULL
;
11055 } Py_INCREF(Py_None
);
11056 _resultobj
= Py_None
;
11060 static PyMethodDef windowscMethods
[] = {
11061 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
11371 * This table is used by the pointer type-checker
11373 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11374 { "_signed_long","_long",0},
11375 { "_wxPrintQuality","_wxCoord",0},
11376 { "_wxPrintQuality","_int",0},
11377 { "_wxPrintQuality","_signed_int",0},
11378 { "_wxPrintQuality","_unsigned_int",0},
11379 { "_wxPrintQuality","_wxWindowID",0},
11380 { "_wxPrintQuality","_uint",0},
11381 { "_wxPrintQuality","_EBool",0},
11382 { "_wxPrintQuality","_size_t",0},
11383 { "_wxPrintQuality","_time_t",0},
11384 { "_byte","_unsigned_char",0},
11385 { "_long","_unsigned_long",0},
11386 { "_long","_signed_long",0},
11387 { "_size_t","_wxCoord",0},
11388 { "_size_t","_wxPrintQuality",0},
11389 { "_size_t","_time_t",0},
11390 { "_size_t","_unsigned_int",0},
11391 { "_size_t","_int",0},
11392 { "_size_t","_wxWindowID",0},
11393 { "_size_t","_uint",0},
11394 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11395 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
11396 { "_uint","_wxCoord",0},
11397 { "_uint","_wxPrintQuality",0},
11398 { "_uint","_time_t",0},
11399 { "_uint","_size_t",0},
11400 { "_uint","_unsigned_int",0},
11401 { "_uint","_int",0},
11402 { "_uint","_wxWindowID",0},
11403 { "_wxChar","_char",0},
11404 { "_char","_wxChar",0},
11405 { "_EBool","_wxCoord",0},
11406 { "_EBool","_wxPrintQuality",0},
11407 { "_EBool","_signed_int",0},
11408 { "_EBool","_int",0},
11409 { "_EBool","_wxWindowID",0},
11410 { "_unsigned_long","_long",0},
11411 { "_signed_int","_wxCoord",0},
11412 { "_signed_int","_wxPrintQuality",0},
11413 { "_signed_int","_EBool",0},
11414 { "_signed_int","_wxWindowID",0},
11415 { "_signed_int","_int",0},
11416 { "_WXTYPE","_short",0},
11417 { "_WXTYPE","_signed_short",0},
11418 { "_WXTYPE","_unsigned_short",0},
11419 { "_unsigned_short","_WXTYPE",0},
11420 { "_unsigned_short","_short",0},
11421 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11422 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11423 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11424 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11425 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
11426 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11427 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11428 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11429 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11430 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11431 { "_signed_short","_WXTYPE",0},
11432 { "_signed_short","_short",0},
11433 { "_unsigned_char","_byte",0},
11434 { "_unsigned_int","_wxCoord",0},
11435 { "_unsigned_int","_wxPrintQuality",0},
11436 { "_unsigned_int","_time_t",0},
11437 { "_unsigned_int","_size_t",0},
11438 { "_unsigned_int","_uint",0},
11439 { "_unsigned_int","_wxWindowID",0},
11440 { "_unsigned_int","_int",0},
11441 { "_short","_WXTYPE",0},
11442 { "_short","_unsigned_short",0},
11443 { "_short","_signed_short",0},
11444 { "_wxWindowID","_wxCoord",0},
11445 { "_wxWindowID","_wxPrintQuality",0},
11446 { "_wxWindowID","_time_t",0},
11447 { "_wxWindowID","_size_t",0},
11448 { "_wxWindowID","_EBool",0},
11449 { "_wxWindowID","_uint",0},
11450 { "_wxWindowID","_int",0},
11451 { "_wxWindowID","_signed_int",0},
11452 { "_wxWindowID","_unsigned_int",0},
11453 { "_int","_wxCoord",0},
11454 { "_int","_wxPrintQuality",0},
11455 { "_int","_time_t",0},
11456 { "_int","_size_t",0},
11457 { "_int","_EBool",0},
11458 { "_int","_uint",0},
11459 { "_int","_wxWindowID",0},
11460 { "_int","_unsigned_int",0},
11461 { "_int","_signed_int",0},
11462 { "_time_t","_wxCoord",0},
11463 { "_time_t","_wxPrintQuality",0},
11464 { "_time_t","_unsigned_int",0},
11465 { "_time_t","_int",0},
11466 { "_time_t","_wxWindowID",0},
11467 { "_time_t","_uint",0},
11468 { "_time_t","_size_t",0},
11469 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11470 { "_wxCoord","_int",0},
11471 { "_wxCoord","_signed_int",0},
11472 { "_wxCoord","_unsigned_int",0},
11473 { "_wxCoord","_wxWindowID",0},
11474 { "_wxCoord","_uint",0},
11475 { "_wxCoord","_EBool",0},
11476 { "_wxCoord","_size_t",0},
11477 { "_wxCoord","_time_t",0},
11478 { "_wxCoord","_wxPrintQuality",0},
11479 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11480 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11481 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11482 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
11483 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11484 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11485 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11486 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11487 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11488 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11489 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
11490 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11493 static PyObject
*SWIG_globals
;
11497 SWIGEXPORT(void) initwindowsc() {
11499 SWIG_globals
= SWIG_newvarlink();
11500 m
= Py_InitModule("windowsc", windowscMethods
);
11501 d
= PyModule_GetDict(m
);
11504 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11505 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);