]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows3.cpp
corrections to dynamic loading for Darwin
[wxWidgets.git] / wxPython / src / msw / windows3.cpp
1 /*
2 * FILE : src/msw/windows3.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 initwindows3c
55
56 #define SWIG_name "windows3c"
57
58 #include "helpers.h"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
61 #ifndef __WXMAC__
62 #include <wx/popupwin.h>
63 #include <wx/tipwin.h>
64 #endif
65
66
67 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
68 PyObject* o2;
69 PyObject* o3;
70
71 if (!target) {
72 target = o;
73 } else if (target == Py_None) {
74 Py_DECREF(Py_None);
75 target = o;
76 } else {
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
84
85 o2 = target;
86 target = PySequence_Concat(o2, o3);
87 Py_DECREF(o2);
88 Py_DECREF(o3);
89 }
90 return target;
91 }
92
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg = "String or Unicode type required";
95 #else
96 static char* wxStringErrorMsg = "String type required";
97 #endif
98
99 class wxPyPopupTransientWindow : public wxPopupTransientWindow
100 {
101 public:
102 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
103 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
104 : wxPopupTransientWindow(parent, style) {}
105
106 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
107 DEC_PYCALLBACK__(OnDismiss);
108 PYPRIVATE;
109 };
110
111 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
112 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
113 #ifdef __cplusplus
114 extern "C" {
115 #endif
116 static void *SwigwxSashEventTowxCommandEvent(void *ptr) {
117 wxSashEvent *src;
118 wxCommandEvent *dest;
119 src = (wxSashEvent *) ptr;
120 dest = (wxCommandEvent *) src;
121 return (void *) dest;
122 }
123
124 static void *SwigwxSashEventTowxEvent(void *ptr) {
125 wxSashEvent *src;
126 wxEvent *dest;
127 src = (wxSashEvent *) ptr;
128 dest = (wxEvent *) src;
129 return (void *) dest;
130 }
131
132 static void *SwigwxSashEventTowxObject(void *ptr) {
133 wxSashEvent *src;
134 wxObject *dest;
135 src = (wxSashEvent *) ptr;
136 dest = (wxObject *) src;
137 return (void *) dest;
138 }
139
140 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
141 static PyObject *_wrap_new_wxSashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
142 PyObject * _resultobj;
143 wxSashEvent * _result;
144 int _arg0 = (int ) 0;
145 wxSashEdgePosition _arg1 = (wxSashEdgePosition ) (wxSASH_NONE);
146 char *_kwnames[] = { "id","edge", NULL };
147 char _ptemp[128];
148
149 self = self;
150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSashEvent",_kwnames,&_arg0,&_arg1))
151 return NULL;
152 {
153 PyThreadState* __tstate = wxPyBeginAllowThreads();
154 _result = (wxSashEvent *)new_wxSashEvent(_arg0,_arg1);
155
156 wxPyEndAllowThreads(__tstate);
157 if (PyErr_Occurred()) return NULL;
158 } if (_result) {
159 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashEvent_p");
160 _resultobj = Py_BuildValue("s",_ptemp);
161 } else {
162 Py_INCREF(Py_None);
163 _resultobj = Py_None;
164 }
165 return _resultobj;
166 }
167
168 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
169 static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxSashEvent * _arg0;
172 wxSashEdgePosition _arg1;
173 PyObject * _argo0 = 0;
174 char *_kwnames[] = { "self","edge", NULL };
175
176 self = self;
177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
178 return NULL;
179 if (_argo0) {
180 if (_argo0 == Py_None) { _arg0 = NULL; }
181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
183 return NULL;
184 }
185 }
186 {
187 PyThreadState* __tstate = wxPyBeginAllowThreads();
188 wxSashEvent_SetEdge(_arg0,_arg1);
189
190 wxPyEndAllowThreads(__tstate);
191 if (PyErr_Occurred()) return NULL;
192 } Py_INCREF(Py_None);
193 _resultobj = Py_None;
194 return _resultobj;
195 }
196
197 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
198 static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
199 PyObject * _resultobj;
200 wxSashEdgePosition _result;
201 wxSashEvent * _arg0;
202 PyObject * _argo0 = 0;
203 char *_kwnames[] = { "self", NULL };
204
205 self = self;
206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
207 return NULL;
208 if (_argo0) {
209 if (_argo0 == Py_None) { _arg0 = NULL; }
210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
212 return NULL;
213 }
214 }
215 {
216 PyThreadState* __tstate = wxPyBeginAllowThreads();
217 _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
218
219 wxPyEndAllowThreads(__tstate);
220 if (PyErr_Occurred()) return NULL;
221 } _resultobj = Py_BuildValue("i",_result);
222 return _resultobj;
223 }
224
225 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
226 static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
227 PyObject * _resultobj;
228 wxSashEvent * _arg0;
229 wxRect * _arg1;
230 PyObject * _argo0 = 0;
231 wxRect temp;
232 PyObject * _obj1 = 0;
233 char *_kwnames[] = { "self","rect", NULL };
234
235 self = self;
236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
237 return NULL;
238 if (_argo0) {
239 if (_argo0 == Py_None) { _arg0 = NULL; }
240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
242 return NULL;
243 }
244 }
245 {
246 _arg1 = &temp;
247 if (! wxRect_helper(_obj1, &_arg1))
248 return NULL;
249 }
250 {
251 PyThreadState* __tstate = wxPyBeginAllowThreads();
252 wxSashEvent_SetDragRect(_arg0,*_arg1);
253
254 wxPyEndAllowThreads(__tstate);
255 if (PyErr_Occurred()) return NULL;
256 } Py_INCREF(Py_None);
257 _resultobj = Py_None;
258 return _resultobj;
259 }
260
261 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
262 static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
263 PyObject * _resultobj;
264 wxRect * _result;
265 wxSashEvent * _arg0;
266 PyObject * _argo0 = 0;
267 char *_kwnames[] = { "self", NULL };
268 char _ptemp[128];
269
270 self = self;
271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
272 return NULL;
273 if (_argo0) {
274 if (_argo0 == Py_None) { _arg0 = NULL; }
275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
277 return NULL;
278 }
279 }
280 {
281 PyThreadState* __tstate = wxPyBeginAllowThreads();
282 _result = new wxRect (wxSashEvent_GetDragRect(_arg0));
283
284 wxPyEndAllowThreads(__tstate);
285 if (PyErr_Occurred()) return NULL;
286 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
287 _resultobj = Py_BuildValue("s",_ptemp);
288 return _resultobj;
289 }
290
291 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
292 static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject * _resultobj;
294 wxSashEvent * _arg0;
295 wxSashDragStatus _arg1;
296 PyObject * _argo0 = 0;
297 char *_kwnames[] = { "self","status", NULL };
298
299 self = self;
300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
301 return NULL;
302 if (_argo0) {
303 if (_argo0 == Py_None) { _arg0 = NULL; }
304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
306 return NULL;
307 }
308 }
309 {
310 PyThreadState* __tstate = wxPyBeginAllowThreads();
311 wxSashEvent_SetDragStatus(_arg0,_arg1);
312
313 wxPyEndAllowThreads(__tstate);
314 if (PyErr_Occurred()) return NULL;
315 } Py_INCREF(Py_None);
316 _resultobj = Py_None;
317 return _resultobj;
318 }
319
320 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
321 static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 wxSashDragStatus _result;
324 wxSashEvent * _arg0;
325 PyObject * _argo0 = 0;
326 char *_kwnames[] = { "self", NULL };
327
328 self = self;
329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
330 return NULL;
331 if (_argo0) {
332 if (_argo0 == Py_None) { _arg0 = NULL; }
333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
335 return NULL;
336 }
337 }
338 {
339 PyThreadState* __tstate = wxPyBeginAllowThreads();
340 _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
341
342 wxPyEndAllowThreads(__tstate);
343 if (PyErr_Occurred()) return NULL;
344 } _resultobj = Py_BuildValue("i",_result);
345 return _resultobj;
346 }
347
348 static void *SwigwxSashWindowTowxWindow(void *ptr) {
349 wxSashWindow *src;
350 wxWindow *dest;
351 src = (wxSashWindow *) ptr;
352 dest = (wxWindow *) src;
353 return (void *) dest;
354 }
355
356 static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
357 wxSashWindow *src;
358 wxEvtHandler *dest;
359 src = (wxSashWindow *) ptr;
360 dest = (wxEvtHandler *) src;
361 return (void *) dest;
362 }
363
364 static void *SwigwxSashWindowTowxObject(void *ptr) {
365 wxSashWindow *src;
366 wxObject *dest;
367 src = (wxSashWindow *) ptr;
368 dest = (wxObject *) src;
369 return (void *) dest;
370 }
371
372 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
373 static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
374 PyObject * _resultobj;
375 wxSashWindow * _result;
376 wxWindow * _arg0;
377 wxWindowID _arg1;
378 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
379 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
380 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
381 char * _arg5 = (char *) "sashWindow";
382 PyObject * _argo0 = 0;
383 wxPoint temp;
384 PyObject * _obj2 = 0;
385 wxSize temp0;
386 PyObject * _obj3 = 0;
387 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
388 char _ptemp[128];
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
397 return NULL;
398 }
399 }
400 if (_obj2)
401 {
402 _arg2 = &temp;
403 if (! wxPoint_helper(_obj2, &_arg2))
404 return NULL;
405 }
406 if (_obj3)
407 {
408 _arg3 = &temp0;
409 if (! wxSize_helper(_obj3, &_arg3))
410 return NULL;
411 }
412 {
413 PyThreadState* __tstate = wxPyBeginAllowThreads();
414 _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
415
416 wxPyEndAllowThreads(__tstate);
417 if (PyErr_Occurred()) return NULL;
418 } if (_result) {
419 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
420 _resultobj = Py_BuildValue("s",_ptemp);
421 } else {
422 Py_INCREF(Py_None);
423 _resultobj = Py_None;
424 }
425 return _resultobj;
426 }
427
428 #define new_wxPreSashWindow() (new wxSashWindow())
429 static PyObject *_wrap_new_wxPreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
430 PyObject * _resultobj;
431 wxSashWindow * _result;
432 char *_kwnames[] = { NULL };
433 char _ptemp[128];
434
435 self = self;
436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashWindow",_kwnames))
437 return NULL;
438 {
439 PyThreadState* __tstate = wxPyBeginAllowThreads();
440 _result = (wxSashWindow *)new_wxPreSashWindow();
441
442 wxPyEndAllowThreads(__tstate);
443 if (PyErr_Occurred()) return NULL;
444 } if (_result) {
445 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
446 _resultobj = Py_BuildValue("s",_ptemp);
447 } else {
448 Py_INCREF(Py_None);
449 _resultobj = Py_None;
450 }
451 return _resultobj;
452 }
453
454 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
455 static PyObject *_wrap_wxSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
456 PyObject * _resultobj;
457 bool _result;
458 wxSashWindow * _arg0;
459 wxWindow * _arg1;
460 wxWindowID _arg2;
461 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
462 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
463 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
464 char * _arg6 = (char *) "sashWindow";
465 PyObject * _argo0 = 0;
466 PyObject * _argo1 = 0;
467 wxPoint temp;
468 PyObject * _obj3 = 0;
469 wxSize temp0;
470 PyObject * _obj4 = 0;
471 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
472
473 self = self;
474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
475 return NULL;
476 if (_argo0) {
477 if (_argo0 == Py_None) { _arg0 = NULL; }
478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
480 return NULL;
481 }
482 }
483 if (_argo1) {
484 if (_argo1 == Py_None) { _arg1 = NULL; }
485 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
486 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
487 return NULL;
488 }
489 }
490 if (_obj3)
491 {
492 _arg3 = &temp;
493 if (! wxPoint_helper(_obj3, &_arg3))
494 return NULL;
495 }
496 if (_obj4)
497 {
498 _arg4 = &temp0;
499 if (! wxSize_helper(_obj4, &_arg4))
500 return NULL;
501 }
502 {
503 PyThreadState* __tstate = wxPyBeginAllowThreads();
504 _result = (bool )wxSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
505
506 wxPyEndAllowThreads(__tstate);
507 if (PyErr_Occurred()) return NULL;
508 } _resultobj = Py_BuildValue("i",_result);
509 return _resultobj;
510 }
511
512 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
513 static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
514 PyObject * _resultobj;
515 bool _result;
516 wxSashWindow * _arg0;
517 wxSashEdgePosition _arg1;
518 PyObject * _argo0 = 0;
519 char *_kwnames[] = { "self","edge", NULL };
520
521 self = self;
522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
523 return NULL;
524 if (_argo0) {
525 if (_argo0 == Py_None) { _arg0 = NULL; }
526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
528 return NULL;
529 }
530 }
531 {
532 PyThreadState* __tstate = wxPyBeginAllowThreads();
533 _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
534
535 wxPyEndAllowThreads(__tstate);
536 if (PyErr_Occurred()) return NULL;
537 } _resultobj = Py_BuildValue("i",_result);
538 return _resultobj;
539 }
540
541 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
542 static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
543 PyObject * _resultobj;
544 int _result;
545 wxSashWindow * _arg0;
546 PyObject * _argo0 = 0;
547 char *_kwnames[] = { "self", NULL };
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
556 return NULL;
557 }
558 }
559 {
560 PyThreadState* __tstate = wxPyBeginAllowThreads();
561 _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
562
563 wxPyEndAllowThreads(__tstate);
564 if (PyErr_Occurred()) return NULL;
565 } _resultobj = Py_BuildValue("i",_result);
566 return _resultobj;
567 }
568
569 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
570 static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
571 PyObject * _resultobj;
572 int _result;
573 wxSashWindow * _arg0;
574 wxSashEdgePosition _arg1;
575 PyObject * _argo0 = 0;
576 char *_kwnames[] = { "self","edge", NULL };
577
578 self = self;
579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
580 return NULL;
581 if (_argo0) {
582 if (_argo0 == Py_None) { _arg0 = NULL; }
583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
585 return NULL;
586 }
587 }
588 {
589 PyThreadState* __tstate = wxPyBeginAllowThreads();
590 _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
591
592 wxPyEndAllowThreads(__tstate);
593 if (PyErr_Occurred()) return NULL;
594 } _resultobj = Py_BuildValue("i",_result);
595 return _resultobj;
596 }
597
598 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
599 static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
600 PyObject * _resultobj;
601 int _result;
602 wxSashWindow * _arg0;
603 PyObject * _argo0 = 0;
604 char *_kwnames[] = { "self", NULL };
605
606 self = self;
607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
608 return NULL;
609 if (_argo0) {
610 if (_argo0 == Py_None) { _arg0 = NULL; }
611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
613 return NULL;
614 }
615 }
616 {
617 PyThreadState* __tstate = wxPyBeginAllowThreads();
618 _result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
619
620 wxPyEndAllowThreads(__tstate);
621 if (PyErr_Occurred()) return NULL;
622 } _resultobj = Py_BuildValue("i",_result);
623 return _resultobj;
624 }
625
626 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
627 static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
628 PyObject * _resultobj;
629 int _result;
630 wxSashWindow * _arg0;
631 PyObject * _argo0 = 0;
632 char *_kwnames[] = { "self", NULL };
633
634 self = self;
635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
636 return NULL;
637 if (_argo0) {
638 if (_argo0 == Py_None) { _arg0 = NULL; }
639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
641 return NULL;
642 }
643 }
644 {
645 PyThreadState* __tstate = wxPyBeginAllowThreads();
646 _result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
647
648 wxPyEndAllowThreads(__tstate);
649 if (PyErr_Occurred()) return NULL;
650 } _resultobj = Py_BuildValue("i",_result);
651 return _resultobj;
652 }
653
654 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
655 static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
656 PyObject * _resultobj;
657 int _result;
658 wxSashWindow * _arg0;
659 PyObject * _argo0 = 0;
660 char *_kwnames[] = { "self", NULL };
661
662 self = self;
663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
664 return NULL;
665 if (_argo0) {
666 if (_argo0 == Py_None) { _arg0 = NULL; }
667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
669 return NULL;
670 }
671 }
672 {
673 PyThreadState* __tstate = wxPyBeginAllowThreads();
674 _result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
675
676 wxPyEndAllowThreads(__tstate);
677 if (PyErr_Occurred()) return NULL;
678 } _resultobj = Py_BuildValue("i",_result);
679 return _resultobj;
680 }
681
682 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
683 static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
684 PyObject * _resultobj;
685 int _result;
686 wxSashWindow * _arg0;
687 PyObject * _argo0 = 0;
688 char *_kwnames[] = { "self", NULL };
689
690 self = self;
691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
692 return NULL;
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
697 return NULL;
698 }
699 }
700 {
701 PyThreadState* __tstate = wxPyBeginAllowThreads();
702 _result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
703
704 wxPyEndAllowThreads(__tstate);
705 if (PyErr_Occurred()) return NULL;
706 } _resultobj = Py_BuildValue("i",_result);
707 return _resultobj;
708 }
709
710 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
711 static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
712 PyObject * _resultobj;
713 int _result;
714 wxSashWindow * _arg0;
715 PyObject * _argo0 = 0;
716 char *_kwnames[] = { "self", NULL };
717
718 self = self;
719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
720 return NULL;
721 if (_argo0) {
722 if (_argo0 == Py_None) { _arg0 = NULL; }
723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
725 return NULL;
726 }
727 }
728 {
729 PyThreadState* __tstate = wxPyBeginAllowThreads();
730 _result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
731
732 wxPyEndAllowThreads(__tstate);
733 if (PyErr_Occurred()) return NULL;
734 } _resultobj = Py_BuildValue("i",_result);
735 return _resultobj;
736 }
737
738 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
739 static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
740 PyObject * _resultobj;
741 bool _result;
742 wxSashWindow * _arg0;
743 wxSashEdgePosition _arg1;
744 PyObject * _argo0 = 0;
745 char *_kwnames[] = { "self","edge", NULL };
746
747 self = self;
748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
749 return NULL;
750 if (_argo0) {
751 if (_argo0 == Py_None) { _arg0 = NULL; }
752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
754 return NULL;
755 }
756 }
757 {
758 PyThreadState* __tstate = wxPyBeginAllowThreads();
759 _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
760
761 wxPyEndAllowThreads(__tstate);
762 if (PyErr_Occurred()) return NULL;
763 } _resultobj = Py_BuildValue("i",_result);
764 return _resultobj;
765 }
766
767 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
768 static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
769 PyObject * _resultobj;
770 wxSashWindow * _arg0;
771 int _arg1;
772 PyObject * _argo0 = 0;
773 char *_kwnames[] = { "self","width", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
782 return NULL;
783 }
784 }
785 {
786 PyThreadState* __tstate = wxPyBeginAllowThreads();
787 wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
788
789 wxPyEndAllowThreads(__tstate);
790 if (PyErr_Occurred()) return NULL;
791 } Py_INCREF(Py_None);
792 _resultobj = Py_None;
793 return _resultobj;
794 }
795
796 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
797 static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
798 PyObject * _resultobj;
799 wxSashWindow * _arg0;
800 int _arg1;
801 PyObject * _argo0 = 0;
802 char *_kwnames[] = { "self","width", NULL };
803
804 self = self;
805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
806 return NULL;
807 if (_argo0) {
808 if (_argo0 == Py_None) { _arg0 = NULL; }
809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
811 return NULL;
812 }
813 }
814 {
815 PyThreadState* __tstate = wxPyBeginAllowThreads();
816 wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
817
818 wxPyEndAllowThreads(__tstate);
819 if (PyErr_Occurred()) return NULL;
820 } Py_INCREF(Py_None);
821 _resultobj = Py_None;
822 return _resultobj;
823 }
824
825 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
826 static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
827 PyObject * _resultobj;
828 wxSashWindow * _arg0;
829 int _arg1;
830 PyObject * _argo0 = 0;
831 char *_kwnames[] = { "self","min", NULL };
832
833 self = self;
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
835 return NULL;
836 if (_argo0) {
837 if (_argo0 == Py_None) { _arg0 = NULL; }
838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
840 return NULL;
841 }
842 }
843 {
844 PyThreadState* __tstate = wxPyBeginAllowThreads();
845 wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
846
847 wxPyEndAllowThreads(__tstate);
848 if (PyErr_Occurred()) return NULL;
849 } Py_INCREF(Py_None);
850 _resultobj = Py_None;
851 return _resultobj;
852 }
853
854 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
855 static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
856 PyObject * _resultobj;
857 wxSashWindow * _arg0;
858 int _arg1;
859 PyObject * _argo0 = 0;
860 char *_kwnames[] = { "self","min", NULL };
861
862 self = self;
863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
864 return NULL;
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
869 return NULL;
870 }
871 }
872 {
873 PyThreadState* __tstate = wxPyBeginAllowThreads();
874 wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
875
876 wxPyEndAllowThreads(__tstate);
877 if (PyErr_Occurred()) return NULL;
878 } Py_INCREF(Py_None);
879 _resultobj = Py_None;
880 return _resultobj;
881 }
882
883 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
884 static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
885 PyObject * _resultobj;
886 wxSashWindow * _arg0;
887 int _arg1;
888 PyObject * _argo0 = 0;
889 char *_kwnames[] = { "self","min", NULL };
890
891 self = self;
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
893 return NULL;
894 if (_argo0) {
895 if (_argo0 == Py_None) { _arg0 = NULL; }
896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
898 return NULL;
899 }
900 }
901 {
902 PyThreadState* __tstate = wxPyBeginAllowThreads();
903 wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
904
905 wxPyEndAllowThreads(__tstate);
906 if (PyErr_Occurred()) return NULL;
907 } Py_INCREF(Py_None);
908 _resultobj = Py_None;
909 return _resultobj;
910 }
911
912 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
913 static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
914 PyObject * _resultobj;
915 wxSashWindow * _arg0;
916 int _arg1;
917 PyObject * _argo0 = 0;
918 char *_kwnames[] = { "self","min", NULL };
919
920 self = self;
921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
922 return NULL;
923 if (_argo0) {
924 if (_argo0 == Py_None) { _arg0 = NULL; }
925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
927 return NULL;
928 }
929 }
930 {
931 PyThreadState* __tstate = wxPyBeginAllowThreads();
932 wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
933
934 wxPyEndAllowThreads(__tstate);
935 if (PyErr_Occurred()) return NULL;
936 } Py_INCREF(Py_None);
937 _resultobj = Py_None;
938 return _resultobj;
939 }
940
941 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
942 static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
943 PyObject * _resultobj;
944 wxSashWindow * _arg0;
945 wxSashEdgePosition _arg1;
946 bool _arg2;
947 PyObject * _argo0 = 0;
948 int tempbool2;
949 char *_kwnames[] = { "self","edge","visible", NULL };
950
951 self = self;
952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
953 return NULL;
954 if (_argo0) {
955 if (_argo0 == Py_None) { _arg0 = NULL; }
956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
958 return NULL;
959 }
960 }
961 _arg2 = (bool ) tempbool2;
962 {
963 PyThreadState* __tstate = wxPyBeginAllowThreads();
964 wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
965
966 wxPyEndAllowThreads(__tstate);
967 if (PyErr_Occurred()) return NULL;
968 } Py_INCREF(Py_None);
969 _resultobj = Py_None;
970 return _resultobj;
971 }
972
973 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
974 static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
975 PyObject * _resultobj;
976 wxSashWindow * _arg0;
977 wxSashEdgePosition _arg1;
978 bool _arg2;
979 PyObject * _argo0 = 0;
980 int tempbool2;
981 char *_kwnames[] = { "self","edge","hasBorder", NULL };
982
983 self = self;
984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
985 return NULL;
986 if (_argo0) {
987 if (_argo0 == Py_None) { _arg0 = NULL; }
988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
990 return NULL;
991 }
992 }
993 _arg2 = (bool ) tempbool2;
994 {
995 PyThreadState* __tstate = wxPyBeginAllowThreads();
996 wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
997
998 wxPyEndAllowThreads(__tstate);
999 if (PyErr_Occurred()) return NULL;
1000 } Py_INCREF(Py_None);
1001 _resultobj = Py_None;
1002 return _resultobj;
1003 }
1004
1005 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
1006 wxQueryLayoutInfoEvent *src;
1007 wxEvent *dest;
1008 src = (wxQueryLayoutInfoEvent *) ptr;
1009 dest = (wxEvent *) src;
1010 return (void *) dest;
1011 }
1012
1013 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr) {
1014 wxQueryLayoutInfoEvent *src;
1015 wxObject *dest;
1016 src = (wxQueryLayoutInfoEvent *) ptr;
1017 dest = (wxObject *) src;
1018 return (void *) dest;
1019 }
1020
1021 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1022 static PyObject *_wrap_new_wxQueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1023 PyObject * _resultobj;
1024 wxQueryLayoutInfoEvent * _result;
1025 wxWindowID _arg0 = (wxWindowID ) 0;
1026 char *_kwnames[] = { "id", NULL };
1027 char _ptemp[128];
1028
1029 self = self;
1030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryLayoutInfoEvent",_kwnames,&_arg0))
1031 return NULL;
1032 {
1033 PyThreadState* __tstate = wxPyBeginAllowThreads();
1034 _result = (wxQueryLayoutInfoEvent *)new_wxQueryLayoutInfoEvent(_arg0);
1035
1036 wxPyEndAllowThreads(__tstate);
1037 if (PyErr_Occurred()) return NULL;
1038 } if (_result) {
1039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryLayoutInfoEvent_p");
1040 _resultobj = Py_BuildValue("s",_ptemp);
1041 } else {
1042 Py_INCREF(Py_None);
1043 _resultobj = Py_None;
1044 }
1045 return _resultobj;
1046 }
1047
1048 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1049 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
1050 PyObject * _resultobj;
1051 wxQueryLayoutInfoEvent * _arg0;
1052 int _arg1;
1053 PyObject * _argo0 = 0;
1054 char *_kwnames[] = { "self","length", NULL };
1055
1056 self = self;
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
1058 return NULL;
1059 if (_argo0) {
1060 if (_argo0 == Py_None) { _arg0 = NULL; }
1061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1063 return NULL;
1064 }
1065 }
1066 {
1067 PyThreadState* __tstate = wxPyBeginAllowThreads();
1068 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
1069
1070 wxPyEndAllowThreads(__tstate);
1071 if (PyErr_Occurred()) return NULL;
1072 } Py_INCREF(Py_None);
1073 _resultobj = Py_None;
1074 return _resultobj;
1075 }
1076
1077 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1078 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject * _resultobj;
1080 int _result;
1081 wxQueryLayoutInfoEvent * _arg0;
1082 PyObject * _argo0 = 0;
1083 char *_kwnames[] = { "self", NULL };
1084
1085 self = self;
1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
1087 return NULL;
1088 if (_argo0) {
1089 if (_argo0 == Py_None) { _arg0 = NULL; }
1090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1092 return NULL;
1093 }
1094 }
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) return NULL;
1101 } _resultobj = Py_BuildValue("i",_result);
1102 return _resultobj;
1103 }
1104
1105 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1106 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1107 PyObject * _resultobj;
1108 wxQueryLayoutInfoEvent * _arg0;
1109 int _arg1;
1110 PyObject * _argo0 = 0;
1111 char *_kwnames[] = { "self","flags", NULL };
1112
1113 self = self;
1114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1115 return NULL;
1116 if (_argo0) {
1117 if (_argo0 == Py_None) { _arg0 = NULL; }
1118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1120 return NULL;
1121 }
1122 }
1123 {
1124 PyThreadState* __tstate = wxPyBeginAllowThreads();
1125 wxQueryLayoutInfoEvent_SetFlags(_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 wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1135 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject * _resultobj;
1137 int _result;
1138 wxQueryLayoutInfoEvent * _arg0;
1139 PyObject * _argo0 = 0;
1140 char *_kwnames[] = { "self", NULL };
1141
1142 self = self;
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
1144 return NULL;
1145 if (_argo0) {
1146 if (_argo0 == Py_None) { _arg0 = NULL; }
1147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1149 return NULL;
1150 }
1151 }
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) return NULL;
1158 } _resultobj = Py_BuildValue("i",_result);
1159 return _resultobj;
1160 }
1161
1162 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1163 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject * _resultobj;
1165 wxQueryLayoutInfoEvent * _arg0;
1166 wxSize * _arg1;
1167 PyObject * _argo0 = 0;
1168 wxSize temp;
1169 PyObject * _obj1 = 0;
1170 char *_kwnames[] = { "self","size", NULL };
1171
1172 self = self;
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
1174 return NULL;
1175 if (_argo0) {
1176 if (_argo0 == Py_None) { _arg0 = NULL; }
1177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1179 return NULL;
1180 }
1181 }
1182 {
1183 _arg1 = &temp;
1184 if (! wxSize_helper(_obj1, &_arg1))
1185 return NULL;
1186 }
1187 {
1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
1189 wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
1190
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) return NULL;
1193 } Py_INCREF(Py_None);
1194 _resultobj = Py_None;
1195 return _resultobj;
1196 }
1197
1198 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1199 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxSize * _result;
1202 wxQueryLayoutInfoEvent * _arg0;
1203 PyObject * _argo0 = 0;
1204 char *_kwnames[] = { "self", NULL };
1205 char _ptemp[128];
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1214 return NULL;
1215 }
1216 }
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) return NULL;
1223 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1224 _resultobj = Py_BuildValue("s",_ptemp);
1225 return _resultobj;
1226 }
1227
1228 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1229 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject * _resultobj;
1231 wxQueryLayoutInfoEvent * _arg0;
1232 wxLayoutOrientation _arg1;
1233 PyObject * _argo0 = 0;
1234 char *_kwnames[] = { "self","orient", NULL };
1235
1236 self = self;
1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
1238 return NULL;
1239 if (_argo0) {
1240 if (_argo0 == Py_None) { _arg0 = NULL; }
1241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1243 return NULL;
1244 }
1245 }
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) return NULL;
1252 } Py_INCREF(Py_None);
1253 _resultobj = Py_None;
1254 return _resultobj;
1255 }
1256
1257 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1258 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject * _resultobj;
1260 wxLayoutOrientation _result;
1261 wxQueryLayoutInfoEvent * _arg0;
1262 PyObject * _argo0 = 0;
1263 char *_kwnames[] = { "self", NULL };
1264
1265 self = self;
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
1267 return NULL;
1268 if (_argo0) {
1269 if (_argo0 == Py_None) { _arg0 = NULL; }
1270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1272 return NULL;
1273 }
1274 }
1275 {
1276 PyThreadState* __tstate = wxPyBeginAllowThreads();
1277 _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
1278
1279 wxPyEndAllowThreads(__tstate);
1280 if (PyErr_Occurred()) return NULL;
1281 } _resultobj = Py_BuildValue("i",_result);
1282 return _resultobj;
1283 }
1284
1285 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1286 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1287 PyObject * _resultobj;
1288 wxQueryLayoutInfoEvent * _arg0;
1289 wxLayoutAlignment _arg1;
1290 PyObject * _argo0 = 0;
1291 char *_kwnames[] = { "self","align", NULL };
1292
1293 self = self;
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
1295 return NULL;
1296 if (_argo0) {
1297 if (_argo0 == Py_None) { _arg0 = NULL; }
1298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1300 return NULL;
1301 }
1302 }
1303 {
1304 PyThreadState* __tstate = wxPyBeginAllowThreads();
1305 wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
1306
1307 wxPyEndAllowThreads(__tstate);
1308 if (PyErr_Occurred()) return NULL;
1309 } Py_INCREF(Py_None);
1310 _resultobj = Py_None;
1311 return _resultobj;
1312 }
1313
1314 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1315 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject * _resultobj;
1317 wxLayoutAlignment _result;
1318 wxQueryLayoutInfoEvent * _arg0;
1319 PyObject * _argo0 = 0;
1320 char *_kwnames[] = { "self", NULL };
1321
1322 self = self;
1323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
1324 return NULL;
1325 if (_argo0) {
1326 if (_argo0 == Py_None) { _arg0 = NULL; }
1327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1329 return NULL;
1330 }
1331 }
1332 {
1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
1334 _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
1335
1336 wxPyEndAllowThreads(__tstate);
1337 if (PyErr_Occurred()) return NULL;
1338 } _resultobj = Py_BuildValue("i",_result);
1339 return _resultobj;
1340 }
1341
1342 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
1343 wxCalculateLayoutEvent *src;
1344 wxEvent *dest;
1345 src = (wxCalculateLayoutEvent *) ptr;
1346 dest = (wxEvent *) src;
1347 return (void *) dest;
1348 }
1349
1350 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr) {
1351 wxCalculateLayoutEvent *src;
1352 wxObject *dest;
1353 src = (wxCalculateLayoutEvent *) ptr;
1354 dest = (wxObject *) src;
1355 return (void *) dest;
1356 }
1357
1358 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1359 static PyObject *_wrap_new_wxCalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxCalculateLayoutEvent * _result;
1362 wxWindowID _arg0 = (wxWindowID ) 0;
1363 char *_kwnames[] = { "id", NULL };
1364 char _ptemp[128];
1365
1366 self = self;
1367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxCalculateLayoutEvent",_kwnames,&_arg0))
1368 return NULL;
1369 {
1370 PyThreadState* __tstate = wxPyBeginAllowThreads();
1371 _result = (wxCalculateLayoutEvent *)new_wxCalculateLayoutEvent(_arg0);
1372
1373 wxPyEndAllowThreads(__tstate);
1374 if (PyErr_Occurred()) return NULL;
1375 } if (_result) {
1376 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalculateLayoutEvent_p");
1377 _resultobj = Py_BuildValue("s",_ptemp);
1378 } else {
1379 Py_INCREF(Py_None);
1380 _resultobj = Py_None;
1381 }
1382 return _resultobj;
1383 }
1384
1385 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1386 static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1387 PyObject * _resultobj;
1388 wxCalculateLayoutEvent * _arg0;
1389 int _arg1;
1390 PyObject * _argo0 = 0;
1391 char *_kwnames[] = { "self","flags", NULL };
1392
1393 self = self;
1394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1395 return NULL;
1396 if (_argo0) {
1397 if (_argo0 == Py_None) { _arg0 = NULL; }
1398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1400 return NULL;
1401 }
1402 }
1403 {
1404 PyThreadState* __tstate = wxPyBeginAllowThreads();
1405 wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
1406
1407 wxPyEndAllowThreads(__tstate);
1408 if (PyErr_Occurred()) return NULL;
1409 } Py_INCREF(Py_None);
1410 _resultobj = Py_None;
1411 return _resultobj;
1412 }
1413
1414 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1415 static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject * _resultobj;
1417 int _result;
1418 wxCalculateLayoutEvent * _arg0;
1419 PyObject * _argo0 = 0;
1420 char *_kwnames[] = { "self", NULL };
1421
1422 self = self;
1423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
1424 return NULL;
1425 if (_argo0) {
1426 if (_argo0 == Py_None) { _arg0 = NULL; }
1427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1429 return NULL;
1430 }
1431 }
1432 {
1433 PyThreadState* __tstate = wxPyBeginAllowThreads();
1434 _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
1435
1436 wxPyEndAllowThreads(__tstate);
1437 if (PyErr_Occurred()) return NULL;
1438 } _resultobj = Py_BuildValue("i",_result);
1439 return _resultobj;
1440 }
1441
1442 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1443 static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1444 PyObject * _resultobj;
1445 wxCalculateLayoutEvent * _arg0;
1446 wxRect * _arg1;
1447 PyObject * _argo0 = 0;
1448 wxRect temp;
1449 PyObject * _obj1 = 0;
1450 char *_kwnames[] = { "self","rect", NULL };
1451
1452 self = self;
1453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
1454 return NULL;
1455 if (_argo0) {
1456 if (_argo0 == Py_None) { _arg0 = NULL; }
1457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1459 return NULL;
1460 }
1461 }
1462 {
1463 _arg1 = &temp;
1464 if (! wxRect_helper(_obj1, &_arg1))
1465 return NULL;
1466 }
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) return NULL;
1473 } Py_INCREF(Py_None);
1474 _resultobj = Py_None;
1475 return _resultobj;
1476 }
1477
1478 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1479 static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject * _resultobj;
1481 wxRect * _result;
1482 wxCalculateLayoutEvent * _arg0;
1483 PyObject * _argo0 = 0;
1484 char *_kwnames[] = { "self", NULL };
1485 char _ptemp[128];
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
1489 return NULL;
1490 if (_argo0) {
1491 if (_argo0 == Py_None) { _arg0 = NULL; }
1492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1494 return NULL;
1495 }
1496 }
1497 {
1498 PyThreadState* __tstate = wxPyBeginAllowThreads();
1499 _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
1500
1501 wxPyEndAllowThreads(__tstate);
1502 if (PyErr_Occurred()) return NULL;
1503 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1504 _resultobj = Py_BuildValue("s",_ptemp);
1505 return _resultobj;
1506 }
1507
1508 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
1509 wxSashLayoutWindow *src;
1510 wxSashWindow *dest;
1511 src = (wxSashLayoutWindow *) ptr;
1512 dest = (wxSashWindow *) src;
1513 return (void *) dest;
1514 }
1515
1516 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
1517 wxSashLayoutWindow *src;
1518 wxWindow *dest;
1519 src = (wxSashLayoutWindow *) ptr;
1520 dest = (wxWindow *) src;
1521 return (void *) dest;
1522 }
1523
1524 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
1525 wxSashLayoutWindow *src;
1526 wxEvtHandler *dest;
1527 src = (wxSashLayoutWindow *) ptr;
1528 dest = (wxEvtHandler *) src;
1529 return (void *) dest;
1530 }
1531
1532 static void *SwigwxSashLayoutWindowTowxObject(void *ptr) {
1533 wxSashLayoutWindow *src;
1534 wxObject *dest;
1535 src = (wxSashLayoutWindow *) ptr;
1536 dest = (wxObject *) src;
1537 return (void *) dest;
1538 }
1539
1540 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1541 static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject * _resultobj;
1543 wxSashLayoutWindow * _result;
1544 wxWindow * _arg0;
1545 wxWindowID _arg1;
1546 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1547 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1548 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1549 char * _arg5 = (char *) "layoutWindow";
1550 PyObject * _argo0 = 0;
1551 wxPoint temp;
1552 PyObject * _obj2 = 0;
1553 wxSize temp0;
1554 PyObject * _obj3 = 0;
1555 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1556 char _ptemp[128];
1557
1558 self = self;
1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1560 return NULL;
1561 if (_argo0) {
1562 if (_argo0 == Py_None) { _arg0 = NULL; }
1563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1565 return NULL;
1566 }
1567 }
1568 if (_obj2)
1569 {
1570 _arg2 = &temp;
1571 if (! wxPoint_helper(_obj2, &_arg2))
1572 return NULL;
1573 }
1574 if (_obj3)
1575 {
1576 _arg3 = &temp0;
1577 if (! wxSize_helper(_obj3, &_arg3))
1578 return NULL;
1579 }
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) return NULL;
1586 } if (_result) {
1587 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1588 _resultobj = Py_BuildValue("s",_ptemp);
1589 } else {
1590 Py_INCREF(Py_None);
1591 _resultobj = Py_None;
1592 }
1593 return _resultobj;
1594 }
1595
1596 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1597 static PyObject *_wrap_new_wxPreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject * _resultobj;
1599 wxSashLayoutWindow * _result;
1600 char *_kwnames[] = { NULL };
1601 char _ptemp[128];
1602
1603 self = self;
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashLayoutWindow",_kwnames))
1605 return NULL;
1606 {
1607 PyThreadState* __tstate = wxPyBeginAllowThreads();
1608 _result = (wxSashLayoutWindow *)new_wxPreSashLayoutWindow();
1609
1610 wxPyEndAllowThreads(__tstate);
1611 if (PyErr_Occurred()) return NULL;
1612 } if (_result) {
1613 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1614 _resultobj = Py_BuildValue("s",_ptemp);
1615 } else {
1616 Py_INCREF(Py_None);
1617 _resultobj = Py_None;
1618 }
1619 return _resultobj;
1620 }
1621
1622 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1623 static PyObject *_wrap_wxSashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject * _resultobj;
1625 bool _result;
1626 wxSashLayoutWindow * _arg0;
1627 wxWindow * _arg1;
1628 wxWindowID _arg2;
1629 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1630 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1631 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1632 char * _arg6 = (char *) "layoutWindow";
1633 PyObject * _argo0 = 0;
1634 PyObject * _argo1 = 0;
1635 wxPoint temp;
1636 PyObject * _obj3 = 0;
1637 wxSize temp0;
1638 PyObject * _obj4 = 0;
1639 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1640
1641 self = self;
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
1643 return NULL;
1644 if (_argo0) {
1645 if (_argo0 == Py_None) { _arg0 = NULL; }
1646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1648 return NULL;
1649 }
1650 }
1651 if (_argo1) {
1652 if (_argo1 == Py_None) { _arg1 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1655 return NULL;
1656 }
1657 }
1658 if (_obj3)
1659 {
1660 _arg3 = &temp;
1661 if (! wxPoint_helper(_obj3, &_arg3))
1662 return NULL;
1663 }
1664 if (_obj4)
1665 {
1666 _arg4 = &temp0;
1667 if (! wxSize_helper(_obj4, &_arg4))
1668 return NULL;
1669 }
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 _result = (bool )wxSashLayoutWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) return NULL;
1676 } _resultobj = Py_BuildValue("i",_result);
1677 return _resultobj;
1678 }
1679
1680 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1681 static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject * _resultobj;
1683 wxLayoutAlignment _result;
1684 wxSashLayoutWindow * _arg0;
1685 PyObject * _argo0 = 0;
1686 char *_kwnames[] = { "self", NULL };
1687
1688 self = self;
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
1690 return NULL;
1691 if (_argo0) {
1692 if (_argo0 == Py_None) { _arg0 = NULL; }
1693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1695 return NULL;
1696 }
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) return NULL;
1704 } _resultobj = Py_BuildValue("i",_result);
1705 return _resultobj;
1706 }
1707
1708 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1709 static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject * _resultobj;
1711 wxLayoutOrientation _result;
1712 wxSashLayoutWindow * _arg0;
1713 PyObject * _argo0 = 0;
1714 char *_kwnames[] = { "self", NULL };
1715
1716 self = self;
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
1718 return NULL;
1719 if (_argo0) {
1720 if (_argo0 == Py_None) { _arg0 = NULL; }
1721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1723 return NULL;
1724 }
1725 }
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) return NULL;
1732 } _resultobj = Py_BuildValue("i",_result);
1733 return _resultobj;
1734 }
1735
1736 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1737 static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject * _resultobj;
1739 wxSashLayoutWindow * _arg0;
1740 wxLayoutAlignment _arg1;
1741 PyObject * _argo0 = 0;
1742 char *_kwnames[] = { "self","alignment", NULL };
1743
1744 self = self;
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
1746 return NULL;
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1751 return NULL;
1752 }
1753 }
1754 {
1755 PyThreadState* __tstate = wxPyBeginAllowThreads();
1756 wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
1757
1758 wxPyEndAllowThreads(__tstate);
1759 if (PyErr_Occurred()) return NULL;
1760 } Py_INCREF(Py_None);
1761 _resultobj = Py_None;
1762 return _resultobj;
1763 }
1764
1765 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1766 static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject * _resultobj;
1768 wxSashLayoutWindow * _arg0;
1769 wxSize * _arg1;
1770 PyObject * _argo0 = 0;
1771 wxSize temp;
1772 PyObject * _obj1 = 0;
1773 char *_kwnames[] = { "self","size", NULL };
1774
1775 self = self;
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
1777 return NULL;
1778 if (_argo0) {
1779 if (_argo0 == Py_None) { _arg0 = NULL; }
1780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1782 return NULL;
1783 }
1784 }
1785 {
1786 _arg1 = &temp;
1787 if (! wxSize_helper(_obj1, &_arg1))
1788 return NULL;
1789 }
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) return NULL;
1796 } Py_INCREF(Py_None);
1797 _resultobj = Py_None;
1798 return _resultobj;
1799 }
1800
1801 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1802 static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1803 PyObject * _resultobj;
1804 wxSashLayoutWindow * _arg0;
1805 wxLayoutOrientation _arg1;
1806 PyObject * _argo0 = 0;
1807 char *_kwnames[] = { "self","orientation", NULL };
1808
1809 self = self;
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
1811 return NULL;
1812 if (_argo0) {
1813 if (_argo0 == Py_None) { _arg0 = NULL; }
1814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1816 return NULL;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) return NULL;
1825 } Py_INCREF(Py_None);
1826 _resultobj = Py_None;
1827 return _resultobj;
1828 }
1829
1830 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr) {
1831 wxLayoutAlgorithm *src;
1832 wxObject *dest;
1833 src = (wxLayoutAlgorithm *) ptr;
1834 dest = (wxObject *) src;
1835 return (void *) dest;
1836 }
1837
1838 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1839 static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject * _resultobj;
1841 wxLayoutAlgorithm * _result;
1842 char *_kwnames[] = { NULL };
1843 char _ptemp[128];
1844
1845 self = self;
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
1847 return NULL;
1848 {
1849 PyThreadState* __tstate = wxPyBeginAllowThreads();
1850 _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
1851
1852 wxPyEndAllowThreads(__tstate);
1853 if (PyErr_Occurred()) return NULL;
1854 } if (_result) {
1855 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
1856 _resultobj = Py_BuildValue("s",_ptemp);
1857 } else {
1858 Py_INCREF(Py_None);
1859 _resultobj = Py_None;
1860 }
1861 return _resultobj;
1862 }
1863
1864 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1865 static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject * _resultobj;
1867 wxLayoutAlgorithm * _arg0;
1868 PyObject * _argo0 = 0;
1869 char *_kwnames[] = { "self", NULL };
1870
1871 self = self;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
1873 return NULL;
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1878 return NULL;
1879 }
1880 }
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 delete_wxLayoutAlgorithm(_arg0);
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) return NULL;
1887 } Py_INCREF(Py_None);
1888 _resultobj = Py_None;
1889 return _resultobj;
1890 }
1891
1892 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1893 static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject * _resultobj;
1895 bool _result;
1896 wxLayoutAlgorithm * _arg0;
1897 wxMDIParentFrame * _arg1;
1898 wxRect * _arg2 = (wxRect *) NULL;
1899 PyObject * _argo0 = 0;
1900 PyObject * _argo1 = 0;
1901 wxRect temp;
1902 PyObject * _obj2 = 0;
1903 char *_kwnames[] = { "self","frame","rect", NULL };
1904
1905 self = self;
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
1907 return NULL;
1908 if (_argo0) {
1909 if (_argo0 == Py_None) { _arg0 = NULL; }
1910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1912 return NULL;
1913 }
1914 }
1915 if (_argo1) {
1916 if (_argo1 == Py_None) { _arg1 = NULL; }
1917 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
1918 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1919 return NULL;
1920 }
1921 }
1922 if (_obj2)
1923 {
1924 _arg2 = &temp;
1925 if (! wxRect_helper(_obj2, &_arg2))
1926 return NULL;
1927 }
1928 {
1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
1930 _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
1931
1932 wxPyEndAllowThreads(__tstate);
1933 if (PyErr_Occurred()) return NULL;
1934 } _resultobj = Py_BuildValue("i",_result);
1935 return _resultobj;
1936 }
1937
1938 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1939 static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject * _resultobj;
1941 bool _result;
1942 wxLayoutAlgorithm * _arg0;
1943 wxFrame * _arg1;
1944 wxWindow * _arg2 = (wxWindow *) NULL;
1945 PyObject * _argo0 = 0;
1946 PyObject * _argo1 = 0;
1947 PyObject * _argo2 = 0;
1948 char *_kwnames[] = { "self","frame","mainWindow", NULL };
1949
1950 self = self;
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
1952 return NULL;
1953 if (_argo0) {
1954 if (_argo0 == Py_None) { _arg0 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1957 return NULL;
1958 }
1959 }
1960 if (_argo1) {
1961 if (_argo1 == Py_None) { _arg1 = NULL; }
1962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1964 return NULL;
1965 }
1966 }
1967 if (_argo2) {
1968 if (_argo2 == Py_None) { _arg2 = NULL; }
1969 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1971 return NULL;
1972 }
1973 }
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) return NULL;
1980 } _resultobj = Py_BuildValue("i",_result);
1981 return _resultobj;
1982 }
1983
1984 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1985 static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject * _resultobj;
1987 bool _result;
1988 wxLayoutAlgorithm * _arg0;
1989 wxWindow * _arg1;
1990 wxWindow * _arg2 = (wxWindow *) NULL;
1991 PyObject * _argo0 = 0;
1992 PyObject * _argo1 = 0;
1993 PyObject * _argo2 = 0;
1994 char *_kwnames[] = { "self","parent","mainWindow", NULL };
1995
1996 self = self;
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
1998 return NULL;
1999 if (_argo0) {
2000 if (_argo0 == Py_None) { _arg0 = NULL; }
2001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2003 return NULL;
2004 }
2005 }
2006 if (_argo1) {
2007 if (_argo1 == Py_None) { _arg1 = NULL; }
2008 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2010 return NULL;
2011 }
2012 }
2013 if (_argo2) {
2014 if (_argo2 == Py_None) { _arg2 = NULL; }
2015 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2017 return NULL;
2018 }
2019 }
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) return NULL;
2026 } _resultobj = Py_BuildValue("i",_result);
2027 return _resultobj;
2028 }
2029
2030 static void *SwigwxPopupWindowTowxWindow(void *ptr) {
2031 wxPopupWindow *src;
2032 wxWindow *dest;
2033 src = (wxPopupWindow *) ptr;
2034 dest = (wxWindow *) src;
2035 return (void *) dest;
2036 }
2037
2038 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr) {
2039 wxPopupWindow *src;
2040 wxEvtHandler *dest;
2041 src = (wxPopupWindow *) ptr;
2042 dest = (wxEvtHandler *) src;
2043 return (void *) dest;
2044 }
2045
2046 static void *SwigwxPopupWindowTowxObject(void *ptr) {
2047 wxPopupWindow *src;
2048 wxObject *dest;
2049 src = (wxPopupWindow *) ptr;
2050 dest = (wxObject *) src;
2051 return (void *) dest;
2052 }
2053
2054 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2055 static PyObject *_wrap_new_wxPopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 wxPopupWindow * _result;
2058 wxWindow * _arg0;
2059 int _arg1 = (int ) wxBORDER_NONE;
2060 PyObject * _argo0 = 0;
2061 char *_kwnames[] = { "parent","flags", NULL };
2062 char _ptemp[128];
2063
2064 self = self;
2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupWindow",_kwnames,&_argo0,&_arg1))
2066 return NULL;
2067 if (_argo0) {
2068 if (_argo0 == Py_None) { _arg0 = NULL; }
2069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2071 return NULL;
2072 }
2073 }
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 _result = (wxPopupWindow *)new_wxPopupWindow(_arg0,_arg1);
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) return NULL;
2080 } if (_result) {
2081 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2082 _resultobj = Py_BuildValue("s",_ptemp);
2083 } else {
2084 Py_INCREF(Py_None);
2085 _resultobj = Py_None;
2086 }
2087 return _resultobj;
2088 }
2089
2090 #define new_wxPrePopupWindow() (new wxPopupWindow())
2091 static PyObject *_wrap_new_wxPrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject * _resultobj;
2093 wxPopupWindow * _result;
2094 char *_kwnames[] = { NULL };
2095 char _ptemp[128];
2096
2097 self = self;
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupWindow",_kwnames))
2099 return NULL;
2100 {
2101 PyThreadState* __tstate = wxPyBeginAllowThreads();
2102 _result = (wxPopupWindow *)new_wxPrePopupWindow();
2103
2104 wxPyEndAllowThreads(__tstate);
2105 if (PyErr_Occurred()) return NULL;
2106 } if (_result) {
2107 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2108 _resultobj = Py_BuildValue("s",_ptemp);
2109 } else {
2110 Py_INCREF(Py_None);
2111 _resultobj = Py_None;
2112 }
2113 return _resultobj;
2114 }
2115
2116 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2117 static PyObject *_wrap_wxPopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject * _resultobj;
2119 bool _result;
2120 wxPopupWindow * _arg0;
2121 wxWindow * _arg1;
2122 int _arg2 = (int ) wxBORDER_NONE;
2123 PyObject * _argo0 = 0;
2124 PyObject * _argo1 = 0;
2125 char *_kwnames[] = { "self","parent","flags", NULL };
2126
2127 self = self;
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPopupWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2))
2129 return NULL;
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPopupWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2134 return NULL;
2135 }
2136 }
2137 if (_argo1) {
2138 if (_argo1 == Py_None) { _arg1 = NULL; }
2139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2141 return NULL;
2142 }
2143 }
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 _result = (bool )wxPopupWindow_Create(_arg0,_arg1,_arg2);
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) return NULL;
2150 } _resultobj = Py_BuildValue("i",_result);
2151 return _resultobj;
2152 }
2153
2154 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2155 static PyObject *_wrap_wxPopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject * _resultobj;
2157 wxPopupWindow * _arg0;
2158 wxPoint * _arg1;
2159 wxSize * _arg2;
2160 PyObject * _argo0 = 0;
2161 wxPoint temp;
2162 PyObject * _obj1 = 0;
2163 wxSize temp0;
2164 PyObject * _obj2 = 0;
2165 char *_kwnames[] = { "self","ptOrigin","size", NULL };
2166
2167 self = self;
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupWindow_Position",_kwnames,&_argo0,&_obj1,&_obj2))
2169 return NULL;
2170 if (_argo0) {
2171 if (_argo0 == Py_None) { _arg0 = NULL; }
2172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPopupWindow_p")) {
2173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2174 return NULL;
2175 }
2176 }
2177 {
2178 _arg1 = &temp;
2179 if (! wxPoint_helper(_obj1, &_arg1))
2180 return NULL;
2181 }
2182 {
2183 _arg2 = &temp0;
2184 if (! wxSize_helper(_obj2, &_arg2))
2185 return NULL;
2186 }
2187 {
2188 PyThreadState* __tstate = wxPyBeginAllowThreads();
2189 wxPopupWindow_Position(_arg0,*_arg1,*_arg2);
2190
2191 wxPyEndAllowThreads(__tstate);
2192 if (PyErr_Occurred()) return NULL;
2193 } Py_INCREF(Py_None);
2194 _resultobj = Py_None;
2195 return _resultobj;
2196 }
2197
2198 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr) {
2199 wxPyPopupTransientWindow *src;
2200 wxPopupWindow *dest;
2201 src = (wxPyPopupTransientWindow *) ptr;
2202 dest = (wxPopupWindow *) src;
2203 return (void *) dest;
2204 }
2205
2206 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr) {
2207 wxPyPopupTransientWindow *src;
2208 wxWindow *dest;
2209 src = (wxPyPopupTransientWindow *) ptr;
2210 dest = (wxWindow *) src;
2211 return (void *) dest;
2212 }
2213
2214 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr) {
2215 wxPyPopupTransientWindow *src;
2216 wxEvtHandler *dest;
2217 src = (wxPyPopupTransientWindow *) ptr;
2218 dest = (wxEvtHandler *) src;
2219 return (void *) dest;
2220 }
2221
2222 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr) {
2223 wxPyPopupTransientWindow *src;
2224 wxObject *dest;
2225 src = (wxPyPopupTransientWindow *) ptr;
2226 dest = (wxObject *) src;
2227 return (void *) dest;
2228 }
2229
2230 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2231 static PyObject *_wrap_new_wxPopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject * _resultobj;
2233 wxPyPopupTransientWindow * _result;
2234 wxWindow * _arg0;
2235 int _arg1 = (int ) wxBORDER_NONE;
2236 PyObject * _argo0 = 0;
2237 char *_kwnames[] = { "parent","style", NULL };
2238 char _ptemp[128];
2239
2240 self = self;
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupTransientWindow",_kwnames,&_argo0,&_arg1))
2242 return NULL;
2243 if (_argo0) {
2244 if (_argo0 == Py_None) { _arg0 = NULL; }
2245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2247 return NULL;
2248 }
2249 }
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 _result = (wxPyPopupTransientWindow *)new_wxPopupTransientWindow(_arg0,_arg1);
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) return NULL;
2256 } if (_result) {
2257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2258 _resultobj = Py_BuildValue("s",_ptemp);
2259 } else {
2260 Py_INCREF(Py_None);
2261 _resultobj = Py_None;
2262 }
2263 return _resultobj;
2264 }
2265
2266 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2267 static PyObject *_wrap_new_wxPrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2268 PyObject * _resultobj;
2269 wxPyPopupTransientWindow * _result;
2270 char *_kwnames[] = { NULL };
2271 char _ptemp[128];
2272
2273 self = self;
2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupTransientWindow",_kwnames))
2275 return NULL;
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 _result = (wxPyPopupTransientWindow *)new_wxPrePopupTransientWindow();
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) return NULL;
2282 } if (_result) {
2283 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2284 _resultobj = Py_BuildValue("s",_ptemp);
2285 } else {
2286 Py_INCREF(Py_None);
2287 _resultobj = Py_None;
2288 }
2289 return _resultobj;
2290 }
2291
2292 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2293 static PyObject *_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject * _resultobj;
2295 wxPyPopupTransientWindow * _arg0;
2296 PyObject * _arg1;
2297 PyObject * _arg2;
2298 PyObject * _argo0 = 0;
2299 PyObject * _obj1 = 0;
2300 PyObject * _obj2 = 0;
2301 char *_kwnames[] = { "self","self","_class", NULL };
2302
2303 self = self;
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2305 return NULL;
2306 if (_argo0) {
2307 if (_argo0 == Py_None) { _arg0 = NULL; }
2308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2310 return NULL;
2311 }
2312 }
2313 {
2314 _arg1 = _obj1;
2315 }
2316 {
2317 _arg2 = _obj2;
2318 }
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 wxPopupTransientWindow__setCallbackInfo(_arg0,_arg1,_arg2);
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) return NULL;
2325 } Py_INCREF(Py_None);
2326 _resultobj = Py_None;
2327 return _resultobj;
2328 }
2329
2330 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2331 static PyObject *_wrap_wxPopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 wxPyPopupTransientWindow * _arg0;
2334 wxWindow * _arg1 = (wxWindow *) NULL;
2335 PyObject * _argo0 = 0;
2336 PyObject * _argo1 = 0;
2337 char *_kwnames[] = { "self","focus", NULL };
2338
2339 self = self;
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPopupTransientWindow_Popup",_kwnames,&_argo0,&_argo1))
2341 return NULL;
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2346 return NULL;
2347 }
2348 }
2349 if (_argo1) {
2350 if (_argo1 == Py_None) { _arg1 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2353 return NULL;
2354 }
2355 }
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 wxPopupTransientWindow_Popup(_arg0,_arg1);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) return NULL;
2362 } Py_INCREF(Py_None);
2363 _resultobj = Py_None;
2364 return _resultobj;
2365 }
2366
2367 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2368 static PyObject *_wrap_wxPopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject * _resultobj;
2370 wxPyPopupTransientWindow * _arg0;
2371 PyObject * _argo0 = 0;
2372 char *_kwnames[] = { "self", NULL };
2373
2374 self = self;
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPopupTransientWindow_Dismiss",_kwnames,&_argo0))
2376 return NULL;
2377 if (_argo0) {
2378 if (_argo0 == Py_None) { _arg0 = NULL; }
2379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2381 return NULL;
2382 }
2383 }
2384 {
2385 PyThreadState* __tstate = wxPyBeginAllowThreads();
2386 wxPopupTransientWindow_Dismiss(_arg0);
2387
2388 wxPyEndAllowThreads(__tstate);
2389 if (PyErr_Occurred()) return NULL;
2390 } Py_INCREF(Py_None);
2391 _resultobj = Py_None;
2392 return _resultobj;
2393 }
2394
2395 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr) {
2396 wxTipWindow *src;
2397 wxPyPopupTransientWindow *dest;
2398 src = (wxTipWindow *) ptr;
2399 dest = (wxPyPopupTransientWindow *) src;
2400 return (void *) dest;
2401 }
2402
2403 static void *SwigwxTipWindowTowxPopupWindow(void *ptr) {
2404 wxTipWindow *src;
2405 wxPopupWindow *dest;
2406 src = (wxTipWindow *) ptr;
2407 dest = (wxPopupWindow *) src;
2408 return (void *) dest;
2409 }
2410
2411 static void *SwigwxTipWindowTowxWindow(void *ptr) {
2412 wxTipWindow *src;
2413 wxWindow *dest;
2414 src = (wxTipWindow *) ptr;
2415 dest = (wxWindow *) src;
2416 return (void *) dest;
2417 }
2418
2419 static void *SwigwxTipWindowTowxEvtHandler(void *ptr) {
2420 wxTipWindow *src;
2421 wxEvtHandler *dest;
2422 src = (wxTipWindow *) ptr;
2423 dest = (wxEvtHandler *) src;
2424 return (void *) dest;
2425 }
2426
2427 static void *SwigwxTipWindowTowxObject(void *ptr) {
2428 wxTipWindow *src;
2429 wxObject *dest;
2430 src = (wxTipWindow *) ptr;
2431 dest = (wxObject *) src;
2432 return (void *) dest;
2433 }
2434
2435 static wxTipWindow *new_wxTipWindow(wxWindow *parent,const wxString *text,wxCoord maxLength,wxRect *rectBound) {
2436 wxString tmp = *text;
2437 return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
2438 }
2439
2440 static PyObject *_wrap_new_wxTipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject * _resultobj;
2442 wxTipWindow * _result;
2443 wxWindow * _arg0;
2444 wxString * _arg1;
2445 wxCoord _arg2 = (wxCoord ) 100;
2446 wxRect * _arg3 = (wxRect *) NULL;
2447 PyObject * _argo0 = 0;
2448 PyObject * _obj1 = 0;
2449 wxRect temp;
2450 PyObject * _obj3 = 0;
2451 char *_kwnames[] = { "parent","text","maxLength","rectBound", NULL };
2452 char _ptemp[128];
2453
2454 self = self;
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iO:new_wxTipWindow",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3))
2456 return NULL;
2457 if (_argo0) {
2458 if (_argo0 == Py_None) { _arg0 = NULL; }
2459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2461 return NULL;
2462 }
2463 }
2464 {
2465 #if PYTHON_API_VERSION >= 1009
2466 char* tmpPtr; int tmpSize;
2467 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2468 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2469 return NULL;
2470 }
2471 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2472 return NULL;
2473 _arg1 = new wxString(tmpPtr, tmpSize);
2474 #else
2475 if (!PyString_Check(_obj1)) {
2476 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2477 return NULL;
2478 }
2479 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2480 #endif
2481 }
2482 if (_obj3)
2483 {
2484 _arg3 = &temp;
2485 if (! wxRect_helper(_obj3, &_arg3))
2486 return NULL;
2487 }
2488 {
2489 PyThreadState* __tstate = wxPyBeginAllowThreads();
2490 _result = (wxTipWindow *)new_wxTipWindow(_arg0,_arg1,_arg2,_arg3);
2491
2492 wxPyEndAllowThreads(__tstate);
2493 if (PyErr_Occurred()) return NULL;
2494 } if (_result) {
2495 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipWindow_p");
2496 _resultobj = Py_BuildValue("s",_ptemp);
2497 } else {
2498 Py_INCREF(Py_None);
2499 _resultobj = Py_None;
2500 }
2501 {
2502 if (_obj1)
2503 delete _arg1;
2504 }
2505 return _resultobj;
2506 }
2507
2508 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2509 static PyObject *_wrap_wxTipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject * _resultobj;
2511 wxTipWindow * _arg0;
2512 wxRect * _arg1;
2513 PyObject * _argo0 = 0;
2514 wxRect temp;
2515 PyObject * _obj1 = 0;
2516 char *_kwnames[] = { "self","rectBound", NULL };
2517
2518 self = self;
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTipWindow_SetBoundingRect",_kwnames,&_argo0,&_obj1))
2520 return NULL;
2521 if (_argo0) {
2522 if (_argo0 == Py_None) { _arg0 = NULL; }
2523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipWindow_p")) {
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2525 return NULL;
2526 }
2527 }
2528 {
2529 _arg1 = &temp;
2530 if (! wxRect_helper(_obj1, &_arg1))
2531 return NULL;
2532 }
2533 {
2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
2535 wxTipWindow_SetBoundingRect(_arg0,*_arg1);
2536
2537 wxPyEndAllowThreads(__tstate);
2538 if (PyErr_Occurred()) return NULL;
2539 } Py_INCREF(Py_None);
2540 _resultobj = Py_None;
2541 return _resultobj;
2542 }
2543
2544 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2545 static PyObject *_wrap_wxTipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject * _resultobj;
2547 wxTipWindow * _arg0;
2548 PyObject * _argo0 = 0;
2549 char *_kwnames[] = { "self", NULL };
2550
2551 self = self;
2552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipWindow_Close",_kwnames,&_argo0))
2553 return NULL;
2554 if (_argo0) {
2555 if (_argo0 == Py_None) { _arg0 = NULL; }
2556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipWindow_p")) {
2557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2558 return NULL;
2559 }
2560 }
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 wxTipWindow_Close(_arg0);
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) return NULL;
2567 } Py_INCREF(Py_None);
2568 _resultobj = Py_None;
2569 return _resultobj;
2570 }
2571
2572 static PyMethodDef windows3cMethods[] = {
2573 { "wxTipWindow_Close", (PyCFunction) _wrap_wxTipWindow_Close, METH_VARARGS | METH_KEYWORDS },
2574 { "wxTipWindow_SetBoundingRect", (PyCFunction) _wrap_wxTipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
2575 { "new_wxTipWindow", (PyCFunction) _wrap_new_wxTipWindow, METH_VARARGS | METH_KEYWORDS },
2576 { "wxPopupTransientWindow_Dismiss", (PyCFunction) _wrap_wxPopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
2577 { "wxPopupTransientWindow_Popup", (PyCFunction) _wrap_wxPopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
2578 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_wxPopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2579 { "new_wxPrePopupTransientWindow", (PyCFunction) _wrap_new_wxPrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
2580 { "new_wxPopupTransientWindow", (PyCFunction) _wrap_new_wxPopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
2581 { "wxPopupWindow_Position", (PyCFunction) _wrap_wxPopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
2582 { "wxPopupWindow_Create", (PyCFunction) _wrap_wxPopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
2583 { "new_wxPrePopupWindow", (PyCFunction) _wrap_new_wxPrePopupWindow, METH_VARARGS | METH_KEYWORDS },
2584 { "new_wxPopupWindow", (PyCFunction) _wrap_new_wxPopupWindow, METH_VARARGS | METH_KEYWORDS },
2585 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
2586 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
2587 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
2588 { "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
2589 { "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
2590 { "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
2591 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
2592 { "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
2593 { "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2594 { "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
2595 { "wxSashLayoutWindow_Create", (PyCFunction) _wrap_wxSashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
2596 { "new_wxPreSashLayoutWindow", (PyCFunction) _wrap_new_wxPreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
2597 { "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
2598 { "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
2599 { "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
2600 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
2601 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
2602 { "new_wxCalculateLayoutEvent", (PyCFunction) _wrap_new_wxCalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
2603 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
2604 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
2605 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2606 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
2607 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
2608 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
2609 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
2610 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
2611 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
2612 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
2613 { "new_wxQueryLayoutInfoEvent", (PyCFunction) _wrap_new_wxQueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
2614 { "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
2615 { "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
2616 { "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
2617 { "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
2618 { "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
2619 { "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
2620 { "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
2621 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
2622 { "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
2623 { "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
2624 { "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
2625 { "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
2626 { "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
2627 { "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
2628 { "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
2629 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
2630 { "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
2631 { "wxSashWindow_Create", (PyCFunction) _wrap_wxSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
2632 { "new_wxPreSashWindow", (PyCFunction) _wrap_new_wxPreSashWindow, METH_VARARGS | METH_KEYWORDS },
2633 { "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS },
2634 { "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
2635 { "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
2636 { "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
2637 { "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
2638 { "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
2639 { "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
2640 { "new_wxSashEvent", (PyCFunction) _wrap_new_wxSashEvent, METH_VARARGS | METH_KEYWORDS },
2641 { NULL, NULL }
2642 };
2643 #ifdef __cplusplus
2644 }
2645 #endif
2646 /*
2647 * This table is used by the pointer type-checker
2648 */
2649 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2650 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
2651 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
2652 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
2653 { "_signed_long","_long",0},
2654 { "_wxPrintQuality","_wxCoord",0},
2655 { "_wxPrintQuality","_int",0},
2656 { "_wxPrintQuality","_signed_int",0},
2657 { "_wxPrintQuality","_unsigned_int",0},
2658 { "_wxPrintQuality","_wxWindowID",0},
2659 { "_wxPrintQuality","_uint",0},
2660 { "_wxPrintQuality","_EBool",0},
2661 { "_wxPrintQuality","_size_t",0},
2662 { "_wxPrintQuality","_time_t",0},
2663 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow},
2664 { "_byte","_unsigned_char",0},
2665 { "_long","_unsigned_long",0},
2666 { "_long","_signed_long",0},
2667 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
2668 { "_size_t","_wxCoord",0},
2669 { "_size_t","_wxPrintQuality",0},
2670 { "_size_t","_time_t",0},
2671 { "_size_t","_unsigned_int",0},
2672 { "_size_t","_int",0},
2673 { "_size_t","_wxWindowID",0},
2674 { "_size_t","_uint",0},
2675 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow},
2676 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow},
2677 { "_uint","_wxCoord",0},
2678 { "_uint","_wxPrintQuality",0},
2679 { "_uint","_time_t",0},
2680 { "_uint","_size_t",0},
2681 { "_uint","_unsigned_int",0},
2682 { "_uint","_int",0},
2683 { "_uint","_wxWindowID",0},
2684 { "_wxChar","_char",0},
2685 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2686 { "_char","_wxChar",0},
2687 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2688 { "_EBool","_wxCoord",0},
2689 { "_EBool","_wxPrintQuality",0},
2690 { "_EBool","_signed_int",0},
2691 { "_EBool","_int",0},
2692 { "_EBool","_wxWindowID",0},
2693 { "_unsigned_long","_long",0},
2694 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2695 { "_signed_int","_wxCoord",0},
2696 { "_signed_int","_wxPrintQuality",0},
2697 { "_signed_int","_EBool",0},
2698 { "_signed_int","_wxWindowID",0},
2699 { "_signed_int","_int",0},
2700 { "_WXTYPE","_short",0},
2701 { "_WXTYPE","_signed_short",0},
2702 { "_WXTYPE","_unsigned_short",0},
2703 { "_unsigned_short","_WXTYPE",0},
2704 { "_unsigned_short","_short",0},
2705 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject},
2706 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject},
2707 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject},
2708 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject},
2709 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject},
2710 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject},
2711 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject},
2712 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject},
2713 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject},
2714 { "_signed_short","_WXTYPE",0},
2715 { "_signed_short","_short",0},
2716 { "_unsigned_char","_byte",0},
2717 { "_unsigned_int","_wxCoord",0},
2718 { "_unsigned_int","_wxPrintQuality",0},
2719 { "_unsigned_int","_time_t",0},
2720 { "_unsigned_int","_size_t",0},
2721 { "_unsigned_int","_uint",0},
2722 { "_unsigned_int","_wxWindowID",0},
2723 { "_unsigned_int","_int",0},
2724 { "_short","_WXTYPE",0},
2725 { "_short","_unsigned_short",0},
2726 { "_short","_signed_short",0},
2727 { "_wxWindowID","_wxCoord",0},
2728 { "_wxWindowID","_wxPrintQuality",0},
2729 { "_wxWindowID","_time_t",0},
2730 { "_wxWindowID","_size_t",0},
2731 { "_wxWindowID","_EBool",0},
2732 { "_wxWindowID","_uint",0},
2733 { "_wxWindowID","_int",0},
2734 { "_wxWindowID","_signed_int",0},
2735 { "_wxWindowID","_unsigned_int",0},
2736 { "_int","_wxCoord",0},
2737 { "_int","_wxPrintQuality",0},
2738 { "_int","_time_t",0},
2739 { "_int","_size_t",0},
2740 { "_int","_EBool",0},
2741 { "_int","_uint",0},
2742 { "_int","_wxWindowID",0},
2743 { "_int","_unsigned_int",0},
2744 { "_int","_signed_int",0},
2745 { "_time_t","_wxCoord",0},
2746 { "_time_t","_wxPrintQuality",0},
2747 { "_time_t","_unsigned_int",0},
2748 { "_time_t","_int",0},
2749 { "_time_t","_wxWindowID",0},
2750 { "_time_t","_uint",0},
2751 { "_time_t","_size_t",0},
2752 { "_wxCoord","_int",0},
2753 { "_wxCoord","_signed_int",0},
2754 { "_wxCoord","_unsigned_int",0},
2755 { "_wxCoord","_wxWindowID",0},
2756 { "_wxCoord","_uint",0},
2757 { "_wxCoord","_EBool",0},
2758 { "_wxCoord","_size_t",0},
2759 { "_wxCoord","_time_t",0},
2760 { "_wxCoord","_wxPrintQuality",0},
2761 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
2762 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler},
2763 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler},
2764 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2765 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2766 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow},
2767 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow},
2768 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow},
2769 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2770 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
2771 {0,0,0}};
2772
2773 static PyObject *SWIG_globals;
2774 #ifdef __cplusplus
2775 extern "C"
2776 #endif
2777 SWIGEXPORT(void) initwindows3c() {
2778 PyObject *m, *d;
2779 SWIG_globals = SWIG_newvarlink();
2780 m = Py_InitModule("windows3c", windows3cMethods);
2781 d = PyModule_GetDict(m);
2782 PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP));
2783 PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT));
2784 PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM));
2785 PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT));
2786 PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE));
2787 PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED));
2788 PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D));
2789 PyDict_SetItemString(d,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH));
2790 PyDict_SetItemString(d,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER));
2791 PyDict_SetItemString(d,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER));
2792 PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK));
2793 PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE));
2794 PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL));
2795 PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL));
2796 PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE));
2797 PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP));
2798 PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT));
2799 PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT));
2800 PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM));
2801 PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO));
2802 PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT));
2803 {
2804 int i;
2805 for (i = 0; _swig_mapping[i].n1; i++)
2806 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2807 }
2808 }