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