]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/misc.cpp
Beginings of wxGTK compatibility
[wxWidgets.git] / utils / wxPython / src / misc.cpp
CommitLineData
7bf85405
RD
1/*
2 * FILE : misc.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28# else
29# if defined(__BORLANDC__)
30# define SWIGEXPORT(a,b) a _export b
31# else
32# define SWIGEXPORT(a,b) a b
33# endif
34# endif
35#else
36# define SWIGEXPORT(a,b) a b
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47extern PyObject *SWIG_newvarlink(void);
48#ifdef __cplusplus
49}
50#endif
51
52#define SWIG_init initmiscc
53
54#define SWIG_name "miscc"
55
56/////////////////////////////////////////////////////////////////////////////
57// Name: misc.i
58// Purpose: Definitions of miscelaneous functions and classes
59//
60// Author: Robin Dunn
61//
62// Created: 7/3/97
63// RCS-ID: $Id$
64// Copyright: (c) 1998 by Total Control Software
65// Licence: wxWindows license
66/////////////////////////////////////////////////////////////////////////////
67
68
69#include "helpers.h"
70#include <wx/resource.h>
71
72static PyObject* l_output_helper(PyObject* target, PyObject* o) {
73 PyObject* o2;
853b255a
RD
74 PyObject* o3;
75 if (!target) {
7bf85405 76 target = o;
853b255a 77 } else if (target == Py_None) {
7bf85405
RD
78 Py_DECREF(Py_None);
79 target = o;
853b255a 80 } else {
7bf85405
RD
81 if (!PyList_Check(target)) {
82 o2 = target;
83 target = PyList_New(0);
84 PyList_Append(target, o2);
85 Py_XDECREF(o2);
86 }
87 PyList_Append(target,o);
88 Py_XDECREF(o);
89 }
90 return target;
91}
92
93static PyObject* t_output_helper(PyObject* target, PyObject* o) {
94 PyObject* o2;
95 PyObject* o3;
96
853b255a 97 if (!target) {
7bf85405 98 target = o;
853b255a 99 } else if (target == Py_None) {
7bf85405
RD
100 Py_DECREF(Py_None);
101 target = o;
853b255a 102 } else {
7bf85405
RD
103 if (!PyTuple_Check(target)) {
104 o2 = target;
105 target = PyTuple_New(1);
106 PyTuple_SetItem(target, 0, o2);
107 }
853b255a
RD
108 o3 = PyTuple_New(1);
109 PyTuple_SetItem(o3, 0, o);
7bf85405
RD
110
111 o2 = target;
853b255a
RD
112 target = PySequence_Concat(o2, o3);
113 Py_DECREF(o2);
7bf85405
RD
114 Py_DECREF(o3);
115 }
116 return target;
117}
118
119
120extern int* int_LIST_helper(PyObject* source);
121extern long* long_LIST_helper(PyObject* source);
122extern char** string_LIST_helper(PyObject* source);
123extern wxPoint* wxPoint_LIST_helper(PyObject* source);
124extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
125extern wxString* wxString_LIST_helper(PyObject* source);
853b255a 126#ifdef __WXMSW__
7bf85405 127extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
853b255a 128#endif
7bf85405
RD
129
130
131static char* wxStringErrorMsg = "string type is required for parameter";
132
133 char* wxGetResource(char *section, char *entry, char *file = NULL) {
134 char * retval;
135 wxGetResource(section, entry, &retval, file);
136 return retval;
137 }
138static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args) {
139 PyObject * _resultobj;
140 char * _result;
141 char * _arg0;
142 char * _arg1 = NULL;
143 char * _arg2 = NULL;
144 char * _arg3 = NULL;
145 char * _arg4 = "*.*";
146 int _arg5 = 0;
147 wxWindow * _arg6 = NULL;
148 int _arg7 = -1;
149 int _arg8 = -1;
150 char * _argc6 = 0;
151
152 self = self;
153 if(!PyArg_ParseTuple(args,"s|ssssisii:wxFileSelector",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argc6,&_arg7,&_arg8))
154 return NULL;
155 if (_argc6) {
156 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxWindow_p")) {
157 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
158 return NULL;
159 }
160 }
161 _result = (char *)wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
162 _resultobj = Py_BuildValue("s", _result);
163 return _resultobj;
164}
165
166static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args) {
167 PyObject * _resultobj;
168 wxString * _result;
169 wxString * _arg0;
170 wxString * _arg1 = &wxPyEmptyStr;
171 wxString * _arg2 = &wxPyEmptyStr;
172 wxWindow * _arg3 = NULL;
173 int _arg4 = -1;
174 int _arg5 = -1;
175 bool _arg6 = (1);
176 PyObject * _obj0 = 0;
177 PyObject * _obj1 = 0;
178 PyObject * _obj2 = 0;
179 char * _argc3 = 0;
180 int tempbool6;
181
182 self = self;
183 if(!PyArg_ParseTuple(args,"O|OOsiii:wxGetTextFromUser",&_obj0,&_obj1,&_obj2,&_argc3,&_arg4,&_arg5,&tempbool6))
184 return NULL;
185{
186 if (!PyString_Check(_obj0)) {
187 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
188 return NULL;
189 }
190 _arg0 = new wxString(PyString_AsString(_obj0));
191}
192 if (_obj1)
193{
194 if (!PyString_Check(_obj1)) {
195 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
196 return NULL;
197 }
198 _arg1 = new wxString(PyString_AsString(_obj1));
199}
200 if (_obj2)
201{
202 if (!PyString_Check(_obj2)) {
203 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
204 return NULL;
205 }
206 _arg2 = new wxString(PyString_AsString(_obj2));
207}
208 if (_argc3) {
209 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) {
210 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
211 return NULL;
212 }
213 }
214 _arg6 = (bool ) tempbool6;
215 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
216{
217 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
218}
219{
220 if (_obj0)
221 delete _arg0;
222}
223{
224 if (_obj1)
225 delete _arg1;
226}
227{
228 if (_obj2)
229 delete _arg2;
230}
231{
232 delete _result;
233}
234 return _resultobj;
235}
236
237static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args) {
238 PyObject * _resultobj;
239 wxString * _result;
240 wxString * _arg0;
241 wxString * _arg1;
242 int _arg2;
243 wxString * _arg3;
244 wxWindow * _arg4 = NULL;
245 int _arg5 = -1;
246 int _arg6 = -1;
247 bool _arg7 = (1);
248 int _arg8 = 150;
249 int _arg9 = 200;
250 PyObject * _obj0 = 0;
251 PyObject * _obj1 = 0;
252 PyObject * _obj3 = 0;
253 char * _argc4 = 0;
254 int tempbool7;
255
256 self = self;
257 if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoice",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
258 return NULL;
259{
260 if (!PyString_Check(_obj0)) {
261 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
262 return NULL;
263 }
264 _arg0 = new wxString(PyString_AsString(_obj0));
265}
266{
267 if (!PyString_Check(_obj1)) {
268 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
269 return NULL;
270 }
271 _arg1 = new wxString(PyString_AsString(_obj1));
272}
273 if (_obj3)
274{
275 _arg3 = wxString_LIST_helper(_obj3);
276 if (_arg3 == NULL) {
277 return NULL;
278 }
279}
280 if (_argc4) {
281 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) {
282 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
283 return NULL;
284 }
285 }
286 _arg7 = (bool ) tempbool7;
287{
288 _arg2 = PyList_Size(_obj3);
289}
290 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
291{
292 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
293}
294{
295 if (_obj0)
296 delete _arg0;
297}
298{
299 if (_obj1)
300 delete _arg1;
301}
302{
303 delete [] _arg3;
304}
305{
306 delete _result;
307}
308 return _resultobj;
309}
310
311static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args) {
312 PyObject * _resultobj;
313 int _result;
314 wxString * _arg0;
315 wxString * _arg1;
316 int _arg2;
317 wxString * _arg3;
318 wxWindow * _arg4 = NULL;
319 int _arg5 = -1;
320 int _arg6 = -1;
321 bool _arg7 = (1);
322 int _arg8 = 150;
323 int _arg9 = 200;
324 PyObject * _obj0 = 0;
325 PyObject * _obj1 = 0;
326 PyObject * _obj3 = 0;
327 char * _argc4 = 0;
328 int tempbool7;
329
330 self = self;
331 if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
332 return NULL;
333{
334 if (!PyString_Check(_obj0)) {
335 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
336 return NULL;
337 }
338 _arg0 = new wxString(PyString_AsString(_obj0));
339}
340{
341 if (!PyString_Check(_obj1)) {
342 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
343 return NULL;
344 }
345 _arg1 = new wxString(PyString_AsString(_obj1));
346}
347 if (_obj3)
348{
349 _arg3 = wxString_LIST_helper(_obj3);
350 if (_arg3 == NULL) {
351 return NULL;
352 }
353}
354 if (_argc4) {
355 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) {
356 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
357 return NULL;
358 }
359 }
360 _arg7 = (bool ) tempbool7;
361{
362 _arg2 = PyList_Size(_obj3);
363}
364 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
365 _resultobj = Py_BuildValue("i",_result);
366{
367 if (_obj0)
368 delete _arg0;
369}
370{
371 if (_obj1)
372 delete _arg1;
373}
374{
375 delete [] _arg3;
376}
377 return _resultobj;
378}
379
380static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args) {
381 PyObject * _resultobj;
382 int _result;
383 wxString * _arg0;
384 wxString * _arg1 = &wxPyEmptyStr;
385 int _arg2 = (wxOK)|(wxCENTRE);
386 wxWindow * _arg3 = NULL;
387 int _arg4 = -1;
388 int _arg5 = -1;
389 PyObject * _obj0 = 0;
390 PyObject * _obj1 = 0;
391 char * _argc3 = 0;
392
393 self = self;
394 if(!PyArg_ParseTuple(args,"O|Oisii:wxMessageBox",&_obj0,&_obj1,&_arg2,&_argc3,&_arg4,&_arg5))
395 return NULL;
396{
397 if (!PyString_Check(_obj0)) {
398 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
399 return NULL;
400 }
401 _arg0 = new wxString(PyString_AsString(_obj0));
402}
403 if (_obj1)
404{
405 if (!PyString_Check(_obj1)) {
406 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
407 return NULL;
408 }
409 _arg1 = new wxString(PyString_AsString(_obj1));
410}
411 if (_argc3) {
412 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
414 return NULL;
415 }
416 }
417 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
418 _resultobj = Py_BuildValue("i",_result);
419{
420 if (_obj0)
421 delete _arg0;
422}
423{
424 if (_obj1)
425 delete _arg1;
426}
427 return _resultobj;
428}
429
430static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args) {
431 PyObject * _resultobj;
432 bool _result;
433
434 self = self;
435 if(!PyArg_ParseTuple(args,":wxColourDisplay"))
436 return NULL;
437 _result = (bool )wxColourDisplay();
438 _resultobj = Py_BuildValue("i",_result);
439 return _resultobj;
440}
441
442static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args) {
443 PyObject * _resultobj;
444 int _result;
445
446 self = self;
447 if(!PyArg_ParseTuple(args,":wxDisplayDepth"))
448 return NULL;
449 _result = (int )wxDisplayDepth();
450 _resultobj = Py_BuildValue("i",_result);
451 return _resultobj;
452}
453
454static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args) {
455 PyObject * _resultobj;
456 wxCursor * _arg0;
457 char * _argc0 = 0;
458
459 self = self;
460 if(!PyArg_ParseTuple(args,"s:wxSetCursor",&_argc0))
461 return NULL;
462 if (_argc0) {
463 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
465 return NULL;
466 }
467 }
468 wxSetCursor(_arg0);
469 Py_INCREF(Py_None);
470 _resultobj = Py_None;
471 return _resultobj;
472}
473
474static PyObject *_wrap_NewId(PyObject *self, PyObject *args) {
475 PyObject * _resultobj;
476 long _result;
477
478 self = self;
479 if(!PyArg_ParseTuple(args,":NewId"))
480 return NULL;
481 _result = (long )NewId();
482 _resultobj = Py_BuildValue("l",_result);
483 return _resultobj;
484}
485
486static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args) {
487 PyObject * _resultobj;
488 long _arg0;
489
490 self = self;
491 if(!PyArg_ParseTuple(args,"l:RegisterId",&_arg0))
492 return NULL;
493 RegisterId(_arg0);
494 Py_INCREF(Py_None);
495 _resultobj = Py_None;
496 return _resultobj;
497}
498
499static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args) {
500 PyObject * _resultobj;
501 wxCursor * _arg0 = wxHOURGLASS_CURSOR;
502 char * _argc0 = 0;
503
504 self = self;
505 if(!PyArg_ParseTuple(args,"|s:wxBeginBusyCursor",&_argc0))
506 return NULL;
507 if (_argc0) {
508 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
510 return NULL;
511 }
512 }
513 wxBeginBusyCursor(_arg0);
514 Py_INCREF(Py_None);
515 _resultobj = Py_None;
516 return _resultobj;
517}
518
519static PyObject *_wrap_wxBell(PyObject *self, PyObject *args) {
520 PyObject * _resultobj;
521
522 self = self;
523 if(!PyArg_ParseTuple(args,":wxBell"))
524 return NULL;
525 wxBell();
526 Py_INCREF(Py_None);
527 _resultobj = Py_None;
528 return _resultobj;
529}
530
531static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args) {
532 PyObject * _resultobj;
533 int * _arg0;
534 int temp;
535 int * _arg1;
536 int temp0;
537
538 self = self;
539{
540 _arg0 = &temp;
541}
542{
543 _arg1 = &temp0;
544}
545 if(!PyArg_ParseTuple(args,":wxDisplaySize"))
546 return NULL;
547 wxDisplaySize(_arg0,_arg1);
548 Py_INCREF(Py_None);
549 _resultobj = Py_None;
550{
551 PyObject *o;
552 o = PyInt_FromLong((long) (*_arg0));
553 _resultobj = t_output_helper(_resultobj, o);
554}
555{
556 PyObject *o;
557 o = PyInt_FromLong((long) (*_arg1));
558 _resultobj = t_output_helper(_resultobj, o);
559}
560 return _resultobj;
561}
562
563static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args) {
564 PyObject * _resultobj;
565
566 self = self;
567 if(!PyArg_ParseTuple(args,":wxEndBusyCursor"))
568 return NULL;
569 wxEndBusyCursor();
570 Py_INCREF(Py_None);
571 _resultobj = Py_None;
572 return _resultobj;
573}
574
575static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) {
576 PyObject * _resultobj;
577 long _result;
578 wxString * _arg0;
579 bool _arg1 = (0);
580 PyObject * _obj0 = 0;
581 int tempbool1;
582
583 self = self;
584 if(!PyArg_ParseTuple(args,"O|i:wxExecute",&_obj0,&tempbool1))
585 return NULL;
586{
587 if (!PyString_Check(_obj0)) {
588 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
589 return NULL;
590 }
591 _arg0 = new wxString(PyString_AsString(_obj0));
592}
593 _arg1 = (bool ) tempbool1;
594 _result = (long )wxExecute(*_arg0,_arg1);
595 _resultobj = Py_BuildValue("l",_result);
596{
597 if (_obj0)
598 delete _arg0;
599}
600 return _resultobj;
601}
602
603static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
604 PyObject * _resultobj;
605 wxWindow * _result;
606 wxString * _arg0;
607 wxWindow * _arg1 = NULL;
608 PyObject * _obj0 = 0;
609 char * _argc1 = 0;
610 char _ptemp[128];
611
612 self = self;
613 if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1))
614 return NULL;
615{
616 if (!PyString_Check(_obj0)) {
617 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
618 return NULL;
619 }
620 _arg0 = new wxString(PyString_AsString(_obj0));
621}
622 if (_argc1) {
623 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
624 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
625 return NULL;
626 }
627 }
628 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
630 _resultobj = Py_BuildValue("s",_ptemp);
631{
632 if (_obj0)
633 delete _arg0;
634}
635 return _resultobj;
636}
637
638static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
639 PyObject * _resultobj;
640 wxWindow * _result;
641 wxString * _arg0;
642 wxWindow * _arg1 = NULL;
643 PyObject * _obj0 = 0;
644 char * _argc1 = 0;
645 char _ptemp[128];
646
647 self = self;
648 if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1))
649 return NULL;
650{
651 if (!PyString_Check(_obj0)) {
652 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
653 return NULL;
654 }
655 _arg0 = new wxString(PyString_AsString(_obj0));
656}
657 if (_argc1) {
658 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
660 return NULL;
661 }
662 }
663 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
664 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
665 _resultobj = Py_BuildValue("s",_ptemp);
666{
667 if (_obj0)
668 delete _arg0;
669}
670 return _resultobj;
671}
672
673static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args) {
674 PyObject * _resultobj;
675 wxWindow * _result;
676 char _ptemp[128];
677
678 self = self;
679 if(!PyArg_ParseTuple(args,":wxGetActiveWindow"))
680 return NULL;
681 _result = (wxWindow *)wxGetActiveWindow();
682 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
683 _resultobj = Py_BuildValue("s",_ptemp);
684 return _resultobj;
685}
686
687static PyObject *_wrap_wxGetElapsedTime(PyObject *self, PyObject *args) {
688 PyObject * _resultobj;
689 long _result;
690 bool _arg0 = (1);
691 int tempbool0;
692
693 self = self;
694 if(!PyArg_ParseTuple(args,"|i:wxGetElapsedTime",&tempbool0))
695 return NULL;
696 _arg0 = (bool ) tempbool0;
697 _result = (long )wxGetElapsedTime(_arg0);
698 _resultobj = Py_BuildValue("l",_result);
699 return _resultobj;
700}
701
702static PyObject *_wrap_wxGetFreeMemory(PyObject *self, PyObject *args) {
703 PyObject * _resultobj;
704 long _result;
705
706 self = self;
707 if(!PyArg_ParseTuple(args,":wxGetFreeMemory"))
708 return NULL;
709 _result = (long )wxGetFreeMemory();
710 _resultobj = Py_BuildValue("l",_result);
711 return _resultobj;
712}
713
714static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) {
715 PyObject * _resultobj;
716 int * _arg0;
717 int temp;
718 int * _arg1;
719 int temp0;
720
721 self = self;
722{
723 _arg0 = &temp;
724}
725{
726 _arg1 = &temp0;
727}
728 if(!PyArg_ParseTuple(args,":wxGetMousePosition"))
729 return NULL;
730 wxGetMousePosition(_arg0,_arg1);
731 Py_INCREF(Py_None);
732 _resultobj = Py_None;
733{
734 PyObject *o;
735 o = PyInt_FromLong((long) (*_arg0));
736 _resultobj = t_output_helper(_resultobj, o);
737}
738{
739 PyObject *o;
740 o = PyInt_FromLong((long) (*_arg1));
741 _resultobj = t_output_helper(_resultobj, o);
742}
743 return _resultobj;
744}
745
746static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args) {
747 PyObject * _resultobj;
748 bool _result;
749
750 self = self;
751 if(!PyArg_ParseTuple(args,":wxIsBusy"))
752 return NULL;
753 _result = (bool )wxIsBusy();
754 _resultobj = Py_BuildValue("i",_result);
755 return _resultobj;
756}
757
758static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) {
759 PyObject * _resultobj;
760 wxString * _result;
761
762 self = self;
763 if(!PyArg_ParseTuple(args,":wxNow"))
764 return NULL;
765 _result = new wxString (wxNow());
766{
767 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
768}
769{
770 delete _result;
771}
772 return _resultobj;
773}
774
775static PyObject *_wrap_wxShell(PyObject *self, PyObject *args) {
776 PyObject * _resultobj;
777 bool _result;
778 wxString * _arg0 = &wxPyEmptyStr;
779 PyObject * _obj0 = 0;
780
781 self = self;
782 if(!PyArg_ParseTuple(args,"|O:wxShell",&_obj0))
783 return NULL;
784 if (_obj0)
785{
786 if (!PyString_Check(_obj0)) {
787 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
788 return NULL;
789 }
790 _arg0 = new wxString(PyString_AsString(_obj0));
791}
792 _result = (bool )wxShell(*_arg0);
793 _resultobj = Py_BuildValue("i",_result);
794{
795 if (_obj0)
796 delete _arg0;
797}
798 return _resultobj;
799}
800
801static PyObject *_wrap_wxStartTimer(PyObject *self, PyObject *args) {
802 PyObject * _resultobj;
803
804 self = self;
805 if(!PyArg_ParseTuple(args,":wxStartTimer"))
806 return NULL;
807 wxStartTimer();
808 Py_INCREF(Py_None);
809 _resultobj = Py_None;
810 return _resultobj;
811}
812
813static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) {
814 PyObject * _resultobj;
815 bool _result;
816
817 self = self;
818 if(!PyArg_ParseTuple(args,":wxYield"))
819 return NULL;
820 _result = (bool )wxYield();
821 _resultobj = Py_BuildValue("i",_result);
822 return _resultobj;
823}
824
825static PyObject *_wrap_wxGetOsVersion(PyObject *self, PyObject *args) {
826 PyObject * _resultobj;
827 int _result;
828 int * _arg0;
829 int temp;
830 int * _arg1;
831 int temp0;
832
833 self = self;
834{
835 _arg0 = &temp;
836}
837{
838 _arg1 = &temp0;
839}
840 if(!PyArg_ParseTuple(args,":wxGetOsVersion"))
841 return NULL;
842 _result = (int )wxGetOsVersion(_arg0,_arg1);
843 _resultobj = Py_BuildValue("i",_result);
844{
845 PyObject *o;
846 o = PyInt_FromLong((long) (*_arg0));
847 _resultobj = t_output_helper(_resultobj, o);
848}
849{
850 PyObject *o;
851 o = PyInt_FromLong((long) (*_arg1));
852 _resultobj = t_output_helper(_resultobj, o);
853}
854 return _resultobj;
855}
856
857static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) {
858 PyObject * _resultobj;
859 char * _result;
860 char * _arg0;
861 char * _arg1;
862 char * _arg2 = NULL;
863
864 self = self;
865 if(!PyArg_ParseTuple(args,"ss|s:wxGetResource",&_arg0,&_arg1,&_arg2))
866 return NULL;
867 _result = (char *)wxGetResource(_arg0,_arg1,_arg2);
868 _resultobj = Py_BuildValue("s", _result);
869 return _resultobj;
870}
871
872static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args) {
873 PyObject * _resultobj;
874 bool _result;
875 char * _arg0;
876 int _arg1;
877
878 self = self;
879 if(!PyArg_ParseTuple(args,"si:wxResourceAddIdentifier",&_arg0,&_arg1))
880 return NULL;
881 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
882 _resultobj = Py_BuildValue("i",_result);
883 return _resultobj;
884}
885
886static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args) {
887 PyObject * _resultobj;
888
889 self = self;
890 if(!PyArg_ParseTuple(args,":wxResourceClear"))
891 return NULL;
892 wxResourceClear();
893 Py_INCREF(Py_None);
894 _resultobj = Py_None;
895 return _resultobj;
896}
897
898static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args) {
899 PyObject * _resultobj;
900 wxBitmap * _result;
901 char * _arg0;
902 char _ptemp[128];
903
904 self = self;
905 if(!PyArg_ParseTuple(args,"s:wxResourceCreateBitmap",&_arg0))
906 return NULL;
907 _result = (wxBitmap *)wxResourceCreateBitmap(_arg0);
908 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
909 _resultobj = Py_BuildValue("s",_ptemp);
910 return _resultobj;
911}
912
913static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args) {
914 PyObject * _resultobj;
915 wxIcon * _result;
916 char * _arg0;
917 char _ptemp[128];
918
919 self = self;
920 if(!PyArg_ParseTuple(args,"s:wxResourceCreateIcon",&_arg0))
921 return NULL;
922 _result = (wxIcon *)wxResourceCreateIcon(_arg0);
923 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
924 _resultobj = Py_BuildValue("s",_ptemp);
925 return _resultobj;
926}
927
928static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args) {
929 PyObject * _resultobj;
930 wxMenuBar * _result;
931 char * _arg0;
932 char _ptemp[128];
933
934 self = self;
935 if(!PyArg_ParseTuple(args,"s:wxResourceCreateMenuBar",&_arg0))
936 return NULL;
937 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
938 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
939 _resultobj = Py_BuildValue("s",_ptemp);
940 return _resultobj;
941}
942
943static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args) {
944 PyObject * _resultobj;
945 int _result;
946 char * _arg0;
947
948 self = self;
949 if(!PyArg_ParseTuple(args,"s:wxResourceGetIdentifier",&_arg0))
950 return NULL;
951 _result = (int )wxResourceGetIdentifier(_arg0);
952 _resultobj = Py_BuildValue("i",_result);
953 return _resultobj;
954}
955
956static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args) {
957 PyObject * _resultobj;
958 bool _result;
959 char * _arg0;
960 wxResourceTable * _arg1 = NULL;
961 char * _argc1 = 0;
962
963 self = self;
964 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseData",&_arg0,&_argc1))
965 return NULL;
966 if (_argc1) {
967 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
968 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
969 return NULL;
970 }
971 }
972 _result = (bool )wxResourceParseData(_arg0,_arg1);
973 _resultobj = Py_BuildValue("i",_result);
974 return _resultobj;
975}
976
977static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args) {
978 PyObject * _resultobj;
979 bool _result;
980 char * _arg0;
981 wxResourceTable * _arg1 = NULL;
982 char * _argc1 = 0;
983
984 self = self;
985 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseFile",&_arg0,&_argc1))
986 return NULL;
987 if (_argc1) {
988 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
989 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
990 return NULL;
991 }
992 }
993 _result = (bool )wxResourceParseFile(_arg0,_arg1);
994 _resultobj = Py_BuildValue("i",_result);
995 return _resultobj;
996}
997
998static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) {
999 PyObject * _resultobj;
1000 bool _result;
1001 char * _arg0;
1002 wxResourceTable * _arg1 = NULL;
1003 char * _argc1 = 0;
1004
1005 self = self;
1006 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseString",&_arg0,&_argc1))
1007 return NULL;
1008 if (_argc1) {
1009 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1011 return NULL;
1012 }
1013 }
1014 _result = (bool )wxResourceParseString(_arg0,_arg1);
1015 _resultobj = Py_BuildValue("i",_result);
1016 return _resultobj;
1017}
1018
1019#define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1020static PyObject *_wrap_wxSize_width_set(PyObject *self, PyObject *args) {
1021 PyObject * _resultobj;
1022 long _result;
1023 wxSize * _arg0;
1024 long _arg1;
1025 char * _argc0 = 0;
1026
1027 self = self;
1028 if(!PyArg_ParseTuple(args,"sl:wxSize_width_set",&_argc0,&_arg1))
1029 return NULL;
1030 if (_argc0) {
1031 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
1033 return NULL;
1034 }
1035 }
1036 _result = (long )wxSize_x_set(_arg0,_arg1);
1037 _resultobj = Py_BuildValue("l",_result);
1038 return _resultobj;
1039}
1040
1041#define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1042static PyObject *_wrap_wxSize_width_get(PyObject *self, PyObject *args) {
1043 PyObject * _resultobj;
1044 long _result;
1045 wxSize * _arg0;
1046 char * _argc0 = 0;
1047
1048 self = self;
1049 if(!PyArg_ParseTuple(args,"s:wxSize_width_get",&_argc0))
1050 return NULL;
1051 if (_argc0) {
1052 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
1054 return NULL;
1055 }
1056 }
1057 _result = (long )wxSize_x_get(_arg0);
1058 _resultobj = Py_BuildValue("l",_result);
1059 return _resultobj;
1060}
1061
1062#define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1063static PyObject *_wrap_wxSize_height_set(PyObject *self, PyObject *args) {
1064 PyObject * _resultobj;
1065 long _result;
1066 wxSize * _arg0;
1067 long _arg1;
1068 char * _argc0 = 0;
1069
1070 self = self;
1071 if(!PyArg_ParseTuple(args,"sl:wxSize_height_set",&_argc0,&_arg1))
1072 return NULL;
1073 if (_argc0) {
1074 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
1076 return NULL;
1077 }
1078 }
1079 _result = (long )wxSize_y_set(_arg0,_arg1);
1080 _resultobj = Py_BuildValue("l",_result);
1081 return _resultobj;
1082}
1083
1084#define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1085static PyObject *_wrap_wxSize_height_get(PyObject *self, PyObject *args) {
1086 PyObject * _resultobj;
1087 long _result;
1088 wxSize * _arg0;
1089 char * _argc0 = 0;
1090
1091 self = self;
1092 if(!PyArg_ParseTuple(args,"s:wxSize_height_get",&_argc0))
1093 return NULL;
1094 if (_argc0) {
1095 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
1097 return NULL;
1098 }
1099 }
1100 _result = (long )wxSize_y_get(_arg0);
1101 _resultobj = Py_BuildValue("l",_result);
1102 return _resultobj;
1103}
1104
1105#define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1106static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args) {
1107 PyObject * _resultobj;
1108 wxSize * _result;
1109 long _arg0 = 0;
1110 long _arg1 = 0;
1111 char _ptemp[128];
1112
1113 self = self;
1114 if(!PyArg_ParseTuple(args,"|ll:new_wxSize",&_arg0,&_arg1))
1115 return NULL;
1116 _result = (wxSize *)new_wxSize(_arg0,_arg1);
1117 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
1118 _resultobj = Py_BuildValue("s",_ptemp);
1119 return _resultobj;
1120}
1121
1122#define delete_wxSize(_swigobj) (delete _swigobj)
1123static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args) {
1124 PyObject * _resultobj;
1125 wxSize * _arg0;
1126 char * _argc0 = 0;
1127
1128 self = self;
1129 if(!PyArg_ParseTuple(args,"s:delete_wxSize",&_argc0))
1130 return NULL;
1131 if (_argc0) {
1132 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1134 return NULL;
1135 }
1136 }
1137 delete_wxSize(_arg0);
1138 Py_INCREF(Py_None);
1139 _resultobj = Py_None;
1140 return _resultobj;
1141}
1142
1143#define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1144static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args) {
1145 PyObject * _resultobj;
1146 wxSize * _arg0;
1147 long _arg1;
1148 long _arg2;
1149 char * _argc0 = 0;
1150
1151 self = self;
1152 if(!PyArg_ParseTuple(args,"sll:wxSize_Set",&_argc0,&_arg1,&_arg2))
1153 return NULL;
1154 if (_argc0) {
1155 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1157 return NULL;
1158 }
1159 }
1160 wxSize_Set(_arg0,_arg1,_arg2);
1161 Py_INCREF(Py_None);
1162 _resultobj = Py_None;
1163 return _resultobj;
1164}
1165
1166#define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1167static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args) {
1168 PyObject * _resultobj;
1169 long _result;
1170 wxSize * _arg0;
1171 char * _argc0 = 0;
1172
1173 self = self;
1174 if(!PyArg_ParseTuple(args,"s:wxSize_GetWidth",&_argc0))
1175 return NULL;
1176 if (_argc0) {
1177 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1179 return NULL;
1180 }
1181 }
1182 _result = (long )wxSize_GetWidth(_arg0);
1183 _resultobj = Py_BuildValue("l",_result);
1184 return _resultobj;
1185}
1186
1187#define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1188static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args) {
1189 PyObject * _resultobj;
1190 long _result;
1191 wxSize * _arg0;
1192 char * _argc0 = 0;
1193
1194 self = self;
1195 if(!PyArg_ParseTuple(args,"s:wxSize_GetHeight",&_argc0))
1196 return NULL;
1197 if (_argc0) {
1198 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1200 return NULL;
1201 }
1202 }
1203 _result = (long )wxSize_GetHeight(_arg0);
1204 _resultobj = Py_BuildValue("l",_result);
1205 return _resultobj;
1206}
1207
1208static PyObject * wxSize___str__(wxSize *self) {
1209 PyObject* tup = PyTuple_New(2);
1210 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1211 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1212 return tup;
1213 }
1214static PyObject *_wrap_wxSize___str__(PyObject *self, PyObject *args) {
1215 PyObject * _resultobj;
1216 PyObject * _result;
1217 wxSize * _arg0;
1218 char * _argc0 = 0;
1219
1220 self = self;
1221 if(!PyArg_ParseTuple(args,"s:wxSize___str__",&_argc0))
1222 return NULL;
1223 if (_argc0) {
1224 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1226 return NULL;
1227 }
1228 }
1229 _result = (PyObject *)wxSize___str__(_arg0);
1230{
1231 _resultobj = _result;
1232}
1233 return _resultobj;
1234}
1235
1236#define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1237static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args) {
1238 PyObject * _resultobj;
1239 double _result;
1240 wxRealPoint * _arg0;
1241 double _arg1;
1242 char * _argc0 = 0;
1243
1244 self = self;
1245 if(!PyArg_ParseTuple(args,"sd:wxRealPoint_x_set",&_argc0,&_arg1))
1246 return NULL;
1247 if (_argc0) {
1248 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1250 return NULL;
1251 }
1252 }
1253 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
1254 _resultobj = Py_BuildValue("d",_result);
1255 return _resultobj;
1256}
1257
1258#define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1259static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args) {
1260 PyObject * _resultobj;
1261 double _result;
1262 wxRealPoint * _arg0;
1263 char * _argc0 = 0;
1264
1265 self = self;
1266 if(!PyArg_ParseTuple(args,"s:wxRealPoint_x_get",&_argc0))
1267 return NULL;
1268 if (_argc0) {
1269 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1271 return NULL;
1272 }
1273 }
1274 _result = (double )wxRealPoint_x_get(_arg0);
1275 _resultobj = Py_BuildValue("d",_result);
1276 return _resultobj;
1277}
1278
1279#define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1280static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args) {
1281 PyObject * _resultobj;
1282 double _result;
1283 wxRealPoint * _arg0;
1284 double _arg1;
1285 char * _argc0 = 0;
1286
1287 self = self;
1288 if(!PyArg_ParseTuple(args,"sd:wxRealPoint_y_set",&_argc0,&_arg1))
1289 return NULL;
1290 if (_argc0) {
1291 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1293 return NULL;
1294 }
1295 }
1296 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
1297 _resultobj = Py_BuildValue("d",_result);
1298 return _resultobj;
1299}
1300
1301#define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1302static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args) {
1303 PyObject * _resultobj;
1304 double _result;
1305 wxRealPoint * _arg0;
1306 char * _argc0 = 0;
1307
1308 self = self;
1309 if(!PyArg_ParseTuple(args,"s:wxRealPoint_y_get",&_argc0))
1310 return NULL;
1311 if (_argc0) {
1312 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1314 return NULL;
1315 }
1316 }
1317 _result = (double )wxRealPoint_y_get(_arg0);
1318 _resultobj = Py_BuildValue("d",_result);
1319 return _resultobj;
1320}
1321
1322#define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1323static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args) {
1324 PyObject * _resultobj;
1325 wxRealPoint * _result;
1326 double _arg0 = 0.0;
1327 double _arg1 = 0.0;
1328 char _ptemp[128];
1329
1330 self = self;
1331 if(!PyArg_ParseTuple(args,"|dd:new_wxRealPoint",&_arg0,&_arg1))
1332 return NULL;
1333 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
1334 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1335 _resultobj = Py_BuildValue("s",_ptemp);
1336 return _resultobj;
1337}
1338
1339#define delete_wxRealPoint(_swigobj) (delete _swigobj)
1340static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args) {
1341 PyObject * _resultobj;
1342 wxRealPoint * _arg0;
1343 char * _argc0 = 0;
1344
1345 self = self;
1346 if(!PyArg_ParseTuple(args,"s:delete_wxRealPoint",&_argc0))
1347 return NULL;
1348 if (_argc0) {
1349 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1351 return NULL;
1352 }
1353 }
1354 delete_wxRealPoint(_arg0);
1355 Py_INCREF(Py_None);
1356 _resultobj = Py_None;
1357 return _resultobj;
1358}
1359
1360#define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1361static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args) {
1362 PyObject * _resultobj;
1363 long _result;
1364 wxPoint * _arg0;
1365 long _arg1;
1366 char * _argc0 = 0;
1367
1368 self = self;
1369 if(!PyArg_ParseTuple(args,"sl:wxPoint_x_set",&_argc0,&_arg1))
1370 return NULL;
1371 if (_argc0) {
1372 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1374 return NULL;
1375 }
1376 }
1377 _result = (long )wxPoint_x_set(_arg0,_arg1);
1378 _resultobj = Py_BuildValue("l",_result);
1379 return _resultobj;
1380}
1381
1382#define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1383static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args) {
1384 PyObject * _resultobj;
1385 long _result;
1386 wxPoint * _arg0;
1387 char * _argc0 = 0;
1388
1389 self = self;
1390 if(!PyArg_ParseTuple(args,"s:wxPoint_x_get",&_argc0))
1391 return NULL;
1392 if (_argc0) {
1393 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1395 return NULL;
1396 }
1397 }
1398 _result = (long )wxPoint_x_get(_arg0);
1399 _resultobj = Py_BuildValue("l",_result);
1400 return _resultobj;
1401}
1402
1403#define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1404static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args) {
1405 PyObject * _resultobj;
1406 long _result;
1407 wxPoint * _arg0;
1408 long _arg1;
1409 char * _argc0 = 0;
1410
1411 self = self;
1412 if(!PyArg_ParseTuple(args,"sl:wxPoint_y_set",&_argc0,&_arg1))
1413 return NULL;
1414 if (_argc0) {
1415 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1417 return NULL;
1418 }
1419 }
1420 _result = (long )wxPoint_y_set(_arg0,_arg1);
1421 _resultobj = Py_BuildValue("l",_result);
1422 return _resultobj;
1423}
1424
1425#define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1426static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args) {
1427 PyObject * _resultobj;
1428 long _result;
1429 wxPoint * _arg0;
1430 char * _argc0 = 0;
1431
1432 self = self;
1433 if(!PyArg_ParseTuple(args,"s:wxPoint_y_get",&_argc0))
1434 return NULL;
1435 if (_argc0) {
1436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1438 return NULL;
1439 }
1440 }
1441 _result = (long )wxPoint_y_get(_arg0);
1442 _resultobj = Py_BuildValue("l",_result);
1443 return _resultobj;
1444}
1445
1446#define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1447static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args) {
1448 PyObject * _resultobj;
1449 wxPoint * _result;
1450 long _arg0 = 0;
1451 long _arg1 = 0;
1452 char _ptemp[128];
1453
1454 self = self;
1455 if(!PyArg_ParseTuple(args,"|ll:new_wxPoint",&_arg0,&_arg1))
1456 return NULL;
1457 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
1458 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1459 _resultobj = Py_BuildValue("s",_ptemp);
1460 return _resultobj;
1461}
1462
1463#define delete_wxPoint(_swigobj) (delete _swigobj)
1464static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args) {
1465 PyObject * _resultobj;
1466 wxPoint * _arg0;
1467 char * _argc0 = 0;
1468
1469 self = self;
1470 if(!PyArg_ParseTuple(args,"s:delete_wxPoint",&_argc0))
1471 return NULL;
1472 if (_argc0) {
1473 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1475 return NULL;
1476 }
1477 }
1478 delete_wxPoint(_arg0);
1479 Py_INCREF(Py_None);
1480 _resultobj = Py_None;
1481 return _resultobj;
1482}
1483
1484static void wxPoint_Set(wxPoint *self,long x,long y) {
1485 self->x = x;
1486 self->y = y;
1487 }
1488static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args) {
1489 PyObject * _resultobj;
1490 wxPoint * _arg0;
1491 long _arg1;
1492 long _arg2;
1493 char * _argc0 = 0;
1494
1495 self = self;
1496 if(!PyArg_ParseTuple(args,"sll:wxPoint_Set",&_argc0,&_arg1,&_arg2))
1497 return NULL;
1498 if (_argc0) {
1499 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1501 return NULL;
1502 }
1503 }
1504 wxPoint_Set(_arg0,_arg1,_arg2);
1505 Py_INCREF(Py_None);
1506 _resultobj = Py_None;
1507 return _resultobj;
1508}
1509
1510static PyObject * wxPoint___str__(wxPoint *self) {
1511 PyObject* tup = PyTuple_New(2);
1512 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1513 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1514 return tup;
1515 }
1516static PyObject *_wrap_wxPoint___str__(PyObject *self, PyObject *args) {
1517 PyObject * _resultobj;
1518 PyObject * _result;
1519 wxPoint * _arg0;
1520 char * _argc0 = 0;
1521
1522 self = self;
1523 if(!PyArg_ParseTuple(args,"s:wxPoint___str__",&_argc0))
1524 return NULL;
1525 if (_argc0) {
1526 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1528 return NULL;
1529 }
1530 }
1531 _result = (PyObject *)wxPoint___str__(_arg0);
1532{
1533 _resultobj = _result;
1534}
1535 return _resultobj;
1536}
1537
1538#define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1539static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args) {
1540 PyObject * _resultobj;
1541 wxRect * _result;
1542 long _arg0 = 0;
1543 long _arg1 = 0;
1544 long _arg2 = 0;
1545 long _arg3 = 0;
1546 char _ptemp[128];
1547
1548 self = self;
1549 if(!PyArg_ParseTuple(args,"|llll:new_wxRect",&_arg0,&_arg1,&_arg2,&_arg3))
1550 return NULL;
1551 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
1552 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1553 _resultobj = Py_BuildValue("s",_ptemp);
1554 return _resultobj;
1555}
1556
1557#define delete_wxRect(_swigobj) (delete _swigobj)
1558static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args) {
1559 PyObject * _resultobj;
1560 wxRect * _arg0;
1561 char * _argc0 = 0;
1562
1563 self = self;
1564 if(!PyArg_ParseTuple(args,"s:delete_wxRect",&_argc0))
1565 return NULL;
1566 if (_argc0) {
1567 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1569 return NULL;
1570 }
1571 }
1572 delete_wxRect(_arg0);
1573 Py_INCREF(Py_None);
1574 _resultobj = Py_None;
1575 return _resultobj;
1576}
1577
1578#define wxRect_GetX(_swigobj) (_swigobj->GetX())
1579static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args) {
1580 PyObject * _resultobj;
1581 long _result;
1582 wxRect * _arg0;
1583 char * _argc0 = 0;
1584
1585 self = self;
1586 if(!PyArg_ParseTuple(args,"s:wxRect_GetX",&_argc0))
1587 return NULL;
1588 if (_argc0) {
1589 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1591 return NULL;
1592 }
1593 }
1594 _result = (long )wxRect_GetX(_arg0);
1595 _resultobj = Py_BuildValue("l",_result);
1596 return _resultobj;
1597}
1598
1599#define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1600static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args) {
1601 PyObject * _resultobj;
1602 wxRect * _arg0;
1603 long _arg1;
1604 char * _argc0 = 0;
1605
1606 self = self;
1607 if(!PyArg_ParseTuple(args,"sl:wxRect_SetX",&_argc0,&_arg1))
1608 return NULL;
1609 if (_argc0) {
1610 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1612 return NULL;
1613 }
1614 }
1615 wxRect_SetX(_arg0,_arg1);
1616 Py_INCREF(Py_None);
1617 _resultobj = Py_None;
1618 return _resultobj;
1619}
1620
1621#define wxRect_GetY(_swigobj) (_swigobj->GetY())
1622static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args) {
1623 PyObject * _resultobj;
1624 long _result;
1625 wxRect * _arg0;
1626 char * _argc0 = 0;
1627
1628 self = self;
1629 if(!PyArg_ParseTuple(args,"s:wxRect_GetY",&_argc0))
1630 return NULL;
1631 if (_argc0) {
1632 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1634 return NULL;
1635 }
1636 }
1637 _result = (long )wxRect_GetY(_arg0);
1638 _resultobj = Py_BuildValue("l",_result);
1639 return _resultobj;
1640}
1641
1642#define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1643static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args) {
1644 PyObject * _resultobj;
1645 wxRect * _arg0;
1646 long _arg1;
1647 char * _argc0 = 0;
1648
1649 self = self;
1650 if(!PyArg_ParseTuple(args,"sl:wxRect_SetY",&_argc0,&_arg1))
1651 return NULL;
1652 if (_argc0) {
1653 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1655 return NULL;
1656 }
1657 }
1658 wxRect_SetY(_arg0,_arg1);
1659 Py_INCREF(Py_None);
1660 _resultobj = Py_None;
1661 return _resultobj;
1662}
1663
1664#define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1665static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args) {
1666 PyObject * _resultobj;
1667 long _result;
1668 wxRect * _arg0;
1669 char * _argc0 = 0;
1670
1671 self = self;
1672 if(!PyArg_ParseTuple(args,"s:wxRect_GetWidth",&_argc0))
1673 return NULL;
1674 if (_argc0) {
1675 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1677 return NULL;
1678 }
1679 }
1680 _result = (long )wxRect_GetWidth(_arg0);
1681 _resultobj = Py_BuildValue("l",_result);
1682 return _resultobj;
1683}
1684
1685#define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1686static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args) {
1687 PyObject * _resultobj;
1688 wxRect * _arg0;
1689 long _arg1;
1690 char * _argc0 = 0;
1691
1692 self = self;
1693 if(!PyArg_ParseTuple(args,"sl:wxRect_SetWidth",&_argc0,&_arg1))
1694 return NULL;
1695 if (_argc0) {
1696 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1698 return NULL;
1699 }
1700 }
1701 wxRect_SetWidth(_arg0,_arg1);
1702 Py_INCREF(Py_None);
1703 _resultobj = Py_None;
1704 return _resultobj;
1705}
1706
1707#define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1708static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args) {
1709 PyObject * _resultobj;
1710 long _result;
1711 wxRect * _arg0;
1712 char * _argc0 = 0;
1713
1714 self = self;
1715 if(!PyArg_ParseTuple(args,"s:wxRect_GetHeight",&_argc0))
1716 return NULL;
1717 if (_argc0) {
1718 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1720 return NULL;
1721 }
1722 }
1723 _result = (long )wxRect_GetHeight(_arg0);
1724 _resultobj = Py_BuildValue("l",_result);
1725 return _resultobj;
1726}
1727
1728#define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1729static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args) {
1730 PyObject * _resultobj;
1731 wxRect * _arg0;
1732 long _arg1;
1733 char * _argc0 = 0;
1734
1735 self = self;
1736 if(!PyArg_ParseTuple(args,"sl:wxRect_SetHeight",&_argc0,&_arg1))
1737 return NULL;
1738 if (_argc0) {
1739 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1741 return NULL;
1742 }
1743 }
1744 wxRect_SetHeight(_arg0,_arg1);
1745 Py_INCREF(Py_None);
1746 _resultobj = Py_None;
1747 return _resultobj;
1748}
1749
1750#define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1751static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args) {
1752 PyObject * _resultobj;
1753 wxPoint * _result;
1754 wxRect * _arg0;
1755 char * _argc0 = 0;
1756 char _ptemp[128];
1757
1758 self = self;
1759 if(!PyArg_ParseTuple(args,"s:wxRect_GetPosition",&_argc0))
1760 return NULL;
1761 if (_argc0) {
1762 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1764 return NULL;
1765 }
1766 }
1767 _result = new wxPoint (wxRect_GetPosition(_arg0));
1768 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1769 _resultobj = Py_BuildValue("s",_ptemp);
1770 return _resultobj;
1771}
1772
1773#define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1774static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args) {
1775 PyObject * _resultobj;
1776 wxSize * _result;
1777 wxRect * _arg0;
1778 char * _argc0 = 0;
1779 char _ptemp[128];
1780
1781 self = self;
1782 if(!PyArg_ParseTuple(args,"s:wxRect_GetSize",&_argc0))
1783 return NULL;
1784 if (_argc0) {
1785 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1787 return NULL;
1788 }
1789 }
1790 _result = new wxSize (wxRect_GetSize(_arg0));
1791 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1792 _resultobj = Py_BuildValue("s",_ptemp);
1793 return _resultobj;
1794}
1795
1796#define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1797static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args) {
1798 PyObject * _resultobj;
1799 long _result;
1800 wxRect * _arg0;
1801 char * _argc0 = 0;
1802
1803 self = self;
1804 if(!PyArg_ParseTuple(args,"s:wxRect_GetLeft",&_argc0))
1805 return NULL;
1806 if (_argc0) {
1807 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1809 return NULL;
1810 }
1811 }
1812 _result = (long )wxRect_GetLeft(_arg0);
1813 _resultobj = Py_BuildValue("l",_result);
1814 return _resultobj;
1815}
1816
1817#define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1818static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args) {
1819 PyObject * _resultobj;
1820 long _result;
1821 wxRect * _arg0;
1822 char * _argc0 = 0;
1823
1824 self = self;
1825 if(!PyArg_ParseTuple(args,"s:wxRect_GetTop",&_argc0))
1826 return NULL;
1827 if (_argc0) {
1828 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1830 return NULL;
1831 }
1832 }
1833 _result = (long )wxRect_GetTop(_arg0);
1834 _resultobj = Py_BuildValue("l",_result);
1835 return _resultobj;
1836}
1837
1838#define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1839static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args) {
1840 PyObject * _resultobj;
1841 long _result;
1842 wxRect * _arg0;
1843 char * _argc0 = 0;
1844
1845 self = self;
1846 if(!PyArg_ParseTuple(args,"s:wxRect_GetBottom",&_argc0))
1847 return NULL;
1848 if (_argc0) {
1849 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1851 return NULL;
1852 }
1853 }
1854 _result = (long )wxRect_GetBottom(_arg0);
1855 _resultobj = Py_BuildValue("l",_result);
1856 return _resultobj;
1857}
1858
1859#define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1860static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args) {
1861 PyObject * _resultobj;
1862 long _result;
1863 wxRect * _arg0;
1864 char * _argc0 = 0;
1865
1866 self = self;
1867 if(!PyArg_ParseTuple(args,"s:wxRect_GetRight",&_argc0))
1868 return NULL;
1869 if (_argc0) {
1870 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1872 return NULL;
1873 }
1874 }
1875 _result = (long )wxRect_GetRight(_arg0);
1876 _resultobj = Py_BuildValue("l",_result);
1877 return _resultobj;
1878}
1879
1880#define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1881static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args) {
1882 PyObject * _resultobj;
1883 long _result;
1884 wxRect * _arg0;
1885 long _arg1;
1886 char * _argc0 = 0;
1887
1888 self = self;
1889 if(!PyArg_ParseTuple(args,"sl:wxRect_x_set",&_argc0,&_arg1))
1890 return NULL;
1891 if (_argc0) {
1892 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1894 return NULL;
1895 }
1896 }
1897 _result = (long )wxRect_x_set(_arg0,_arg1);
1898 _resultobj = Py_BuildValue("l",_result);
1899 return _resultobj;
1900}
1901
1902#define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1903static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args) {
1904 PyObject * _resultobj;
1905 long _result;
1906 wxRect * _arg0;
1907 char * _argc0 = 0;
1908
1909 self = self;
1910 if(!PyArg_ParseTuple(args,"s:wxRect_x_get",&_argc0))
1911 return NULL;
1912 if (_argc0) {
1913 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1915 return NULL;
1916 }
1917 }
1918 _result = (long )wxRect_x_get(_arg0);
1919 _resultobj = Py_BuildValue("l",_result);
1920 return _resultobj;
1921}
1922
1923#define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1924static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args) {
1925 PyObject * _resultobj;
1926 long _result;
1927 wxRect * _arg0;
1928 long _arg1;
1929 char * _argc0 = 0;
1930
1931 self = self;
1932 if(!PyArg_ParseTuple(args,"sl:wxRect_y_set",&_argc0,&_arg1))
1933 return NULL;
1934 if (_argc0) {
1935 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1937 return NULL;
1938 }
1939 }
1940 _result = (long )wxRect_y_set(_arg0,_arg1);
1941 _resultobj = Py_BuildValue("l",_result);
1942 return _resultobj;
1943}
1944
1945#define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1946static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args) {
1947 PyObject * _resultobj;
1948 long _result;
1949 wxRect * _arg0;
1950 char * _argc0 = 0;
1951
1952 self = self;
1953 if(!PyArg_ParseTuple(args,"s:wxRect_y_get",&_argc0))
1954 return NULL;
1955 if (_argc0) {
1956 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1958 return NULL;
1959 }
1960 }
1961 _result = (long )wxRect_y_get(_arg0);
1962 _resultobj = Py_BuildValue("l",_result);
1963 return _resultobj;
1964}
1965
1966#define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1967static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args) {
1968 PyObject * _resultobj;
1969 long _result;
1970 wxRect * _arg0;
1971 long _arg1;
1972 char * _argc0 = 0;
1973
1974 self = self;
1975 if(!PyArg_ParseTuple(args,"sl:wxRect_width_set",&_argc0,&_arg1))
1976 return NULL;
1977 if (_argc0) {
1978 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1980 return NULL;
1981 }
1982 }
1983 _result = (long )wxRect_width_set(_arg0,_arg1);
1984 _resultobj = Py_BuildValue("l",_result);
1985 return _resultobj;
1986}
1987
1988#define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1989static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args) {
1990 PyObject * _resultobj;
1991 long _result;
1992 wxRect * _arg0;
1993 char * _argc0 = 0;
1994
1995 self = self;
1996 if(!PyArg_ParseTuple(args,"s:wxRect_width_get",&_argc0))
1997 return NULL;
1998 if (_argc0) {
1999 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2001 return NULL;
2002 }
2003 }
2004 _result = (long )wxRect_width_get(_arg0);
2005 _resultobj = Py_BuildValue("l",_result);
2006 return _resultobj;
2007}
2008
2009#define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2010static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args) {
2011 PyObject * _resultobj;
2012 long _result;
2013 wxRect * _arg0;
2014 long _arg1;
2015 char * _argc0 = 0;
2016
2017 self = self;
2018 if(!PyArg_ParseTuple(args,"sl:wxRect_height_set",&_argc0,&_arg1))
2019 return NULL;
2020 if (_argc0) {
2021 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
2022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2023 return NULL;
2024 }
2025 }
2026 _result = (long )wxRect_height_set(_arg0,_arg1);
2027 _resultobj = Py_BuildValue("l",_result);
2028 return _resultobj;
2029}
2030
2031#define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2032static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args) {
2033 PyObject * _resultobj;
2034 long _result;
2035 wxRect * _arg0;
2036 char * _argc0 = 0;
2037
2038 self = self;
2039 if(!PyArg_ParseTuple(args,"s:wxRect_height_get",&_argc0))
2040 return NULL;
2041 if (_argc0) {
2042 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
2043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2044 return NULL;
2045 }
2046 }
2047 _result = (long )wxRect_height_get(_arg0);
2048 _resultobj = Py_BuildValue("l",_result);
2049 return _resultobj;
2050}
2051
2052#define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2053static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args) {
2054 PyObject * _resultobj;
2055 wxPyTimer * _result;
2056 PyObject * _arg0;
2057 PyObject * _obj0 = 0;
2058 char _ptemp[128];
2059
2060 self = self;
2061 if(!PyArg_ParseTuple(args,"O:new_wxPyTimer",&_obj0))
2062 return NULL;
2063{
2064 _arg0 = _obj0;
2065}
2066 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
2067 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
2068 _resultobj = Py_BuildValue("s",_ptemp);
2069 return _resultobj;
2070}
2071
2072#define delete_wxPyTimer(_swigobj) (delete _swigobj)
2073static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args) {
2074 PyObject * _resultobj;
2075 wxPyTimer * _arg0;
2076 char * _argc0 = 0;
2077
2078 self = self;
2079 if(!PyArg_ParseTuple(args,"s:delete_wxPyTimer",&_argc0))
2080 return NULL;
2081 if (_argc0) {
2082 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2084 return NULL;
2085 }
2086 }
2087 delete_wxPyTimer(_arg0);
2088 Py_INCREF(Py_None);
2089 _resultobj = Py_None;
2090 return _resultobj;
2091}
2092
2093#define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2094static PyObject *_wrap_wxPyTimer_Interval(PyObject *self, PyObject *args) {
2095 PyObject * _resultobj;
2096 int _result;
2097 wxPyTimer * _arg0;
2098 char * _argc0 = 0;
2099
2100 self = self;
2101 if(!PyArg_ParseTuple(args,"s:wxPyTimer_Interval",&_argc0))
2102 return NULL;
2103 if (_argc0) {
2104 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2106 return NULL;
2107 }
2108 }
2109 _result = (int )wxPyTimer_Interval(_arg0);
2110 _resultobj = Py_BuildValue("i",_result);
2111 return _resultobj;
2112}
2113
2114#define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2115static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args) {
2116 PyObject * _resultobj;
2117 wxPyTimer * _arg0;
2118 int _arg1 = -1;
2119 int _arg2 = (0);
2120 char * _argc0 = 0;
2121
2122 self = self;
2123 if(!PyArg_ParseTuple(args,"s|ii:wxPyTimer_Start",&_argc0,&_arg1,&_arg2))
2124 return NULL;
2125 if (_argc0) {
2126 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2128 return NULL;
2129 }
2130 }
2131 wxPyTimer_Start(_arg0,_arg1,_arg2);
2132 Py_INCREF(Py_None);
2133 _resultobj = Py_None;
2134 return _resultobj;
2135}
2136
2137#define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2138static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args) {
2139 PyObject * _resultobj;
2140 wxPyTimer * _arg0;
2141 char * _argc0 = 0;
2142
2143 self = self;
2144 if(!PyArg_ParseTuple(args,"s:wxPyTimer_Stop",&_argc0))
2145 return NULL;
2146 if (_argc0) {
2147 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2149 return NULL;
2150 }
2151 }
2152 wxPyTimer_Stop(_arg0);
2153 Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155 return _resultobj;
2156}
2157
2158#define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2159static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args) {
2160 PyObject * _resultobj;
2161 wxIndividualLayoutConstraint * _arg0;
2162 wxWindow * _arg1;
2163 int _arg2 = 0;
2164 char * _argc0 = 0;
2165 char * _argc1 = 0;
2166
2167 self = self;
2168 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0,&_argc1,&_arg2))
2169 return NULL;
2170 if (_argc0) {
2171 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2173 return NULL;
2174 }
2175 }
2176 if (_argc1) {
2177 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2179 return NULL;
2180 }
2181 }
2182 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
2183 Py_INCREF(Py_None);
2184 _resultobj = Py_None;
2185 return _resultobj;
2186}
2187
2188#define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2189static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args) {
2190 PyObject * _resultobj;
2191 wxIndividualLayoutConstraint * _arg0;
2192 int _arg1;
2193 char * _argc0 = 0;
2194
2195 self = self;
2196 if(!PyArg_ParseTuple(args,"si:wxIndividualLayoutConstraint_Absolute",&_argc0,&_arg1))
2197 return NULL;
2198 if (_argc0) {
2199 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2201 return NULL;
2202 }
2203 }
2204 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
2205 Py_INCREF(Py_None);
2206 _resultobj = Py_None;
2207 return _resultobj;
2208}
2209
2210#define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2211static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args) {
2212 PyObject * _resultobj;
2213 wxIndividualLayoutConstraint * _arg0;
2214 char * _argc0 = 0;
2215
2216 self = self;
2217 if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_AsIs",&_argc0))
2218 return NULL;
2219 if (_argc0) {
2220 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2222 return NULL;
2223 }
2224 }
2225 wxIndividualLayoutConstraint_AsIs(_arg0);
2226 Py_INCREF(Py_None);
2227 _resultobj = Py_None;
2228 return _resultobj;
2229}
2230
2231#define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2232static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args) {
2233 PyObject * _resultobj;
2234 wxIndividualLayoutConstraint * _arg0;
2235 wxWindow * _arg1;
2236 int _arg2 = 0;
2237 char * _argc0 = 0;
2238 char * _argc1 = 0;
2239
2240 self = self;
2241 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0,&_argc1,&_arg2))
2242 return NULL;
2243 if (_argc0) {
2244 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2246 return NULL;
2247 }
2248 }
2249 if (_argc1) {
2250 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2252 return NULL;
2253 }
2254 }
2255 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
2256 Py_INCREF(Py_None);
2257 _resultobj = Py_None;
2258 return _resultobj;
2259}
2260
2261#define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2262static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args) {
2263 PyObject * _resultobj;
2264 wxIndividualLayoutConstraint * _arg0;
2265 char * _argc0 = 0;
2266
2267 self = self;
2268 if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0))
2269 return NULL;
2270 if (_argc0) {
2271 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2273 return NULL;
2274 }
2275 }
2276 wxIndividualLayoutConstraint_Unconstrained(_arg0);
2277 Py_INCREF(Py_None);
2278 _resultobj = Py_None;
2279 return _resultobj;
2280}
2281
2282#define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2283static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args) {
2284 PyObject * _resultobj;
2285 wxIndividualLayoutConstraint * _arg0;
2286 wxWindow * _arg1;
2287 int _arg2 = 0;
2288 char * _argc0 = 0;
2289 char * _argc1 = 0;
2290
2291 self = self;
2292 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0,&_argc1,&_arg2))
2293 return NULL;
2294 if (_argc0) {
2295 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2297 return NULL;
2298 }
2299 }
2300 if (_argc1) {
2301 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2303 return NULL;
2304 }
2305 }
2306 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
2307 Py_INCREF(Py_None);
2308 _resultobj = Py_None;
2309 return _resultobj;
2310}
2311
2312#define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2313static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args) {
2314 PyObject * _resultobj;
2315 wxIndividualLayoutConstraint * _arg0;
2316 wxWindow * _arg1;
2317 wxEdge _arg2;
2318 int _arg3;
2319 char * _argc0 = 0;
2320 char * _argc1 = 0;
2321
2322 self = self;
2323 if(!PyArg_ParseTuple(args,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0,&_argc1,&_arg2,&_arg3))
2324 return NULL;
2325 if (_argc0) {
2326 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2328 return NULL;
2329 }
2330 }
2331 if (_argc1) {
2332 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2333 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2334 return NULL;
2335 }
2336 }
2337 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
2338 Py_INCREF(Py_None);
2339 _resultobj = Py_None;
2340 return _resultobj;
2341}
2342
2343#define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2344static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args) {
2345 PyObject * _resultobj;
2346 wxIndividualLayoutConstraint * _arg0;
2347 wxWindow * _arg1;
2348 int _arg2 = 0;
2349 char * _argc0 = 0;
2350 char * _argc1 = 0;
2351
2352 self = self;
2353 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0,&_argc1,&_arg2))
2354 return NULL;
2355 if (_argc0) {
2356 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2358 return NULL;
2359 }
2360 }
2361 if (_argc1) {
2362 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2364 return NULL;
2365 }
2366 }
2367 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
2368 Py_INCREF(Py_None);
2369 _resultobj = Py_None;
2370 return _resultobj;
2371}
2372
2373#define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2374static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args) {
2375 PyObject * _resultobj;
2376 wxIndividualLayoutConstraint * _arg0;
2377 wxWindow * _arg1;
2378 wxEdge _arg2;
2379 int _arg3 = 0;
2380 char * _argc0 = 0;
2381 char * _argc1 = 0;
2382
2383 self = self;
2384 if(!PyArg_ParseTuple(args,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0,&_argc1,&_arg2,&_arg3))
2385 return NULL;
2386 if (_argc0) {
2387 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2389 return NULL;
2390 }
2391 }
2392 if (_argc1) {
2393 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2395 return NULL;
2396 }
2397 }
2398 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
2399 Py_INCREF(Py_None);
2400 _resultobj = Py_None;
2401 return _resultobj;
2402}
2403
2404#define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2405static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args) {
2406 PyObject * _resultobj;
2407 wxIndividualLayoutConstraint * _arg0;
2408 wxRelationship _arg1;
2409 wxWindow * _arg2;
2410 wxEdge _arg3;
2411 int _arg4 = 0;
2412 int _arg5 = 0;
2413 char * _argc0 = 0;
2414 char * _argc2 = 0;
2415
2416 self = self;
2417 if(!PyArg_ParseTuple(args,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5))
2418 return NULL;
2419 if (_argc0) {
2420 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2422 return NULL;
2423 }
2424 }
2425 if (_argc2) {
2426 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
2427 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2428 return NULL;
2429 }
2430 }
2431 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2432 Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 return _resultobj;
2435}
2436
2437#define new_wxLayoutConstraints() (new wxLayoutConstraints())
2438static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args) {
2439 PyObject * _resultobj;
2440 wxLayoutConstraints * _result;
2441 char _ptemp[128];
2442
2443 self = self;
2444 if(!PyArg_ParseTuple(args,":new_wxLayoutConstraints"))
2445 return NULL;
2446 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
2447 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2448 _resultobj = Py_BuildValue("s",_ptemp);
2449 return _resultobj;
2450}
2451
2452#define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2453static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args) {
2454 PyObject * _resultobj;
2455 wxIndividualLayoutConstraint * _result;
2456 wxLayoutConstraints * _arg0;
2457 char * _argc0 = 0;
2458 char _ptemp[128];
2459
2460 self = self;
2461 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_bottom_get",&_argc0))
2462 return NULL;
2463 if (_argc0) {
2464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2466 return NULL;
2467 }
2468 }
2469 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
2470 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2471 _resultobj = Py_BuildValue("s",_ptemp);
2472 return _resultobj;
2473}
2474
2475#define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2476static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args) {
2477 PyObject * _resultobj;
2478 wxIndividualLayoutConstraint * _result;
2479 wxLayoutConstraints * _arg0;
2480 char * _argc0 = 0;
2481 char _ptemp[128];
2482
2483 self = self;
2484 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreX_get",&_argc0))
2485 return NULL;
2486 if (_argc0) {
2487 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2489 return NULL;
2490 }
2491 }
2492 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
2493 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2494 _resultobj = Py_BuildValue("s",_ptemp);
2495 return _resultobj;
2496}
2497
2498#define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2499static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args) {
2500 PyObject * _resultobj;
2501 wxIndividualLayoutConstraint * _result;
2502 wxLayoutConstraints * _arg0;
2503 char * _argc0 = 0;
2504 char _ptemp[128];
2505
2506 self = self;
2507 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreY_get",&_argc0))
2508 return NULL;
2509 if (_argc0) {
2510 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2512 return NULL;
2513 }
2514 }
2515 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
2516 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2517 _resultobj = Py_BuildValue("s",_ptemp);
2518 return _resultobj;
2519}
2520
2521#define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2522static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args) {
2523 PyObject * _resultobj;
2524 wxIndividualLayoutConstraint * _result;
2525 wxLayoutConstraints * _arg0;
2526 char * _argc0 = 0;
2527 char _ptemp[128];
2528
2529 self = self;
2530 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_height_get",&_argc0))
2531 return NULL;
2532 if (_argc0) {
2533 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2535 return NULL;
2536 }
2537 }
2538 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
2539 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2540 _resultobj = Py_BuildValue("s",_ptemp);
2541 return _resultobj;
2542}
2543
2544#define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2545static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args) {
2546 PyObject * _resultobj;
2547 wxIndividualLayoutConstraint * _result;
2548 wxLayoutConstraints * _arg0;
2549 char * _argc0 = 0;
2550 char _ptemp[128];
2551
2552 self = self;
2553 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_left_get",&_argc0))
2554 return NULL;
2555 if (_argc0) {
2556 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2558 return NULL;
2559 }
2560 }
2561 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
2562 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2563 _resultobj = Py_BuildValue("s",_ptemp);
2564 return _resultobj;
2565}
2566
2567#define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2568static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args) {
2569 PyObject * _resultobj;
2570 wxIndividualLayoutConstraint * _result;
2571 wxLayoutConstraints * _arg0;
2572 char * _argc0 = 0;
2573 char _ptemp[128];
2574
2575 self = self;
2576 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_right_get",&_argc0))
2577 return NULL;
2578 if (_argc0) {
2579 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2581 return NULL;
2582 }
2583 }
2584 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
2585 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2586 _resultobj = Py_BuildValue("s",_ptemp);
2587 return _resultobj;
2588}
2589
2590#define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2591static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args) {
2592 PyObject * _resultobj;
2593 wxIndividualLayoutConstraint * _result;
2594 wxLayoutConstraints * _arg0;
2595 char * _argc0 = 0;
2596 char _ptemp[128];
2597
2598 self = self;
2599 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_top_get",&_argc0))
2600 return NULL;
2601 if (_argc0) {
2602 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2604 return NULL;
2605 }
2606 }
2607 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
2608 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2609 _resultobj = Py_BuildValue("s",_ptemp);
2610 return _resultobj;
2611}
2612
2613#define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2614static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args) {
2615 PyObject * _resultobj;
2616 wxIndividualLayoutConstraint * _result;
2617 wxLayoutConstraints * _arg0;
2618 char * _argc0 = 0;
2619 char _ptemp[128];
2620
2621 self = self;
2622 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_width_get",&_argc0))
2623 return NULL;
2624 if (_argc0) {
2625 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2627 return NULL;
2628 }
2629 }
2630 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
2631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2632 _resultobj = Py_BuildValue("s",_ptemp);
2633 return _resultobj;
2634}
2635
2636#define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
2637static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args) {
2638 PyObject * _resultobj;
2639 wxAcceleratorEntry * _result;
2640 int _arg0 = 0;
2641 int _arg1 = 0;
2642 int _arg2 = 0;
2643 char _ptemp[128];
2644
2645 self = self;
2646 if(!PyArg_ParseTuple(args,"|iii:new_wxAcceleratorEntry",&_arg0,&_arg1,&_arg2))
2647 return NULL;
2648 _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2);
2649 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
2650 _resultobj = Py_BuildValue("s",_ptemp);
2651 return _resultobj;
2652}
2653
2654#define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2655static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args) {
2656 PyObject * _resultobj;
2657 wxAcceleratorEntry * _arg0;
2658 int _arg1;
2659 int _arg2;
2660 int _arg3;
2661 char * _argc0 = 0;
2662
2663 self = self;
2664 if(!PyArg_ParseTuple(args,"siii:wxAcceleratorEntry_Set",&_argc0,&_arg1,&_arg2,&_arg3))
2665 return NULL;
2666 if (_argc0) {
2667 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
2668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
2669 return NULL;
2670 }
2671 }
2672 wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3);
2673 Py_INCREF(Py_None);
2674 _resultobj = Py_None;
2675 return _resultobj;
2676}
2677
2678#define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
2679static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args) {
2680 PyObject * _resultobj;
2681 int _result;
2682 wxAcceleratorEntry * _arg0;
2683 char * _argc0 = 0;
2684
2685 self = self;
2686 if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetFlags",&_argc0))
2687 return NULL;
2688 if (_argc0) {
2689 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
2690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
2691 return NULL;
2692 }
2693 }
2694 _result = (int )wxAcceleratorEntry_GetFlags(_arg0);
2695 _resultobj = Py_BuildValue("i",_result);
2696 return _resultobj;
2697}
2698
2699#define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2700static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args) {
2701 PyObject * _resultobj;
2702 int _result;
2703 wxAcceleratorEntry * _arg0;
2704 char * _argc0 = 0;
2705
2706 self = self;
2707 if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetKeyCode",&_argc0))
2708 return NULL;
2709 if (_argc0) {
2710 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
2711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
2712 return NULL;
2713 }
2714 }
2715 _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0);
2716 _resultobj = Py_BuildValue("i",_result);
2717 return _resultobj;
2718}
2719
2720#define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
2721static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args) {
2722 PyObject * _resultobj;
2723 int _result;
2724 wxAcceleratorEntry * _arg0;
2725 char * _argc0 = 0;
2726
2727 self = self;
2728 if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetCommand",&_argc0))
2729 return NULL;
2730 if (_argc0) {
2731 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
2732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
2733 return NULL;
2734 }
2735 }
2736 _result = (int )wxAcceleratorEntry_GetCommand(_arg0);
2737 _resultobj = Py_BuildValue("i",_result);
2738 return _resultobj;
2739}
2740
2741#define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
2742static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args) {
2743 PyObject * _resultobj;
2744 wxAcceleratorTable * _result;
2745 int _arg0;
2746 wxAcceleratorEntry * _arg1;
2747 PyObject * _obj1 = 0;
2748 char _ptemp[128];
2749
2750 self = self;
2751 if(!PyArg_ParseTuple(args,"O:new_wxAcceleratorTable",&_obj1))
2752 return NULL;
2753 if (_obj1)
2754{
2755 _arg1 = wxAcceleratorEntry_LIST_helper(_obj1);
2756 if (_arg1 == NULL) {
2757 return NULL;
2758 }
2759}
2760{
2761 _arg0 = PyList_Size(_obj1);
2762}
2763 _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1);
2764 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
2765 _resultobj = Py_BuildValue("s",_ptemp);
2766{
2767 delete [] _arg1;
2768}
2769 return _resultobj;
2770}
2771
2772static PyMethodDef misccMethods[] = {
2773 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable, 1 },
2774 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand, 1 },
2775 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode, 1 },
2776 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags, 1 },
2777 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set, 1 },
2778 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry, 1 },
2779 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get, 1 },
2780 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get, 1 },
2781 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get, 1 },
2782 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get, 1 },
2783 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get, 1 },
2784 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get, 1 },
2785 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get, 1 },
2786 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get, 1 },
2787 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints, 1 },
2788 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set, 1 },
2789 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs, 1 },
2790 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf, 1 },
2791 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf, 1 },
2792 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf, 1 },
2793 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained, 1 },
2794 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below, 1 },
2795 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs, 1 },
2796 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute, 1 },
2797 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above, 1 },
2798 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop, 1 },
2799 { "wxPyTimer_Start", _wrap_wxPyTimer_Start, 1 },
2800 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval, 1 },
2801 { "delete_wxPyTimer", _wrap_delete_wxPyTimer, 1 },
2802 { "new_wxPyTimer", _wrap_new_wxPyTimer, 1 },
2803 { "wxRect_height_get", _wrap_wxRect_height_get, 1 },
2804 { "wxRect_height_set", _wrap_wxRect_height_set, 1 },
2805 { "wxRect_width_get", _wrap_wxRect_width_get, 1 },
2806 { "wxRect_width_set", _wrap_wxRect_width_set, 1 },
2807 { "wxRect_y_get", _wrap_wxRect_y_get, 1 },
2808 { "wxRect_y_set", _wrap_wxRect_y_set, 1 },
2809 { "wxRect_x_get", _wrap_wxRect_x_get, 1 },
2810 { "wxRect_x_set", _wrap_wxRect_x_set, 1 },
2811 { "wxRect_GetRight", _wrap_wxRect_GetRight, 1 },
2812 { "wxRect_GetBottom", _wrap_wxRect_GetBottom, 1 },
2813 { "wxRect_GetTop", _wrap_wxRect_GetTop, 1 },
2814 { "wxRect_GetLeft", _wrap_wxRect_GetLeft, 1 },
2815 { "wxRect_GetSize", _wrap_wxRect_GetSize, 1 },
2816 { "wxRect_GetPosition", _wrap_wxRect_GetPosition, 1 },
2817 { "wxRect_SetHeight", _wrap_wxRect_SetHeight, 1 },
2818 { "wxRect_GetHeight", _wrap_wxRect_GetHeight, 1 },
2819 { "wxRect_SetWidth", _wrap_wxRect_SetWidth, 1 },
2820 { "wxRect_GetWidth", _wrap_wxRect_GetWidth, 1 },
2821 { "wxRect_SetY", _wrap_wxRect_SetY, 1 },
2822 { "wxRect_GetY", _wrap_wxRect_GetY, 1 },
2823 { "wxRect_SetX", _wrap_wxRect_SetX, 1 },
2824 { "wxRect_GetX", _wrap_wxRect_GetX, 1 },
2825 { "delete_wxRect", _wrap_delete_wxRect, 1 },
2826 { "new_wxRect", _wrap_new_wxRect, 1 },
2827 { "wxPoint___str__", _wrap_wxPoint___str__, 1 },
2828 { "wxPoint_Set", _wrap_wxPoint_Set, 1 },
2829 { "delete_wxPoint", _wrap_delete_wxPoint, 1 },
2830 { "new_wxPoint", _wrap_new_wxPoint, 1 },
2831 { "wxPoint_y_get", _wrap_wxPoint_y_get, 1 },
2832 { "wxPoint_y_set", _wrap_wxPoint_y_set, 1 },
2833 { "wxPoint_x_get", _wrap_wxPoint_x_get, 1 },
2834 { "wxPoint_x_set", _wrap_wxPoint_x_set, 1 },
2835 { "delete_wxRealPoint", _wrap_delete_wxRealPoint, 1 },
2836 { "new_wxRealPoint", _wrap_new_wxRealPoint, 1 },
2837 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get, 1 },
2838 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set, 1 },
2839 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, 1 },
2840 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, 1 },
2841 { "wxSize___str__", _wrap_wxSize___str__, 1 },
2842 { "wxSize_GetHeight", _wrap_wxSize_GetHeight, 1 },
2843 { "wxSize_GetWidth", _wrap_wxSize_GetWidth, 1 },
2844 { "wxSize_Set", _wrap_wxSize_Set, 1 },
2845 { "delete_wxSize", _wrap_delete_wxSize, 1 },
2846 { "new_wxSize", _wrap_new_wxSize, 1 },
2847 { "wxSize_height_get", _wrap_wxSize_height_get, 1 },
2848 { "wxSize_height_set", _wrap_wxSize_height_set, 1 },
2849 { "wxSize_width_get", _wrap_wxSize_width_get, 1 },
2850 { "wxSize_width_set", _wrap_wxSize_width_set, 1 },
2851 { "wxResourceParseString", _wrap_wxResourceParseString, 1 },
2852 { "wxResourceParseFile", _wrap_wxResourceParseFile, 1 },
2853 { "wxResourceParseData", _wrap_wxResourceParseData, 1 },
2854 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier, 1 },
2855 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar, 1 },
2856 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon, 1 },
2857 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap, 1 },
2858 { "wxResourceClear", _wrap_wxResourceClear, 1 },
2859 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, 1 },
2860 { "wxGetResource", _wrap_wxGetResource, 1 },
2861 { "wxGetOsVersion", _wrap_wxGetOsVersion, 1 },
2862 { "wxYield", _wrap_wxYield, 1 },
2863 { "wxStartTimer", _wrap_wxStartTimer, 1 },
2864 { "wxShell", _wrap_wxShell, 1 },
2865 { "wxNow", _wrap_wxNow, 1 },
2866 { "wxIsBusy", _wrap_wxIsBusy, 1 },
2867 { "wxGetMousePosition", _wrap_wxGetMousePosition, 1 },
2868 { "wxGetFreeMemory", _wrap_wxGetFreeMemory, 1 },
2869 { "wxGetElapsedTime", _wrap_wxGetElapsedTime, 1 },
2870 { "wxGetActiveWindow", _wrap_wxGetActiveWindow, 1 },
2871 { "wxFindWindowByName", _wrap_wxFindWindowByName, 1 },
2872 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 },
2873 { "wxExecute", _wrap_wxExecute, 1 },
2874 { "wxEndBusyCursor", _wrap_wxEndBusyCursor, 1 },
2875 { "wxDisplaySize", _wrap_wxDisplaySize, 1 },
2876 { "wxBell", _wrap_wxBell, 1 },
2877 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor, 1 },
2878 { "RegisterId", _wrap_RegisterId, 1 },
2879 { "NewId", _wrap_NewId, 1 },
2880 { "wxSetCursor", _wrap_wxSetCursor, 1 },
2881 { "wxDisplayDepth", _wrap_wxDisplayDepth, 1 },
2882 { "wxColourDisplay", _wrap_wxColourDisplay, 1 },
2883 { "wxMessageBox", _wrap_wxMessageBox, 1 },
2884 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex, 1 },
2885 { "wxGetSingleChoice", _wrap_wxGetSingleChoice, 1 },
2886 { "wxGetTextFromUser", _wrap_wxGetTextFromUser, 1 },
2887 { "wxFileSelector", _wrap_wxFileSelector, 1 },
2888 { NULL, NULL }
2889};
2890static PyObject *SWIG_globals;
2891#ifdef __cplusplus
2892extern "C"
2893#endif
2894SWIGEXPORT(void,initmiscc)() {
2895 PyObject *m, *d;
2896 SWIG_globals = SWIG_newvarlink();
2897 m = Py_InitModule("miscc", misccMethods);
2898 d = PyModule_GetDict(m);
2899 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
2900 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
2901 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
2902 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
2903 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
2904 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
2905 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
2906 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
2907 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
2908 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
2909 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
2910 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
2911 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
2912 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
2913 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
2914 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
2915 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
2916 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
2917 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
2918/*
2919 * These are the pointer type-equivalency mappings.
2920 * (Used by the SWIG pointer type-checker).
2921 */
2922 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2923 SWIG_RegisterMapping("_signed_long","_long",0);
2924 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2925 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2926 SWIG_RegisterMapping("_long","_unsigned_long",0);
2927 SWIG_RegisterMapping("_long","_signed_long",0);
2928 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2929 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2930 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2931 SWIG_RegisterMapping("_uint","_int",0);
2932 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2933 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2934 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2935 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2936 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2937 SWIG_RegisterMapping("_EBool","_signed_int",0);
2938 SWIG_RegisterMapping("_EBool","_int",0);
2939 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2940 SWIG_RegisterMapping("_unsigned_long","_long",0);
2941 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2942 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2943 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2944 SWIG_RegisterMapping("_signed_int","_EBool",0);
2945 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2946 SWIG_RegisterMapping("_signed_int","_int",0);
2947 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2948 SWIG_RegisterMapping("_WXTYPE","_short",0);
2949 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2950 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2951 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2952 SWIG_RegisterMapping("_unsigned_short","_short",0);
2953 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2954 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2955 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2956 SWIG_RegisterMapping("_signed_short","_short",0);
2957 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2958 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2959 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2960 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2961 SWIG_RegisterMapping("_unsigned_int","_int",0);
2962 SWIG_RegisterMapping("_short","_WXTYPE",0);
2963 SWIG_RegisterMapping("_short","_unsigned_short",0);
2964 SWIG_RegisterMapping("_short","_signed_short",0);
2965 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2966 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2967 SWIG_RegisterMapping("_wxWindowID","_int",0);
2968 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2969 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2970 SWIG_RegisterMapping("_int","_EBool",0);
2971 SWIG_RegisterMapping("_int","_uint",0);
2972 SWIG_RegisterMapping("_int","_wxWindowID",0);
2973 SWIG_RegisterMapping("_int","_unsigned_int",0);
2974 SWIG_RegisterMapping("_int","_signed_int",0);
2975 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2976 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2977 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2978}