]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows2.cpp
corrected several errors when generating project file with all configs
[wxWidgets.git] / wxPython / src / msw / windows2.cpp
1 /*
2 * FILE : src/msw/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
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);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindows2c
55
56 #define SWIG_name "windows2c"
57
58 #include "helpers.h"
59 #ifdef OLD_GRID
60 #include <wx/grid.h>
61 #endif
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
65 #ifdef __WXMSW__
66 #include <wx/msw/taskbar.h>
67 #endif
68
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME);
71 DECLARE_DEF_STRING(PanelNameStr);
72 DECLARE_DEF_STRING(ControlNameStr);
73
74 static const wxChar* wxSplitterNameStr = wxT("splitter");
75 DECLARE_DEF_STRING(SplitterNameStr);
76 static const wxString wxPyEmptyString(wxT(""));
77
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104 // C++ version of Python aware wxWindow
105 class wxPyWindow : public wxWindow
106 {
107 DECLARE_DYNAMIC_CLASS(wxPyWindow)
108 public:
109 wxPyWindow() : wxWindow() {}
110 wxPyWindow(wxWindow* parent, const wxWindowID id,
111 const wxPoint& pos = wxDefaultPosition,
112 const wxSize& size = wxDefaultSize,
113 long style = 0,
114 const wxString& name = wxPyPanelNameStr)
115 : wxWindow(parent, id, pos, size, style, name) {}
116
117
118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
119 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
122
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
126
127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
129
130 DEC_PYCALLBACK__(InitDialog);
131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
133 DEC_PYCALLBACK_BOOL_(Validate);
134
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
137 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
138
139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
141
142 PYPRIVATE;
143 };
144
145 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
146
147 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
148 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
149 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
150 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
151
152 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
155
156 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
157 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
158
159 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
160 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
161 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
162 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
163
164 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
165 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
166 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
167
168 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
170
171 // C++ version of Python aware wxControl
172 class wxPyControl : public wxControl
173 {
174 DECLARE_DYNAMIC_CLASS(wxPyControl)
175 public:
176 wxPyControl() : wxControl() {}
177 wxPyControl(wxWindow* parent, const wxWindowID id,
178 const wxPoint& pos = wxDefaultPosition,
179 const wxSize& size = wxDefaultSize,
180 long style = 0,
181 const wxValidator& validator=wxDefaultValidator,
182 const wxString& name = wxPyControlNameStr)
183 : wxControl(parent, id, pos, size, style, validator, name) {}
184
185
186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
187 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
190
191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
194
195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
197
198 DEC_PYCALLBACK__(InitDialog);
199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
201 DEC_PYCALLBACK_BOOL_(Validate);
202
203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
205 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
206
207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
209
210 PYPRIVATE;
211 };
212
213 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
214
215 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
216 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
218 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
219
220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
223
224 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
225 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
226
227 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
228 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
229 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
230 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
231
232 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
233 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
234 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
235
236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
237 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
238
239 // C++ version of Python aware wxPanel
240 class wxPyPanel : public wxPanel
241 {
242 DECLARE_DYNAMIC_CLASS(wxPyPanel)
243 public:
244 wxPyPanel() : wxPanel() {}
245 wxPyPanel(wxWindow* parent, const wxWindowID id,
246 const wxPoint& pos = wxDefaultPosition,
247 const wxSize& size = wxDefaultSize,
248 long style = 0,
249 const wxString& name = wxPyPanelNameStr)
250 : wxPanel(parent, id, pos, size, style, name) {}
251
252
253 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
254 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
255 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
256 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
257
258 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
259 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
260 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
261
262 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
263 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
264
265 DEC_PYCALLBACK__(InitDialog);
266 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
267 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
268 DEC_PYCALLBACK_BOOL_(Validate);
269
270 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
271 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
272 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
273
274 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
275 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
276
277 PYPRIVATE;
278 };
279
280 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
281
282 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
283 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
284 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
285 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
286
287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
288 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
289 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
290
291 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
292 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
293
294 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
295 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
296 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
297 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
298
299 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
300 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
301 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
302
303 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
304 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
305
306 #ifdef __cplusplus
307 extern "C" {
308 #endif
309 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
310 wxNotebookEvent *src;
311 wxNotifyEvent *dest;
312 src = (wxNotebookEvent *) ptr;
313 dest = (wxNotifyEvent *) src;
314 return (void *) dest;
315 }
316
317 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
318 wxNotebookEvent *src;
319 wxCommandEvent *dest;
320 src = (wxNotebookEvent *) ptr;
321 dest = (wxCommandEvent *) src;
322 return (void *) dest;
323 }
324
325 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
326 wxNotebookEvent *src;
327 wxEvent *dest;
328 src = (wxNotebookEvent *) ptr;
329 dest = (wxEvent *) src;
330 return (void *) dest;
331 }
332
333 static void *SwigwxNotebookEventTowxObject(void *ptr) {
334 wxNotebookEvent *src;
335 wxObject *dest;
336 src = (wxNotebookEvent *) ptr;
337 dest = (wxObject *) src;
338 return (void *) dest;
339 }
340
341 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
342 static PyObject *_wrap_new_wxNotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
343 PyObject * _resultobj;
344 wxNotebookEvent * _result;
345 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
346 int _arg1 = (int ) 0;
347 int _arg2 = (int ) -1;
348 int _arg3 = (int ) -1;
349 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
350 char _ptemp[128];
351
352 self = self;
353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxNotebookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
354 return NULL;
355 {
356 PyThreadState* __tstate = wxPyBeginAllowThreads();
357 _result = (wxNotebookEvent *)new_wxNotebookEvent(_arg0,_arg1,_arg2,_arg3);
358
359 wxPyEndAllowThreads(__tstate);
360 if (PyErr_Occurred()) return NULL;
361 } if (_result) {
362 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookEvent_p");
363 _resultobj = Py_BuildValue("s",_ptemp);
364 } else {
365 Py_INCREF(Py_None);
366 _resultobj = Py_None;
367 }
368 return _resultobj;
369 }
370
371 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
372 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
373 PyObject * _resultobj;
374 int _result;
375 wxNotebookEvent * _arg0;
376 PyObject * _argo0 = 0;
377 char *_kwnames[] = { "self", NULL };
378
379 self = self;
380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
381 return NULL;
382 if (_argo0) {
383 if (_argo0 == Py_None) { _arg0 = NULL; }
384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
386 return NULL;
387 }
388 }
389 {
390 PyThreadState* __tstate = wxPyBeginAllowThreads();
391 _result = (int )wxNotebookEvent_GetSelection(_arg0);
392
393 wxPyEndAllowThreads(__tstate);
394 if (PyErr_Occurred()) return NULL;
395 } _resultobj = Py_BuildValue("i",_result);
396 return _resultobj;
397 }
398
399 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
400 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
401 PyObject * _resultobj;
402 int _result;
403 wxNotebookEvent * _arg0;
404 PyObject * _argo0 = 0;
405 char *_kwnames[] = { "self", NULL };
406
407 self = self;
408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
409 return NULL;
410 if (_argo0) {
411 if (_argo0 == Py_None) { _arg0 = NULL; }
412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
414 return NULL;
415 }
416 }
417 {
418 PyThreadState* __tstate = wxPyBeginAllowThreads();
419 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
420
421 wxPyEndAllowThreads(__tstate);
422 if (PyErr_Occurred()) return NULL;
423 } _resultobj = Py_BuildValue("i",_result);
424 return _resultobj;
425 }
426
427 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
428 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
429 PyObject * _resultobj;
430 wxNotebookEvent * _arg0;
431 int _arg1;
432 PyObject * _argo0 = 0;
433 char *_kwnames[] = { "self","page", NULL };
434
435 self = self;
436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
437 return NULL;
438 if (_argo0) {
439 if (_argo0 == Py_None) { _arg0 = NULL; }
440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
442 return NULL;
443 }
444 }
445 {
446 PyThreadState* __tstate = wxPyBeginAllowThreads();
447 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
448
449 wxPyEndAllowThreads(__tstate);
450 if (PyErr_Occurred()) return NULL;
451 } Py_INCREF(Py_None);
452 _resultobj = Py_None;
453 return _resultobj;
454 }
455
456 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
457 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
458 PyObject * _resultobj;
459 wxNotebookEvent * _arg0;
460 int _arg1;
461 PyObject * _argo0 = 0;
462 char *_kwnames[] = { "self","page", NULL };
463
464 self = self;
465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
466 return NULL;
467 if (_argo0) {
468 if (_argo0 == Py_None) { _arg0 = NULL; }
469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
471 return NULL;
472 }
473 }
474 {
475 PyThreadState* __tstate = wxPyBeginAllowThreads();
476 wxNotebookEvent_SetSelection(_arg0,_arg1);
477
478 wxPyEndAllowThreads(__tstate);
479 if (PyErr_Occurred()) return NULL;
480 } Py_INCREF(Py_None);
481 _resultobj = Py_None;
482 return _resultobj;
483 }
484
485 static void *SwigwxNotebookTowxControl(void *ptr) {
486 wxNotebook *src;
487 wxControl *dest;
488 src = (wxNotebook *) ptr;
489 dest = (wxControl *) src;
490 return (void *) dest;
491 }
492
493 static void *SwigwxNotebookTowxWindow(void *ptr) {
494 wxNotebook *src;
495 wxWindow *dest;
496 src = (wxNotebook *) ptr;
497 dest = (wxWindow *) src;
498 return (void *) dest;
499 }
500
501 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
502 wxNotebook *src;
503 wxEvtHandler *dest;
504 src = (wxNotebook *) ptr;
505 dest = (wxEvtHandler *) src;
506 return (void *) dest;
507 }
508
509 static void *SwigwxNotebookTowxObject(void *ptr) {
510 wxNotebook *src;
511 wxObject *dest;
512 src = (wxNotebook *) ptr;
513 dest = (wxObject *) src;
514 return (void *) dest;
515 }
516
517 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
518 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
519 PyObject * _resultobj;
520 wxNotebook * _result;
521 wxWindow * _arg0;
522 wxWindowID _arg1;
523 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
524 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
525 long _arg4 = (long ) 0;
526 wxString * _arg5 = (wxString *) &wxPyNOTEBOOK_NAME;
527 PyObject * _argo0 = 0;
528 wxPoint temp;
529 PyObject * _obj2 = 0;
530 wxSize temp0;
531 PyObject * _obj3 = 0;
532 PyObject * _obj5 = 0;
533 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
534 char _ptemp[128];
535
536 self = self;
537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
538 return NULL;
539 if (_argo0) {
540 if (_argo0 == Py_None) { _arg0 = NULL; }
541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
543 return NULL;
544 }
545 }
546 if (_obj2)
547 {
548 _arg2 = &temp;
549 if (! wxPoint_helper(_obj2, &_arg2))
550 return NULL;
551 }
552 if (_obj3)
553 {
554 _arg3 = &temp0;
555 if (! wxSize_helper(_obj3, &_arg3))
556 return NULL;
557 }
558 if (_obj5)
559 {
560 _arg5 = wxString_in_helper(_obj5);
561 if (_arg5 == NULL)
562 return NULL;
563 }
564 {
565 PyThreadState* __tstate = wxPyBeginAllowThreads();
566 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
567
568 wxPyEndAllowThreads(__tstate);
569 if (PyErr_Occurred()) return NULL;
570 } if (_result) {
571 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
572 _resultobj = Py_BuildValue("s",_ptemp);
573 } else {
574 Py_INCREF(Py_None);
575 _resultobj = Py_None;
576 }
577 {
578 if (_obj5)
579 delete _arg5;
580 }
581 return _resultobj;
582 }
583
584 #define new_wxPreNotebook() (new wxNotebook())
585 static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
586 PyObject * _resultobj;
587 wxNotebook * _result;
588 char *_kwnames[] = { NULL };
589 char _ptemp[128];
590
591 self = self;
592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames))
593 return NULL;
594 {
595 PyThreadState* __tstate = wxPyBeginAllowThreads();
596 _result = (wxNotebook *)new_wxPreNotebook();
597
598 wxPyEndAllowThreads(__tstate);
599 if (PyErr_Occurred()) return NULL;
600 } if (_result) {
601 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
602 _resultobj = Py_BuildValue("s",_ptemp);
603 } else {
604 Py_INCREF(Py_None);
605 _resultobj = Py_None;
606 }
607 return _resultobj;
608 }
609
610 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
611 static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
612 PyObject * _resultobj;
613 bool _result;
614 wxNotebook * _arg0;
615 wxWindow * _arg1;
616 wxWindowID _arg2;
617 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
618 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
619 long _arg5 = (long ) 0;
620 wxString * _arg6 = (wxString *) &wxPyNOTEBOOK_NAME;
621 PyObject * _argo0 = 0;
622 PyObject * _argo1 = 0;
623 wxPoint temp;
624 PyObject * _obj3 = 0;
625 wxSize temp0;
626 PyObject * _obj4 = 0;
627 PyObject * _obj6 = 0;
628 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
629
630 self = self;
631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
632 return NULL;
633 if (_argo0) {
634 if (_argo0 == Py_None) { _arg0 = NULL; }
635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
637 return NULL;
638 }
639 }
640 if (_argo1) {
641 if (_argo1 == Py_None) { _arg1 = NULL; }
642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
644 return NULL;
645 }
646 }
647 if (_obj3)
648 {
649 _arg3 = &temp;
650 if (! wxPoint_helper(_obj3, &_arg3))
651 return NULL;
652 }
653 if (_obj4)
654 {
655 _arg4 = &temp0;
656 if (! wxSize_helper(_obj4, &_arg4))
657 return NULL;
658 }
659 if (_obj6)
660 {
661 _arg6 = wxString_in_helper(_obj6);
662 if (_arg6 == NULL)
663 return NULL;
664 }
665 {
666 PyThreadState* __tstate = wxPyBeginAllowThreads();
667 _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
668
669 wxPyEndAllowThreads(__tstate);
670 if (PyErr_Occurred()) return NULL;
671 } _resultobj = Py_BuildValue("i",_result);
672 {
673 if (_obj6)
674 delete _arg6;
675 }
676 return _resultobj;
677 }
678
679 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
680 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
681 PyObject * _resultobj;
682 int _result;
683 wxNotebook * _arg0;
684 PyObject * _argo0 = 0;
685 char *_kwnames[] = { "self", NULL };
686
687 self = self;
688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
689 return NULL;
690 if (_argo0) {
691 if (_argo0 == Py_None) { _arg0 = NULL; }
692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
694 return NULL;
695 }
696 }
697 {
698 PyThreadState* __tstate = wxPyBeginAllowThreads();
699 _result = (int )wxNotebook_GetPageCount(_arg0);
700
701 wxPyEndAllowThreads(__tstate);
702 if (PyErr_Occurred()) return NULL;
703 } _resultobj = Py_BuildValue("i",_result);
704 return _resultobj;
705 }
706
707 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
708 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
709 PyObject * _resultobj;
710 int _result;
711 wxNotebook * _arg0;
712 int _arg1;
713 PyObject * _argo0 = 0;
714 char *_kwnames[] = { "self","nPage", NULL };
715
716 self = self;
717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
718 return NULL;
719 if (_argo0) {
720 if (_argo0 == Py_None) { _arg0 = NULL; }
721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
723 return NULL;
724 }
725 }
726 {
727 PyThreadState* __tstate = wxPyBeginAllowThreads();
728 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
729
730 wxPyEndAllowThreads(__tstate);
731 if (PyErr_Occurred()) return NULL;
732 } _resultobj = Py_BuildValue("i",_result);
733 return _resultobj;
734 }
735
736 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
737 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject * _resultobj;
739 wxNotebook * _arg0;
740 bool _arg1 = (bool ) TRUE;
741 PyObject * _argo0 = 0;
742 int tempbool1 = (int) TRUE;
743 char *_kwnames[] = { "self","bForward", NULL };
744
745 self = self;
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
747 return NULL;
748 if (_argo0) {
749 if (_argo0 == Py_None) { _arg0 = NULL; }
750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
752 return NULL;
753 }
754 }
755 _arg1 = (bool ) tempbool1;
756 {
757 PyThreadState* __tstate = wxPyBeginAllowThreads();
758 wxNotebook_AdvanceSelection(_arg0,_arg1);
759
760 wxPyEndAllowThreads(__tstate);
761 if (PyErr_Occurred()) return NULL;
762 } Py_INCREF(Py_None);
763 _resultobj = Py_None;
764 return _resultobj;
765 }
766
767 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
768 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
769 PyObject * _resultobj;
770 int _result;
771 wxNotebook * _arg0;
772 PyObject * _argo0 = 0;
773 char *_kwnames[] = { "self", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
782 return NULL;
783 }
784 }
785 {
786 PyThreadState* __tstate = wxPyBeginAllowThreads();
787 _result = (int )wxNotebook_GetSelection(_arg0);
788
789 wxPyEndAllowThreads(__tstate);
790 if (PyErr_Occurred()) return NULL;
791 } _resultobj = Py_BuildValue("i",_result);
792 return _resultobj;
793 }
794
795 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
796 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
797 PyObject * _resultobj;
798 bool _result;
799 wxNotebook * _arg0;
800 int _arg1;
801 wxString * _arg2;
802 PyObject * _argo0 = 0;
803 PyObject * _obj2 = 0;
804 char *_kwnames[] = { "self","nPage","strText", NULL };
805
806 self = self;
807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
808 return NULL;
809 if (_argo0) {
810 if (_argo0 == Py_None) { _arg0 = NULL; }
811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
813 return NULL;
814 }
815 }
816 {
817 _arg2 = wxString_in_helper(_obj2);
818 if (_arg2 == NULL)
819 return NULL;
820 }
821 {
822 PyThreadState* __tstate = wxPyBeginAllowThreads();
823 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
824
825 wxPyEndAllowThreads(__tstate);
826 if (PyErr_Occurred()) return NULL;
827 } _resultobj = Py_BuildValue("i",_result);
828 {
829 if (_obj2)
830 delete _arg2;
831 }
832 return _resultobj;
833 }
834
835 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
836 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxString * _result;
839 wxNotebook * _arg0;
840 int _arg1;
841 PyObject * _argo0 = 0;
842 char *_kwnames[] = { "self","nPage", NULL };
843
844 self = self;
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
846 return NULL;
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
851 return NULL;
852 }
853 }
854 {
855 PyThreadState* __tstate = wxPyBeginAllowThreads();
856 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
857
858 wxPyEndAllowThreads(__tstate);
859 if (PyErr_Occurred()) return NULL;
860 }{
861 #if wxUSE_UNICODE
862 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
863 #else
864 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
865 #endif
866 }
867 {
868 delete _result;
869 }
870 return _resultobj;
871 }
872
873 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
874 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject * _resultobj;
876 wxNotebook * _arg0;
877 wxImageList * _arg1;
878 PyObject * _argo0 = 0;
879 PyObject * _argo1 = 0;
880 char *_kwnames[] = { "self","imageList", NULL };
881
882 self = self;
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
884 return NULL;
885 if (_argo0) {
886 if (_argo0 == Py_None) { _arg0 = NULL; }
887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
889 return NULL;
890 }
891 }
892 if (_argo1) {
893 if (_argo1 == Py_None) { _arg1 = NULL; }
894 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
895 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
896 return NULL;
897 }
898 }
899 {
900 PyThreadState* __tstate = wxPyBeginAllowThreads();
901 wxNotebook_SetImageList(_arg0,_arg1);
902
903 wxPyEndAllowThreads(__tstate);
904 if (PyErr_Occurred()) return NULL;
905 } Py_INCREF(Py_None);
906 _resultobj = Py_None;
907 return _resultobj;
908 }
909
910 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
911 static PyObject *_wrap_wxNotebook_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
912 PyObject * _resultobj;
913 wxNotebook * _arg0;
914 wxImageList * _arg1;
915 PyObject * _argo0 = 0;
916 PyObject * _argo1 = 0;
917 char *_kwnames[] = { "self","imageList", NULL };
918
919 self = self;
920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_AssignImageList",_kwnames,&_argo0,&_argo1))
921 return NULL;
922 if (_argo0) {
923 if (_argo0 == Py_None) { _arg0 = NULL; }
924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
926 return NULL;
927 }
928 }
929 if (_argo1) {
930 if (_argo1 == Py_None) { _arg1 = NULL; }
931 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
932 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
933 return NULL;
934 }
935 }
936 {
937 PyThreadState* __tstate = wxPyBeginAllowThreads();
938 wxNotebook_AssignImageList(_arg0,_arg1);
939
940 wxPyEndAllowThreads(__tstate);
941 if (PyErr_Occurred()) return NULL;
942 } Py_INCREF(Py_None);
943 _resultobj = Py_None;
944 return _resultobj;
945 }
946
947 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
948 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject * _resultobj;
950 wxImageList * _result;
951 wxNotebook * _arg0;
952 PyObject * _argo0 = 0;
953 char *_kwnames[] = { "self", NULL };
954
955 self = self;
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
957 return NULL;
958 if (_argo0) {
959 if (_argo0 == Py_None) { _arg0 = NULL; }
960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
962 return NULL;
963 }
964 }
965 {
966 PyThreadState* __tstate = wxPyBeginAllowThreads();
967 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
968
969 wxPyEndAllowThreads(__tstate);
970 if (PyErr_Occurred()) return NULL;
971 }{ _resultobj = wxPyMake_wxObject(_result); }
972 return _resultobj;
973 }
974
975 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
976 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
977 PyObject * _resultobj;
978 int _result;
979 wxNotebook * _arg0;
980 int _arg1;
981 PyObject * _argo0 = 0;
982 char *_kwnames[] = { "self","nPage", NULL };
983
984 self = self;
985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
986 return NULL;
987 if (_argo0) {
988 if (_argo0 == Py_None) { _arg0 = NULL; }
989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
991 return NULL;
992 }
993 }
994 {
995 PyThreadState* __tstate = wxPyBeginAllowThreads();
996 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
997
998 wxPyEndAllowThreads(__tstate);
999 if (PyErr_Occurred()) return NULL;
1000 } _resultobj = Py_BuildValue("i",_result);
1001 return _resultobj;
1002 }
1003
1004 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
1005 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject * _resultobj;
1007 bool _result;
1008 wxNotebook * _arg0;
1009 int _arg1;
1010 int _arg2;
1011 PyObject * _argo0 = 0;
1012 char *_kwnames[] = { "self","nPage","nImage", NULL };
1013
1014 self = self;
1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
1016 return NULL;
1017 if (_argo0) {
1018 if (_argo0 == Py_None) { _arg0 = NULL; }
1019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
1021 return NULL;
1022 }
1023 }
1024 {
1025 PyThreadState* __tstate = wxPyBeginAllowThreads();
1026 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
1027
1028 wxPyEndAllowThreads(__tstate);
1029 if (PyErr_Occurred()) return NULL;
1030 } _resultobj = Py_BuildValue("i",_result);
1031 return _resultobj;
1032 }
1033
1034 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1035 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
1036 PyObject * _resultobj;
1037 int _result;
1038 wxNotebook * _arg0;
1039 PyObject * _argo0 = 0;
1040 char *_kwnames[] = { "self", NULL };
1041
1042 self = self;
1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
1044 return NULL;
1045 if (_argo0) {
1046 if (_argo0 == Py_None) { _arg0 = NULL; }
1047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1049 return NULL;
1050 }
1051 }
1052 {
1053 PyThreadState* __tstate = wxPyBeginAllowThreads();
1054 _result = (int )wxNotebook_GetRowCount(_arg0);
1055
1056 wxPyEndAllowThreads(__tstate);
1057 if (PyErr_Occurred()) return NULL;
1058 } _resultobj = Py_BuildValue("i",_result);
1059 return _resultobj;
1060 }
1061
1062 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
1063 static PyObject *_wrap_wxNotebook_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject * _resultobj;
1065 wxNotebook * _arg0;
1066 wxSize * _arg1;
1067 PyObject * _argo0 = 0;
1068 wxSize temp;
1069 PyObject * _obj1 = 0;
1070 char *_kwnames[] = { "self","size", NULL };
1071
1072 self = self;
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPageSize",_kwnames,&_argo0,&_obj1))
1074 return NULL;
1075 if (_argo0) {
1076 if (_argo0 == Py_None) { _arg0 = NULL; }
1077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1079 return NULL;
1080 }
1081 }
1082 {
1083 _arg1 = &temp;
1084 if (! wxSize_helper(_obj1, &_arg1))
1085 return NULL;
1086 }
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 wxNotebook_SetPageSize(_arg0,*_arg1);
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) return NULL;
1093 } Py_INCREF(Py_None);
1094 _resultobj = Py_None;
1095 return _resultobj;
1096 }
1097
1098 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1099 static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject * _resultobj;
1101 wxNotebook * _arg0;
1102 wxSize * _arg1;
1103 PyObject * _argo0 = 0;
1104 wxSize temp;
1105 PyObject * _obj1 = 0;
1106 char *_kwnames[] = { "self","padding", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPadding",_kwnames,&_argo0,&_obj1))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1115 return NULL;
1116 }
1117 }
1118 {
1119 _arg1 = &temp;
1120 if (! wxSize_helper(_obj1, &_arg1))
1121 return NULL;
1122 }
1123 {
1124 PyThreadState* __tstate = wxPyBeginAllowThreads();
1125 wxNotebook_SetPadding(_arg0,*_arg1);
1126
1127 wxPyEndAllowThreads(__tstate);
1128 if (PyErr_Occurred()) return NULL;
1129 } Py_INCREF(Py_None);
1130 _resultobj = Py_None;
1131 return _resultobj;
1132 }
1133
1134 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1135 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject * _resultobj;
1137 bool _result;
1138 wxNotebook * _arg0;
1139 int _arg1;
1140 PyObject * _argo0 = 0;
1141 char *_kwnames[] = { "self","nPage", NULL };
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1150 return NULL;
1151 }
1152 }
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) return NULL;
1159 } _resultobj = Py_BuildValue("i",_result);
1160 return _resultobj;
1161 }
1162
1163 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1164 static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1165 PyObject * _resultobj;
1166 bool _result;
1167 wxNotebook * _arg0;
1168 int _arg1;
1169 PyObject * _argo0 = 0;
1170 char *_kwnames[] = { "self","nPage", NULL };
1171
1172 self = self;
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
1174 return NULL;
1175 if (_argo0) {
1176 if (_argo0 == Py_None) { _arg0 = NULL; }
1177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1179 return NULL;
1180 }
1181 }
1182 {
1183 PyThreadState* __tstate = wxPyBeginAllowThreads();
1184 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
1185
1186 wxPyEndAllowThreads(__tstate);
1187 if (PyErr_Occurred()) return NULL;
1188 } _resultobj = Py_BuildValue("i",_result);
1189 return _resultobj;
1190 }
1191
1192 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1193 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
1194 PyObject * _resultobj;
1195 bool _result;
1196 wxNotebook * _arg0;
1197 PyObject * _argo0 = 0;
1198 char *_kwnames[] = { "self", NULL };
1199
1200 self = self;
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
1202 return NULL;
1203 if (_argo0) {
1204 if (_argo0 == Py_None) { _arg0 = NULL; }
1205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1207 return NULL;
1208 }
1209 }
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) return NULL;
1216 } _resultobj = Py_BuildValue("i",_result);
1217 return _resultobj;
1218 }
1219
1220 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1221 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1222 PyObject * _resultobj;
1223 bool _result;
1224 wxNotebook * _arg0;
1225 wxWindow * _arg1;
1226 wxString * _arg2;
1227 int _arg3 = (int ) FALSE;
1228 int _arg4 = (int ) -1;
1229 PyObject * _argo0 = 0;
1230 PyObject * _argo1 = 0;
1231 PyObject * _obj2 = 0;
1232 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
1233
1234 self = self;
1235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
1236 return NULL;
1237 if (_argo0) {
1238 if (_argo0 == Py_None) { _arg0 = NULL; }
1239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1241 return NULL;
1242 }
1243 }
1244 if (_argo1) {
1245 if (_argo1 == Py_None) { _arg1 = NULL; }
1246 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1248 return NULL;
1249 }
1250 }
1251 {
1252 _arg2 = wxString_in_helper(_obj2);
1253 if (_arg2 == NULL)
1254 return NULL;
1255 }
1256 {
1257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1258 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
1259
1260 wxPyEndAllowThreads(__tstate);
1261 if (PyErr_Occurred()) return NULL;
1262 } _resultobj = Py_BuildValue("i",_result);
1263 {
1264 if (_obj2)
1265 delete _arg2;
1266 }
1267 return _resultobj;
1268 }
1269
1270 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1271 static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 bool _result;
1274 wxNotebook * _arg0;
1275 int _arg1;
1276 wxWindow * _arg2;
1277 wxString * _arg3;
1278 bool _arg4 = (bool ) FALSE;
1279 int _arg5 = (int ) -1;
1280 PyObject * _argo0 = 0;
1281 PyObject * _argo2 = 0;
1282 PyObject * _obj3 = 0;
1283 int tempbool4 = (int) FALSE;
1284 char *_kwnames[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL };
1285
1286 self = self;
1287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
1288 return NULL;
1289 if (_argo0) {
1290 if (_argo0 == Py_None) { _arg0 = NULL; }
1291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1293 return NULL;
1294 }
1295 }
1296 if (_argo2) {
1297 if (_argo2 == Py_None) { _arg2 = NULL; }
1298 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1300 return NULL;
1301 }
1302 }
1303 {
1304 _arg3 = wxString_in_helper(_obj3);
1305 if (_arg3 == NULL)
1306 return NULL;
1307 }
1308 _arg4 = (bool ) tempbool4;
1309 {
1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
1311 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
1312
1313 wxPyEndAllowThreads(__tstate);
1314 if (PyErr_Occurred()) return NULL;
1315 } _resultobj = Py_BuildValue("i",_result);
1316 {
1317 if (_obj3)
1318 delete _arg3;
1319 }
1320 return _resultobj;
1321 }
1322
1323 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1324 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject * _resultobj;
1326 wxWindow * _result;
1327 wxNotebook * _arg0;
1328 int _arg1;
1329 PyObject * _argo0 = 0;
1330 char *_kwnames[] = { "self","nPage", NULL };
1331
1332 self = self;
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
1334 return NULL;
1335 if (_argo0) {
1336 if (_argo0 == Py_None) { _arg0 = NULL; }
1337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1339 return NULL;
1340 }
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) return NULL;
1348 }{ _resultobj = wxPyMake_wxObject(_result); }
1349 return _resultobj;
1350 }
1351
1352 static void wxNotebook_ResizeChildren(wxNotebook *self) {
1353 wxSizeEvent evt(self->GetClientSize());
1354 self->GetEventHandler()->ProcessEvent(evt);
1355 }
1356 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject * _resultobj;
1358 wxNotebook * _arg0;
1359 PyObject * _argo0 = 0;
1360 char *_kwnames[] = { "self", NULL };
1361
1362 self = self;
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
1364 return NULL;
1365 if (_argo0) {
1366 if (_argo0 == Py_None) { _arg0 = NULL; }
1367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1369 return NULL;
1370 }
1371 }
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 wxNotebook_ResizeChildren(_arg0);
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) return NULL;
1378 } Py_INCREF(Py_None);
1379 _resultobj = Py_None;
1380 return _resultobj;
1381 }
1382
1383 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr) {
1384 wxSplitterEvent *src;
1385 wxNotifyEvent *dest;
1386 src = (wxSplitterEvent *) ptr;
1387 dest = (wxNotifyEvent *) src;
1388 return (void *) dest;
1389 }
1390
1391 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
1392 wxSplitterEvent *src;
1393 wxCommandEvent *dest;
1394 src = (wxSplitterEvent *) ptr;
1395 dest = (wxCommandEvent *) src;
1396 return (void *) dest;
1397 }
1398
1399 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
1400 wxSplitterEvent *src;
1401 wxEvent *dest;
1402 src = (wxSplitterEvent *) ptr;
1403 dest = (wxEvent *) src;
1404 return (void *) dest;
1405 }
1406
1407 static void *SwigwxSplitterEventTowxObject(void *ptr) {
1408 wxSplitterEvent *src;
1409 wxObject *dest;
1410 src = (wxSplitterEvent *) ptr;
1411 dest = (wxObject *) src;
1412 return (void *) dest;
1413 }
1414
1415 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1416 static PyObject *_wrap_new_wxSplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject * _resultobj;
1418 wxSplitterEvent * _result;
1419 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
1420 wxSplitterWindow * _arg1 = (wxSplitterWindow *) NULL;
1421 PyObject * _argo1 = 0;
1422 char *_kwnames[] = { "type","splitter", NULL };
1423 char _ptemp[128];
1424
1425 self = self;
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxSplitterEvent",_kwnames,&_arg0,&_argo1))
1427 return NULL;
1428 if (_argo1) {
1429 if (_argo1 == Py_None) { _arg1 = NULL; }
1430 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSplitterWindow_p")) {
1431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1432 return NULL;
1433 }
1434 }
1435 {
1436 PyThreadState* __tstate = wxPyBeginAllowThreads();
1437 _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1);
1438
1439 wxPyEndAllowThreads(__tstate);
1440 if (PyErr_Occurred()) return NULL;
1441 } if (_result) {
1442 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterEvent_p");
1443 _resultobj = Py_BuildValue("s",_ptemp);
1444 } else {
1445 Py_INCREF(Py_None);
1446 _resultobj = Py_None;
1447 }
1448 return _resultobj;
1449 }
1450
1451 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1452 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject * _resultobj;
1454 int _result;
1455 wxSplitterEvent * _arg0;
1456 PyObject * _argo0 = 0;
1457 char *_kwnames[] = { "self", NULL };
1458
1459 self = self;
1460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
1461 return NULL;
1462 if (_argo0) {
1463 if (_argo0 == Py_None) { _arg0 = NULL; }
1464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1466 return NULL;
1467 }
1468 }
1469 {
1470 PyThreadState* __tstate = wxPyBeginAllowThreads();
1471 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
1472
1473 wxPyEndAllowThreads(__tstate);
1474 if (PyErr_Occurred()) return NULL;
1475 } _resultobj = Py_BuildValue("i",_result);
1476 return _resultobj;
1477 }
1478
1479 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1480 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject * _resultobj;
1482 int _result;
1483 wxSplitterEvent * _arg0;
1484 PyObject * _argo0 = 0;
1485 char *_kwnames[] = { "self", NULL };
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
1489 return NULL;
1490 if (_argo0) {
1491 if (_argo0 == Py_None) { _arg0 = NULL; }
1492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1494 return NULL;
1495 }
1496 }
1497 {
1498 PyThreadState* __tstate = wxPyBeginAllowThreads();
1499 _result = (int )wxSplitterEvent_GetX(_arg0);
1500
1501 wxPyEndAllowThreads(__tstate);
1502 if (PyErr_Occurred()) return NULL;
1503 } _resultobj = Py_BuildValue("i",_result);
1504 return _resultobj;
1505 }
1506
1507 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1508 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject * _resultobj;
1510 int _result;
1511 wxSplitterEvent * _arg0;
1512 PyObject * _argo0 = 0;
1513 char *_kwnames[] = { "self", NULL };
1514
1515 self = self;
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
1517 return NULL;
1518 if (_argo0) {
1519 if (_argo0 == Py_None) { _arg0 = NULL; }
1520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1522 return NULL;
1523 }
1524 }
1525 {
1526 PyThreadState* __tstate = wxPyBeginAllowThreads();
1527 _result = (int )wxSplitterEvent_GetY(_arg0);
1528
1529 wxPyEndAllowThreads(__tstate);
1530 if (PyErr_Occurred()) return NULL;
1531 } _resultobj = Py_BuildValue("i",_result);
1532 return _resultobj;
1533 }
1534
1535 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1536 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
1537 PyObject * _resultobj;
1538 wxWindow * _result;
1539 wxSplitterEvent * _arg0;
1540 PyObject * _argo0 = 0;
1541 char *_kwnames[] = { "self", NULL };
1542
1543 self = self;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
1545 return NULL;
1546 if (_argo0) {
1547 if (_argo0 == Py_None) { _arg0 = NULL; }
1548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1550 return NULL;
1551 }
1552 }
1553 {
1554 PyThreadState* __tstate = wxPyBeginAllowThreads();
1555 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
1556
1557 wxPyEndAllowThreads(__tstate);
1558 if (PyErr_Occurred()) return NULL;
1559 }{ _resultobj = wxPyMake_wxObject(_result); }
1560 return _resultobj;
1561 }
1562
1563 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1564 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject * _resultobj;
1566 wxSplitterEvent * _arg0;
1567 int _arg1;
1568 PyObject * _argo0 = 0;
1569 char *_kwnames[] = { "self","pos", NULL };
1570
1571 self = self;
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
1573 return NULL;
1574 if (_argo0) {
1575 if (_argo0 == Py_None) { _arg0 = NULL; }
1576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1578 return NULL;
1579 }
1580 }
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) return NULL;
1587 } Py_INCREF(Py_None);
1588 _resultobj = Py_None;
1589 return _resultobj;
1590 }
1591
1592 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
1593 wxSplitterWindow *src;
1594 wxWindow *dest;
1595 src = (wxSplitterWindow *) ptr;
1596 dest = (wxWindow *) src;
1597 return (void *) dest;
1598 }
1599
1600 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
1601 wxSplitterWindow *src;
1602 wxEvtHandler *dest;
1603 src = (wxSplitterWindow *) ptr;
1604 dest = (wxEvtHandler *) src;
1605 return (void *) dest;
1606 }
1607
1608 static void *SwigwxSplitterWindowTowxObject(void *ptr) {
1609 wxSplitterWindow *src;
1610 wxObject *dest;
1611 src = (wxSplitterWindow *) ptr;
1612 dest = (wxObject *) src;
1613 return (void *) dest;
1614 }
1615
1616 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1617 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject * _resultobj;
1619 wxSplitterWindow * _result;
1620 wxWindow * _arg0;
1621 wxWindowID _arg1;
1622 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1623 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1624 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1625 wxString * _arg5 = (wxString *) &wxPySplitterNameStr;
1626 PyObject * _argo0 = 0;
1627 wxPoint temp;
1628 PyObject * _obj2 = 0;
1629 wxSize temp0;
1630 PyObject * _obj3 = 0;
1631 PyObject * _obj5 = 0;
1632 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
1633 char _ptemp[128];
1634
1635 self = self;
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1637 return NULL;
1638 if (_argo0) {
1639 if (_argo0 == Py_None) { _arg0 = NULL; }
1640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1642 return NULL;
1643 }
1644 }
1645 if (_obj2)
1646 {
1647 _arg2 = &temp;
1648 if (! wxPoint_helper(_obj2, &_arg2))
1649 return NULL;
1650 }
1651 if (_obj3)
1652 {
1653 _arg3 = &temp0;
1654 if (! wxSize_helper(_obj3, &_arg3))
1655 return NULL;
1656 }
1657 if (_obj5)
1658 {
1659 _arg5 = wxString_in_helper(_obj5);
1660 if (_arg5 == NULL)
1661 return NULL;
1662 }
1663 {
1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
1665 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1666
1667 wxPyEndAllowThreads(__tstate);
1668 if (PyErr_Occurred()) return NULL;
1669 } if (_result) {
1670 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
1671 _resultobj = Py_BuildValue("s",_ptemp);
1672 } else {
1673 Py_INCREF(Py_None);
1674 _resultobj = Py_None;
1675 }
1676 {
1677 if (_obj5)
1678 delete _arg5;
1679 }
1680 return _resultobj;
1681 }
1682
1683 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1684 static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 wxSplitterWindow * _result;
1687 char *_kwnames[] = { NULL };
1688 char _ptemp[128];
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSplitterWindow",_kwnames))
1692 return NULL;
1693 {
1694 PyThreadState* __tstate = wxPyBeginAllowThreads();
1695 _result = (wxSplitterWindow *)new_wxPreSplitterWindow();
1696
1697 wxPyEndAllowThreads(__tstate);
1698 if (PyErr_Occurred()) return NULL;
1699 } if (_result) {
1700 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
1701 _resultobj = Py_BuildValue("s",_ptemp);
1702 } else {
1703 Py_INCREF(Py_None);
1704 _resultobj = Py_None;
1705 }
1706 return _resultobj;
1707 }
1708
1709 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1710 static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject * _resultobj;
1712 bool _result;
1713 wxSplitterWindow * _arg0;
1714 wxWindow * _arg1;
1715 wxWindowID _arg2;
1716 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1717 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1718 long _arg5 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1719 wxString * _arg6 = (wxString *) &wxPySplitterNameStr;
1720 PyObject * _argo0 = 0;
1721 PyObject * _argo1 = 0;
1722 wxPoint temp;
1723 PyObject * _obj3 = 0;
1724 wxSize temp0;
1725 PyObject * _obj4 = 0;
1726 PyObject * _obj6 = 0;
1727 char *_kwnames[] = { "self","parent","id","point","size","style","name", NULL };
1728
1729 self = self;
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1731 return NULL;
1732 if (_argo0) {
1733 if (_argo0 == Py_None) { _arg0 = NULL; }
1734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1736 return NULL;
1737 }
1738 }
1739 if (_argo1) {
1740 if (_argo1 == Py_None) { _arg1 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1743 return NULL;
1744 }
1745 }
1746 if (_obj3)
1747 {
1748 _arg3 = &temp;
1749 if (! wxPoint_helper(_obj3, &_arg3))
1750 return NULL;
1751 }
1752 if (_obj4)
1753 {
1754 _arg4 = &temp0;
1755 if (! wxSize_helper(_obj4, &_arg4))
1756 return NULL;
1757 }
1758 if (_obj6)
1759 {
1760 _arg6 = wxString_in_helper(_obj6);
1761 if (_arg6 == NULL)
1762 return NULL;
1763 }
1764 {
1765 PyThreadState* __tstate = wxPyBeginAllowThreads();
1766 _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1767
1768 wxPyEndAllowThreads(__tstate);
1769 if (PyErr_Occurred()) return NULL;
1770 } _resultobj = Py_BuildValue("i",_result);
1771 {
1772 if (_obj6)
1773 delete _arg6;
1774 }
1775 return _resultobj;
1776 }
1777
1778 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1779 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject * _resultobj;
1781 wxWindow * _result;
1782 wxSplitterWindow * _arg0;
1783 PyObject * _argo0 = 0;
1784 char *_kwnames[] = { "self", NULL };
1785
1786 self = self;
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
1788 return NULL;
1789 if (_argo0) {
1790 if (_argo0 == Py_None) { _arg0 = NULL; }
1791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1793 return NULL;
1794 }
1795 }
1796 {
1797 PyThreadState* __tstate = wxPyBeginAllowThreads();
1798 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
1799
1800 wxPyEndAllowThreads(__tstate);
1801 if (PyErr_Occurred()) return NULL;
1802 }{ _resultobj = wxPyMake_wxObject(_result); }
1803 return _resultobj;
1804 }
1805
1806 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1807 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject * _resultobj;
1809 wxWindow * _result;
1810 wxSplitterWindow * _arg0;
1811 PyObject * _argo0 = 0;
1812 char *_kwnames[] = { "self", NULL };
1813
1814 self = self;
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
1816 return NULL;
1817 if (_argo0) {
1818 if (_argo0 == Py_None) { _arg0 = NULL; }
1819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1821 return NULL;
1822 }
1823 }
1824 {
1825 PyThreadState* __tstate = wxPyBeginAllowThreads();
1826 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
1827
1828 wxPyEndAllowThreads(__tstate);
1829 if (PyErr_Occurred()) return NULL;
1830 }{ _resultobj = wxPyMake_wxObject(_result); }
1831 return _resultobj;
1832 }
1833
1834 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1835 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject * _resultobj;
1837 wxSplitterWindow * _arg0;
1838 int _arg1;
1839 PyObject * _argo0 = 0;
1840 char *_kwnames[] = { "self","mode", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1849 return NULL;
1850 }
1851 }
1852 {
1853 PyThreadState* __tstate = wxPyBeginAllowThreads();
1854 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
1855
1856 wxPyEndAllowThreads(__tstate);
1857 if (PyErr_Occurred()) return NULL;
1858 } Py_INCREF(Py_None);
1859 _resultobj = Py_None;
1860 return _resultobj;
1861 }
1862
1863 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1864 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject * _resultobj;
1866 int _result;
1867 wxSplitterWindow * _arg0;
1868 PyObject * _argo0 = 0;
1869 char *_kwnames[] = { "self", NULL };
1870
1871 self = self;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
1873 return NULL;
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1878 return NULL;
1879 }
1880 }
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) return NULL;
1887 } _resultobj = Py_BuildValue("i",_result);
1888 return _resultobj;
1889 }
1890
1891 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1892 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject * _resultobj;
1894 wxSplitterWindow * _arg0;
1895 wxWindow * _arg1;
1896 PyObject * _argo0 = 0;
1897 PyObject * _argo1 = 0;
1898 char *_kwnames[] = { "self","window", NULL };
1899
1900 self = self;
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
1902 return NULL;
1903 if (_argo0) {
1904 if (_argo0 == Py_None) { _arg0 = NULL; }
1905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1907 return NULL;
1908 }
1909 }
1910 if (_argo1) {
1911 if (_argo1 == Py_None) { _arg1 = NULL; }
1912 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1913 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1914 return NULL;
1915 }
1916 }
1917 {
1918 PyThreadState* __tstate = wxPyBeginAllowThreads();
1919 wxSplitterWindow_Initialize(_arg0,_arg1);
1920
1921 wxPyEndAllowThreads(__tstate);
1922 if (PyErr_Occurred()) return NULL;
1923 } Py_INCREF(Py_None);
1924 _resultobj = Py_None;
1925 return _resultobj;
1926 }
1927
1928 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1929 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject * _resultobj;
1931 bool _result;
1932 wxSplitterWindow * _arg0;
1933 wxWindow * _arg1;
1934 wxWindow * _arg2;
1935 int _arg3 = (int ) 0;
1936 PyObject * _argo0 = 0;
1937 PyObject * _argo1 = 0;
1938 PyObject * _argo2 = 0;
1939 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
1940
1941 self = self;
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
1943 return NULL;
1944 if (_argo0) {
1945 if (_argo0 == Py_None) { _arg0 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1948 return NULL;
1949 }
1950 }
1951 if (_argo1) {
1952 if (_argo1 == Py_None) { _arg1 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1955 return NULL;
1956 }
1957 }
1958 if (_argo2) {
1959 if (_argo2 == Py_None) { _arg2 = NULL; }
1960 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1961 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1962 return NULL;
1963 }
1964 }
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) return NULL;
1971 } _resultobj = Py_BuildValue("i",_result);
1972 return _resultobj;
1973 }
1974
1975 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1976 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject * _resultobj;
1978 bool _result;
1979 wxSplitterWindow * _arg0;
1980 wxWindow * _arg1;
1981 wxWindow * _arg2;
1982 int _arg3 = (int ) 0;
1983 PyObject * _argo0 = 0;
1984 PyObject * _argo1 = 0;
1985 PyObject * _argo2 = 0;
1986 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
1987
1988 self = self;
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
1990 return NULL;
1991 if (_argo0) {
1992 if (_argo0 == Py_None) { _arg0 = NULL; }
1993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1995 return NULL;
1996 }
1997 }
1998 if (_argo1) {
1999 if (_argo1 == Py_None) { _arg1 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2002 return NULL;
2003 }
2004 }
2005 if (_argo2) {
2006 if (_argo2 == Py_None) { _arg2 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2009 return NULL;
2010 }
2011 }
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) return NULL;
2018 } _resultobj = Py_BuildValue("i",_result);
2019 return _resultobj;
2020 }
2021
2022 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2023 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2024 PyObject * _resultobj;
2025 bool _result;
2026 wxSplitterWindow * _arg0;
2027 wxWindow * _arg1 = (wxWindow *) NULL;
2028 PyObject * _argo0 = 0;
2029 PyObject * _argo1 = 0;
2030 char *_kwnames[] = { "self","toRemove", NULL };
2031
2032 self = self;
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
2034 return NULL;
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2039 return NULL;
2040 }
2041 }
2042 if (_argo1) {
2043 if (_argo1 == Py_None) { _arg1 = NULL; }
2044 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2046 return NULL;
2047 }
2048 }
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) return NULL;
2055 } _resultobj = Py_BuildValue("i",_result);
2056 return _resultobj;
2057 }
2058
2059 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2060 static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2061 PyObject * _resultobj;
2062 bool _result;
2063 wxSplitterWindow * _arg0;
2064 wxWindow * _arg1;
2065 wxWindow * _arg2;
2066 PyObject * _argo0 = 0;
2067 PyObject * _argo1 = 0;
2068 PyObject * _argo2 = 0;
2069 char *_kwnames[] = { "self","winOld","winNew", NULL };
2070
2071 self = self;
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2))
2073 return NULL;
2074 if (_argo0) {
2075 if (_argo0 == Py_None) { _arg0 = NULL; }
2076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2078 return NULL;
2079 }
2080 }
2081 if (_argo1) {
2082 if (_argo1 == Py_None) { _arg1 = NULL; }
2083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2085 return NULL;
2086 }
2087 }
2088 if (_argo2) {
2089 if (_argo2 == Py_None) { _arg2 = NULL; }
2090 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2092 return NULL;
2093 }
2094 }
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) return NULL;
2101 } _resultobj = Py_BuildValue("i",_result);
2102 return _resultobj;
2103 }
2104
2105 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2106 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject * _resultobj;
2108 bool _result;
2109 wxSplitterWindow * _arg0;
2110 PyObject * _argo0 = 0;
2111 char *_kwnames[] = { "self", NULL };
2112
2113 self = self;
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
2115 return NULL;
2116 if (_argo0) {
2117 if (_argo0 == Py_None) { _arg0 = NULL; }
2118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2120 return NULL;
2121 }
2122 }
2123 {
2124 PyThreadState* __tstate = wxPyBeginAllowThreads();
2125 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
2126
2127 wxPyEndAllowThreads(__tstate);
2128 if (PyErr_Occurred()) return NULL;
2129 } _resultobj = Py_BuildValue("i",_result);
2130 return _resultobj;
2131 }
2132
2133 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2134 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject * _resultobj;
2136 wxSplitterWindow * _arg0;
2137 int _arg1;
2138 PyObject * _argo0 = 0;
2139 char *_kwnames[] = { "self","width", NULL };
2140
2141 self = self;
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
2143 return NULL;
2144 if (_argo0) {
2145 if (_argo0 == Py_None) { _arg0 = NULL; }
2146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2148 return NULL;
2149 }
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 wxSplitterWindow_SetSashSize(_arg0,_arg1);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) return NULL;
2157 } Py_INCREF(Py_None);
2158 _resultobj = Py_None;
2159 return _resultobj;
2160 }
2161
2162 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2163 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2164 PyObject * _resultobj;
2165 wxSplitterWindow * _arg0;
2166 int _arg1;
2167 PyObject * _argo0 = 0;
2168 char *_kwnames[] = { "self","width", NULL };
2169
2170 self = self;
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
2172 return NULL;
2173 if (_argo0) {
2174 if (_argo0 == Py_None) { _arg0 = NULL; }
2175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2177 return NULL;
2178 }
2179 }
2180 {
2181 PyThreadState* __tstate = wxPyBeginAllowThreads();
2182 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
2183
2184 wxPyEndAllowThreads(__tstate);
2185 if (PyErr_Occurred()) return NULL;
2186 } Py_INCREF(Py_None);
2187 _resultobj = Py_None;
2188 return _resultobj;
2189 }
2190
2191 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2192 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 int _result;
2195 wxSplitterWindow * _arg0;
2196 PyObject * _argo0 = 0;
2197 char *_kwnames[] = { "self", NULL };
2198
2199 self = self;
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
2201 return NULL;
2202 if (_argo0) {
2203 if (_argo0 == Py_None) { _arg0 = NULL; }
2204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2206 return NULL;
2207 }
2208 }
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) return NULL;
2215 } _resultobj = Py_BuildValue("i",_result);
2216 return _resultobj;
2217 }
2218
2219 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2220 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 int _result;
2223 wxSplitterWindow * _arg0;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2234 return NULL;
2235 }
2236 }
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) return NULL;
2243 } _resultobj = Py_BuildValue("i",_result);
2244 return _resultobj;
2245 }
2246
2247 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2248 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject * _resultobj;
2250 wxSplitterWindow * _arg0;
2251 int _arg1;
2252 bool _arg2 = (bool ) TRUE;
2253 PyObject * _argo0 = 0;
2254 int tempbool2 = (int) TRUE;
2255 char *_kwnames[] = { "self","position","redraw", NULL };
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2264 return NULL;
2265 }
2266 }
2267 _arg2 = (bool ) tempbool2;
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) return NULL;
2274 } Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277 }
2278
2279 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2280 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject * _resultobj;
2282 int _result;
2283 wxSplitterWindow * _arg0;
2284 PyObject * _argo0 = 0;
2285 char *_kwnames[] = { "self", NULL };
2286
2287 self = self;
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
2289 return NULL;
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2294 return NULL;
2295 }
2296 }
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) return NULL;
2303 } _resultobj = Py_BuildValue("i",_result);
2304 return _resultobj;
2305 }
2306
2307 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2308 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject * _resultobj;
2310 wxSplitterWindow * _arg0;
2311 int _arg1;
2312 PyObject * _argo0 = 0;
2313 char *_kwnames[] = { "self","min", NULL };
2314
2315 self = self;
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
2317 return NULL;
2318 if (_argo0) {
2319 if (_argo0 == Py_None) { _arg0 = NULL; }
2320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2322 return NULL;
2323 }
2324 }
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) return NULL;
2331 } Py_INCREF(Py_None);
2332 _resultobj = Py_None;
2333 return _resultobj;
2334 }
2335
2336 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2337 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject * _resultobj;
2339 int _result;
2340 wxSplitterWindow * _arg0;
2341 PyObject * _argo0 = 0;
2342 char *_kwnames[] = { "self", NULL };
2343
2344 self = self;
2345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
2346 return NULL;
2347 if (_argo0) {
2348 if (_argo0 == Py_None) { _arg0 = NULL; }
2349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2351 return NULL;
2352 }
2353 }
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) return NULL;
2360 } _resultobj = Py_BuildValue("i",_result);
2361 return _resultobj;
2362 }
2363
2364 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2365 static PyObject *_wrap_wxSplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxSplitterWindow * _arg0;
2368 PyObject * _argo0 = 0;
2369 char *_kwnames[] = { "self", NULL };
2370
2371 self = self;
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_SizeWindows",_kwnames,&_argo0))
2373 return NULL;
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2378 return NULL;
2379 }
2380 }
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 wxSplitterWindow_SizeWindows(_arg0);
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) return NULL;
2387 } Py_INCREF(Py_None);
2388 _resultobj = Py_None;
2389 return _resultobj;
2390 }
2391
2392 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2393 static PyObject *_wrap_wxSplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject * _resultobj;
2395 wxSplitterWindow * _arg0;
2396 bool _arg1;
2397 PyObject * _argo0 = 0;
2398 int tempbool1;
2399 char *_kwnames[] = { "self","needUpdating", NULL };
2400
2401 self = self;
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames,&_argo0,&tempbool1))
2403 return NULL;
2404 if (_argo0) {
2405 if (_argo0 == Py_None) { _arg0 = NULL; }
2406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2408 return NULL;
2409 }
2410 }
2411 _arg1 = (bool ) tempbool1;
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
2414 wxSplitterWindow_SetNeedUpdating(_arg0,_arg1);
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) return NULL;
2418 } Py_INCREF(Py_None);
2419 _resultobj = Py_None;
2420 return _resultobj;
2421 }
2422
2423 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2424 static PyObject *_wrap_wxSplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject * _resultobj;
2426 bool _result;
2427 wxSplitterWindow * _arg0;
2428 PyObject * _argo0 = 0;
2429 char *_kwnames[] = { "self", NULL };
2430
2431 self = self;
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetNeedUpdating",_kwnames,&_argo0))
2433 return NULL;
2434 if (_argo0) {
2435 if (_argo0 == Py_None) { _arg0 = NULL; }
2436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2438 return NULL;
2439 }
2440 }
2441 {
2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
2443 _result = (bool )wxSplitterWindow_GetNeedUpdating(_arg0);
2444
2445 wxPyEndAllowThreads(__tstate);
2446 if (PyErr_Occurred()) return NULL;
2447 } _resultobj = Py_BuildValue("i",_result);
2448 return _resultobj;
2449 }
2450
2451 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
2452 wxTaskBarIcon *src;
2453 wxEvtHandler *dest;
2454 src = (wxTaskBarIcon *) ptr;
2455 dest = (wxEvtHandler *) src;
2456 return (void *) dest;
2457 }
2458
2459 static void *SwigwxTaskBarIconTowxObject(void *ptr) {
2460 wxTaskBarIcon *src;
2461 wxObject *dest;
2462 src = (wxTaskBarIcon *) ptr;
2463 dest = (wxObject *) src;
2464 return (void *) dest;
2465 }
2466
2467 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2468 static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject * _resultobj;
2470 wxTaskBarIcon * _result;
2471 char *_kwnames[] = { NULL };
2472 char _ptemp[128];
2473
2474 self = self;
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTaskBarIcon",_kwnames))
2476 return NULL;
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) return NULL;
2483 } if (_result) {
2484 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
2485 _resultobj = Py_BuildValue("s",_ptemp);
2486 } else {
2487 Py_INCREF(Py_None);
2488 _resultobj = Py_None;
2489 }
2490 return _resultobj;
2491 }
2492
2493 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2494 static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject * _resultobj;
2496 wxTaskBarIcon * _arg0;
2497 PyObject * _argo0 = 0;
2498 char *_kwnames[] = { "self", NULL };
2499
2500 self = self;
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTaskBarIcon",_kwnames,&_argo0))
2502 return NULL;
2503 if (_argo0) {
2504 if (_argo0 == Py_None) { _arg0 = NULL; }
2505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2507 return NULL;
2508 }
2509 }
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 delete_wxTaskBarIcon(_arg0);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) return NULL;
2516 } Py_INCREF(Py_None);
2517 _resultobj = Py_None;
2518 return _resultobj;
2519 }
2520
2521 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2522 static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2523 PyObject * _resultobj;
2524 bool _result;
2525 wxTaskBarIcon * _arg0;
2526 wxIcon * _arg1;
2527 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2528 PyObject * _argo0 = 0;
2529 PyObject * _argo1 = 0;
2530 PyObject * _obj2 = 0;
2531 char *_kwnames[] = { "self","icon","tooltip", NULL };
2532
2533 self = self;
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTaskBarIcon_SetIcon",_kwnames,&_argo0,&_argo1,&_obj2))
2535 return NULL;
2536 if (_argo0) {
2537 if (_argo0 == Py_None) { _arg0 = NULL; }
2538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2540 return NULL;
2541 }
2542 }
2543 if (_argo1) {
2544 if (_argo1 == Py_None) { _arg1 = NULL; }
2545 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2546 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2547 return NULL;
2548 }
2549 }
2550 if (_obj2)
2551 {
2552 _arg2 = wxString_in_helper(_obj2);
2553 if (_arg2 == NULL)
2554 return NULL;
2555 }
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,*_arg2);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) return NULL;
2562 } _resultobj = Py_BuildValue("i",_result);
2563 {
2564 if (_obj2)
2565 delete _arg2;
2566 }
2567 return _resultobj;
2568 }
2569
2570 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2571 static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject * _resultobj;
2573 bool _result;
2574 wxTaskBarIcon * _arg0;
2575 PyObject * _argo0 = 0;
2576 char *_kwnames[] = { "self", NULL };
2577
2578 self = self;
2579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_RemoveIcon",_kwnames,&_argo0))
2580 return NULL;
2581 if (_argo0) {
2582 if (_argo0 == Py_None) { _arg0 = NULL; }
2583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2585 return NULL;
2586 }
2587 }
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) return NULL;
2594 } _resultobj = Py_BuildValue("i",_result);
2595 return _resultobj;
2596 }
2597
2598 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2599 static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
2600 PyObject * _resultobj;
2601 bool _result;
2602 wxTaskBarIcon * _arg0;
2603 wxMenu * _arg1;
2604 PyObject * _argo0 = 0;
2605 PyObject * _argo1 = 0;
2606 char *_kwnames[] = { "self","menu", NULL };
2607
2608 self = self;
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTaskBarIcon_PopupMenu",_kwnames,&_argo0,&_argo1))
2610 return NULL;
2611 if (_argo0) {
2612 if (_argo0 == Py_None) { _arg0 = NULL; }
2613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2615 return NULL;
2616 }
2617 }
2618 if (_argo1) {
2619 if (_argo1 == Py_None) { _arg1 = NULL; }
2620 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2622 return NULL;
2623 }
2624 }
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) return NULL;
2631 } _resultobj = Py_BuildValue("i",_result);
2632 return _resultobj;
2633 }
2634
2635 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2636 static PyObject *_wrap_wxTaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 bool _result;
2639 wxTaskBarIcon * _arg0;
2640 PyObject * _argo0 = 0;
2641 char *_kwnames[] = { "self", NULL };
2642
2643 self = self;
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_IsIconInstalled",_kwnames,&_argo0))
2645 return NULL;
2646 if (_argo0) {
2647 if (_argo0 == Py_None) { _arg0 = NULL; }
2648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2650 return NULL;
2651 }
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 _result = (bool )wxTaskBarIcon_IsIconInstalled(_arg0);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) return NULL;
2659 } _resultobj = Py_BuildValue("i",_result);
2660 return _resultobj;
2661 }
2662
2663 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2664 static PyObject *_wrap_wxTaskBarIcon_IsOK(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject * _resultobj;
2666 bool _result;
2667 wxTaskBarIcon * _arg0;
2668 PyObject * _argo0 = 0;
2669 char *_kwnames[] = { "self", NULL };
2670
2671 self = self;
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_IsOK",_kwnames,&_argo0))
2673 return NULL;
2674 if (_argo0) {
2675 if (_argo0 == Py_None) { _arg0 = NULL; }
2676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2678 return NULL;
2679 }
2680 }
2681 {
2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
2683 _result = (bool )wxTaskBarIcon_IsOK(_arg0);
2684
2685 wxPyEndAllowThreads(__tstate);
2686 if (PyErr_Occurred()) return NULL;
2687 } _resultobj = Py_BuildValue("i",_result);
2688 return _resultobj;
2689 }
2690
2691 static void *SwigwxPyWindowTowxWindow(void *ptr) {
2692 wxPyWindow *src;
2693 wxWindow *dest;
2694 src = (wxPyWindow *) ptr;
2695 dest = (wxWindow *) src;
2696 return (void *) dest;
2697 }
2698
2699 static void *SwigwxPyWindowTowxEvtHandler(void *ptr) {
2700 wxPyWindow *src;
2701 wxEvtHandler *dest;
2702 src = (wxPyWindow *) ptr;
2703 dest = (wxEvtHandler *) src;
2704 return (void *) dest;
2705 }
2706
2707 static void *SwigwxPyWindowTowxObject(void *ptr) {
2708 wxPyWindow *src;
2709 wxObject *dest;
2710 src = (wxPyWindow *) ptr;
2711 dest = (wxObject *) src;
2712 return (void *) dest;
2713 }
2714
2715 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2716 static PyObject *_wrap_new_wxPyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2717 PyObject * _resultobj;
2718 wxPyWindow * _result;
2719 wxWindow * _arg0;
2720 wxWindowID _arg1;
2721 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2722 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2723 long _arg4 = (long ) 0;
2724 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
2725 PyObject * _argo0 = 0;
2726 wxPoint temp;
2727 PyObject * _obj2 = 0;
2728 wxSize temp0;
2729 PyObject * _obj3 = 0;
2730 PyObject * _obj5 = 0;
2731 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
2732 char _ptemp[128];
2733
2734 self = self;
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
2736 return NULL;
2737 if (_argo0) {
2738 if (_argo0 == Py_None) { _arg0 = NULL; }
2739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2741 return NULL;
2742 }
2743 }
2744 if (_obj2)
2745 {
2746 _arg2 = &temp;
2747 if (! wxPoint_helper(_obj2, &_arg2))
2748 return NULL;
2749 }
2750 if (_obj3)
2751 {
2752 _arg3 = &temp0;
2753 if (! wxSize_helper(_obj3, &_arg3))
2754 return NULL;
2755 }
2756 if (_obj5)
2757 {
2758 _arg5 = wxString_in_helper(_obj5);
2759 if (_arg5 == NULL)
2760 return NULL;
2761 }
2762 {
2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
2764 _result = (wxPyWindow *)new_wxPyWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
2765
2766 wxPyEndAllowThreads(__tstate);
2767 if (PyErr_Occurred()) return NULL;
2768 } if (_result) {
2769 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWindow_p");
2770 _resultobj = Py_BuildValue("s",_ptemp);
2771 } else {
2772 Py_INCREF(Py_None);
2773 _resultobj = Py_None;
2774 }
2775 {
2776 if (_obj5)
2777 delete _arg5;
2778 }
2779 return _resultobj;
2780 }
2781
2782 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2783 static PyObject *_wrap_wxPyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject * _resultobj;
2785 wxPyWindow * _arg0;
2786 PyObject * _arg1;
2787 PyObject * _arg2;
2788 PyObject * _argo0 = 0;
2789 PyObject * _obj1 = 0;
2790 PyObject * _obj2 = 0;
2791 char *_kwnames[] = { "self","self","_class", NULL };
2792
2793 self = self;
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2795 return NULL;
2796 if (_argo0) {
2797 if (_argo0 == Py_None) { _arg0 = NULL; }
2798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2800 return NULL;
2801 }
2802 }
2803 {
2804 _arg1 = _obj1;
2805 }
2806 {
2807 _arg2 = _obj2;
2808 }
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 wxPyWindow__setCallbackInfo(_arg0,_arg1,_arg2);
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) return NULL;
2815 } Py_INCREF(Py_None);
2816 _resultobj = Py_None;
2817 return _resultobj;
2818 }
2819
2820 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2821 static PyObject *_wrap_wxPyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2822 PyObject * _resultobj;
2823 wxPyWindow * _arg0;
2824 int _arg1;
2825 int _arg2;
2826 int _arg3;
2827 int _arg4;
2828 PyObject * _argo0 = 0;
2829 char *_kwnames[] = { "self","x","y","width","height", NULL };
2830
2831 self = self;
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2833 return NULL;
2834 if (_argo0) {
2835 if (_argo0 == Py_None) { _arg0 = NULL; }
2836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2838 return NULL;
2839 }
2840 }
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 wxPyWindow_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) return NULL;
2847 } Py_INCREF(Py_None);
2848 _resultobj = Py_None;
2849 return _resultobj;
2850 }
2851
2852 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2853 static PyObject *_wrap_wxPyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject * _resultobj;
2855 wxPyWindow * _arg0;
2856 int _arg1;
2857 int _arg2;
2858 int _arg3;
2859 int _arg4;
2860 int _arg5 = (int ) wxSIZE_AUTO;
2861 PyObject * _argo0 = 0;
2862 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
2863
2864 self = self;
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
2866 return NULL;
2867 if (_argo0) {
2868 if (_argo0 == Py_None) { _arg0 = NULL; }
2869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2871 return NULL;
2872 }
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 wxPyWindow_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) return NULL;
2880 } Py_INCREF(Py_None);
2881 _resultobj = Py_None;
2882 return _resultobj;
2883 }
2884
2885 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2886 static PyObject *_wrap_wxPyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject * _resultobj;
2888 wxPyWindow * _arg0;
2889 int _arg1;
2890 int _arg2;
2891 PyObject * _argo0 = 0;
2892 char *_kwnames[] = { "self","width","height", NULL };
2893
2894 self = self;
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
2896 return NULL;
2897 if (_argo0) {
2898 if (_argo0 == Py_None) { _arg0 = NULL; }
2899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2901 return NULL;
2902 }
2903 }
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 wxPyWindow_base_DoSetClientSize(_arg0,_arg1,_arg2);
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) return NULL;
2910 } Py_INCREF(Py_None);
2911 _resultobj = Py_None;
2912 return _resultobj;
2913 }
2914
2915 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2916 static PyObject *_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject * _resultobj;
2918 wxPyWindow * _arg0;
2919 int _arg1;
2920 int _arg2;
2921 PyObject * _argo0 = 0;
2922 char *_kwnames[] = { "self","x","y", NULL };
2923
2924 self = self;
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
2926 return NULL;
2927 if (_argo0) {
2928 if (_argo0 == Py_None) { _arg0 = NULL; }
2929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2931 return NULL;
2932 }
2933 }
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 wxPyWindow_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) return NULL;
2940 } Py_INCREF(Py_None);
2941 _resultobj = Py_None;
2942 return _resultobj;
2943 }
2944
2945 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2946 static PyObject *_wrap_wxPyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject * _resultobj;
2948 wxPyWindow * _arg0;
2949 int * _arg1;
2950 int temp;
2951 int * _arg2;
2952 int temp0;
2953 PyObject * _argo0 = 0;
2954 char *_kwnames[] = { "self", NULL };
2955
2956 self = self;
2957 {
2958 _arg1 = &temp;
2959 }
2960 {
2961 _arg2 = &temp0;
2962 }
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetSize",_kwnames,&_argo0))
2964 return NULL;
2965 if (_argo0) {
2966 if (_argo0 == Py_None) { _arg0 = NULL; }
2967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2969 return NULL;
2970 }
2971 }
2972 {
2973 PyThreadState* __tstate = wxPyBeginAllowThreads();
2974 wxPyWindow_base_DoGetSize(_arg0,_arg1,_arg2);
2975
2976 wxPyEndAllowThreads(__tstate);
2977 if (PyErr_Occurred()) return NULL;
2978 } Py_INCREF(Py_None);
2979 _resultobj = Py_None;
2980 {
2981 PyObject *o;
2982 o = PyInt_FromLong((long) (*_arg1));
2983 _resultobj = t_output_helper(_resultobj, o);
2984 }
2985 {
2986 PyObject *o;
2987 o = PyInt_FromLong((long) (*_arg2));
2988 _resultobj = t_output_helper(_resultobj, o);
2989 }
2990 return _resultobj;
2991 }
2992
2993 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2994 static PyObject *_wrap_wxPyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject * _resultobj;
2996 wxPyWindow * _arg0;
2997 int * _arg1;
2998 int temp;
2999 int * _arg2;
3000 int temp0;
3001 PyObject * _argo0 = 0;
3002 char *_kwnames[] = { "self", NULL };
3003
3004 self = self;
3005 {
3006 _arg1 = &temp;
3007 }
3008 {
3009 _arg2 = &temp0;
3010 }
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetClientSize",_kwnames,&_argo0))
3012 return NULL;
3013 if (_argo0) {
3014 if (_argo0 == Py_None) { _arg0 = NULL; }
3015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3017 return NULL;
3018 }
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 wxPyWindow_base_DoGetClientSize(_arg0,_arg1,_arg2);
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) return NULL;
3026 } Py_INCREF(Py_None);
3027 _resultobj = Py_None;
3028 {
3029 PyObject *o;
3030 o = PyInt_FromLong((long) (*_arg1));
3031 _resultobj = t_output_helper(_resultobj, o);
3032 }
3033 {
3034 PyObject *o;
3035 o = PyInt_FromLong((long) (*_arg2));
3036 _resultobj = t_output_helper(_resultobj, o);
3037 }
3038 return _resultobj;
3039 }
3040
3041 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3042 static PyObject *_wrap_wxPyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject * _resultobj;
3044 wxPyWindow * _arg0;
3045 int * _arg1;
3046 int temp;
3047 int * _arg2;
3048 int temp0;
3049 PyObject * _argo0 = 0;
3050 char *_kwnames[] = { "self", NULL };
3051
3052 self = self;
3053 {
3054 _arg1 = &temp;
3055 }
3056 {
3057 _arg2 = &temp0;
3058 }
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetPosition",_kwnames,&_argo0))
3060 return NULL;
3061 if (_argo0) {
3062 if (_argo0 == Py_None) { _arg0 = NULL; }
3063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3065 return NULL;
3066 }
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 wxPyWindow_base_DoGetPosition(_arg0,_arg1,_arg2);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) return NULL;
3074 } Py_INCREF(Py_None);
3075 _resultobj = Py_None;
3076 {
3077 PyObject *o;
3078 o = PyInt_FromLong((long) (*_arg1));
3079 _resultobj = t_output_helper(_resultobj, o);
3080 }
3081 {
3082 PyObject *o;
3083 o = PyInt_FromLong((long) (*_arg2));
3084 _resultobj = t_output_helper(_resultobj, o);
3085 }
3086 return _resultobj;
3087 }
3088
3089 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3090 static PyObject *_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject * _resultobj;
3092 wxSize * _result;
3093 wxPyWindow * _arg0;
3094 PyObject * _argo0 = 0;
3095 char *_kwnames[] = { "self", NULL };
3096 char _ptemp[128];
3097
3098 self = self;
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames,&_argo0))
3100 return NULL;
3101 if (_argo0) {
3102 if (_argo0 == Py_None) { _arg0 = NULL; }
3103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3105 return NULL;
3106 }
3107 }
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 _result = new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0));
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) return NULL;
3114 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3115 _resultobj = Py_BuildValue("s",_ptemp);
3116 return _resultobj;
3117 }
3118
3119 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3120 static PyObject *_wrap_wxPyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject * _resultobj;
3122 wxSize * _result;
3123 wxPyWindow * _arg0;
3124 PyObject * _argo0 = 0;
3125 char *_kwnames[] = { "self", NULL };
3126 char _ptemp[128];
3127
3128 self = self;
3129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetBestSize",_kwnames,&_argo0))
3130 return NULL;
3131 if (_argo0) {
3132 if (_argo0 == Py_None) { _arg0 = NULL; }
3133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3135 return NULL;
3136 }
3137 }
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 _result = new wxSize (wxPyWindow_base_DoGetBestSize(_arg0));
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) return NULL;
3144 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3145 _resultobj = Py_BuildValue("s",_ptemp);
3146 return _resultobj;
3147 }
3148
3149 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3150 static PyObject *_wrap_wxPyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3151 PyObject * _resultobj;
3152 wxPyWindow * _arg0;
3153 PyObject * _argo0 = 0;
3154 char *_kwnames[] = { "self", NULL };
3155
3156 self = self;
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_InitDialog",_kwnames,&_argo0))
3158 return NULL;
3159 if (_argo0) {
3160 if (_argo0 == Py_None) { _arg0 = NULL; }
3161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3163 return NULL;
3164 }
3165 }
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 wxPyWindow_base_InitDialog(_arg0);
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) return NULL;
3172 } Py_INCREF(Py_None);
3173 _resultobj = Py_None;
3174 return _resultobj;
3175 }
3176
3177 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3178 static PyObject *_wrap_wxPyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject * _resultobj;
3180 bool _result;
3181 wxPyWindow * _arg0;
3182 PyObject * _argo0 = 0;
3183 char *_kwnames[] = { "self", NULL };
3184
3185 self = self;
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataToWindow",_kwnames,&_argo0))
3187 return NULL;
3188 if (_argo0) {
3189 if (_argo0 == Py_None) { _arg0 = NULL; }
3190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3192 return NULL;
3193 }
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 _result = (bool )wxPyWindow_base_TransferDataToWindow(_arg0);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) return NULL;
3201 } _resultobj = Py_BuildValue("i",_result);
3202 return _resultobj;
3203 }
3204
3205 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3206 static PyObject *_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3207 PyObject * _resultobj;
3208 bool _result;
3209 wxPyWindow * _arg0;
3210 PyObject * _argo0 = 0;
3211 char *_kwnames[] = { "self", NULL };
3212
3213 self = self;
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames,&_argo0))
3215 return NULL;
3216 if (_argo0) {
3217 if (_argo0 == Py_None) { _arg0 = NULL; }
3218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3220 return NULL;
3221 }
3222 }
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 _result = (bool )wxPyWindow_base_TransferDataFromWindow(_arg0);
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) return NULL;
3229 } _resultobj = Py_BuildValue("i",_result);
3230 return _resultobj;
3231 }
3232
3233 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3234 static PyObject *_wrap_wxPyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3235 PyObject * _resultobj;
3236 bool _result;
3237 wxPyWindow * _arg0;
3238 PyObject * _argo0 = 0;
3239 char *_kwnames[] = { "self", NULL };
3240
3241 self = self;
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_Validate",_kwnames,&_argo0))
3243 return NULL;
3244 if (_argo0) {
3245 if (_argo0 == Py_None) { _arg0 = NULL; }
3246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3248 return NULL;
3249 }
3250 }
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 _result = (bool )wxPyWindow_base_Validate(_arg0);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) return NULL;
3257 } _resultobj = Py_BuildValue("i",_result);
3258 return _resultobj;
3259 }
3260
3261 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3262 static PyObject *_wrap_wxPyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3263 PyObject * _resultobj;
3264 bool _result;
3265 wxPyWindow * _arg0;
3266 PyObject * _argo0 = 0;
3267 char *_kwnames[] = { "self", NULL };
3268
3269 self = self;
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocus",_kwnames,&_argo0))
3271 return NULL;
3272 if (_argo0) {
3273 if (_argo0 == Py_None) { _arg0 = NULL; }
3274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3276 return NULL;
3277 }
3278 }
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 _result = (bool )wxPyWindow_base_AcceptsFocus(_arg0);
3282
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) return NULL;
3285 } _resultobj = Py_BuildValue("i",_result);
3286 return _resultobj;
3287 }
3288
3289 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3290 static PyObject *_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject * _resultobj;
3292 bool _result;
3293 wxPyWindow * _arg0;
3294 PyObject * _argo0 = 0;
3295 char *_kwnames[] = { "self", NULL };
3296
3297 self = self;
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
3299 return NULL;
3300 if (_argo0) {
3301 if (_argo0 == Py_None) { _arg0 = NULL; }
3302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3304 return NULL;
3305 }
3306 }
3307 {
3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
3309 _result = (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0);
3310
3311 wxPyEndAllowThreads(__tstate);
3312 if (PyErr_Occurred()) return NULL;
3313 } _resultobj = Py_BuildValue("i",_result);
3314 return _resultobj;
3315 }
3316
3317 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3318 static PyObject *_wrap_wxPyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject * _resultobj;
3320 wxSize * _result;
3321 wxPyWindow * _arg0;
3322 PyObject * _argo0 = 0;
3323 char *_kwnames[] = { "self", NULL };
3324 char _ptemp[128];
3325
3326 self = self;
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_GetMaxSize",_kwnames,&_argo0))
3328 return NULL;
3329 if (_argo0) {
3330 if (_argo0 == Py_None) { _arg0 = NULL; }
3331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3333 return NULL;
3334 }
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 _result = new wxSize (wxPyWindow_base_GetMaxSize(_arg0));
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) return NULL;
3342 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3343 _resultobj = Py_BuildValue("s",_ptemp);
3344 return _resultobj;
3345 }
3346
3347 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3348 static PyObject *_wrap_wxPyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject * _resultobj;
3350 wxPyWindow * _arg0;
3351 wxWindow * _arg1;
3352 PyObject * _argo0 = 0;
3353 PyObject * _argo1 = 0;
3354 char *_kwnames[] = { "self","child", NULL };
3355
3356 self = self;
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_AddChild",_kwnames,&_argo0,&_argo1))
3358 return NULL;
3359 if (_argo0) {
3360 if (_argo0 == Py_None) { _arg0 = NULL; }
3361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3363 return NULL;
3364 }
3365 }
3366 if (_argo1) {
3367 if (_argo1 == Py_None) { _arg1 = NULL; }
3368 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3369 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3370 return NULL;
3371 }
3372 }
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 wxPyWindow_base_AddChild(_arg0,_arg1);
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) return NULL;
3379 } Py_INCREF(Py_None);
3380 _resultobj = Py_None;
3381 return _resultobj;
3382 }
3383
3384 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3385 static PyObject *_wrap_wxPyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject * _resultobj;
3387 wxPyWindow * _arg0;
3388 wxWindow * _arg1;
3389 PyObject * _argo0 = 0;
3390 PyObject * _argo1 = 0;
3391 char *_kwnames[] = { "self","child", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_RemoveChild",_kwnames,&_argo0,&_argo1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3400 return NULL;
3401 }
3402 }
3403 if (_argo1) {
3404 if (_argo1 == Py_None) { _arg1 = NULL; }
3405 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3406 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3407 return NULL;
3408 }
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 wxPyWindow_base_RemoveChild(_arg0,_arg1);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) return NULL;
3416 } Py_INCREF(Py_None);
3417 _resultobj = Py_None;
3418 return _resultobj;
3419 }
3420
3421 static void *SwigwxPyControlTowxControl(void *ptr) {
3422 wxPyControl *src;
3423 wxControl *dest;
3424 src = (wxPyControl *) ptr;
3425 dest = (wxControl *) src;
3426 return (void *) dest;
3427 }
3428
3429 static void *SwigwxPyControlTowxWindow(void *ptr) {
3430 wxPyControl *src;
3431 wxWindow *dest;
3432 src = (wxPyControl *) ptr;
3433 dest = (wxWindow *) src;
3434 return (void *) dest;
3435 }
3436
3437 static void *SwigwxPyControlTowxEvtHandler(void *ptr) {
3438 wxPyControl *src;
3439 wxEvtHandler *dest;
3440 src = (wxPyControl *) ptr;
3441 dest = (wxEvtHandler *) src;
3442 return (void *) dest;
3443 }
3444
3445 static void *SwigwxPyControlTowxObject(void *ptr) {
3446 wxPyControl *src;
3447 wxObject *dest;
3448 src = (wxPyControl *) ptr;
3449 dest = (wxObject *) src;
3450 return (void *) dest;
3451 }
3452
3453 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3454 static PyObject *_wrap_new_wxPyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject * _resultobj;
3456 wxPyControl * _result;
3457 wxWindow * _arg0;
3458 wxWindowID _arg1;
3459 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3460 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3461 long _arg4 = (long ) 0;
3462 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
3463 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
3464 PyObject * _argo0 = 0;
3465 wxPoint temp;
3466 PyObject * _obj2 = 0;
3467 wxSize temp0;
3468 PyObject * _obj3 = 0;
3469 PyObject * _argo5 = 0;
3470 PyObject * _obj6 = 0;
3471 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
3472 char _ptemp[128];
3473
3474 self = self;
3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxPyControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
3476 return NULL;
3477 if (_argo0) {
3478 if (_argo0 == Py_None) { _arg0 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3481 return NULL;
3482 }
3483 }
3484 if (_obj2)
3485 {
3486 _arg2 = &temp;
3487 if (! wxPoint_helper(_obj2, &_arg2))
3488 return NULL;
3489 }
3490 if (_obj3)
3491 {
3492 _arg3 = &temp0;
3493 if (! wxSize_helper(_obj3, &_arg3))
3494 return NULL;
3495 }
3496 if (_argo5) {
3497 if (_argo5 == Py_None) { _arg5 = NULL; }
3498 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
3499 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3500 return NULL;
3501 }
3502 }
3503 if (_obj6)
3504 {
3505 _arg6 = wxString_in_helper(_obj6);
3506 if (_arg6 == NULL)
3507 return NULL;
3508 }
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 _result = (wxPyControl *)new_wxPyControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) return NULL;
3515 } if (_result) {
3516 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControl_p");
3517 _resultobj = Py_BuildValue("s",_ptemp);
3518 } else {
3519 Py_INCREF(Py_None);
3520 _resultobj = Py_None;
3521 }
3522 {
3523 if (_obj6)
3524 delete _arg6;
3525 }
3526 return _resultobj;
3527 }
3528
3529 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3530 static PyObject *_wrap_wxPyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject * _resultobj;
3532 wxPyControl * _arg0;
3533 PyObject * _arg1;
3534 PyObject * _arg2;
3535 PyObject * _argo0 = 0;
3536 PyObject * _obj1 = 0;
3537 PyObject * _obj2 = 0;
3538 char *_kwnames[] = { "self","self","_class", NULL };
3539
3540 self = self;
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3542 return NULL;
3543 if (_argo0) {
3544 if (_argo0 == Py_None) { _arg0 = NULL; }
3545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3547 return NULL;
3548 }
3549 }
3550 {
3551 _arg1 = _obj1;
3552 }
3553 {
3554 _arg2 = _obj2;
3555 }
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 wxPyControl__setCallbackInfo(_arg0,_arg1,_arg2);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) return NULL;
3562 } Py_INCREF(Py_None);
3563 _resultobj = Py_None;
3564 return _resultobj;
3565 }
3566
3567 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3568 static PyObject *_wrap_wxPyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject * _resultobj;
3570 wxPyControl * _arg0;
3571 int _arg1;
3572 int _arg2;
3573 int _arg3;
3574 int _arg4;
3575 PyObject * _argo0 = 0;
3576 char *_kwnames[] = { "self","x","y","width","height", NULL };
3577
3578 self = self;
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3580 return NULL;
3581 if (_argo0) {
3582 if (_argo0 == Py_None) { _arg0 = NULL; }
3583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3585 return NULL;
3586 }
3587 }
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 wxPyControl_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) return NULL;
3594 } Py_INCREF(Py_None);
3595 _resultobj = Py_None;
3596 return _resultobj;
3597 }
3598
3599 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3600 static PyObject *_wrap_wxPyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject * _resultobj;
3602 wxPyControl * _arg0;
3603 int _arg1;
3604 int _arg2;
3605 int _arg3;
3606 int _arg4;
3607 int _arg5 = (int ) wxSIZE_AUTO;
3608 PyObject * _argo0 = 0;
3609 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3610
3611 self = self;
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3613 return NULL;
3614 if (_argo0) {
3615 if (_argo0 == Py_None) { _arg0 = NULL; }
3616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3618 return NULL;
3619 }
3620 }
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 wxPyControl_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) return NULL;
3627 } Py_INCREF(Py_None);
3628 _resultobj = Py_None;
3629 return _resultobj;
3630 }
3631
3632 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3633 static PyObject *_wrap_wxPyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject * _resultobj;
3635 wxPyControl * _arg0;
3636 int _arg1;
3637 int _arg2;
3638 PyObject * _argo0 = 0;
3639 char *_kwnames[] = { "self","width","height", NULL };
3640
3641 self = self;
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
3643 return NULL;
3644 if (_argo0) {
3645 if (_argo0 == Py_None) { _arg0 = NULL; }
3646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3648 return NULL;
3649 }
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 wxPyControl_base_DoSetClientSize(_arg0,_arg1,_arg2);
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) return NULL;
3657 } Py_INCREF(Py_None);
3658 _resultobj = Py_None;
3659 return _resultobj;
3660 }
3661
3662 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3663 static PyObject *_wrap_wxPyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject * _resultobj;
3665 wxPyControl * _arg0;
3666 int _arg1;
3667 int _arg2;
3668 PyObject * _argo0 = 0;
3669 char *_kwnames[] = { "self","x","y", NULL };
3670
3671 self = self;
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
3673 return NULL;
3674 if (_argo0) {
3675 if (_argo0 == Py_None) { _arg0 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3678 return NULL;
3679 }
3680 }
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 wxPyControl_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) return NULL;
3687 } Py_INCREF(Py_None);
3688 _resultobj = Py_None;
3689 return _resultobj;
3690 }
3691
3692 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3693 static PyObject *_wrap_wxPyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject * _resultobj;
3695 wxPyControl * _arg0;
3696 int * _arg1;
3697 int temp;
3698 int * _arg2;
3699 int temp0;
3700 PyObject * _argo0 = 0;
3701 char *_kwnames[] = { "self", NULL };
3702
3703 self = self;
3704 {
3705 _arg1 = &temp;
3706 }
3707 {
3708 _arg2 = &temp0;
3709 }
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetSize",_kwnames,&_argo0))
3711 return NULL;
3712 if (_argo0) {
3713 if (_argo0 == Py_None) { _arg0 = NULL; }
3714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3716 return NULL;
3717 }
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 wxPyControl_base_DoGetSize(_arg0,_arg1,_arg2);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) return NULL;
3725 } Py_INCREF(Py_None);
3726 _resultobj = Py_None;
3727 {
3728 PyObject *o;
3729 o = PyInt_FromLong((long) (*_arg1));
3730 _resultobj = t_output_helper(_resultobj, o);
3731 }
3732 {
3733 PyObject *o;
3734 o = PyInt_FromLong((long) (*_arg2));
3735 _resultobj = t_output_helper(_resultobj, o);
3736 }
3737 return _resultobj;
3738 }
3739
3740 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3741 static PyObject *_wrap_wxPyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject * _resultobj;
3743 wxPyControl * _arg0;
3744 int * _arg1;
3745 int temp;
3746 int * _arg2;
3747 int temp0;
3748 PyObject * _argo0 = 0;
3749 char *_kwnames[] = { "self", NULL };
3750
3751 self = self;
3752 {
3753 _arg1 = &temp;
3754 }
3755 {
3756 _arg2 = &temp0;
3757 }
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetClientSize",_kwnames,&_argo0))
3759 return NULL;
3760 if (_argo0) {
3761 if (_argo0 == Py_None) { _arg0 = NULL; }
3762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3764 return NULL;
3765 }
3766 }
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 wxPyControl_base_DoGetClientSize(_arg0,_arg1,_arg2);
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) return NULL;
3773 } Py_INCREF(Py_None);
3774 _resultobj = Py_None;
3775 {
3776 PyObject *o;
3777 o = PyInt_FromLong((long) (*_arg1));
3778 _resultobj = t_output_helper(_resultobj, o);
3779 }
3780 {
3781 PyObject *o;
3782 o = PyInt_FromLong((long) (*_arg2));
3783 _resultobj = t_output_helper(_resultobj, o);
3784 }
3785 return _resultobj;
3786 }
3787
3788 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3789 static PyObject *_wrap_wxPyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject * _resultobj;
3791 wxPyControl * _arg0;
3792 int * _arg1;
3793 int temp;
3794 int * _arg2;
3795 int temp0;
3796 PyObject * _argo0 = 0;
3797 char *_kwnames[] = { "self", NULL };
3798
3799 self = self;
3800 {
3801 _arg1 = &temp;
3802 }
3803 {
3804 _arg2 = &temp0;
3805 }
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetPosition",_kwnames,&_argo0))
3807 return NULL;
3808 if (_argo0) {
3809 if (_argo0 == Py_None) { _arg0 = NULL; }
3810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3812 return NULL;
3813 }
3814 }
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 wxPyControl_base_DoGetPosition(_arg0,_arg1,_arg2);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) return NULL;
3821 } Py_INCREF(Py_None);
3822 _resultobj = Py_None;
3823 {
3824 PyObject *o;
3825 o = PyInt_FromLong((long) (*_arg1));
3826 _resultobj = t_output_helper(_resultobj, o);
3827 }
3828 {
3829 PyObject *o;
3830 o = PyInt_FromLong((long) (*_arg2));
3831 _resultobj = t_output_helper(_resultobj, o);
3832 }
3833 return _resultobj;
3834 }
3835
3836 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3837 static PyObject *_wrap_wxPyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3838 PyObject * _resultobj;
3839 wxSize * _result;
3840 wxPyControl * _arg0;
3841 PyObject * _argo0 = 0;
3842 char *_kwnames[] = { "self", NULL };
3843 char _ptemp[128];
3844
3845 self = self;
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetVirtualSize",_kwnames,&_argo0))
3847 return NULL;
3848 if (_argo0) {
3849 if (_argo0 == Py_None) { _arg0 = NULL; }
3850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3852 return NULL;
3853 }
3854 }
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 _result = new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0));
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) return NULL;
3861 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3862 _resultobj = Py_BuildValue("s",_ptemp);
3863 return _resultobj;
3864 }
3865
3866 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3867 static PyObject *_wrap_wxPyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxSize * _result;
3870 wxPyControl * _arg0;
3871 PyObject * _argo0 = 0;
3872 char *_kwnames[] = { "self", NULL };
3873 char _ptemp[128];
3874
3875 self = self;
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetBestSize",_kwnames,&_argo0))
3877 return NULL;
3878 if (_argo0) {
3879 if (_argo0 == Py_None) { _arg0 = NULL; }
3880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3882 return NULL;
3883 }
3884 }
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 _result = new wxSize (wxPyControl_base_DoGetBestSize(_arg0));
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) return NULL;
3891 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3892 _resultobj = Py_BuildValue("s",_ptemp);
3893 return _resultobj;
3894 }
3895
3896 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3897 static PyObject *_wrap_wxPyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject * _resultobj;
3899 wxPyControl * _arg0;
3900 PyObject * _argo0 = 0;
3901 char *_kwnames[] = { "self", NULL };
3902
3903 self = self;
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_InitDialog",_kwnames,&_argo0))
3905 return NULL;
3906 if (_argo0) {
3907 if (_argo0 == Py_None) { _arg0 = NULL; }
3908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3910 return NULL;
3911 }
3912 }
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 wxPyControl_base_InitDialog(_arg0);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) return NULL;
3919 } Py_INCREF(Py_None);
3920 _resultobj = Py_None;
3921 return _resultobj;
3922 }
3923
3924 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3925 static PyObject *_wrap_wxPyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3926 PyObject * _resultobj;
3927 bool _result;
3928 wxPyControl * _arg0;
3929 PyObject * _argo0 = 0;
3930 char *_kwnames[] = { "self", NULL };
3931
3932 self = self;
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataToWindow",_kwnames,&_argo0))
3934 return NULL;
3935 if (_argo0) {
3936 if (_argo0 == Py_None) { _arg0 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3939 return NULL;
3940 }
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 _result = (bool )wxPyControl_base_TransferDataToWindow(_arg0);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) return NULL;
3948 } _resultobj = Py_BuildValue("i",_result);
3949 return _resultobj;
3950 }
3951
3952 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3953 static PyObject *_wrap_wxPyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject * _resultobj;
3955 bool _result;
3956 wxPyControl * _arg0;
3957 PyObject * _argo0 = 0;
3958 char *_kwnames[] = { "self", NULL };
3959
3960 self = self;
3961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataFromWindow",_kwnames,&_argo0))
3962 return NULL;
3963 if (_argo0) {
3964 if (_argo0 == Py_None) { _arg0 = NULL; }
3965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3967 return NULL;
3968 }
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 _result = (bool )wxPyControl_base_TransferDataFromWindow(_arg0);
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) return NULL;
3976 } _resultobj = Py_BuildValue("i",_result);
3977 return _resultobj;
3978 }
3979
3980 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3981 static PyObject *_wrap_wxPyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject * _resultobj;
3983 bool _result;
3984 wxPyControl * _arg0;
3985 PyObject * _argo0 = 0;
3986 char *_kwnames[] = { "self", NULL };
3987
3988 self = self;
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_Validate",_kwnames,&_argo0))
3990 return NULL;
3991 if (_argo0) {
3992 if (_argo0 == Py_None) { _arg0 = NULL; }
3993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3995 return NULL;
3996 }
3997 }
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 _result = (bool )wxPyControl_base_Validate(_arg0);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) return NULL;
4004 } _resultobj = Py_BuildValue("i",_result);
4005 return _resultobj;
4006 }
4007
4008 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4009 static PyObject *_wrap_wxPyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject * _resultobj;
4011 bool _result;
4012 wxPyControl * _arg0;
4013 PyObject * _argo0 = 0;
4014 char *_kwnames[] = { "self", NULL };
4015
4016 self = self;
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocus",_kwnames,&_argo0))
4018 return NULL;
4019 if (_argo0) {
4020 if (_argo0 == Py_None) { _arg0 = NULL; }
4021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4023 return NULL;
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 _result = (bool )wxPyControl_base_AcceptsFocus(_arg0);
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) return NULL;
4032 } _resultobj = Py_BuildValue("i",_result);
4033 return _resultobj;
4034 }
4035
4036 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4037 static PyObject *_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject * _resultobj;
4039 bool _result;
4040 wxPyControl * _arg0;
4041 PyObject * _argo0 = 0;
4042 char *_kwnames[] = { "self", NULL };
4043
4044 self = self;
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
4046 return NULL;
4047 if (_argo0) {
4048 if (_argo0 == Py_None) { _arg0 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4051 return NULL;
4052 }
4053 }
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 _result = (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) return NULL;
4060 } _resultobj = Py_BuildValue("i",_result);
4061 return _resultobj;
4062 }
4063
4064 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4065 static PyObject *_wrap_wxPyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject * _resultobj;
4067 wxSize * _result;
4068 wxPyControl * _arg0;
4069 PyObject * _argo0 = 0;
4070 char *_kwnames[] = { "self", NULL };
4071 char _ptemp[128];
4072
4073 self = self;
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_GetMaxSize",_kwnames,&_argo0))
4075 return NULL;
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4080 return NULL;
4081 }
4082 }
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 _result = new wxSize (wxPyControl_base_GetMaxSize(_arg0));
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) return NULL;
4089 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4090 _resultobj = Py_BuildValue("s",_ptemp);
4091 return _resultobj;
4092 }
4093
4094 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4095 static PyObject *_wrap_wxPyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4096 PyObject * _resultobj;
4097 wxPyControl * _arg0;
4098 wxWindow * _arg1;
4099 PyObject * _argo0 = 0;
4100 PyObject * _argo1 = 0;
4101 char *_kwnames[] = { "self","child", NULL };
4102
4103 self = self;
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_AddChild",_kwnames,&_argo0,&_argo1))
4105 return NULL;
4106 if (_argo0) {
4107 if (_argo0 == Py_None) { _arg0 = NULL; }
4108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4110 return NULL;
4111 }
4112 }
4113 if (_argo1) {
4114 if (_argo1 == Py_None) { _arg1 = NULL; }
4115 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4117 return NULL;
4118 }
4119 }
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 wxPyControl_base_AddChild(_arg0,_arg1);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) return NULL;
4126 } Py_INCREF(Py_None);
4127 _resultobj = Py_None;
4128 return _resultobj;
4129 }
4130
4131 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4132 static PyObject *_wrap_wxPyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject * _resultobj;
4134 wxPyControl * _arg0;
4135 wxWindow * _arg1;
4136 PyObject * _argo0 = 0;
4137 PyObject * _argo1 = 0;
4138 char *_kwnames[] = { "self","child", NULL };
4139
4140 self = self;
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_RemoveChild",_kwnames,&_argo0,&_argo1))
4142 return NULL;
4143 if (_argo0) {
4144 if (_argo0 == Py_None) { _arg0 = NULL; }
4145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4147 return NULL;
4148 }
4149 }
4150 if (_argo1) {
4151 if (_argo1 == Py_None) { _arg1 = NULL; }
4152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4154 return NULL;
4155 }
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 wxPyControl_base_RemoveChild(_arg0,_arg1);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) return NULL;
4163 } Py_INCREF(Py_None);
4164 _resultobj = Py_None;
4165 return _resultobj;
4166 }
4167
4168 static void *SwigwxPyPanelTowxPanel(void *ptr) {
4169 wxPyPanel *src;
4170 wxPanel *dest;
4171 src = (wxPyPanel *) ptr;
4172 dest = (wxPanel *) src;
4173 return (void *) dest;
4174 }
4175
4176 static void *SwigwxPyPanelTowxWindow(void *ptr) {
4177 wxPyPanel *src;
4178 wxWindow *dest;
4179 src = (wxPyPanel *) ptr;
4180 dest = (wxWindow *) src;
4181 return (void *) dest;
4182 }
4183
4184 static void *SwigwxPyPanelTowxEvtHandler(void *ptr) {
4185 wxPyPanel *src;
4186 wxEvtHandler *dest;
4187 src = (wxPyPanel *) ptr;
4188 dest = (wxEvtHandler *) src;
4189 return (void *) dest;
4190 }
4191
4192 static void *SwigwxPyPanelTowxObject(void *ptr) {
4193 wxPyPanel *src;
4194 wxObject *dest;
4195 src = (wxPyPanel *) ptr;
4196 dest = (wxObject *) src;
4197 return (void *) dest;
4198 }
4199
4200 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4201 static PyObject *_wrap_new_wxPyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject * _resultobj;
4203 wxPyPanel * _result;
4204 wxWindow * _arg0;
4205 wxWindowID _arg1;
4206 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4207 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4208 long _arg4 = (long ) 0;
4209 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
4210 PyObject * _argo0 = 0;
4211 wxPoint temp;
4212 PyObject * _obj2 = 0;
4213 wxSize temp0;
4214 PyObject * _obj3 = 0;
4215 PyObject * _obj5 = 0;
4216 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4217 char _ptemp[128];
4218
4219 self = self;
4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4221 return NULL;
4222 if (_argo0) {
4223 if (_argo0 == Py_None) { _arg0 = NULL; }
4224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4226 return NULL;
4227 }
4228 }
4229 if (_obj2)
4230 {
4231 _arg2 = &temp;
4232 if (! wxPoint_helper(_obj2, &_arg2))
4233 return NULL;
4234 }
4235 if (_obj3)
4236 {
4237 _arg3 = &temp0;
4238 if (! wxSize_helper(_obj3, &_arg3))
4239 return NULL;
4240 }
4241 if (_obj5)
4242 {
4243 _arg5 = wxString_in_helper(_obj5);
4244 if (_arg5 == NULL)
4245 return NULL;
4246 }
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 _result = (wxPyPanel *)new_wxPyPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) return NULL;
4253 } if (_result) {
4254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPanel_p");
4255 _resultobj = Py_BuildValue("s",_ptemp);
4256 } else {
4257 Py_INCREF(Py_None);
4258 _resultobj = Py_None;
4259 }
4260 {
4261 if (_obj5)
4262 delete _arg5;
4263 }
4264 return _resultobj;
4265 }
4266
4267 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4268 static PyObject *_wrap_wxPyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject * _resultobj;
4270 wxPyPanel * _arg0;
4271 PyObject * _arg1;
4272 PyObject * _arg2;
4273 PyObject * _argo0 = 0;
4274 PyObject * _obj1 = 0;
4275 PyObject * _obj2 = 0;
4276 char *_kwnames[] = { "self","self","_class", NULL };
4277
4278 self = self;
4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPanel__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4280 return NULL;
4281 if (_argo0) {
4282 if (_argo0 == Py_None) { _arg0 = NULL; }
4283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4285 return NULL;
4286 }
4287 }
4288 {
4289 _arg1 = _obj1;
4290 }
4291 {
4292 _arg2 = _obj2;
4293 }
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 wxPyPanel__setCallbackInfo(_arg0,_arg1,_arg2);
4297
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) return NULL;
4300 } Py_INCREF(Py_None);
4301 _resultobj = Py_None;
4302 return _resultobj;
4303 }
4304
4305 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4306 static PyObject *_wrap_wxPyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject * _resultobj;
4308 wxPyPanel * _arg0;
4309 int _arg1;
4310 int _arg2;
4311 int _arg3;
4312 int _arg4;
4313 PyObject * _argo0 = 0;
4314 char *_kwnames[] = { "self","x","y","width","height", NULL };
4315
4316 self = self;
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4318 return NULL;
4319 if (_argo0) {
4320 if (_argo0 == Py_None) { _arg0 = NULL; }
4321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4323 return NULL;
4324 }
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 wxPyPanel_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) return NULL;
4332 } Py_INCREF(Py_None);
4333 _resultobj = Py_None;
4334 return _resultobj;
4335 }
4336
4337 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4338 static PyObject *_wrap_wxPyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject * _resultobj;
4340 wxPyPanel * _arg0;
4341 int _arg1;
4342 int _arg2;
4343 int _arg3;
4344 int _arg4;
4345 int _arg5 = (int ) wxSIZE_AUTO;
4346 PyObject * _argo0 = 0;
4347 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4348
4349 self = self;
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4351 return NULL;
4352 if (_argo0) {
4353 if (_argo0 == Py_None) { _arg0 = NULL; }
4354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4356 return NULL;
4357 }
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 wxPyPanel_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) return NULL;
4365 } Py_INCREF(Py_None);
4366 _resultobj = Py_None;
4367 return _resultobj;
4368 }
4369
4370 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4371 static PyObject *_wrap_wxPyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4372 PyObject * _resultobj;
4373 wxPyPanel * _arg0;
4374 int _arg1;
4375 int _arg2;
4376 PyObject * _argo0 = 0;
4377 char *_kwnames[] = { "self","width","height", NULL };
4378
4379 self = self;
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
4381 return NULL;
4382 if (_argo0) {
4383 if (_argo0 == Py_None) { _arg0 = NULL; }
4384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4386 return NULL;
4387 }
4388 }
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 wxPyPanel_base_DoSetClientSize(_arg0,_arg1,_arg2);
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) return NULL;
4395 } Py_INCREF(Py_None);
4396 _resultobj = Py_None;
4397 return _resultobj;
4398 }
4399
4400 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4401 static PyObject *_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject * _resultobj;
4403 wxPyPanel * _arg0;
4404 int _arg1;
4405 int _arg2;
4406 PyObject * _argo0 = 0;
4407 char *_kwnames[] = { "self","x","y", NULL };
4408
4409 self = self;
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
4411 return NULL;
4412 if (_argo0) {
4413 if (_argo0 == Py_None) { _arg0 = NULL; }
4414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4416 return NULL;
4417 }
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 wxPyPanel_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) return NULL;
4425 } Py_INCREF(Py_None);
4426 _resultobj = Py_None;
4427 return _resultobj;
4428 }
4429
4430 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4431 static PyObject *_wrap_wxPyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject * _resultobj;
4433 wxPyPanel * _arg0;
4434 int * _arg1;
4435 int temp;
4436 int * _arg2;
4437 int temp0;
4438 PyObject * _argo0 = 0;
4439 char *_kwnames[] = { "self", NULL };
4440
4441 self = self;
4442 {
4443 _arg1 = &temp;
4444 }
4445 {
4446 _arg2 = &temp0;
4447 }
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetSize",_kwnames,&_argo0))
4449 return NULL;
4450 if (_argo0) {
4451 if (_argo0 == Py_None) { _arg0 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4454 return NULL;
4455 }
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 wxPyPanel_base_DoGetSize(_arg0,_arg1,_arg2);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) return NULL;
4463 } Py_INCREF(Py_None);
4464 _resultobj = Py_None;
4465 {
4466 PyObject *o;
4467 o = PyInt_FromLong((long) (*_arg1));
4468 _resultobj = t_output_helper(_resultobj, o);
4469 }
4470 {
4471 PyObject *o;
4472 o = PyInt_FromLong((long) (*_arg2));
4473 _resultobj = t_output_helper(_resultobj, o);
4474 }
4475 return _resultobj;
4476 }
4477
4478 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4479 static PyObject *_wrap_wxPyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject * _resultobj;
4481 wxPyPanel * _arg0;
4482 int * _arg1;
4483 int temp;
4484 int * _arg2;
4485 int temp0;
4486 PyObject * _argo0 = 0;
4487 char *_kwnames[] = { "self", NULL };
4488
4489 self = self;
4490 {
4491 _arg1 = &temp;
4492 }
4493 {
4494 _arg2 = &temp0;
4495 }
4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetClientSize",_kwnames,&_argo0))
4497 return NULL;
4498 if (_argo0) {
4499 if (_argo0 == Py_None) { _arg0 = NULL; }
4500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4502 return NULL;
4503 }
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 wxPyPanel_base_DoGetClientSize(_arg0,_arg1,_arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) return NULL;
4511 } Py_INCREF(Py_None);
4512 _resultobj = Py_None;
4513 {
4514 PyObject *o;
4515 o = PyInt_FromLong((long) (*_arg1));
4516 _resultobj = t_output_helper(_resultobj, o);
4517 }
4518 {
4519 PyObject *o;
4520 o = PyInt_FromLong((long) (*_arg2));
4521 _resultobj = t_output_helper(_resultobj, o);
4522 }
4523 return _resultobj;
4524 }
4525
4526 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4527 static PyObject *_wrap_wxPyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject * _resultobj;
4529 wxPyPanel * _arg0;
4530 int * _arg1;
4531 int temp;
4532 int * _arg2;
4533 int temp0;
4534 PyObject * _argo0 = 0;
4535 char *_kwnames[] = { "self", NULL };
4536
4537 self = self;
4538 {
4539 _arg1 = &temp;
4540 }
4541 {
4542 _arg2 = &temp0;
4543 }
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetPosition",_kwnames,&_argo0))
4545 return NULL;
4546 if (_argo0) {
4547 if (_argo0 == Py_None) { _arg0 = NULL; }
4548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4550 return NULL;
4551 }
4552 }
4553 {
4554 PyThreadState* __tstate = wxPyBeginAllowThreads();
4555 wxPyPanel_base_DoGetPosition(_arg0,_arg1,_arg2);
4556
4557 wxPyEndAllowThreads(__tstate);
4558 if (PyErr_Occurred()) return NULL;
4559 } Py_INCREF(Py_None);
4560 _resultobj = Py_None;
4561 {
4562 PyObject *o;
4563 o = PyInt_FromLong((long) (*_arg1));
4564 _resultobj = t_output_helper(_resultobj, o);
4565 }
4566 {
4567 PyObject *o;
4568 o = PyInt_FromLong((long) (*_arg2));
4569 _resultobj = t_output_helper(_resultobj, o);
4570 }
4571 return _resultobj;
4572 }
4573
4574 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4575 static PyObject *_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject * _resultobj;
4577 wxSize * _result;
4578 wxPyPanel * _arg0;
4579 PyObject * _argo0 = 0;
4580 char *_kwnames[] = { "self", NULL };
4581 char _ptemp[128];
4582
4583 self = self;
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames,&_argo0))
4585 return NULL;
4586 if (_argo0) {
4587 if (_argo0 == Py_None) { _arg0 = NULL; }
4588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4590 return NULL;
4591 }
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 _result = new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0));
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) return NULL;
4599 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4600 _resultobj = Py_BuildValue("s",_ptemp);
4601 return _resultobj;
4602 }
4603
4604 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4605 static PyObject *_wrap_wxPyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject * _resultobj;
4607 wxSize * _result;
4608 wxPyPanel * _arg0;
4609 PyObject * _argo0 = 0;
4610 char *_kwnames[] = { "self", NULL };
4611 char _ptemp[128];
4612
4613 self = self;
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetBestSize",_kwnames,&_argo0))
4615 return NULL;
4616 if (_argo0) {
4617 if (_argo0 == Py_None) { _arg0 = NULL; }
4618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
4620 return NULL;
4621 }
4622 }
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 _result = new wxSize (wxPyPanel_base_DoGetBestSize(_arg0));
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) return NULL;
4629 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4630 _resultobj = Py_BuildValue("s",_ptemp);
4631 return _resultobj;
4632 }
4633
4634 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4635 static PyObject *_wrap_wxPyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject * _resultobj;
4637 wxPyPanel * _arg0;
4638 PyObject * _argo0 = 0;
4639 char *_kwnames[] = { "self", NULL };
4640
4641 self = self;
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_InitDialog",_kwnames,&_argo0))
4643 return NULL;
4644 if (_argo0) {
4645 if (_argo0 == Py_None) { _arg0 = NULL; }
4646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
4648 return NULL;
4649 }
4650 }
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 wxPyPanel_base_InitDialog(_arg0);
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) return NULL;
4657 } Py_INCREF(Py_None);
4658 _resultobj = Py_None;
4659 return _resultobj;
4660 }
4661
4662 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4663 static PyObject *_wrap_wxPyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4664 PyObject * _resultobj;
4665 bool _result;
4666 wxPyPanel * _arg0;
4667 PyObject * _argo0 = 0;
4668 char *_kwnames[] = { "self", NULL };
4669
4670 self = self;
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataToWindow",_kwnames,&_argo0))
4672 return NULL;
4673 if (_argo0) {
4674 if (_argo0 == Py_None) { _arg0 = NULL; }
4675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
4677 return NULL;
4678 }
4679 }
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 _result = (bool )wxPyPanel_base_TransferDataToWindow(_arg0);
4683
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) return NULL;
4686 } _resultobj = Py_BuildValue("i",_result);
4687 return _resultobj;
4688 }
4689
4690 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4691 static PyObject *_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject * _resultobj;
4693 bool _result;
4694 wxPyPanel * _arg0;
4695 PyObject * _argo0 = 0;
4696 char *_kwnames[] = { "self", NULL };
4697
4698 self = self;
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames,&_argo0))
4700 return NULL;
4701 if (_argo0) {
4702 if (_argo0 == Py_None) { _arg0 = NULL; }
4703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
4705 return NULL;
4706 }
4707 }
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 _result = (bool )wxPyPanel_base_TransferDataFromWindow(_arg0);
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) return NULL;
4714 } _resultobj = Py_BuildValue("i",_result);
4715 return _resultobj;
4716 }
4717
4718 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
4719 static PyObject *_wrap_wxPyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject * _resultobj;
4721 bool _result;
4722 wxPyPanel * _arg0;
4723 PyObject * _argo0 = 0;
4724 char *_kwnames[] = { "self", NULL };
4725
4726 self = self;
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_Validate",_kwnames,&_argo0))
4728 return NULL;
4729 if (_argo0) {
4730 if (_argo0 == Py_None) { _arg0 = NULL; }
4731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
4733 return NULL;
4734 }
4735 }
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 _result = (bool )wxPyPanel_base_Validate(_arg0);
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) return NULL;
4742 } _resultobj = Py_BuildValue("i",_result);
4743 return _resultobj;
4744 }
4745
4746 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4747 static PyObject *_wrap_wxPyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject * _resultobj;
4749 bool _result;
4750 wxPyPanel * _arg0;
4751 PyObject * _argo0 = 0;
4752 char *_kwnames[] = { "self", NULL };
4753
4754 self = self;
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocus",_kwnames,&_argo0))
4756 return NULL;
4757 if (_argo0) {
4758 if (_argo0 == Py_None) { _arg0 = NULL; }
4759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
4761 return NULL;
4762 }
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 _result = (bool )wxPyPanel_base_AcceptsFocus(_arg0);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) return NULL;
4770 } _resultobj = Py_BuildValue("i",_result);
4771 return _resultobj;
4772 }
4773
4774 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4775 static PyObject *_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
4776 PyObject * _resultobj;
4777 bool _result;
4778 wxPyPanel * _arg0;
4779 PyObject * _argo0 = 0;
4780 char *_kwnames[] = { "self", NULL };
4781
4782 self = self;
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
4784 return NULL;
4785 if (_argo0) {
4786 if (_argo0 == Py_None) { _arg0 = NULL; }
4787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
4789 return NULL;
4790 }
4791 }
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 _result = (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0);
4795
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) return NULL;
4798 } _resultobj = Py_BuildValue("i",_result);
4799 return _resultobj;
4800 }
4801
4802 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4803 static PyObject *_wrap_wxPyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4804 PyObject * _resultobj;
4805 wxSize * _result;
4806 wxPyPanel * _arg0;
4807 PyObject * _argo0 = 0;
4808 char *_kwnames[] = { "self", NULL };
4809 char _ptemp[128];
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_GetMaxSize",_kwnames,&_argo0))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 _result = new wxSize (wxPyPanel_base_GetMaxSize(_arg0));
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) return NULL;
4827 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4828 _resultobj = Py_BuildValue("s",_ptemp);
4829 return _resultobj;
4830 }
4831
4832 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4833 static PyObject *_wrap_wxPyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject * _resultobj;
4835 wxPyPanel * _arg0;
4836 wxWindow * _arg1;
4837 PyObject * _argo0 = 0;
4838 PyObject * _argo1 = 0;
4839 char *_kwnames[] = { "self","child", NULL };
4840
4841 self = self;
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_AddChild",_kwnames,&_argo0,&_argo1))
4843 return NULL;
4844 if (_argo0) {
4845 if (_argo0 == Py_None) { _arg0 = NULL; }
4846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
4848 return NULL;
4849 }
4850 }
4851 if (_argo1) {
4852 if (_argo1 == Py_None) { _arg1 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
4855 return NULL;
4856 }
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 wxPyPanel_base_AddChild(_arg0,_arg1);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) return NULL;
4864 } Py_INCREF(Py_None);
4865 _resultobj = Py_None;
4866 return _resultobj;
4867 }
4868
4869 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4870 static PyObject *_wrap_wxPyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject * _resultobj;
4872 wxPyPanel * _arg0;
4873 wxWindow * _arg1;
4874 PyObject * _argo0 = 0;
4875 PyObject * _argo1 = 0;
4876 char *_kwnames[] = { "self","child", NULL };
4877
4878 self = self;
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_RemoveChild",_kwnames,&_argo0,&_argo1))
4880 return NULL;
4881 if (_argo0) {
4882 if (_argo0 == Py_None) { _arg0 = NULL; }
4883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
4885 return NULL;
4886 }
4887 }
4888 if (_argo1) {
4889 if (_argo1 == Py_None) { _arg1 = NULL; }
4890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
4892 return NULL;
4893 }
4894 }
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 wxPyPanel_base_RemoveChild(_arg0,_arg1);
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) return NULL;
4901 } Py_INCREF(Py_None);
4902 _resultobj = Py_None;
4903 return _resultobj;
4904 }
4905
4906 static PyMethodDef windows2cMethods[] = {
4907 { "wxPyPanel_base_RemoveChild", (PyCFunction) _wrap_wxPyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
4908 { "wxPyPanel_base_AddChild", (PyCFunction) _wrap_wxPyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
4909 { "wxPyPanel_base_GetMaxSize", (PyCFunction) _wrap_wxPyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
4910 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
4911 { "wxPyPanel_base_AcceptsFocus", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
4912 { "wxPyPanel_base_Validate", (PyCFunction) _wrap_wxPyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
4913 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
4914 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
4915 { "wxPyPanel_base_InitDialog", (PyCFunction) _wrap_wxPyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
4916 { "wxPyPanel_base_DoGetBestSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
4917 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
4918 { "wxPyPanel_base_DoGetPosition", (PyCFunction) _wrap_wxPyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
4919 { "wxPyPanel_base_DoGetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
4920 { "wxPyPanel_base_DoGetSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
4921 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
4922 { "wxPyPanel_base_DoSetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
4923 { "wxPyPanel_base_DoSetSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
4924 { "wxPyPanel_base_DoMoveWindow", (PyCFunction) _wrap_wxPyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
4925 { "wxPyPanel__setCallbackInfo", (PyCFunction) _wrap_wxPyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
4926 { "new_wxPyPanel", (PyCFunction) _wrap_new_wxPyPanel, METH_VARARGS | METH_KEYWORDS },
4927 { "wxPyControl_base_RemoveChild", (PyCFunction) _wrap_wxPyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
4928 { "wxPyControl_base_AddChild", (PyCFunction) _wrap_wxPyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
4929 { "wxPyControl_base_GetMaxSize", (PyCFunction) _wrap_wxPyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
4930 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
4931 { "wxPyControl_base_AcceptsFocus", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
4932 { "wxPyControl_base_Validate", (PyCFunction) _wrap_wxPyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
4933 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
4934 { "wxPyControl_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
4935 { "wxPyControl_base_InitDialog", (PyCFunction) _wrap_wxPyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
4936 { "wxPyControl_base_DoGetBestSize", (PyCFunction) _wrap_wxPyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
4937 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
4938 { "wxPyControl_base_DoGetPosition", (PyCFunction) _wrap_wxPyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
4939 { "wxPyControl_base_DoGetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
4940 { "wxPyControl_base_DoGetSize", (PyCFunction) _wrap_wxPyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
4941 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
4942 { "wxPyControl_base_DoSetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
4943 { "wxPyControl_base_DoSetSize", (PyCFunction) _wrap_wxPyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
4944 { "wxPyControl_base_DoMoveWindow", (PyCFunction) _wrap_wxPyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
4945 { "wxPyControl__setCallbackInfo", (PyCFunction) _wrap_wxPyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
4946 { "new_wxPyControl", (PyCFunction) _wrap_new_wxPyControl, METH_VARARGS | METH_KEYWORDS },
4947 { "wxPyWindow_base_RemoveChild", (PyCFunction) _wrap_wxPyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
4948 { "wxPyWindow_base_AddChild", (PyCFunction) _wrap_wxPyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
4949 { "wxPyWindow_base_GetMaxSize", (PyCFunction) _wrap_wxPyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
4950 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
4951 { "wxPyWindow_base_AcceptsFocus", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
4952 { "wxPyWindow_base_Validate", (PyCFunction) _wrap_wxPyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
4953 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
4954 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
4955 { "wxPyWindow_base_InitDialog", (PyCFunction) _wrap_wxPyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
4956 { "wxPyWindow_base_DoGetBestSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
4957 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
4958 { "wxPyWindow_base_DoGetPosition", (PyCFunction) _wrap_wxPyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
4959 { "wxPyWindow_base_DoGetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
4960 { "wxPyWindow_base_DoGetSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
4961 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
4962 { "wxPyWindow_base_DoSetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
4963 { "wxPyWindow_base_DoSetSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
4964 { "wxPyWindow_base_DoMoveWindow", (PyCFunction) _wrap_wxPyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
4965 { "wxPyWindow__setCallbackInfo", (PyCFunction) _wrap_wxPyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
4966 { "new_wxPyWindow", (PyCFunction) _wrap_new_wxPyWindow, METH_VARARGS | METH_KEYWORDS },
4967 { "wxTaskBarIcon_IsOK", (PyCFunction) _wrap_wxTaskBarIcon_IsOK, METH_VARARGS | METH_KEYWORDS },
4968 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_wxTaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
4969 { "wxTaskBarIcon_PopupMenu", (PyCFunction) _wrap_wxTaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
4970 { "wxTaskBarIcon_RemoveIcon", (PyCFunction) _wrap_wxTaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
4971 { "wxTaskBarIcon_SetIcon", (PyCFunction) _wrap_wxTaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
4972 { "delete_wxTaskBarIcon", (PyCFunction) _wrap_delete_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
4973 { "new_wxTaskBarIcon", (PyCFunction) _wrap_new_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
4974 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
4975 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
4976 { "wxSplitterWindow_SizeWindows", (PyCFunction) _wrap_wxSplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
4977 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
4978 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
4979 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
4980 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
4981 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
4982 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
4983 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
4984 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
4985 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
4986 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
4987 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
4988 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
4989 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
4990 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
4991 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
4992 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
4993 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
4994 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
4995 { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
4996 { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
4997 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
4998 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
4999 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
5000 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
5001 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
5002 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5003 { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
5004 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
5005 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
5006 { "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS },
5007 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
5008 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
5009 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
5010 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
5011 { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
5012 { "wxNotebook_SetPageSize", (PyCFunction) _wrap_wxNotebook_SetPageSize, METH_VARARGS | METH_KEYWORDS },
5013 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
5014 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
5015 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
5016 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
5017 { "wxNotebook_AssignImageList", (PyCFunction) _wrap_wxNotebook_AssignImageList, METH_VARARGS | METH_KEYWORDS },
5018 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
5019 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
5020 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
5021 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
5022 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
5023 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
5024 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
5025 { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
5026 { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
5027 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
5028 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5029 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5030 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5031 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5032 { "new_wxNotebookEvent", (PyCFunction) _wrap_new_wxNotebookEvent, METH_VARARGS | METH_KEYWORDS },
5033 { NULL, NULL }
5034 };
5035 #ifdef __cplusplus
5036 }
5037 #endif
5038 /*
5039 * This table is used by the pointer type-checker
5040 */
5041 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5042 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5043 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5044 { "_signed_long","_long",0},
5045 { "_wxPrintQuality","_wxCoord",0},
5046 { "_wxPrintQuality","_int",0},
5047 { "_wxPrintQuality","_signed_int",0},
5048 { "_wxPrintQuality","_unsigned_int",0},
5049 { "_wxPrintQuality","_wxWindowID",0},
5050 { "_wxPrintQuality","_uint",0},
5051 { "_wxPrintQuality","_EBool",0},
5052 { "_wxPrintQuality","_size_t",0},
5053 { "_wxPrintQuality","_time_t",0},
5054 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent},
5055 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5056 { "_byte","_unsigned_char",0},
5057 { "_long","_unsigned_long",0},
5058 { "_long","_signed_long",0},
5059 { "_size_t","_wxCoord",0},
5060 { "_size_t","_wxPrintQuality",0},
5061 { "_size_t","_time_t",0},
5062 { "_size_t","_unsigned_int",0},
5063 { "_size_t","_int",0},
5064 { "_size_t","_wxWindowID",0},
5065 { "_size_t","_uint",0},
5066 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel},
5067 { "_uint","_wxCoord",0},
5068 { "_uint","_wxPrintQuality",0},
5069 { "_uint","_time_t",0},
5070 { "_uint","_size_t",0},
5071 { "_uint","_unsigned_int",0},
5072 { "_uint","_int",0},
5073 { "_uint","_wxWindowID",0},
5074 { "_wxChar","_char",0},
5075 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5076 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5077 { "_char","_wxChar",0},
5078 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5079 { "_EBool","_wxCoord",0},
5080 { "_EBool","_wxPrintQuality",0},
5081 { "_EBool","_signed_int",0},
5082 { "_EBool","_int",0},
5083 { "_EBool","_wxWindowID",0},
5084 { "_unsigned_long","_long",0},
5085 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5086 { "_signed_int","_wxCoord",0},
5087 { "_signed_int","_wxPrintQuality",0},
5088 { "_signed_int","_EBool",0},
5089 { "_signed_int","_wxWindowID",0},
5090 { "_signed_int","_int",0},
5091 { "_WXTYPE","_short",0},
5092 { "_WXTYPE","_signed_short",0},
5093 { "_WXTYPE","_unsigned_short",0},
5094 { "_unsigned_short","_WXTYPE",0},
5095 { "_unsigned_short","_short",0},
5096 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject},
5097 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject},
5098 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject},
5099 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject},
5100 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
5101 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
5102 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
5103 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject},
5104 { "_signed_short","_WXTYPE",0},
5105 { "_signed_short","_short",0},
5106 { "_unsigned_char","_byte",0},
5107 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl},
5108 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5109 { "_unsigned_int","_wxCoord",0},
5110 { "_unsigned_int","_wxPrintQuality",0},
5111 { "_unsigned_int","_time_t",0},
5112 { "_unsigned_int","_size_t",0},
5113 { "_unsigned_int","_uint",0},
5114 { "_unsigned_int","_wxWindowID",0},
5115 { "_unsigned_int","_int",0},
5116 { "_short","_WXTYPE",0},
5117 { "_short","_unsigned_short",0},
5118 { "_short","_signed_short",0},
5119 { "_wxWindowID","_wxCoord",0},
5120 { "_wxWindowID","_wxPrintQuality",0},
5121 { "_wxWindowID","_time_t",0},
5122 { "_wxWindowID","_size_t",0},
5123 { "_wxWindowID","_EBool",0},
5124 { "_wxWindowID","_uint",0},
5125 { "_wxWindowID","_int",0},
5126 { "_wxWindowID","_signed_int",0},
5127 { "_wxWindowID","_unsigned_int",0},
5128 { "_int","_wxCoord",0},
5129 { "_int","_wxPrintQuality",0},
5130 { "_int","_time_t",0},
5131 { "_int","_size_t",0},
5132 { "_int","_EBool",0},
5133 { "_int","_uint",0},
5134 { "_int","_wxWindowID",0},
5135 { "_int","_unsigned_int",0},
5136 { "_int","_signed_int",0},
5137 { "_time_t","_wxCoord",0},
5138 { "_time_t","_wxPrintQuality",0},
5139 { "_time_t","_unsigned_int",0},
5140 { "_time_t","_int",0},
5141 { "_time_t","_wxWindowID",0},
5142 { "_time_t","_uint",0},
5143 { "_time_t","_size_t",0},
5144 { "_wxCoord","_int",0},
5145 { "_wxCoord","_signed_int",0},
5146 { "_wxCoord","_unsigned_int",0},
5147 { "_wxCoord","_wxWindowID",0},
5148 { "_wxCoord","_uint",0},
5149 { "_wxCoord","_EBool",0},
5150 { "_wxCoord","_size_t",0},
5151 { "_wxCoord","_time_t",0},
5152 { "_wxCoord","_wxPrintQuality",0},
5153 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler},
5154 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler},
5155 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler},
5156 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
5157 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5158 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5159 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow},
5160 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow},
5161 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow},
5162 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5163 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5164 {0,0,0}};
5165
5166 static PyObject *SWIG_globals;
5167 #ifdef __cplusplus
5168 extern "C"
5169 #endif
5170 SWIGEXPORT(void) initwindows2c() {
5171 PyObject *m, *d;
5172 SWIG_globals = SWIG_newvarlink();
5173 m = Py_InitModule("windows2c", windows2cMethods);
5174 d = PyModule_GetDict(m);
5175 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
5176 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
5177 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
5178 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
5179 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
5180 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
5181 PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL));
5182 PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL));
5183 PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
5184 PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
5185 PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
5186 PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
5187 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
5188 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
5189 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
5190 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
5191 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
5192 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
5193 {
5194 int i;
5195 for (i = 0; _swig_mapping[i].n1; i++)
5196 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5197 }
5198 }