]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/wx.cpp
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
[wxWidgets.git] / utils / wxPython / src / gtk / wx.cpp
1 /*
2 * FILE : gtk/wx.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 /***********************************************************************
25 * $Header$
26 * swig_lib/python/python.cfg
27 *
28 * This file contains coded needed to add variable linking to the
29 * Python interpreter. C variables are added as a new kind of Python
30 * datatype.
31 *
32 * Also contains supporting code for building python under Windows
33 * and things like that.
34 *
35 * $Log$
36 * Revision 1.5 1999/01/30 08:14:59 RD
37 * Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
38 *
39 * Various cleanup, tweaks, minor additions, etc. to maintain
40 * compatibility with the current wxWindows.
41 *
42 ************************************************************************/
43
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 #include "Python.h"
48 #ifdef __cplusplus
49 }
50 #endif
51
52 /* Definitions for Windows/Unix exporting */
53 #if defined(__WIN32__)
54 # if defined(_MSC_VER)
55 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
56 # else
57 # if defined(__BORLANDC__)
58 # define SWIGEXPORT(a,b) a _export b
59 # else
60 # define SWIGEXPORT(a,b) a b
61 # endif
62 # endif
63 #else
64 # define SWIGEXPORT(a,b) a b
65 #endif
66
67 #ifdef SWIG_GLOBAL
68 #ifdef __cplusplus
69 #define SWIGSTATIC extern "C"
70 #else
71 #define SWIGSTATIC
72 #endif
73 #endif
74
75 #ifndef SWIGSTATIC
76 #define SWIGSTATIC static
77 #endif
78
79 typedef struct {
80 char *name;
81 PyObject *(*get_attr)(void);
82 int (*set_attr)(PyObject *);
83 } swig_globalvar;
84
85 typedef struct swig_varlinkobject {
86 PyObject_HEAD
87 swig_globalvar **vars;
88 int nvars;
89 int maxvars;
90 } swig_varlinkobject;
91
92 /* ----------------------------------------------------------------------
93 swig_varlink_repr()
94
95 Function for python repr method
96 ---------------------------------------------------------------------- */
97
98 static PyObject *
99 swig_varlink_repr(swig_varlinkobject *v)
100 {
101 v = v;
102 return PyString_FromString("<Global variables>");
103 }
104
105 /* ---------------------------------------------------------------------
106 swig_varlink_print()
107
108 Print out all of the global variable names
109 --------------------------------------------------------------------- */
110
111 static int
112 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags)
113 {
114
115 int i = 0;
116 flags = flags;
117 fprintf(fp,"Global variables { ");
118 while (v->vars[i]) {
119 fprintf(fp,"%s", v->vars[i]->name);
120 i++;
121 if (v->vars[i]) fprintf(fp,", ");
122 }
123 fprintf(fp," }\n");
124 return 0;
125 }
126
127 /* --------------------------------------------------------------------
128 swig_varlink_getattr
129
130 This function gets the value of a variable and returns it as a
131 PyObject. In our case, we'll be looking at the datatype and
132 converting into a number or string
133 -------------------------------------------------------------------- */
134
135 static PyObject *
136 swig_varlink_getattr(swig_varlinkobject *v, char *n)
137 {
138 int i = 0;
139 char temp[128];
140
141 while (v->vars[i]) {
142 if (strcmp(v->vars[i]->name,n) == 0) {
143 return (*v->vars[i]->get_attr)();
144 }
145 i++;
146 }
147 sprintf(temp,"C global variable %s not found.", n);
148 PyErr_SetString(PyExc_NameError,temp);
149 return NULL;
150 }
151
152 /* -------------------------------------------------------------------
153 swig_varlink_setattr()
154
155 This function sets the value of a variable.
156 ------------------------------------------------------------------- */
157
158 static int
159 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p)
160 {
161 char temp[128];
162 int i = 0;
163 while (v->vars[i]) {
164 if (strcmp(v->vars[i]->name,n) == 0) {
165 return (*v->vars[i]->set_attr)(p);
166 }
167 i++;
168 }
169 sprintf(temp,"C global variable %s not found.", n);
170 PyErr_SetString(PyExc_NameError,temp);
171 return 1;
172 }
173
174 statichere PyTypeObject varlinktype = {
175 /* PyObject_HEAD_INIT(&PyType_Type) Note : This doesn't work on some machines */
176 PyObject_HEAD_INIT(0)
177 0,
178 "varlink", /* Type name */
179 sizeof(swig_varlinkobject), /* Basic size */
180 0, /* Itemsize */
181 0, /* Deallocator */
182 (printfunc) swig_varlink_print, /* Print */
183 (getattrfunc) swig_varlink_getattr, /* get attr */
184 (setattrfunc) swig_varlink_setattr, /* Set attr */
185 0, /* tp_compare */
186 (reprfunc) swig_varlink_repr, /* tp_repr */
187 0, /* tp_as_number */
188 0, /* tp_as_mapping*/
189 0, /* tp_hash */
190 };
191
192 /* Create a variable linking object for use later */
193
194 SWIGSTATIC PyObject *
195 SWIG_newvarlink(void)
196 {
197 swig_varlinkobject *result = 0;
198 result = PyMem_NEW(swig_varlinkobject,1);
199 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
200 result->ob_type = &varlinktype;
201 /* _Py_NewReference(result); Does not seem to be necessary */
202 result->nvars = 0;
203 result->maxvars = 64;
204 result->vars = (swig_globalvar **) malloc(64*sizeof(swig_globalvar *));
205 result->vars[0] = 0;
206 result->ob_refcnt = 0;
207 Py_XINCREF((PyObject *) result);
208 return ((PyObject*) result);
209 }
210
211 SWIGSTATIC void
212 SWIG_addvarlink(PyObject *p, char *name,
213 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p))
214 {
215 swig_varlinkobject *v;
216 v= (swig_varlinkobject *) p;
217
218 if (v->nvars >= v->maxvars -1) {
219 v->maxvars = 2*v->maxvars;
220 v->vars = (swig_globalvar **) realloc(v->vars,v->maxvars*sizeof(swig_globalvar *));
221 if (v->vars == NULL) {
222 fprintf(stderr,"SWIG : Fatal error in initializing Python module.\n");
223 exit(1);
224 }
225 }
226 v->vars[v->nvars] = (swig_globalvar *) malloc(sizeof(swig_globalvar));
227 v->vars[v->nvars]->name = (char *) malloc(strlen(name)+1);
228 strcpy(v->vars[v->nvars]->name,name);
229 v->vars[v->nvars]->get_attr = get_attr;
230 v->vars[v->nvars]->set_attr = set_attr;
231 v->nvars++;
232 v->vars[v->nvars] = 0;
233 }
234
235
236
237 /*****************************************************************************
238 * $Header$
239 *
240 * swigptr.swg
241 *
242 * This file contains supporting code for the SWIG run-time type checking
243 * mechanism. The following functions are available :
244 *
245 * SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *));
246 *
247 * Registers a new type-mapping with the type-checker. origtype is the
248 * original datatype and newtype is an equivalent type. cast is optional
249 * pointer to a function to cast pointer values between types (this
250 * is typically used to cast pointers from derived classes to base classes in C++)
251 *
252 * SWIG_MakePtr(char *buffer, void *ptr, char *typestring);
253 *
254 * Makes a pointer string from a pointer and typestring. The result is returned
255 * in buffer which is assumed to hold enough space for the result.
256 *
257 * char * SWIG_GetPtr(char *buffer, void **ptr, char *type)
258 *
259 * Gets a pointer value from a string. If there is a type-mismatch, returns
260 * a character string to the received type. On success, returns NULL.
261 *
262 *
263 * You can remap these functions by making a file called "swigptr.swg" in
264 * your the same directory as the interface file you are wrapping.
265 *
266 * These functions are normally declared static, but this file can be
267 * can be used in a multi-module environment by redefining the symbol
268 * SWIGSTATIC.
269 *****************************************************************************/
270
271 #include <stdlib.h>
272
273 #ifdef SWIG_GLOBAL
274 #ifdef __cplusplus
275 #define SWIGSTATIC extern "C"
276 #else
277 #define SWIGSTATIC
278 #endif
279 #endif
280
281 #ifndef SWIGSTATIC
282 #define SWIGSTATIC static
283 #endif
284
285
286 /* SWIG pointer structure */
287
288 typedef struct SwigPtrType {
289 char *name; /* Datatype name */
290 int len; /* Length (used for optimization) */
291 void *(*cast)(void *); /* Pointer casting function */
292 struct SwigPtrType *next; /* Linked list pointer */
293 } SwigPtrType;
294
295 /* Pointer cache structure */
296
297 typedef struct {
298 int stat; /* Status (valid) bit */
299 SwigPtrType *tp; /* Pointer to type structure */
300 char name[256]; /* Given datatype name */
301 char mapped[256]; /* Equivalent name */
302 } SwigCacheType;
303
304 /* Some variables */
305
306 static int SwigPtrMax = 64; /* Max entries that can be currently held */
307 /* This value may be adjusted dynamically */
308 static int SwigPtrN = 0; /* Current number of entries */
309 static int SwigPtrSort = 0; /* Status flag indicating sort */
310 static int SwigStart[256]; /* Starting positions of types */
311
312 /* Pointer table */
313 static SwigPtrType *SwigPtrTable = 0; /* Table containing pointer equivalences */
314
315 /* Cached values */
316
317 #define SWIG_CACHESIZE 8
318 #define SWIG_CACHEMASK 0x7
319 static SwigCacheType SwigCache[SWIG_CACHESIZE];
320 static int SwigCacheIndex = 0;
321 static int SwigLastCache = 0;
322
323 /* Sort comparison function */
324 static int swigsort(const void *data1, const void *data2) {
325 SwigPtrType *d1 = (SwigPtrType *) data1;
326 SwigPtrType *d2 = (SwigPtrType *) data2;
327 return strcmp(d1->name,d2->name);
328 }
329
330 /* Binary Search function */
331 static int swigcmp(const void *key, const void *data) {
332 char *k = (char *) key;
333 SwigPtrType *d = (SwigPtrType *) data;
334 return strncmp(k,d->name,d->len);
335 }
336
337 /* Register a new datatype with the type-checker */
338
339 SWIGSTATIC
340 void SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
341
342 int i;
343 SwigPtrType *t = 0,*t1;
344
345 /* Allocate the pointer table if necessary */
346
347 if (!SwigPtrTable) {
348 SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
349 SwigPtrN = 0;
350 }
351 /* Grow the table */
352 if (SwigPtrN >= SwigPtrMax) {
353 SwigPtrMax = 2*SwigPtrMax;
354 SwigPtrTable = (SwigPtrType *) realloc((char *) SwigPtrTable,SwigPtrMax*sizeof(SwigPtrType));
355 }
356 for (i = 0; i < SwigPtrN; i++)
357 if (strcmp(SwigPtrTable[i].name,origtype) == 0) {
358 t = &SwigPtrTable[i];
359 break;
360 }
361 if (!t) {
362 t = &SwigPtrTable[SwigPtrN];
363 t->name = origtype;
364 t->len = strlen(t->name);
365 t->cast = 0;
366 t->next = 0;
367 SwigPtrN++;
368 }
369
370 /* Check for existing entry */
371
372 while (t->next) {
373 if ((strcmp(t->name,newtype) == 0)) {
374 if (cast) t->cast = cast;
375 return;
376 }
377 t = t->next;
378 }
379
380 /* Now place entry (in sorted order) */
381
382 t1 = (SwigPtrType *) malloc(sizeof(SwigPtrType));
383 t1->name = newtype;
384 t1->len = strlen(t1->name);
385 t1->cast = cast;
386 t1->next = 0;
387 t->next = t1;
388 SwigPtrSort = 0;
389 }
390
391 /* Make a pointer value string */
392
393 SWIGSTATIC
394 void SWIG_MakePtr(char *_c, const void *_ptr, char *type) {
395 static char _hex[16] =
396 {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
397 'a', 'b', 'c', 'd', 'e', 'f'};
398 unsigned long _p, _s;
399 char _result[20], *_r; /* Note : a 64-bit hex number = 16 digits */
400 _r = _result;
401 _p = (unsigned long) _ptr;
402 if (_p > 0) {
403 while (_p > 0) {
404 _s = _p & 0xf;
405 *(_r++) = _hex[_s];
406 _p = _p >> 4;
407 }
408 *_r = '_';
409 while (_r >= _result)
410 *(_c++) = *(_r--);
411 } else {
412 strcpy (_c, "NULL");
413 }
414 if (_ptr)
415 strcpy (_c, type);
416 }
417
418 /* Define for backwards compatibility */
419
420 #define _swig_make_hex SWIG_MakePtr
421
422 /* Function for getting a pointer value */
423
424 SWIGSTATIC
425 char *SWIG_GetPtr(char *_c, void **ptr, char *_t)
426 {
427 unsigned long _p;
428 char temp_type[256];
429 char *name;
430 int i, len;
431 SwigPtrType *sp,*tp;
432 SwigCacheType *cache;
433 int start, end;
434 _p = 0;
435
436 /* Pointer values must start with leading underscore */
437 if (*_c == '_') {
438 _c++;
439 /* Extract hex value from pointer */
440 while (*_c) {
441 if ((*_c >= '0') && (*_c <= '9'))
442 _p = (_p << 4) + (*_c - '0');
443 else if ((*_c >= 'a') && (*_c <= 'f'))
444 _p = (_p << 4) + ((*_c - 'a') + 10);
445 else
446 break;
447 _c++;
448 }
449
450 if (_t) {
451 if (strcmp(_t,_c)) {
452 if (!SwigPtrSort) {
453 qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort);
454 for (i = 0; i < 256; i++) {
455 SwigStart[i] = SwigPtrN;
456 }
457 for (i = SwigPtrN-1; i >= 0; i--) {
458 SwigStart[(int) (SwigPtrTable[i].name[1])] = i;
459 }
460 for (i = 255; i >= 1; i--) {
461 if (SwigStart[i-1] > SwigStart[i])
462 SwigStart[i-1] = SwigStart[i];
463 }
464 SwigPtrSort = 1;
465 for (i = 0; i < SWIG_CACHESIZE; i++)
466 SwigCache[i].stat = 0;
467 }
468
469 /* First check cache for matches. Uses last cache value as starting point */
470 cache = &SwigCache[SwigLastCache];
471 for (i = 0; i < SWIG_CACHESIZE; i++) {
472 if (cache->stat) {
473 if (strcmp(_t,cache->name) == 0) {
474 if (strcmp(_c,cache->mapped) == 0) {
475 cache->stat++;
476 *ptr = (void *) _p;
477 if (cache->tp->cast) *ptr = (*(cache->tp->cast))(*ptr);
478 return (char *) 0;
479 }
480 }
481 }
482 SwigLastCache = (SwigLastCache+1) & SWIG_CACHEMASK;
483 if (!SwigLastCache) cache = SwigCache;
484 else cache++;
485 }
486 /* We have a type mismatch. Will have to look through our type
487 mapping table to figure out whether or not we can accept this datatype */
488
489 start = SwigStart[(int) _t[1]];
490 end = SwigStart[(int) _t[1]+1];
491 sp = &SwigPtrTable[start];
492 while (start < end) {
493 if (swigcmp(_t,sp) == 0) break;
494 sp++;
495 start++;
496 }
497 if (start >= end) sp = 0;
498 /* Try to find a match for this */
499 if (sp) {
500 while (swigcmp(_t,sp) == 0) {
501 name = sp->name;
502 len = sp->len;
503 tp = sp->next;
504 /* Try to find entry for our given datatype */
505 while(tp) {
506 if (tp->len >= 255) {
507 return _c;
508 }
509 strcpy(temp_type,tp->name);
510 strncat(temp_type,_t+len,255-tp->len);
511 if (strcmp(_c,temp_type) == 0) {
512
513 strcpy(SwigCache[SwigCacheIndex].mapped,_c);
514 strcpy(SwigCache[SwigCacheIndex].name,_t);
515 SwigCache[SwigCacheIndex].stat = 1;
516 SwigCache[SwigCacheIndex].tp = tp;
517 SwigCacheIndex = SwigCacheIndex & SWIG_CACHEMASK;
518
519 /* Get pointer value */
520 *ptr = (void *) _p;
521 if (tp->cast) *ptr = (*(tp->cast))(*ptr);
522 return (char *) 0;
523 }
524 tp = tp->next;
525 }
526 sp++;
527 /* Hmmm. Didn't find it this time */
528 }
529 }
530 /* Didn't find any sort of match for this data.
531 Get the pointer value and return the received type */
532 *ptr = (void *) _p;
533 return _c;
534 } else {
535 /* Found a match on the first try. Return pointer value */
536 *ptr = (void *) _p;
537 return (char *) 0;
538 }
539 } else {
540 /* No type specified. Good luck */
541 *ptr = (void *) _p;
542 return (char *) 0;
543 }
544 } else {
545 if (strcmp (_c, "NULL") == 0) {
546 *ptr = (void *) 0;
547 return (char *) 0;
548 }
549 *ptr = (void *) 0;
550 return _c;
551 }
552 }
553
554 /* Compatibility mode */
555
556 #define _swig_get_hex SWIG_GetPtr
557
558 #define SWIG_init initwxc
559
560 #define SWIG_name "wxc"
561
562 #include "helpers.h"
563
564 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
565 PyObject* o2;
566 PyObject* o3;
567 if (!target) {
568 target = o;
569 } else if (target == Py_None) {
570 Py_DECREF(Py_None);
571 target = o;
572 } else {
573 if (!PyList_Check(target)) {
574 o2 = target;
575 target = PyList_New(0);
576 PyList_Append(target, o2);
577 Py_XDECREF(o2);
578 }
579 PyList_Append(target,o);
580 Py_XDECREF(o);
581 }
582 return target;
583 }
584
585 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
586 PyObject* o2;
587 PyObject* o3;
588
589 if (!target) {
590 target = o;
591 } else if (target == Py_None) {
592 Py_DECREF(Py_None);
593 target = o;
594 } else {
595 if (!PyTuple_Check(target)) {
596 o2 = target;
597 target = PyTuple_New(1);
598 PyTuple_SetItem(target, 0, o2);
599 }
600 o3 = PyTuple_New(1);
601 PyTuple_SetItem(o3, 0, o);
602
603 o2 = target;
604 target = PySequence_Concat(o2, o3);
605 Py_DECREF(o2);
606 Py_DECREF(o3);
607 }
608 return target;
609 }
610
611
612 extern byte* byte_LIST_helper(PyObject* source);
613 extern int* int_LIST_helper(PyObject* source);
614 extern long* long_LIST_helper(PyObject* source);
615 extern char** string_LIST_helper(PyObject* source);
616 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
617 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
618 extern wxString* wxString_LIST_helper(PyObject* source);
619 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
620
621
622 static char* wxStringErrorMsg = "string type is required for parameter";
623
624 extern "C" SWIGEXPORT(void,initwindowsc)();
625 extern "C" SWIGEXPORT(void,initwindows2c)();
626 extern "C" SWIGEXPORT(void,initeventsc)();
627 extern "C" SWIGEXPORT(void,initmiscc)();
628 extern "C" SWIGEXPORT(void,initgdic)();
629 extern "C" SWIGEXPORT(void,initmdic)();
630 extern "C" SWIGEXPORT(void,initcontrolsc)();
631 extern "C" SWIGEXPORT(void,initcontrols2c)();
632 extern "C" SWIGEXPORT(void,initcmndlgsc)();
633 extern "C" SWIGEXPORT(void,initstattoolc)();
634 extern "C" SWIGEXPORT(void,initframesc)();
635 extern "C" SWIGEXPORT(void,initutilsc)();
636 extern "C" SWIGEXPORT(void,initwindows3c)();
637
638
639 static int _wrap_wxPyDefaultPosition_set(PyObject *val) {
640
641 PyErr_SetString(PyExc_TypeError,"Variable wxPyDefaultPosition is read-only.");
642 return 1;
643 }
644
645 static PyObject *_wrap_wxPyDefaultPosition_get() {
646 PyObject * pyobj;
647 char ptemp[128];
648
649 SWIG_MakePtr(ptemp,(char *) &wxPyDefaultPosition,"_wxPoint_p");
650 pyobj = PyString_FromString(ptemp);
651 return pyobj;
652 }
653
654 static int _wrap_wxPyDefaultSize_set(PyObject *val) {
655
656 PyErr_SetString(PyExc_TypeError,"Variable wxPyDefaultSize is read-only.");
657 return 1;
658 }
659
660 static PyObject *_wrap_wxPyDefaultSize_get() {
661 PyObject * pyobj;
662 char ptemp[128];
663
664 SWIG_MakePtr(ptemp,(char *) &wxPyDefaultSize,"_wxSize_p");
665 pyobj = PyString_FromString(ptemp);
666 return pyobj;
667 }
668
669 static void *SwigwxPyAppTowxEvtHandler(void *ptr) {
670 wxPyApp *src;
671 wxEvtHandler *dest;
672 src = (wxPyApp *) ptr;
673 dest = (wxEvtHandler *) src;
674 return (void *) dest;
675 }
676
677 static wxPyApp *new_wxPyApp() {
678 wxPythonApp = new wxPyApp();
679 return wxPythonApp;
680 }
681
682 static PyObject *_wrap_new_wxPyApp(PyObject *self, PyObject *args) {
683 PyObject * _resultobj;
684 wxPyApp * _result;
685 char _ptemp[128];
686
687 self = self;
688 if(!PyArg_ParseTuple(args,":new_wxPyApp"))
689 return NULL;
690 _result = (wxPyApp *)new_wxPyApp();
691 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyApp_p");
692 _resultobj = Py_BuildValue("s",_ptemp);
693 return _resultobj;
694 }
695
696 #define wxPyApp_GetAppName(_swigobj) (_swigobj->GetAppName())
697 static PyObject *_wrap_wxPyApp_GetAppName(PyObject *self, PyObject *args) {
698 PyObject * _resultobj;
699 wxString * _result;
700 wxPyApp * _arg0;
701 char * _argc0 = 0;
702
703 self = self;
704 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetAppName",&_argc0))
705 return NULL;
706 if (_argc0) {
707 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetAppName. Expected _wxPyApp_p.");
709 return NULL;
710 }
711 }
712 _result = new wxString (wxPyApp_GetAppName(_arg0));
713 {
714 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
715 }
716 {
717 delete _result;
718 }
719 return _resultobj;
720 }
721
722 #define wxPyApp_GetClassName(_swigobj) (_swigobj->GetClassName())
723 static PyObject *_wrap_wxPyApp_GetClassName(PyObject *self, PyObject *args) {
724 PyObject * _resultobj;
725 wxString * _result;
726 wxPyApp * _arg0;
727 char * _argc0 = 0;
728
729 self = self;
730 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetClassName",&_argc0))
731 return NULL;
732 if (_argc0) {
733 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetClassName. Expected _wxPyApp_p.");
735 return NULL;
736 }
737 }
738 _result = new wxString (wxPyApp_GetClassName(_arg0));
739 {
740 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
741 }
742 {
743 delete _result;
744 }
745 return _resultobj;
746 }
747
748 #define wxPyApp_GetExitOnFrameDelete(_swigobj) (_swigobj->GetExitOnFrameDelete())
749 static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args) {
750 PyObject * _resultobj;
751 bool _result;
752 wxPyApp * _arg0;
753 char * _argc0 = 0;
754
755 self = self;
756 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetExitOnFrameDelete",&_argc0))
757 return NULL;
758 if (_argc0) {
759 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetExitOnFrameDelete. Expected _wxPyApp_p.");
761 return NULL;
762 }
763 }
764 _result = (bool )wxPyApp_GetExitOnFrameDelete(_arg0);
765 _resultobj = Py_BuildValue("i",_result);
766 return _resultobj;
767 }
768
769 #define wxPyApp_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
770 static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *self, PyObject *args) {
771 PyObject * _resultobj;
772 int _result;
773 wxPyApp * _arg0;
774 char * _argc0 = 0;
775
776 self = self;
777 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetPrintMode",&_argc0))
778 return NULL;
779 if (_argc0) {
780 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetPrintMode. Expected _wxPyApp_p.");
782 return NULL;
783 }
784 }
785 _result = (int )wxPyApp_GetPrintMode(_arg0);
786 _resultobj = Py_BuildValue("i",_result);
787 return _resultobj;
788 }
789
790 #define wxPyApp_GetTopWindow(_swigobj) (_swigobj->GetTopWindow())
791 static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *self, PyObject *args) {
792 PyObject * _resultobj;
793 wxWindow * _result;
794 wxPyApp * _arg0;
795 char * _argc0 = 0;
796 char _ptemp[128];
797
798 self = self;
799 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetTopWindow",&_argc0))
800 return NULL;
801 if (_argc0) {
802 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetTopWindow. Expected _wxPyApp_p.");
804 return NULL;
805 }
806 }
807 _result = (wxWindow *)wxPyApp_GetTopWindow(_arg0);
808 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
809 _resultobj = Py_BuildValue("s",_ptemp);
810 return _resultobj;
811 }
812
813 #define wxPyApp_GetVendorName(_swigobj) (_swigobj->GetVendorName())
814 static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *self, PyObject *args) {
815 PyObject * _resultobj;
816 wxString * _result;
817 wxPyApp * _arg0;
818 char * _argc0 = 0;
819
820 self = self;
821 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetVendorName",&_argc0))
822 return NULL;
823 if (_argc0) {
824 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetVendorName. Expected _wxPyApp_p.");
826 return NULL;
827 }
828 }
829 _result = new wxString (wxPyApp_GetVendorName(_arg0));
830 {
831 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
832 }
833 {
834 delete _result;
835 }
836 return _resultobj;
837 }
838
839 #define wxPyApp_Dispatch(_swigobj) (_swigobj->Dispatch())
840 static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args) {
841 PyObject * _resultobj;
842 wxPyApp * _arg0;
843 char * _argc0 = 0;
844
845 self = self;
846 if(!PyArg_ParseTuple(args,"s:wxPyApp_Dispatch",&_argc0))
847 return NULL;
848 if (_argc0) {
849 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_Dispatch. Expected _wxPyApp_p.");
851 return NULL;
852 }
853 }
854 wxPyApp_Dispatch(_arg0);
855 Py_INCREF(Py_None);
856 _resultobj = Py_None;
857 return _resultobj;
858 }
859
860 #define wxPyApp_ExitMainLoop(_swigobj) (_swigobj->ExitMainLoop())
861 static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *self, PyObject *args) {
862 PyObject * _resultobj;
863 wxPyApp * _arg0;
864 char * _argc0 = 0;
865
866 self = self;
867 if(!PyArg_ParseTuple(args,"s:wxPyApp_ExitMainLoop",&_argc0))
868 return NULL;
869 if (_argc0) {
870 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_ExitMainLoop. Expected _wxPyApp_p.");
872 return NULL;
873 }
874 }
875 wxPyApp_ExitMainLoop(_arg0);
876 Py_INCREF(Py_None);
877 _resultobj = Py_None;
878 return _resultobj;
879 }
880
881 #define wxPyApp_Initialized(_swigobj) (_swigobj->Initialized())
882 static PyObject *_wrap_wxPyApp_Initialized(PyObject *self, PyObject *args) {
883 PyObject * _resultobj;
884 bool _result;
885 wxPyApp * _arg0;
886 char * _argc0 = 0;
887
888 self = self;
889 if(!PyArg_ParseTuple(args,"s:wxPyApp_Initialized",&_argc0))
890 return NULL;
891 if (_argc0) {
892 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_Initialized. Expected _wxPyApp_p.");
894 return NULL;
895 }
896 }
897 _result = (bool )wxPyApp_Initialized(_arg0);
898 _resultobj = Py_BuildValue("i",_result);
899 return _resultobj;
900 }
901
902 #define wxPyApp_MainLoop(_swigobj) (_swigobj->MainLoop())
903 static PyObject *_wrap_wxPyApp_MainLoop(PyObject *self, PyObject *args) {
904 PyObject * _resultobj;
905 int _result;
906 wxPyApp * _arg0;
907 char * _argc0 = 0;
908
909 self = self;
910 if(!PyArg_ParseTuple(args,"s:wxPyApp_MainLoop",&_argc0))
911 return NULL;
912 if (_argc0) {
913 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_MainLoop. Expected _wxPyApp_p.");
915 return NULL;
916 }
917 }
918 _result = (int )wxPyApp_MainLoop(_arg0);
919 _resultobj = Py_BuildValue("i",_result);
920 return _resultobj;
921 }
922
923 #define wxPyApp_Pending(_swigobj) (_swigobj->Pending())
924 static PyObject *_wrap_wxPyApp_Pending(PyObject *self, PyObject *args) {
925 PyObject * _resultobj;
926 bool _result;
927 wxPyApp * _arg0;
928 char * _argc0 = 0;
929
930 self = self;
931 if(!PyArg_ParseTuple(args,"s:wxPyApp_Pending",&_argc0))
932 return NULL;
933 if (_argc0) {
934 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_Pending. Expected _wxPyApp_p.");
936 return NULL;
937 }
938 }
939 _result = (bool )wxPyApp_Pending(_arg0);
940 _resultobj = Py_BuildValue("i",_result);
941 return _resultobj;
942 }
943
944 #define wxPyApp_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
945 static PyObject *_wrap_wxPyApp_SetAppName(PyObject *self, PyObject *args) {
946 PyObject * _resultobj;
947 wxPyApp * _arg0;
948 wxString * _arg1;
949 char * _argc0 = 0;
950 PyObject * _obj1 = 0;
951
952 self = self;
953 if(!PyArg_ParseTuple(args,"sO:wxPyApp_SetAppName",&_argc0,&_obj1))
954 return NULL;
955 if (_argc0) {
956 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetAppName. Expected _wxPyApp_p.");
958 return NULL;
959 }
960 }
961 {
962 if (!PyString_Check(_obj1)) {
963 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
964 return NULL;
965 }
966 _arg1 = new wxString(PyString_AsString(_obj1));
967 }
968 wxPyApp_SetAppName(_arg0,*_arg1);
969 Py_INCREF(Py_None);
970 _resultobj = Py_None;
971 {
972 if (_obj1)
973 delete _arg1;
974 }
975 return _resultobj;
976 }
977
978 #define wxPyApp_SetClassName(_swigobj,_swigarg0) (_swigobj->SetClassName(_swigarg0))
979 static PyObject *_wrap_wxPyApp_SetClassName(PyObject *self, PyObject *args) {
980 PyObject * _resultobj;
981 wxPyApp * _arg0;
982 wxString * _arg1;
983 char * _argc0 = 0;
984 PyObject * _obj1 = 0;
985
986 self = self;
987 if(!PyArg_ParseTuple(args,"sO:wxPyApp_SetClassName",&_argc0,&_obj1))
988 return NULL;
989 if (_argc0) {
990 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetClassName. Expected _wxPyApp_p.");
992 return NULL;
993 }
994 }
995 {
996 if (!PyString_Check(_obj1)) {
997 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
998 return NULL;
999 }
1000 _arg1 = new wxString(PyString_AsString(_obj1));
1001 }
1002 wxPyApp_SetClassName(_arg0,*_arg1);
1003 Py_INCREF(Py_None);
1004 _resultobj = Py_None;
1005 {
1006 if (_obj1)
1007 delete _arg1;
1008 }
1009 return _resultobj;
1010 }
1011
1012 #define wxPyApp_SetExitOnFrameDelete(_swigobj,_swigarg0) (_swigobj->SetExitOnFrameDelete(_swigarg0))
1013 static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args) {
1014 PyObject * _resultobj;
1015 wxPyApp * _arg0;
1016 bool _arg1;
1017 char * _argc0 = 0;
1018 int tempbool1;
1019
1020 self = self;
1021 if(!PyArg_ParseTuple(args,"si:wxPyApp_SetExitOnFrameDelete",&_argc0,&tempbool1))
1022 return NULL;
1023 if (_argc0) {
1024 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetExitOnFrameDelete. Expected _wxPyApp_p.");
1026 return NULL;
1027 }
1028 }
1029 _arg1 = (bool ) tempbool1;
1030 wxPyApp_SetExitOnFrameDelete(_arg0,_arg1);
1031 Py_INCREF(Py_None);
1032 _resultobj = Py_None;
1033 return _resultobj;
1034 }
1035
1036 #define wxPyApp_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1037 static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *self, PyObject *args) {
1038 PyObject * _resultobj;
1039 wxPyApp * _arg0;
1040 int _arg1;
1041 char * _argc0 = 0;
1042
1043 self = self;
1044 if(!PyArg_ParseTuple(args,"si:wxPyApp_SetPrintMode",&_argc0,&_arg1))
1045 return NULL;
1046 if (_argc0) {
1047 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetPrintMode. Expected _wxPyApp_p.");
1049 return NULL;
1050 }
1051 }
1052 wxPyApp_SetPrintMode(_arg0,_arg1);
1053 Py_INCREF(Py_None);
1054 _resultobj = Py_None;
1055 return _resultobj;
1056 }
1057
1058 #define wxPyApp_SetTopWindow(_swigobj,_swigarg0) (_swigobj->SetTopWindow(_swigarg0))
1059 static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *self, PyObject *args) {
1060 PyObject * _resultobj;
1061 wxPyApp * _arg0;
1062 wxWindow * _arg1;
1063 char * _argc0 = 0;
1064 char * _argc1 = 0;
1065
1066 self = self;
1067 if(!PyArg_ParseTuple(args,"ss:wxPyApp_SetTopWindow",&_argc0,&_argc1))
1068 return NULL;
1069 if (_argc0) {
1070 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetTopWindow. Expected _wxPyApp_p.");
1072 return NULL;
1073 }
1074 }
1075 if (_argc1) {
1076 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyApp_SetTopWindow. Expected _wxWindow_p.");
1078 return NULL;
1079 }
1080 }
1081 wxPyApp_SetTopWindow(_arg0,_arg1);
1082 Py_INCREF(Py_None);
1083 _resultobj = Py_None;
1084 return _resultobj;
1085 }
1086
1087 #define wxPyApp_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1088 static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *self, PyObject *args) {
1089 PyObject * _resultobj;
1090 wxPyApp * _arg0;
1091 wxString * _arg1;
1092 char * _argc0 = 0;
1093 PyObject * _obj1 = 0;
1094
1095 self = self;
1096 if(!PyArg_ParseTuple(args,"sO:wxPyApp_SetVendorName",&_argc0,&_obj1))
1097 return NULL;
1098 if (_argc0) {
1099 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetVendorName. Expected _wxPyApp_p.");
1101 return NULL;
1102 }
1103 }
1104 {
1105 if (!PyString_Check(_obj1)) {
1106 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1107 return NULL;
1108 }
1109 _arg1 = new wxString(PyString_AsString(_obj1));
1110 }
1111 wxPyApp_SetVendorName(_arg0,*_arg1);
1112 Py_INCREF(Py_None);
1113 _resultobj = Py_None;
1114 {
1115 if (_obj1)
1116 delete _arg1;
1117 }
1118 return _resultobj;
1119 }
1120
1121 #define wxPyApp_AfterMainLoop(_swigobj) (_swigobj->AfterMainLoop())
1122 static PyObject *_wrap_wxPyApp_AfterMainLoop(PyObject *self, PyObject *args) {
1123 PyObject * _resultobj;
1124 wxPyApp * _arg0;
1125 char * _argc0 = 0;
1126
1127 self = self;
1128 if(!PyArg_ParseTuple(args,"s:wxPyApp_AfterMainLoop",&_argc0))
1129 return NULL;
1130 if (_argc0) {
1131 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_AfterMainLoop. Expected _wxPyApp_p.");
1133 return NULL;
1134 }
1135 }
1136 wxPyApp_AfterMainLoop(_arg0);
1137 Py_INCREF(Py_None);
1138 _resultobj = Py_None;
1139 return _resultobj;
1140 }
1141
1142 static PyMethodDef wxcMethods[] = {
1143 { "wxPyApp_AfterMainLoop", _wrap_wxPyApp_AfterMainLoop, 1 },
1144 { "wxPyApp_SetVendorName", _wrap_wxPyApp_SetVendorName, 1 },
1145 { "wxPyApp_SetTopWindow", _wrap_wxPyApp_SetTopWindow, 1 },
1146 { "wxPyApp_SetPrintMode", _wrap_wxPyApp_SetPrintMode, 1 },
1147 { "wxPyApp_SetExitOnFrameDelete", _wrap_wxPyApp_SetExitOnFrameDelete, 1 },
1148 { "wxPyApp_SetClassName", _wrap_wxPyApp_SetClassName, 1 },
1149 { "wxPyApp_SetAppName", _wrap_wxPyApp_SetAppName, 1 },
1150 { "wxPyApp_Pending", _wrap_wxPyApp_Pending, 1 },
1151 { "wxPyApp_MainLoop", _wrap_wxPyApp_MainLoop, 1 },
1152 { "wxPyApp_Initialized", _wrap_wxPyApp_Initialized, 1 },
1153 { "wxPyApp_ExitMainLoop", _wrap_wxPyApp_ExitMainLoop, 1 },
1154 { "wxPyApp_Dispatch", _wrap_wxPyApp_Dispatch, 1 },
1155 { "wxPyApp_GetVendorName", _wrap_wxPyApp_GetVendorName, 1 },
1156 { "wxPyApp_GetTopWindow", _wrap_wxPyApp_GetTopWindow, 1 },
1157 { "wxPyApp_GetPrintMode", _wrap_wxPyApp_GetPrintMode, 1 },
1158 { "wxPyApp_GetExitOnFrameDelete", _wrap_wxPyApp_GetExitOnFrameDelete, 1 },
1159 { "wxPyApp_GetClassName", _wrap_wxPyApp_GetClassName, 1 },
1160 { "wxPyApp_GetAppName", _wrap_wxPyApp_GetAppName, 1 },
1161 { "new_wxPyApp", _wrap_new_wxPyApp, 1 },
1162 { "_wxSetDictionary", __wxSetDictionary, 1 },
1163 { "_wxStart", __wxStart, 1 },
1164 { NULL, NULL }
1165 };
1166 static PyObject *SWIG_globals;
1167 #ifdef __cplusplus
1168 extern "C"
1169 #endif
1170 SWIGEXPORT(void,initwxc)() {
1171 PyObject *m, *d;
1172 SWIG_globals = SWIG_newvarlink();
1173 m = Py_InitModule("wxc", wxcMethods);
1174 d = PyModule_GetDict(m);
1175 PyDict_SetItemString(d,"wxMAJOR_VERSION", PyInt_FromLong((long) wxMAJOR_VERSION));
1176 PyDict_SetItemString(d,"wxMINOR_VERSION", PyInt_FromLong((long) wxMINOR_VERSION));
1177 PyDict_SetItemString(d,"wxRELEASE_NUMBER", PyInt_FromLong((long) wxRELEASE_NUMBER));
1178 PyDict_SetItemString(d,"wxNOT_FOUND", PyInt_FromLong((long) wxNOT_FOUND));
1179 PyDict_SetItemString(d,"wxVSCROLL", PyInt_FromLong((long) wxVSCROLL));
1180 PyDict_SetItemString(d,"wxHSCROLL", PyInt_FromLong((long) wxHSCROLL));
1181 PyDict_SetItemString(d,"wxCAPTION", PyInt_FromLong((long) wxCAPTION));
1182 PyDict_SetItemString(d,"wxDOUBLE_BORDER", PyInt_FromLong((long) wxDOUBLE_BORDER));
1183 PyDict_SetItemString(d,"wxSUNKEN_BORDER", PyInt_FromLong((long) wxSUNKEN_BORDER));
1184 PyDict_SetItemString(d,"wxRAISED_BORDER", PyInt_FromLong((long) wxRAISED_BORDER));
1185 PyDict_SetItemString(d,"wxBORDER", PyInt_FromLong((long) wxBORDER));
1186 PyDict_SetItemString(d,"wxSIMPLE_BORDER", PyInt_FromLong((long) wxSIMPLE_BORDER));
1187 PyDict_SetItemString(d,"wxSTATIC_BORDER", PyInt_FromLong((long) wxSTATIC_BORDER));
1188 PyDict_SetItemString(d,"wxTRANSPARENT_WINDOW", PyInt_FromLong((long) wxTRANSPARENT_WINDOW));
1189 PyDict_SetItemString(d,"wxNO_BORDER", PyInt_FromLong((long) wxNO_BORDER));
1190 PyDict_SetItemString(d,"wxUSER_COLOURS", PyInt_FromLong((long) wxUSER_COLOURS));
1191 PyDict_SetItemString(d,"wxNO_3D", PyInt_FromLong((long) wxNO_3D));
1192 PyDict_SetItemString(d,"wxTAB_TRAVERSAL", PyInt_FromLong((long) wxTAB_TRAVERSAL));
1193 PyDict_SetItemString(d,"wxHORIZONTAL", PyInt_FromLong((long) wxHORIZONTAL));
1194 PyDict_SetItemString(d,"wxVERTICAL", PyInt_FromLong((long) wxVERTICAL));
1195 PyDict_SetItemString(d,"wxBOTH", PyInt_FromLong((long) wxBOTH));
1196 PyDict_SetItemString(d,"wxCENTER_FRAME", PyInt_FromLong((long) wxCENTER_FRAME));
1197 PyDict_SetItemString(d,"wxSTAY_ON_TOP", PyInt_FromLong((long) wxSTAY_ON_TOP));
1198 PyDict_SetItemString(d,"wxICONIZE", PyInt_FromLong((long) wxICONIZE));
1199 PyDict_SetItemString(d,"wxMINIMIZE", PyInt_FromLong((long) wxMINIMIZE));
1200 PyDict_SetItemString(d,"wxMAXIMIZE", PyInt_FromLong((long) wxMAXIMIZE));
1201 PyDict_SetItemString(d,"wxTHICK_FRAME", PyInt_FromLong((long) wxTHICK_FRAME));
1202 PyDict_SetItemString(d,"wxSYSTEM_MENU", PyInt_FromLong((long) wxSYSTEM_MENU));
1203 PyDict_SetItemString(d,"wxMINIMIZE_BOX", PyInt_FromLong((long) wxMINIMIZE_BOX));
1204 PyDict_SetItemString(d,"wxMAXIMIZE_BOX", PyInt_FromLong((long) wxMAXIMIZE_BOX));
1205 PyDict_SetItemString(d,"wxTINY_CAPTION_HORIZ", PyInt_FromLong((long) wxTINY_CAPTION_HORIZ));
1206 PyDict_SetItemString(d,"wxTINY_CAPTION_VERT", PyInt_FromLong((long) wxTINY_CAPTION_VERT));
1207 PyDict_SetItemString(d,"wxRESIZE_BOX", PyInt_FromLong((long) wxRESIZE_BOX));
1208 PyDict_SetItemString(d,"wxRESIZE_BORDER", PyInt_FromLong((long) wxRESIZE_BORDER));
1209 PyDict_SetItemString(d,"wxDIALOG_MODAL", PyInt_FromLong((long) wxDIALOG_MODAL));
1210 PyDict_SetItemString(d,"wxDIALOG_MODELESS", PyInt_FromLong((long) wxDIALOG_MODELESS));
1211 PyDict_SetItemString(d,"wxDEFAULT_FRAME_STYLE", PyInt_FromLong((long) wxDEFAULT_FRAME_STYLE));
1212 PyDict_SetItemString(d,"wxDEFAULT_DIALOG_STYLE", PyInt_FromLong((long) wxDEFAULT_DIALOG_STYLE));
1213 PyDict_SetItemString(d,"wxFRAME_TOOL_WINDOW", PyInt_FromLong((long) wxFRAME_TOOL_WINDOW));
1214 PyDict_SetItemString(d,"wxCLIP_CHILDREN", PyInt_FromLong((long) wxCLIP_CHILDREN));
1215 PyDict_SetItemString(d,"wxRETAINED", PyInt_FromLong((long) wxRETAINED));
1216 PyDict_SetItemString(d,"wxBACKINGSTORE", PyInt_FromLong((long) wxBACKINGSTORE));
1217 PyDict_SetItemString(d,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS));
1218 PyDict_SetItemString(d,"wxTB_HORIZONTAL", PyInt_FromLong((long) wxTB_HORIZONTAL));
1219 PyDict_SetItemString(d,"wxTB_VERTICAL", PyInt_FromLong((long) wxTB_VERTICAL));
1220 PyDict_SetItemString(d,"wxTB_FLAT", PyInt_FromLong((long) wxTB_FLAT));
1221 PyDict_SetItemString(d,"wxCOLOURED", PyInt_FromLong((long) wxCOLOURED));
1222 PyDict_SetItemString(d,"wxFIXED_LENGTH", PyInt_FromLong((long) wxFIXED_LENGTH));
1223 PyDict_SetItemString(d,"wxALIGN_LEFT", PyInt_FromLong((long) wxALIGN_LEFT));
1224 PyDict_SetItemString(d,"wxALIGN_CENTER", PyInt_FromLong((long) wxALIGN_CENTER));
1225 PyDict_SetItemString(d,"wxALIGN_CENTRE", PyInt_FromLong((long) wxALIGN_CENTRE));
1226 PyDict_SetItemString(d,"wxALIGN_RIGHT", PyInt_FromLong((long) wxALIGN_RIGHT));
1227 PyDict_SetItemString(d,"wxLB_NEEDED_SB", PyInt_FromLong((long) wxLB_NEEDED_SB));
1228 PyDict_SetItemString(d,"wxLB_ALWAYS_SB", PyInt_FromLong((long) wxLB_ALWAYS_SB));
1229 PyDict_SetItemString(d,"wxLB_SORT", PyInt_FromLong((long) wxLB_SORT));
1230 PyDict_SetItemString(d,"wxLB_SINGLE", PyInt_FromLong((long) wxLB_SINGLE));
1231 PyDict_SetItemString(d,"wxLB_MULTIPLE", PyInt_FromLong((long) wxLB_MULTIPLE));
1232 PyDict_SetItemString(d,"wxLB_EXTENDED", PyInt_FromLong((long) wxLB_EXTENDED));
1233 PyDict_SetItemString(d,"wxLB_OWNERDRAW", PyInt_FromLong((long) wxLB_OWNERDRAW));
1234 PyDict_SetItemString(d,"wxLB_HSCROLL", PyInt_FromLong((long) wxLB_HSCROLL));
1235 PyDict_SetItemString(d,"wxPROCESS_ENTER", PyInt_FromLong((long) wxPROCESS_ENTER));
1236 PyDict_SetItemString(d,"wxPASSWORD", PyInt_FromLong((long) wxPASSWORD));
1237 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
1238 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
1239 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
1240 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
1241 PyDict_SetItemString(d,"wxCB_SIMPLE", PyInt_FromLong((long) wxCB_SIMPLE));
1242 PyDict_SetItemString(d,"wxCB_DROPDOWN", PyInt_FromLong((long) wxCB_DROPDOWN));
1243 PyDict_SetItemString(d,"wxCB_SORT", PyInt_FromLong((long) wxCB_SORT));
1244 PyDict_SetItemString(d,"wxCB_READONLY", PyInt_FromLong((long) wxCB_READONLY));
1245 PyDict_SetItemString(d,"wxRA_HORIZONTAL", PyInt_FromLong((long) wxRA_HORIZONTAL));
1246 PyDict_SetItemString(d,"wxRA_VERTICAL", PyInt_FromLong((long) wxRA_VERTICAL));
1247 PyDict_SetItemString(d,"wxRB_GROUP", PyInt_FromLong((long) wxRB_GROUP));
1248 PyDict_SetItemString(d,"wxGA_PROGRESSBAR", PyInt_FromLong((long) wxGA_PROGRESSBAR));
1249 PyDict_SetItemString(d,"wxGA_HORIZONTAL", PyInt_FromLong((long) wxGA_HORIZONTAL));
1250 PyDict_SetItemString(d,"wxGA_VERTICAL", PyInt_FromLong((long) wxGA_VERTICAL));
1251 PyDict_SetItemString(d,"wxSL_HORIZONTAL", PyInt_FromLong((long) wxSL_HORIZONTAL));
1252 PyDict_SetItemString(d,"wxSL_VERTICAL", PyInt_FromLong((long) wxSL_VERTICAL));
1253 PyDict_SetItemString(d,"wxSL_AUTOTICKS", PyInt_FromLong((long) wxSL_AUTOTICKS));
1254 PyDict_SetItemString(d,"wxSL_LABELS", PyInt_FromLong((long) wxSL_LABELS));
1255 PyDict_SetItemString(d,"wxSL_LEFT", PyInt_FromLong((long) wxSL_LEFT));
1256 PyDict_SetItemString(d,"wxSL_TOP", PyInt_FromLong((long) wxSL_TOP));
1257 PyDict_SetItemString(d,"wxSL_RIGHT", PyInt_FromLong((long) wxSL_RIGHT));
1258 PyDict_SetItemString(d,"wxSL_BOTTOM", PyInt_FromLong((long) wxSL_BOTTOM));
1259 PyDict_SetItemString(d,"wxSL_BOTH", PyInt_FromLong((long) wxSL_BOTH));
1260 PyDict_SetItemString(d,"wxSL_SELRANGE", PyInt_FromLong((long) wxSL_SELRANGE));
1261 PyDict_SetItemString(d,"wxSB_HORIZONTAL", PyInt_FromLong((long) wxSB_HORIZONTAL));
1262 PyDict_SetItemString(d,"wxSB_VERTICAL", PyInt_FromLong((long) wxSB_VERTICAL));
1263 PyDict_SetItemString(d,"wxBU_AUTODRAW", PyInt_FromLong((long) wxBU_AUTODRAW));
1264 PyDict_SetItemString(d,"wxBU_NOAUTODRAW", PyInt_FromLong((long) wxBU_NOAUTODRAW));
1265 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
1266 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
1267 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
1268 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
1269 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
1270 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
1271 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
1272 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
1273 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
1274 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
1275 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
1276 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
1277 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
1278 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
1279 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
1280 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
1281 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
1282 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
1283 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
1284 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
1285 PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
1286 PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL));
1287 PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS));
1288 PyDict_SetItemString(d,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP));
1289 PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER));
1290 PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D));
1291 PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER));
1292 PyDict_SetItemString(d,"wxTAB_MULTILINE", PyInt_FromLong((long) wxTAB_MULTILINE));
1293 PyDict_SetItemString(d,"wxTAB_RIGHTJUSTIFY", PyInt_FromLong((long) wxTAB_RIGHTJUSTIFY));
1294 PyDict_SetItemString(d,"wxTAB_FIXEDWIDTH", PyInt_FromLong((long) wxTAB_FIXEDWIDTH));
1295 PyDict_SetItemString(d,"wxTAB_OWNERDRAW", PyInt_FromLong((long) wxTAB_OWNERDRAW));
1296 PyDict_SetItemString(d,"wxFLOOD_SURFACE", PyInt_FromLong((long) wxFLOOD_SURFACE));
1297 PyDict_SetItemString(d,"wxFLOOD_BORDER", PyInt_FromLong((long) wxFLOOD_BORDER));
1298 PyDict_SetItemString(d,"wxODDEVEN_RULE", PyInt_FromLong((long) wxODDEVEN_RULE));
1299 PyDict_SetItemString(d,"wxWINDING_RULE", PyInt_FromLong((long) wxWINDING_RULE));
1300 PyDict_SetItemString(d,"wxTOOL_TOP", PyInt_FromLong((long) wxTOOL_TOP));
1301 PyDict_SetItemString(d,"wxTOOL_BOTTOM", PyInt_FromLong((long) wxTOOL_BOTTOM));
1302 PyDict_SetItemString(d,"wxTOOL_LEFT", PyInt_FromLong((long) wxTOOL_LEFT));
1303 PyDict_SetItemString(d,"wxTOOL_RIGHT", PyInt_FromLong((long) wxTOOL_RIGHT));
1304 PyDict_SetItemString(d,"wxOK", PyInt_FromLong((long) wxOK));
1305 PyDict_SetItemString(d,"wxYES_NO", PyInt_FromLong((long) wxYES_NO));
1306 PyDict_SetItemString(d,"wxCANCEL", PyInt_FromLong((long) wxCANCEL));
1307 PyDict_SetItemString(d,"wxYES", PyInt_FromLong((long) wxYES));
1308 PyDict_SetItemString(d,"wxNO", PyInt_FromLong((long) wxNO));
1309 PyDict_SetItemString(d,"wxICON_EXCLAMATION", PyInt_FromLong((long) wxICON_EXCLAMATION));
1310 PyDict_SetItemString(d,"wxICON_HAND", PyInt_FromLong((long) wxICON_HAND));
1311 PyDict_SetItemString(d,"wxICON_QUESTION", PyInt_FromLong((long) wxICON_QUESTION));
1312 PyDict_SetItemString(d,"wxICON_INFORMATION", PyInt_FromLong((long) wxICON_INFORMATION));
1313 PyDict_SetItemString(d,"wxICON_STOP", PyInt_FromLong((long) wxICON_STOP));
1314 PyDict_SetItemString(d,"wxICON_ASTERISK", PyInt_FromLong((long) wxICON_ASTERISK));
1315 PyDict_SetItemString(d,"wxICON_MASK", PyInt_FromLong((long) wxICON_MASK));
1316 PyDict_SetItemString(d,"wxCENTRE", PyInt_FromLong((long) wxCENTRE));
1317 PyDict_SetItemString(d,"wxCENTER", PyInt_FromLong((long) wxCENTER));
1318 PyDict_SetItemString(d,"wxSIZE_AUTO_WIDTH", PyInt_FromLong((long) wxSIZE_AUTO_WIDTH));
1319 PyDict_SetItemString(d,"wxSIZE_AUTO_HEIGHT", PyInt_FromLong((long) wxSIZE_AUTO_HEIGHT));
1320 PyDict_SetItemString(d,"wxSIZE_AUTO", PyInt_FromLong((long) wxSIZE_AUTO));
1321 PyDict_SetItemString(d,"wxSIZE_USE_EXISTING", PyInt_FromLong((long) wxSIZE_USE_EXISTING));
1322 PyDict_SetItemString(d,"wxSIZE_ALLOW_MINUS_ONE", PyInt_FromLong((long) wxSIZE_ALLOW_MINUS_ONE));
1323 PyDict_SetItemString(d,"wxPORTRAIT", PyInt_FromLong((long) wxPORTRAIT));
1324 PyDict_SetItemString(d,"wxLANDSCAPE", PyInt_FromLong((long) wxLANDSCAPE));
1325 PyDict_SetItemString(d,"wxID_OPEN", PyInt_FromLong((long) wxID_OPEN));
1326 PyDict_SetItemString(d,"wxID_CLOSE", PyInt_FromLong((long) wxID_CLOSE));
1327 PyDict_SetItemString(d,"wxID_NEW", PyInt_FromLong((long) wxID_NEW));
1328 PyDict_SetItemString(d,"wxID_SAVE", PyInt_FromLong((long) wxID_SAVE));
1329 PyDict_SetItemString(d,"wxID_SAVEAS", PyInt_FromLong((long) wxID_SAVEAS));
1330 PyDict_SetItemString(d,"wxID_REVERT", PyInt_FromLong((long) wxID_REVERT));
1331 PyDict_SetItemString(d,"wxID_EXIT", PyInt_FromLong((long) wxID_EXIT));
1332 PyDict_SetItemString(d,"wxID_UNDO", PyInt_FromLong((long) wxID_UNDO));
1333 PyDict_SetItemString(d,"wxID_REDO", PyInt_FromLong((long) wxID_REDO));
1334 PyDict_SetItemString(d,"wxID_HELP", PyInt_FromLong((long) wxID_HELP));
1335 PyDict_SetItemString(d,"wxID_PRINT", PyInt_FromLong((long) wxID_PRINT));
1336 PyDict_SetItemString(d,"wxID_PRINT_SETUP", PyInt_FromLong((long) wxID_PRINT_SETUP));
1337 PyDict_SetItemString(d,"wxID_PREVIEW", PyInt_FromLong((long) wxID_PREVIEW));
1338 PyDict_SetItemString(d,"wxID_ABOUT", PyInt_FromLong((long) wxID_ABOUT));
1339 PyDict_SetItemString(d,"wxID_HELP_CONTENTS", PyInt_FromLong((long) wxID_HELP_CONTENTS));
1340 PyDict_SetItemString(d,"wxID_HELP_COMMANDS", PyInt_FromLong((long) wxID_HELP_COMMANDS));
1341 PyDict_SetItemString(d,"wxID_HELP_PROCEDURES", PyInt_FromLong((long) wxID_HELP_PROCEDURES));
1342 PyDict_SetItemString(d,"wxID_HELP_CONTEXT", PyInt_FromLong((long) wxID_HELP_CONTEXT));
1343 PyDict_SetItemString(d,"wxID_CUT", PyInt_FromLong((long) wxID_CUT));
1344 PyDict_SetItemString(d,"wxID_COPY", PyInt_FromLong((long) wxID_COPY));
1345 PyDict_SetItemString(d,"wxID_PASTE", PyInt_FromLong((long) wxID_PASTE));
1346 PyDict_SetItemString(d,"wxID_CLEAR", PyInt_FromLong((long) wxID_CLEAR));
1347 PyDict_SetItemString(d,"wxID_FIND", PyInt_FromLong((long) wxID_FIND));
1348 PyDict_SetItemString(d,"wxID_FILE1", PyInt_FromLong((long) wxID_FILE1));
1349 PyDict_SetItemString(d,"wxID_FILE2", PyInt_FromLong((long) wxID_FILE2));
1350 PyDict_SetItemString(d,"wxID_FILE3", PyInt_FromLong((long) wxID_FILE3));
1351 PyDict_SetItemString(d,"wxID_FILE4", PyInt_FromLong((long) wxID_FILE4));
1352 PyDict_SetItemString(d,"wxID_FILE5", PyInt_FromLong((long) wxID_FILE5));
1353 PyDict_SetItemString(d,"wxID_FILE6", PyInt_FromLong((long) wxID_FILE6));
1354 PyDict_SetItemString(d,"wxID_FILE7", PyInt_FromLong((long) wxID_FILE7));
1355 PyDict_SetItemString(d,"wxID_FILE8", PyInt_FromLong((long) wxID_FILE8));
1356 PyDict_SetItemString(d,"wxID_FILE9", PyInt_FromLong((long) wxID_FILE9));
1357 PyDict_SetItemString(d,"wxID_OK", PyInt_FromLong((long) wxID_OK));
1358 PyDict_SetItemString(d,"wxID_CANCEL", PyInt_FromLong((long) wxID_CANCEL));
1359 PyDict_SetItemString(d,"wxID_APPLY", PyInt_FromLong((long) wxID_APPLY));
1360 PyDict_SetItemString(d,"wxID_YES", PyInt_FromLong((long) wxID_YES));
1361 PyDict_SetItemString(d,"wxID_NO", PyInt_FromLong((long) wxID_NO));
1362 PyDict_SetItemString(d,"wxBITMAP_TYPE_BMP", PyInt_FromLong((long) wxBITMAP_TYPE_BMP));
1363 PyDict_SetItemString(d,"wxBITMAP_TYPE_BMP_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_BMP_RESOURCE));
1364 PyDict_SetItemString(d,"wxBITMAP_TYPE_ICO", PyInt_FromLong((long) wxBITMAP_TYPE_ICO));
1365 PyDict_SetItemString(d,"wxBITMAP_TYPE_ICO_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_ICO_RESOURCE));
1366 PyDict_SetItemString(d,"wxBITMAP_TYPE_CUR", PyInt_FromLong((long) wxBITMAP_TYPE_CUR));
1367 PyDict_SetItemString(d,"wxBITMAP_TYPE_CUR_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_CUR_RESOURCE));
1368 PyDict_SetItemString(d,"wxBITMAP_TYPE_XBM", PyInt_FromLong((long) wxBITMAP_TYPE_XBM));
1369 PyDict_SetItemString(d,"wxBITMAP_TYPE_XBM_DATA", PyInt_FromLong((long) wxBITMAP_TYPE_XBM_DATA));
1370 PyDict_SetItemString(d,"wxBITMAP_TYPE_XPM", PyInt_FromLong((long) wxBITMAP_TYPE_XPM));
1371 PyDict_SetItemString(d,"wxBITMAP_TYPE_XPM_DATA", PyInt_FromLong((long) wxBITMAP_TYPE_XPM_DATA));
1372 PyDict_SetItemString(d,"wxBITMAP_TYPE_TIF", PyInt_FromLong((long) wxBITMAP_TYPE_TIF));
1373 PyDict_SetItemString(d,"wxBITMAP_TYPE_TIF_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_TIF_RESOURCE));
1374 PyDict_SetItemString(d,"wxBITMAP_TYPE_GIF", PyInt_FromLong((long) wxBITMAP_TYPE_GIF));
1375 PyDict_SetItemString(d,"wxBITMAP_TYPE_GIF_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_GIF_RESOURCE));
1376 PyDict_SetItemString(d,"wxBITMAP_TYPE_PNG", PyInt_FromLong((long) wxBITMAP_TYPE_PNG));
1377 PyDict_SetItemString(d,"wxBITMAP_TYPE_PNG_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_PNG_RESOURCE));
1378 PyDict_SetItemString(d,"wxBITMAP_TYPE_ANY", PyInt_FromLong((long) wxBITMAP_TYPE_ANY));
1379 PyDict_SetItemString(d,"wxBITMAP_TYPE_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_RESOURCE));
1380 PyDict_SetItemString(d,"wxOPEN", PyInt_FromLong((long) wxOPEN));
1381 PyDict_SetItemString(d,"wxSAVE", PyInt_FromLong((long) wxSAVE));
1382 PyDict_SetItemString(d,"wxHIDE_READONLY", PyInt_FromLong((long) wxHIDE_READONLY));
1383 PyDict_SetItemString(d,"wxOVERWRITE_PROMPT", PyInt_FromLong((long) wxOVERWRITE_PROMPT));
1384 PyDict_SetItemString(d,"wxACCEL_ALT", PyInt_FromLong((long) wxACCEL_ALT));
1385 PyDict_SetItemString(d,"wxACCEL_CTRL", PyInt_FromLong((long) wxACCEL_CTRL));
1386 PyDict_SetItemString(d,"wxACCEL_SHIFT", PyInt_FromLong((long) wxACCEL_SHIFT));
1387 PyDict_SetItemString(d,"ERR_PARAM", PyInt_FromLong((long) ERR_PARAM));
1388 PyDict_SetItemString(d,"ERR_NODATA", PyInt_FromLong((long) ERR_NODATA));
1389 PyDict_SetItemString(d,"ERR_CANCEL", PyInt_FromLong((long) ERR_CANCEL));
1390 PyDict_SetItemString(d,"ERR_SUCCESS", PyInt_FromLong((long) ERR_SUCCESS));
1391 PyDict_SetItemString(d,"wxDEFAULT", PyInt_FromLong((long) wxDEFAULT));
1392 PyDict_SetItemString(d,"wxDECORATIVE", PyInt_FromLong((long) wxDECORATIVE));
1393 PyDict_SetItemString(d,"wxROMAN", PyInt_FromLong((long) wxROMAN));
1394 PyDict_SetItemString(d,"wxSCRIPT", PyInt_FromLong((long) wxSCRIPT));
1395 PyDict_SetItemString(d,"wxSWISS", PyInt_FromLong((long) wxSWISS));
1396 PyDict_SetItemString(d,"wxMODERN", PyInt_FromLong((long) wxMODERN));
1397 PyDict_SetItemString(d,"wxTELETYPE", PyInt_FromLong((long) wxTELETYPE));
1398 PyDict_SetItemString(d,"wxVARIABLE", PyInt_FromLong((long) wxVARIABLE));
1399 PyDict_SetItemString(d,"wxFIXED", PyInt_FromLong((long) wxFIXED));
1400 PyDict_SetItemString(d,"wxNORMAL", PyInt_FromLong((long) wxNORMAL));
1401 PyDict_SetItemString(d,"wxLIGHT", PyInt_FromLong((long) wxLIGHT));
1402 PyDict_SetItemString(d,"wxBOLD", PyInt_FromLong((long) wxBOLD));
1403 PyDict_SetItemString(d,"wxITALIC", PyInt_FromLong((long) wxITALIC));
1404 PyDict_SetItemString(d,"wxSLANT", PyInt_FromLong((long) wxSLANT));
1405 PyDict_SetItemString(d,"wxSOLID", PyInt_FromLong((long) wxSOLID));
1406 PyDict_SetItemString(d,"wxDOT", PyInt_FromLong((long) wxDOT));
1407 PyDict_SetItemString(d,"wxLONG_DASH", PyInt_FromLong((long) wxLONG_DASH));
1408 PyDict_SetItemString(d,"wxSHORT_DASH", PyInt_FromLong((long) wxSHORT_DASH));
1409 PyDict_SetItemString(d,"wxDOT_DASH", PyInt_FromLong((long) wxDOT_DASH));
1410 PyDict_SetItemString(d,"wxUSER_DASH", PyInt_FromLong((long) wxUSER_DASH));
1411 PyDict_SetItemString(d,"wxTRANSPARENT", PyInt_FromLong((long) wxTRANSPARENT));
1412 PyDict_SetItemString(d,"wxSTIPPLE", PyInt_FromLong((long) wxSTIPPLE));
1413 PyDict_SetItemString(d,"wxBDIAGONAL_HATCH", PyInt_FromLong((long) wxBDIAGONAL_HATCH));
1414 PyDict_SetItemString(d,"wxCROSSDIAG_HATCH", PyInt_FromLong((long) wxCROSSDIAG_HATCH));
1415 PyDict_SetItemString(d,"wxFDIAGONAL_HATCH", PyInt_FromLong((long) wxFDIAGONAL_HATCH));
1416 PyDict_SetItemString(d,"wxCROSS_HATCH", PyInt_FromLong((long) wxCROSS_HATCH));
1417 PyDict_SetItemString(d,"wxHORIZONTAL_HATCH", PyInt_FromLong((long) wxHORIZONTAL_HATCH));
1418 PyDict_SetItemString(d,"wxVERTICAL_HATCH", PyInt_FromLong((long) wxVERTICAL_HATCH));
1419 PyDict_SetItemString(d,"wxJOIN_BEVEL", PyInt_FromLong((long) wxJOIN_BEVEL));
1420 PyDict_SetItemString(d,"wxJOIN_MITER", PyInt_FromLong((long) wxJOIN_MITER));
1421 PyDict_SetItemString(d,"wxJOIN_ROUND", PyInt_FromLong((long) wxJOIN_ROUND));
1422 PyDict_SetItemString(d,"wxCAP_ROUND", PyInt_FromLong((long) wxCAP_ROUND));
1423 PyDict_SetItemString(d,"wxCAP_PROJECTING", PyInt_FromLong((long) wxCAP_PROJECTING));
1424 PyDict_SetItemString(d,"wxCAP_BUTT", PyInt_FromLong((long) wxCAP_BUTT));
1425 PyDict_SetItemString(d,"wxCLEAR", PyInt_FromLong((long) wxCLEAR));
1426 PyDict_SetItemString(d,"wxXOR", PyInt_FromLong((long) wxXOR));
1427 PyDict_SetItemString(d,"wxINVERT", PyInt_FromLong((long) wxINVERT));
1428 PyDict_SetItemString(d,"wxOR_REVERSE", PyInt_FromLong((long) wxOR_REVERSE));
1429 PyDict_SetItemString(d,"wxAND_REVERSE", PyInt_FromLong((long) wxAND_REVERSE));
1430 PyDict_SetItemString(d,"wxCOPY", PyInt_FromLong((long) wxCOPY));
1431 PyDict_SetItemString(d,"wxAND", PyInt_FromLong((long) wxAND));
1432 PyDict_SetItemString(d,"wxAND_INVERT", PyInt_FromLong((long) wxAND_INVERT));
1433 PyDict_SetItemString(d,"wxNO_OP", PyInt_FromLong((long) wxNO_OP));
1434 PyDict_SetItemString(d,"wxNOR", PyInt_FromLong((long) wxNOR));
1435 PyDict_SetItemString(d,"wxEQUIV", PyInt_FromLong((long) wxEQUIV));
1436 PyDict_SetItemString(d,"wxSRC_INVERT", PyInt_FromLong((long) wxSRC_INVERT));
1437 PyDict_SetItemString(d,"wxOR_INVERT", PyInt_FromLong((long) wxOR_INVERT));
1438 PyDict_SetItemString(d,"wxNAND", PyInt_FromLong((long) wxNAND));
1439 PyDict_SetItemString(d,"wxOR", PyInt_FromLong((long) wxOR));
1440 PyDict_SetItemString(d,"wxSET", PyInt_FromLong((long) wxSET));
1441 PyDict_SetItemString(d,"wxSRC_OR", PyInt_FromLong((long) wxSRC_OR));
1442 PyDict_SetItemString(d,"wxSRC_AND", PyInt_FromLong((long) wxSRC_AND));
1443 PyDict_SetItemString(d,"WXK_BACK", PyInt_FromLong((long) WXK_BACK));
1444 PyDict_SetItemString(d,"WXK_TAB", PyInt_FromLong((long) WXK_TAB));
1445 PyDict_SetItemString(d,"WXK_RETURN", PyInt_FromLong((long) WXK_RETURN));
1446 PyDict_SetItemString(d,"WXK_ESCAPE", PyInt_FromLong((long) WXK_ESCAPE));
1447 PyDict_SetItemString(d,"WXK_SPACE", PyInt_FromLong((long) WXK_SPACE));
1448 PyDict_SetItemString(d,"WXK_DELETE", PyInt_FromLong((long) WXK_DELETE));
1449 PyDict_SetItemString(d,"WXK_START", PyInt_FromLong((long) WXK_START));
1450 PyDict_SetItemString(d,"WXK_LBUTTON", PyInt_FromLong((long) WXK_LBUTTON));
1451 PyDict_SetItemString(d,"WXK_RBUTTON", PyInt_FromLong((long) WXK_RBUTTON));
1452 PyDict_SetItemString(d,"WXK_CANCEL", PyInt_FromLong((long) WXK_CANCEL));
1453 PyDict_SetItemString(d,"WXK_MBUTTON", PyInt_FromLong((long) WXK_MBUTTON));
1454 PyDict_SetItemString(d,"WXK_CLEAR", PyInt_FromLong((long) WXK_CLEAR));
1455 PyDict_SetItemString(d,"WXK_SHIFT", PyInt_FromLong((long) WXK_SHIFT));
1456 PyDict_SetItemString(d,"WXK_CONTROL", PyInt_FromLong((long) WXK_CONTROL));
1457 PyDict_SetItemString(d,"WXK_MENU", PyInt_FromLong((long) WXK_MENU));
1458 PyDict_SetItemString(d,"WXK_PAUSE", PyInt_FromLong((long) WXK_PAUSE));
1459 PyDict_SetItemString(d,"WXK_CAPITAL", PyInt_FromLong((long) WXK_CAPITAL));
1460 PyDict_SetItemString(d,"WXK_PRIOR", PyInt_FromLong((long) WXK_PRIOR));
1461 PyDict_SetItemString(d,"WXK_NEXT", PyInt_FromLong((long) WXK_NEXT));
1462 PyDict_SetItemString(d,"WXK_END", PyInt_FromLong((long) WXK_END));
1463 PyDict_SetItemString(d,"WXK_HOME", PyInt_FromLong((long) WXK_HOME));
1464 PyDict_SetItemString(d,"WXK_LEFT", PyInt_FromLong((long) WXK_LEFT));
1465 PyDict_SetItemString(d,"WXK_UP", PyInt_FromLong((long) WXK_UP));
1466 PyDict_SetItemString(d,"WXK_RIGHT", PyInt_FromLong((long) WXK_RIGHT));
1467 PyDict_SetItemString(d,"WXK_DOWN", PyInt_FromLong((long) WXK_DOWN));
1468 PyDict_SetItemString(d,"WXK_SELECT", PyInt_FromLong((long) WXK_SELECT));
1469 PyDict_SetItemString(d,"WXK_PRINT", PyInt_FromLong((long) WXK_PRINT));
1470 PyDict_SetItemString(d,"WXK_EXECUTE", PyInt_FromLong((long) WXK_EXECUTE));
1471 PyDict_SetItemString(d,"WXK_SNAPSHOT", PyInt_FromLong((long) WXK_SNAPSHOT));
1472 PyDict_SetItemString(d,"WXK_INSERT", PyInt_FromLong((long) WXK_INSERT));
1473 PyDict_SetItemString(d,"WXK_HELP", PyInt_FromLong((long) WXK_HELP));
1474 PyDict_SetItemString(d,"WXK_NUMPAD0", PyInt_FromLong((long) WXK_NUMPAD0));
1475 PyDict_SetItemString(d,"WXK_NUMPAD1", PyInt_FromLong((long) WXK_NUMPAD1));
1476 PyDict_SetItemString(d,"WXK_NUMPAD2", PyInt_FromLong((long) WXK_NUMPAD2));
1477 PyDict_SetItemString(d,"WXK_NUMPAD3", PyInt_FromLong((long) WXK_NUMPAD3));
1478 PyDict_SetItemString(d,"WXK_NUMPAD4", PyInt_FromLong((long) WXK_NUMPAD4));
1479 PyDict_SetItemString(d,"WXK_NUMPAD5", PyInt_FromLong((long) WXK_NUMPAD5));
1480 PyDict_SetItemString(d,"WXK_NUMPAD6", PyInt_FromLong((long) WXK_NUMPAD6));
1481 PyDict_SetItemString(d,"WXK_NUMPAD7", PyInt_FromLong((long) WXK_NUMPAD7));
1482 PyDict_SetItemString(d,"WXK_NUMPAD8", PyInt_FromLong((long) WXK_NUMPAD8));
1483 PyDict_SetItemString(d,"WXK_NUMPAD9", PyInt_FromLong((long) WXK_NUMPAD9));
1484 PyDict_SetItemString(d,"WXK_MULTIPLY", PyInt_FromLong((long) WXK_MULTIPLY));
1485 PyDict_SetItemString(d,"WXK_ADD", PyInt_FromLong((long) WXK_ADD));
1486 PyDict_SetItemString(d,"WXK_SEPARATOR", PyInt_FromLong((long) WXK_SEPARATOR));
1487 PyDict_SetItemString(d,"WXK_SUBTRACT", PyInt_FromLong((long) WXK_SUBTRACT));
1488 PyDict_SetItemString(d,"WXK_DECIMAL", PyInt_FromLong((long) WXK_DECIMAL));
1489 PyDict_SetItemString(d,"WXK_DIVIDE", PyInt_FromLong((long) WXK_DIVIDE));
1490 PyDict_SetItemString(d,"WXK_F1", PyInt_FromLong((long) WXK_F1));
1491 PyDict_SetItemString(d,"WXK_F2", PyInt_FromLong((long) WXK_F2));
1492 PyDict_SetItemString(d,"WXK_F3", PyInt_FromLong((long) WXK_F3));
1493 PyDict_SetItemString(d,"WXK_F4", PyInt_FromLong((long) WXK_F4));
1494 PyDict_SetItemString(d,"WXK_F5", PyInt_FromLong((long) WXK_F5));
1495 PyDict_SetItemString(d,"WXK_F6", PyInt_FromLong((long) WXK_F6));
1496 PyDict_SetItemString(d,"WXK_F7", PyInt_FromLong((long) WXK_F7));
1497 PyDict_SetItemString(d,"WXK_F8", PyInt_FromLong((long) WXK_F8));
1498 PyDict_SetItemString(d,"WXK_F9", PyInt_FromLong((long) WXK_F9));
1499 PyDict_SetItemString(d,"WXK_F10", PyInt_FromLong((long) WXK_F10));
1500 PyDict_SetItemString(d,"WXK_F11", PyInt_FromLong((long) WXK_F11));
1501 PyDict_SetItemString(d,"WXK_F12", PyInt_FromLong((long) WXK_F12));
1502 PyDict_SetItemString(d,"WXK_F13", PyInt_FromLong((long) WXK_F13));
1503 PyDict_SetItemString(d,"WXK_F14", PyInt_FromLong((long) WXK_F14));
1504 PyDict_SetItemString(d,"WXK_F15", PyInt_FromLong((long) WXK_F15));
1505 PyDict_SetItemString(d,"WXK_F16", PyInt_FromLong((long) WXK_F16));
1506 PyDict_SetItemString(d,"WXK_F17", PyInt_FromLong((long) WXK_F17));
1507 PyDict_SetItemString(d,"WXK_F18", PyInt_FromLong((long) WXK_F18));
1508 PyDict_SetItemString(d,"WXK_F19", PyInt_FromLong((long) WXK_F19));
1509 PyDict_SetItemString(d,"WXK_F20", PyInt_FromLong((long) WXK_F20));
1510 PyDict_SetItemString(d,"WXK_F21", PyInt_FromLong((long) WXK_F21));
1511 PyDict_SetItemString(d,"WXK_F22", PyInt_FromLong((long) WXK_F22));
1512 PyDict_SetItemString(d,"WXK_F23", PyInt_FromLong((long) WXK_F23));
1513 PyDict_SetItemString(d,"WXK_F24", PyInt_FromLong((long) WXK_F24));
1514 PyDict_SetItemString(d,"WXK_NUMLOCK", PyInt_FromLong((long) WXK_NUMLOCK));
1515 PyDict_SetItemString(d,"WXK_SCROLL", PyInt_FromLong((long) WXK_SCROLL));
1516 PyDict_SetItemString(d,"WXK_PAGEUP", PyInt_FromLong((long) WXK_PAGEUP));
1517 PyDict_SetItemString(d,"WXK_PAGEDOWN", PyInt_FromLong((long) WXK_PAGEDOWN));
1518 PyDict_SetItemString(d,"wxCURSOR_NONE", PyInt_FromLong((long) wxCURSOR_NONE));
1519 PyDict_SetItemString(d,"wxCURSOR_ARROW", PyInt_FromLong((long) wxCURSOR_ARROW));
1520 PyDict_SetItemString(d,"wxCURSOR_BULLSEYE", PyInt_FromLong((long) wxCURSOR_BULLSEYE));
1521 PyDict_SetItemString(d,"wxCURSOR_CHAR", PyInt_FromLong((long) wxCURSOR_CHAR));
1522 PyDict_SetItemString(d,"wxCURSOR_CROSS", PyInt_FromLong((long) wxCURSOR_CROSS));
1523 PyDict_SetItemString(d,"wxCURSOR_HAND", PyInt_FromLong((long) wxCURSOR_HAND));
1524 PyDict_SetItemString(d,"wxCURSOR_IBEAM", PyInt_FromLong((long) wxCURSOR_IBEAM));
1525 PyDict_SetItemString(d,"wxCURSOR_LEFT_BUTTON", PyInt_FromLong((long) wxCURSOR_LEFT_BUTTON));
1526 PyDict_SetItemString(d,"wxCURSOR_MAGNIFIER", PyInt_FromLong((long) wxCURSOR_MAGNIFIER));
1527 PyDict_SetItemString(d,"wxCURSOR_MIDDLE_BUTTON", PyInt_FromLong((long) wxCURSOR_MIDDLE_BUTTON));
1528 PyDict_SetItemString(d,"wxCURSOR_NO_ENTRY", PyInt_FromLong((long) wxCURSOR_NO_ENTRY));
1529 PyDict_SetItemString(d,"wxCURSOR_PAINT_BRUSH", PyInt_FromLong((long) wxCURSOR_PAINT_BRUSH));
1530 PyDict_SetItemString(d,"wxCURSOR_PENCIL", PyInt_FromLong((long) wxCURSOR_PENCIL));
1531 PyDict_SetItemString(d,"wxCURSOR_POINT_LEFT", PyInt_FromLong((long) wxCURSOR_POINT_LEFT));
1532 PyDict_SetItemString(d,"wxCURSOR_POINT_RIGHT", PyInt_FromLong((long) wxCURSOR_POINT_RIGHT));
1533 PyDict_SetItemString(d,"wxCURSOR_QUESTION_ARROW", PyInt_FromLong((long) wxCURSOR_QUESTION_ARROW));
1534 PyDict_SetItemString(d,"wxCURSOR_RIGHT_BUTTON", PyInt_FromLong((long) wxCURSOR_RIGHT_BUTTON));
1535 PyDict_SetItemString(d,"wxCURSOR_SIZENESW", PyInt_FromLong((long) wxCURSOR_SIZENESW));
1536 PyDict_SetItemString(d,"wxCURSOR_SIZENS", PyInt_FromLong((long) wxCURSOR_SIZENS));
1537 PyDict_SetItemString(d,"wxCURSOR_SIZENWSE", PyInt_FromLong((long) wxCURSOR_SIZENWSE));
1538 PyDict_SetItemString(d,"wxCURSOR_SIZEWE", PyInt_FromLong((long) wxCURSOR_SIZEWE));
1539 PyDict_SetItemString(d,"wxCURSOR_SIZING", PyInt_FromLong((long) wxCURSOR_SIZING));
1540 PyDict_SetItemString(d,"wxCURSOR_SPRAYCAN", PyInt_FromLong((long) wxCURSOR_SPRAYCAN));
1541 PyDict_SetItemString(d,"wxCURSOR_WAIT", PyInt_FromLong((long) wxCURSOR_WAIT));
1542 PyDict_SetItemString(d,"wxCURSOR_WATCH", PyInt_FromLong((long) wxCURSOR_WATCH));
1543 PyDict_SetItemString(d,"wxCURSOR_BLANK", PyInt_FromLong((long) wxCURSOR_BLANK));
1544 PyDict_SetItemString(d,"FALSE", PyInt_FromLong((long) 0));
1545 PyDict_SetItemString(d,"false", PyInt_FromLong((long) 0));
1546 PyDict_SetItemString(d,"TRUE", PyInt_FromLong((long) 1));
1547 PyDict_SetItemString(d,"true", PyInt_FromLong((long) 1));
1548 PyDict_SetItemString(d,"wxEVT_NULL", PyInt_FromLong((long) wxEVT_NULL));
1549 PyDict_SetItemString(d,"wxEVT_FIRST", PyInt_FromLong((long) wxEVT_FIRST));
1550 PyDict_SetItemString(d,"wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_BUTTON_CLICKED));
1551 PyDict_SetItemString(d,"wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_CHECKBOX_CLICKED));
1552 PyDict_SetItemString(d,"wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_CHOICE_SELECTED));
1553 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOX_SELECTED));
1554 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
1555 PyDict_SetItemString(d,"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong((long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
1556 PyDict_SetItemString(d,"wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong((long) wxEVT_COMMAND_TEXT_UPDATED));
1557 PyDict_SetItemString(d,"wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_TEXT_ENTER));
1558 PyDict_SetItemString(d,"wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_MENU_SELECTED));
1559 PyDict_SetItemString(d,"wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong((long) wxEVT_COMMAND_SLIDER_UPDATED));
1560 PyDict_SetItemString(d,"wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_RADIOBOX_SELECTED));
1561 PyDict_SetItemString(d,"wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_RADIOBUTTON_SELECTED));
1562 PyDict_SetItemString(d,"wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong((long) wxEVT_COMMAND_SCROLLBAR_UPDATED));
1563 PyDict_SetItemString(d,"wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_VLBOX_SELECTED));
1564 PyDict_SetItemString(d,"wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_COMBOBOX_SELECTED));
1565 PyDict_SetItemString(d,"wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOOL_CLICKED));
1566 PyDict_SetItemString(d,"wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOOL_RCLICKED));
1567 PyDict_SetItemString(d,"wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_TOOL_ENTER));
1568 PyDict_SetItemString(d,"wxEVT_SET_FOCUS", PyInt_FromLong((long) wxEVT_SET_FOCUS));
1569 PyDict_SetItemString(d,"wxEVT_KILL_FOCUS", PyInt_FromLong((long) wxEVT_KILL_FOCUS));
1570 PyDict_SetItemString(d,"wxEVT_LEFT_DOWN", PyInt_FromLong((long) wxEVT_LEFT_DOWN));
1571 PyDict_SetItemString(d,"wxEVT_LEFT_UP", PyInt_FromLong((long) wxEVT_LEFT_UP));
1572 PyDict_SetItemString(d,"wxEVT_MIDDLE_DOWN", PyInt_FromLong((long) wxEVT_MIDDLE_DOWN));
1573 PyDict_SetItemString(d,"wxEVT_MIDDLE_UP", PyInt_FromLong((long) wxEVT_MIDDLE_UP));
1574 PyDict_SetItemString(d,"wxEVT_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_RIGHT_DOWN));
1575 PyDict_SetItemString(d,"wxEVT_RIGHT_UP", PyInt_FromLong((long) wxEVT_RIGHT_UP));
1576 PyDict_SetItemString(d,"wxEVT_MOTION", PyInt_FromLong((long) wxEVT_MOTION));
1577 PyDict_SetItemString(d,"wxEVT_ENTER_WINDOW", PyInt_FromLong((long) wxEVT_ENTER_WINDOW));
1578 PyDict_SetItemString(d,"wxEVT_LEAVE_WINDOW", PyInt_FromLong((long) wxEVT_LEAVE_WINDOW));
1579 PyDict_SetItemString(d,"wxEVT_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_LEFT_DCLICK));
1580 PyDict_SetItemString(d,"wxEVT_MIDDLE_DCLICK", PyInt_FromLong((long) wxEVT_MIDDLE_DCLICK));
1581 PyDict_SetItemString(d,"wxEVT_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_RIGHT_DCLICK));
1582 PyDict_SetItemString(d,"wxEVT_NC_LEFT_DOWN", PyInt_FromLong((long) wxEVT_NC_LEFT_DOWN));
1583 PyDict_SetItemString(d,"wxEVT_NC_LEFT_UP", PyInt_FromLong((long) wxEVT_NC_LEFT_UP));
1584 PyDict_SetItemString(d,"wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong((long) wxEVT_NC_MIDDLE_DOWN));
1585 PyDict_SetItemString(d,"wxEVT_NC_MIDDLE_UP", PyInt_FromLong((long) wxEVT_NC_MIDDLE_UP));
1586 PyDict_SetItemString(d,"wxEVT_NC_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_NC_RIGHT_DOWN));
1587 PyDict_SetItemString(d,"wxEVT_NC_RIGHT_UP", PyInt_FromLong((long) wxEVT_NC_RIGHT_UP));
1588 PyDict_SetItemString(d,"wxEVT_NC_MOTION", PyInt_FromLong((long) wxEVT_NC_MOTION));
1589 PyDict_SetItemString(d,"wxEVT_NC_ENTER_WINDOW", PyInt_FromLong((long) wxEVT_NC_ENTER_WINDOW));
1590 PyDict_SetItemString(d,"wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong((long) wxEVT_NC_LEAVE_WINDOW));
1591 PyDict_SetItemString(d,"wxEVT_NC_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_NC_LEFT_DCLICK));
1592 PyDict_SetItemString(d,"wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong((long) wxEVT_NC_MIDDLE_DCLICK));
1593 PyDict_SetItemString(d,"wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_NC_RIGHT_DCLICK));
1594 PyDict_SetItemString(d,"wxEVT_CHAR", PyInt_FromLong((long) wxEVT_CHAR));
1595 PyDict_SetItemString(d,"wxEVT_SCROLL_TOP", PyInt_FromLong((long) wxEVT_SCROLL_TOP));
1596 PyDict_SetItemString(d,"wxEVT_SCROLL_BOTTOM", PyInt_FromLong((long) wxEVT_SCROLL_BOTTOM));
1597 PyDict_SetItemString(d,"wxEVT_SCROLL_LINEUP", PyInt_FromLong((long) wxEVT_SCROLL_LINEUP));
1598 PyDict_SetItemString(d,"wxEVT_SCROLL_LINEDOWN", PyInt_FromLong((long) wxEVT_SCROLL_LINEDOWN));
1599 PyDict_SetItemString(d,"wxEVT_SCROLL_PAGEUP", PyInt_FromLong((long) wxEVT_SCROLL_PAGEUP));
1600 PyDict_SetItemString(d,"wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong((long) wxEVT_SCROLL_PAGEDOWN));
1601 PyDict_SetItemString(d,"wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong((long) wxEVT_SCROLL_THUMBTRACK));
1602 PyDict_SetItemString(d,"wxEVT_SIZE", PyInt_FromLong((long) wxEVT_SIZE));
1603 PyDict_SetItemString(d,"wxEVT_MOVE", PyInt_FromLong((long) wxEVT_MOVE));
1604 PyDict_SetItemString(d,"wxEVT_CLOSE_WINDOW", PyInt_FromLong((long) wxEVT_CLOSE_WINDOW));
1605 PyDict_SetItemString(d,"wxEVT_END_SESSION", PyInt_FromLong((long) wxEVT_END_SESSION));
1606 PyDict_SetItemString(d,"wxEVT_QUERY_END_SESSION", PyInt_FromLong((long) wxEVT_QUERY_END_SESSION));
1607 PyDict_SetItemString(d,"wxEVT_ACTIVATE_APP", PyInt_FromLong((long) wxEVT_ACTIVATE_APP));
1608 PyDict_SetItemString(d,"wxEVT_POWER", PyInt_FromLong((long) wxEVT_POWER));
1609 PyDict_SetItemString(d,"wxEVT_CHAR_HOOK", PyInt_FromLong((long) wxEVT_CHAR_HOOK));
1610 PyDict_SetItemString(d,"wxEVT_KEY_UP", PyInt_FromLong((long) wxEVT_KEY_UP));
1611 PyDict_SetItemString(d,"wxEVT_ACTIVATE", PyInt_FromLong((long) wxEVT_ACTIVATE));
1612 PyDict_SetItemString(d,"wxEVT_CREATE", PyInt_FromLong((long) wxEVT_CREATE));
1613 PyDict_SetItemString(d,"wxEVT_DESTROY", PyInt_FromLong((long) wxEVT_DESTROY));
1614 PyDict_SetItemString(d,"wxEVT_SHOW", PyInt_FromLong((long) wxEVT_SHOW));
1615 PyDict_SetItemString(d,"wxEVT_ICONIZE", PyInt_FromLong((long) wxEVT_ICONIZE));
1616 PyDict_SetItemString(d,"wxEVT_MAXIMIZE", PyInt_FromLong((long) wxEVT_MAXIMIZE));
1617 PyDict_SetItemString(d,"wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong((long) wxEVT_MOUSE_CAPTURE_CHANGED));
1618 PyDict_SetItemString(d,"wxEVT_PAINT", PyInt_FromLong((long) wxEVT_PAINT));
1619 PyDict_SetItemString(d,"wxEVT_ERASE_BACKGROUND", PyInt_FromLong((long) wxEVT_ERASE_BACKGROUND));
1620 PyDict_SetItemString(d,"wxEVT_NC_PAINT", PyInt_FromLong((long) wxEVT_NC_PAINT));
1621 PyDict_SetItemString(d,"wxEVT_PAINT_ICON", PyInt_FromLong((long) wxEVT_PAINT_ICON));
1622 PyDict_SetItemString(d,"wxEVT_MENU_CHAR", PyInt_FromLong((long) wxEVT_MENU_CHAR));
1623 PyDict_SetItemString(d,"wxEVT_MENU_INIT", PyInt_FromLong((long) wxEVT_MENU_INIT));
1624 PyDict_SetItemString(d,"wxEVT_MENU_HIGHLIGHT", PyInt_FromLong((long) wxEVT_MENU_HIGHLIGHT));
1625 PyDict_SetItemString(d,"wxEVT_POPUP_MENU_INIT", PyInt_FromLong((long) wxEVT_POPUP_MENU_INIT));
1626 PyDict_SetItemString(d,"wxEVT_CONTEXT_MENU", PyInt_FromLong((long) wxEVT_CONTEXT_MENU));
1627 PyDict_SetItemString(d,"wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong((long) wxEVT_SYS_COLOUR_CHANGED));
1628 PyDict_SetItemString(d,"wxEVT_SETTING_CHANGED", PyInt_FromLong((long) wxEVT_SETTING_CHANGED));
1629 PyDict_SetItemString(d,"wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong((long) wxEVT_QUERY_NEW_PALETTE));
1630 PyDict_SetItemString(d,"wxEVT_PALETTE_CHANGED", PyInt_FromLong((long) wxEVT_PALETTE_CHANGED));
1631 PyDict_SetItemString(d,"wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong((long) wxEVT_JOY_BUTTON_DOWN));
1632 PyDict_SetItemString(d,"wxEVT_JOY_BUTTON_UP", PyInt_FromLong((long) wxEVT_JOY_BUTTON_UP));
1633 PyDict_SetItemString(d,"wxEVT_JOY_MOVE", PyInt_FromLong((long) wxEVT_JOY_MOVE));
1634 PyDict_SetItemString(d,"wxEVT_JOY_ZMOVE", PyInt_FromLong((long) wxEVT_JOY_ZMOVE));
1635 PyDict_SetItemString(d,"wxEVT_DROP_FILES", PyInt_FromLong((long) wxEVT_DROP_FILES));
1636 PyDict_SetItemString(d,"wxEVT_DRAW_ITEM", PyInt_FromLong((long) wxEVT_DRAW_ITEM));
1637 PyDict_SetItemString(d,"wxEVT_MEASURE_ITEM", PyInt_FromLong((long) wxEVT_MEASURE_ITEM));
1638 PyDict_SetItemString(d,"wxEVT_COMPARE_ITEM", PyInt_FromLong((long) wxEVT_COMPARE_ITEM));
1639 PyDict_SetItemString(d,"wxEVT_INIT_DIALOG", PyInt_FromLong((long) wxEVT_INIT_DIALOG));
1640 PyDict_SetItemString(d,"wxEVT_IDLE", PyInt_FromLong((long) wxEVT_IDLE));
1641 PyDict_SetItemString(d,"wxEVT_UPDATE_UI", PyInt_FromLong((long) wxEVT_UPDATE_UI));
1642 PyDict_SetItemString(d,"wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LEFT_CLICK));
1643 PyDict_SetItemString(d,"wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_COMMAND_LEFT_DCLICK));
1644 PyDict_SetItemString(d,"wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_RIGHT_CLICK));
1645 PyDict_SetItemString(d,"wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_COMMAND_RIGHT_DCLICK));
1646 PyDict_SetItemString(d,"wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong((long) wxEVT_COMMAND_SET_FOCUS));
1647 PyDict_SetItemString(d,"wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong((long) wxEVT_COMMAND_KILL_FOCUS));
1648 PyDict_SetItemString(d,"wxEVT_COMMAND_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_ENTER));
1649 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
1650 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
1651 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
1652 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
1653 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
1654 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
1655 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
1656 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
1657 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
1658 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
1659 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
1660 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
1661 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
1662 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
1663 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
1664 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
1665 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
1666 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
1667 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
1668 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
1669 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
1670 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
1671 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
1672 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
1673 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
1674 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
1675 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
1676 PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGED));
1677 PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGING));
1678 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
1679 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
1680 PyDict_SetItemString(d,"__version__", PyString_FromString("0.5.3"));
1681 PyDict_SetItemString(d,"cvar", SWIG_globals);
1682 SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
1683 SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
1684
1685
1686 __wxPreStart(); // initialize the GUI toolkit, if needed.
1687
1688 // wxPyWindows = new wxHashTable(wxKEY_INTEGER, 100);
1689
1690 // Since these modules are all linked together, initialize them now
1691 // because python won't be able to find their shared library files,
1692 // (since there isn't any.)
1693 initwindowsc();
1694 initwindows2c();
1695 initeventsc();
1696 initmiscc();
1697 initgdic();
1698 initmdic();
1699 initcontrolsc();
1700 initcontrols2c();
1701 initcmndlgsc();
1702 initstattoolc();
1703 initframesc();
1704 initwindows3c();
1705 #ifndef SEPARATE
1706 initutilsc();
1707 #endif
1708 /*
1709 * These are the pointer type-equivalency mappings.
1710 * (Used by the SWIG pointer type-checker).
1711 */
1712 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
1713 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
1714 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
1715 SWIG_RegisterMapping("_signed_long","_long",0);
1716 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
1717 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
1718 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
1719 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
1720 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyApp",SwigwxPyAppTowxEvtHandler);
1721 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyApp",SwigwxPyAppTowxEvtHandler);
1722 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
1723 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
1724 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1725 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1726 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
1727 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1728 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
1729 SWIG_RegisterMapping("_wxPageSetupData","_class_wxPageSetupData",0);
1730 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
1731 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
1732 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1733 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
1734 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1735 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
1736 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
1737 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
1738 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
1739 SWIG_RegisterMapping("_long","_wxDash",0);
1740 SWIG_RegisterMapping("_long","_unsigned_long",0);
1741 SWIG_RegisterMapping("_long","_signed_long",0);
1742 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
1743 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
1744 SWIG_RegisterMapping("_wxSashWindow","_class_wxSashWindow",0);
1745 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
1746 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
1747 SWIG_RegisterMapping("_class_wxSashEvent","_wxSashEvent",0);
1748 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1749 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
1750 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
1751 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
1752 SWIG_RegisterMapping("_wxSashLayoutWindow","_class_wxSashLayoutWindow",0);
1753 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1754 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
1755 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
1756 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
1757 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
1758 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
1759 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
1760 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
1761 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
1762 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
1763 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1764 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
1765 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
1766 SWIG_RegisterMapping("_class_wxPageSetupData","_wxPageSetupData",0);
1767 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1768 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
1769 SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
1770 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
1771 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
1772 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
1773 SWIG_RegisterMapping("_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0);
1774 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1775 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
1776 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
1777 SWIG_RegisterMapping("_class_wxSashWindow","_wxSashWindow",0);
1778 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
1779 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1780 SWIG_RegisterMapping("_uint","_int",0);
1781 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1782 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
1783 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
1784 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
1785 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1786 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
1787 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
1788 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1789 SWIG_RegisterMapping("_class_wxSashLayoutWindow","_wxSashLayoutWindow",0);
1790 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
1791 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
1792 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
1793 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
1794 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1795 SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0);
1796 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1797 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
1798 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
1799 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
1800 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
1801 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
1802 SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
1803 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1804 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
1805 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
1806 SWIG_RegisterMapping("_wxConfig","_class_wxConfig",0);
1807 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
1808 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
1809 SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
1810 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
1811 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
1812 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
1813 SWIG_RegisterMapping("_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0);
1814 SWIG_RegisterMapping("_EBool","_signed_int",0);
1815 SWIG_RegisterMapping("_EBool","_int",0);
1816 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1817 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
1818 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
1819 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
1820 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1821 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
1822 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
1823 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1824 SWIG_RegisterMapping("_unsigned_long","_long",0);
1825 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1826 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1827 SWIG_RegisterMapping("_wxPyApp","_class_wxPyApp",0);
1828 SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
1829 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
1830 SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0);
1831 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1832 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
1833 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
1834 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
1835 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1836 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
1837 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
1838 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
1839 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
1840 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
1841 SWIG_RegisterMapping("_signed_int","_EBool",0);
1842 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1843 SWIG_RegisterMapping("_signed_int","_int",0);
1844 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
1845 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1846 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
1847 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
1848 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
1849 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1850 SWIG_RegisterMapping("_class_wxMDIChildFrame","_wxMDIChildFrame",0);
1851 SWIG_RegisterMapping("_WXTYPE","_short",0);
1852 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1853 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1854 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
1855 SWIG_RegisterMapping("_class_wxMDIClientWindow","_wxMDIClientWindow",0);
1856 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1857 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1858 SWIG_RegisterMapping("_unsigned_short","_short",0);
1859 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
1860 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
1861 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
1862 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1863 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
1864 SWIG_RegisterMapping("_wxSashEvent","_class_wxSashEvent",0);
1865 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
1866 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1867 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
1868 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
1869 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
1870 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1871 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1872 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
1873 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
1874 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1875 SWIG_RegisterMapping("_signed_short","_short",0);
1876 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1877 SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0);
1878 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1879 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
1880 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
1881 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
1882 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
1883 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
1884 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1885 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1886 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
1887 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
1888 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
1889 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1890 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
1891 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
1892 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
1893 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1894 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1895 SWIG_RegisterMapping("_unsigned_int","_int",0);
1896 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1897 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
1898 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
1899 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
1900 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1901 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
1902 SWIG_RegisterMapping("_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0);
1903 SWIG_RegisterMapping("_short","_WXTYPE",0);
1904 SWIG_RegisterMapping("_short","_unsigned_short",0);
1905 SWIG_RegisterMapping("_short","_signed_short",0);
1906 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
1907 SWIG_RegisterMapping("_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0);
1908 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
1909 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
1910 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
1911 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
1912 SWIG_RegisterMapping("_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0);
1913 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
1914 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
1915 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
1916 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1917 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1918 SWIG_RegisterMapping("_wxWindowID","_int",0);
1919 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1920 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1921 SWIG_RegisterMapping("_int","_EBool",0);
1922 SWIG_RegisterMapping("_int","_uint",0);
1923 SWIG_RegisterMapping("_int","_wxWindowID",0);
1924 SWIG_RegisterMapping("_int","_unsigned_int",0);
1925 SWIG_RegisterMapping("_int","_signed_int",0);
1926 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
1927 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
1928 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
1929 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
1930 SWIG_RegisterMapping("_class_wxPyApp","_wxPyApp",0);
1931 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1932 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
1933 SWIG_RegisterMapping("_class_wxMDIParentFrame","_wxMDIParentFrame",0);
1934 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1935 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
1936 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
1937 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
1938 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
1939 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
1940 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
1941 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1942 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
1943 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
1944 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
1945 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1946 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1947 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1948 SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0);
1949 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
1950 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
1951 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
1952 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
1953 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
1954 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
1955 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
1956 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
1957 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
1958 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
1959 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
1960 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
1961 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
1962 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
1963 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1964 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
1965 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
1966 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
1967 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
1968 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1969 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1970 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1971 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
1972 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
1973 SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0);
1974 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyApp",SwigwxPyAppTowxEvtHandler);
1975 SWIG_RegisterMapping("_wxEvtHandler","_wxPyApp",SwigwxPyAppTowxEvtHandler);
1976 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
1977 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
1978 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
1979 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
1980 SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
1981 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1982 SWIG_RegisterMapping("_wxDash","_long",0);
1983 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
1984 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
1985 SWIG_RegisterMapping("_class_wxConfig","_wxConfig",0);
1986 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
1987 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
1988 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
1989 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
1990 SWIG_RegisterMapping("_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0);
1991 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
1992 SWIG_RegisterMapping("_wxMDIClientWindow","_class_wxMDIClientWindow",0);
1993 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
1994 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
1995 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
1996 }