]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/wx.cpp
54efdb5112016bb50740f5cd3804ddb73f3fd4d5
[wxWidgets.git] / utils / wxPython / src / gtk / wx.cpp
1 /*
2 * FILE : gtk/wx.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /***********************************************************************
25 * $Header$
26 * swig_lib/python/python.cfg
27 *
28 * This file contains coded needed to add variable linking to the
29 * Python interpreter. C variables are added as a new kind of Python
30 * datatype.
31 *
32 * Also contains supporting code for building python under Windows
33 * and things like that.
34 *
35 * $Log$
36 * Revision 1.15 1999/07/31 07:55:17 RD
37 * wxPython 2.1b1:
38 *
39 * Added the missing wxWindow.GetUpdateRegion() method.
40 *
41 * Made a new change in SWIG (update your patches everybody) that
42 * provides a fix for global shadow objects that get an exception in
43 * their __del__ when their extension module has already been deleted.
44 * It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
45 * line 496 if you want to do it by hand.
46 *
47 * It is now possible to run through MainLoop more than once in any one
48 * process. The cleanup that used to happen as MainLoop completed (and
49 * prevented it from running again) has been delayed until the wxc module
50 * is being unloaded by Python.
51 *
52 * wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
53 * wxWindow.PopupMenuXY to be consistent with some other methods.
54 *
55 * Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
56 *
57 * You can now provide your own app.MainLoop method. See
58 * wxPython/demo/demoMainLoop.py for an example and some explaination.
59 *
60 * Got the in-place-edit for the wxTreeCtrl fixed and added some demo
61 * code to show how to use it.
62 *
63 * Put the wxIcon constructor back in for GTK as it now has one that
64 * matches MSW's.
65 *
66 * Added wxGrid.GetCells
67 *
68 * Added wxSystemSettings static methods as functions with names like
69 * wxSystemSettings_GetSystemColour.
70 *
71 * Removed wxPyMenu since using menu callbacks have been depreciated in
72 * wxWindows. Use wxMenu and events instead.
73 *
74 * Added alternate wxBitmap constructor (for MSW only) as
75 * wxBitmapFromData(data, type, width, height, depth = 1)
76 *
77 * Added a helper function named wxPyTypeCast that can convert shadow
78 * objects of one type into shadow objects of another type. (Like doing
79 * a down-cast.) See the implementation in wx.py for some docs.
80 *
81 ************************************************************************/
82
83 #ifdef __cplusplus
84 extern "C" {
85 #endif
86 #include "Python.h"
87 #ifdef __cplusplus
88 }
89 #endif
90
91 /* Definitions for Windows/Unix exporting */
92 #if defined(__WIN32__)
93 # if defined(_MSC_VER)
94 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
95 # else
96 # if defined(__BORLANDC__)
97 # define SWIGEXPORT(a,b) a _export b
98 # else
99 # define SWIGEXPORT(a,b) a b
100 # endif
101 # endif
102 #else
103 # define SWIGEXPORT(a,b) a b
104 #endif
105
106 #ifdef SWIG_GLOBAL
107 #ifdef __cplusplus
108 #define SWIGSTATIC extern "C"
109 #else
110 #define SWIGSTATIC
111 #endif
112 #endif
113
114 #ifndef SWIGSTATIC
115 #define SWIGSTATIC static
116 #endif
117
118 typedef struct {
119 char *name;
120 PyObject *(*get_attr)(void);
121 int (*set_attr)(PyObject *);
122 } swig_globalvar;
123
124 typedef struct swig_varlinkobject {
125 PyObject_HEAD
126 swig_globalvar **vars;
127 int nvars;
128 int maxvars;
129 } swig_varlinkobject;
130
131 /* ----------------------------------------------------------------------
132 swig_varlink_repr()
133
134 Function for python repr method
135 ---------------------------------------------------------------------- */
136
137 static PyObject *
138 swig_varlink_repr(swig_varlinkobject *v)
139 {
140 v = v;
141 return PyString_FromString("<Global variables>");
142 }
143
144 /* ---------------------------------------------------------------------
145 swig_varlink_print()
146
147 Print out all of the global variable names
148 --------------------------------------------------------------------- */
149
150 static int
151 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags)
152 {
153
154 int i = 0;
155 flags = flags;
156 fprintf(fp,"Global variables { ");
157 while (v->vars[i]) {
158 fprintf(fp,"%s", v->vars[i]->name);
159 i++;
160 if (v->vars[i]) fprintf(fp,", ");
161 }
162 fprintf(fp," }\n");
163 return 0;
164 }
165
166 /* --------------------------------------------------------------------
167 swig_varlink_getattr
168
169 This function gets the value of a variable and returns it as a
170 PyObject. In our case, we'll be looking at the datatype and
171 converting into a number or string
172 -------------------------------------------------------------------- */
173
174 static PyObject *
175 swig_varlink_getattr(swig_varlinkobject *v, char *n)
176 {
177 int i = 0;
178 char temp[128];
179
180 while (v->vars[i]) {
181 if (strcmp(v->vars[i]->name,n) == 0) {
182 return (*v->vars[i]->get_attr)();
183 }
184 i++;
185 }
186 sprintf(temp,"C global variable %s not found.", n);
187 PyErr_SetString(PyExc_NameError,temp);
188 return NULL;
189 }
190
191 /* -------------------------------------------------------------------
192 swig_varlink_setattr()
193
194 This function sets the value of a variable.
195 ------------------------------------------------------------------- */
196
197 static int
198 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p)
199 {
200 char temp[128];
201 int i = 0;
202 while (v->vars[i]) {
203 if (strcmp(v->vars[i]->name,n) == 0) {
204 return (*v->vars[i]->set_attr)(p);
205 }
206 i++;
207 }
208 sprintf(temp,"C global variable %s not found.", n);
209 PyErr_SetString(PyExc_NameError,temp);
210 return 1;
211 }
212
213 statichere PyTypeObject varlinktype = {
214 /* PyObject_HEAD_INIT(&PyType_Type) Note : This doesn't work on some machines */
215 PyObject_HEAD_INIT(0)
216 0,
217 "varlink", /* Type name */
218 sizeof(swig_varlinkobject), /* Basic size */
219 0, /* Itemsize */
220 0, /* Deallocator */
221 (printfunc) swig_varlink_print, /* Print */
222 (getattrfunc) swig_varlink_getattr, /* get attr */
223 (setattrfunc) swig_varlink_setattr, /* Set attr */
224 0, /* tp_compare */
225 (reprfunc) swig_varlink_repr, /* tp_repr */
226 0, /* tp_as_number */
227 0, /* tp_as_mapping*/
228 0, /* tp_hash */
229 };
230
231 /* Create a variable linking object for use later */
232
233 SWIGSTATIC PyObject *
234 SWIG_newvarlink(void)
235 {
236 swig_varlinkobject *result = 0;
237 result = PyMem_NEW(swig_varlinkobject,1);
238 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
239 result->ob_type = &varlinktype;
240 /* _Py_NewReference(result); Does not seem to be necessary */
241 result->nvars = 0;
242 result->maxvars = 64;
243 result->vars = (swig_globalvar **) malloc(64*sizeof(swig_globalvar *));
244 result->vars[0] = 0;
245 result->ob_refcnt = 0;
246 Py_XINCREF((PyObject *) result);
247 return ((PyObject*) result);
248 }
249
250 SWIGSTATIC void
251 SWIG_addvarlink(PyObject *p, char *name,
252 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p))
253 {
254 swig_varlinkobject *v;
255 v= (swig_varlinkobject *) p;
256
257 if (v->nvars >= v->maxvars -1) {
258 v->maxvars = 2*v->maxvars;
259 v->vars = (swig_globalvar **) realloc(v->vars,v->maxvars*sizeof(swig_globalvar *));
260 if (v->vars == NULL) {
261 fprintf(stderr,"SWIG : Fatal error in initializing Python module.\n");
262 exit(1);
263 }
264 }
265 v->vars[v->nvars] = (swig_globalvar *) malloc(sizeof(swig_globalvar));
266 v->vars[v->nvars]->name = (char *) malloc(strlen(name)+1);
267 strcpy(v->vars[v->nvars]->name,name);
268 v->vars[v->nvars]->get_attr = get_attr;
269 v->vars[v->nvars]->set_attr = set_attr;
270 v->nvars++;
271 v->vars[v->nvars] = 0;
272 }
273
274
275
276 /*****************************************************************************
277 * $Header$
278 *
279 * swigptr.swg
280 *
281 * This file contains supporting code for the SWIG run-time type checking
282 * mechanism. The following functions are available :
283 *
284 * SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *));
285 *
286 * Registers a new type-mapping with the type-checker. origtype is the
287 * original datatype and newtype is an equivalent type. cast is optional
288 * pointer to a function to cast pointer values between types (this
289 * is typically used to cast pointers from derived classes to base classes in C++)
290 *
291 * SWIG_MakePtr(char *buffer, void *ptr, char *typestring);
292 *
293 * Makes a pointer string from a pointer and typestring. The result is returned
294 * in buffer which is assumed to hold enough space for the result.
295 *
296 * char * SWIG_GetPtr(char *buffer, void **ptr, char *type)
297 *
298 * Gets a pointer value from a string. If there is a type-mismatch, returns
299 * a character string to the received type. On success, returns NULL.
300 *
301 *
302 * You can remap these functions by making a file called "swigptr.swg" in
303 * your the same directory as the interface file you are wrapping.
304 *
305 * These functions are normally declared static, but this file can be
306 * can be used in a multi-module environment by redefining the symbol
307 * SWIGSTATIC.
308 *****************************************************************************/
309
310 #include <stdlib.h>
311
312 #ifdef SWIG_GLOBAL
313 #ifdef __cplusplus
314 #define SWIGSTATIC extern "C"
315 #else
316 #define SWIGSTATIC
317 #endif
318 #endif
319
320 #ifndef SWIGSTATIC
321 #define SWIGSTATIC static
322 #endif
323
324
325 /* SWIG pointer structure */
326
327 typedef struct SwigPtrType {
328 char *name; /* Datatype name */
329 int len; /* Length (used for optimization) */
330 void *(*cast)(void *); /* Pointer casting function */
331 struct SwigPtrType *next; /* Linked list pointer */
332 } SwigPtrType;
333
334 /* Pointer cache structure */
335
336 typedef struct {
337 int stat; /* Status (valid) bit */
338 SwigPtrType *tp; /* Pointer to type structure */
339 char name[256]; /* Given datatype name */
340 char mapped[256]; /* Equivalent name */
341 } SwigCacheType;
342
343 /* Some variables */
344
345 static int SwigPtrMax = 64; /* Max entries that can be currently held */
346 /* This value may be adjusted dynamically */
347 static int SwigPtrN = 0; /* Current number of entries */
348 static int SwigPtrSort = 0; /* Status flag indicating sort */
349 static int SwigStart[256]; /* Starting positions of types */
350
351 /* Pointer table */
352 static SwigPtrType *SwigPtrTable = 0; /* Table containing pointer equivalences */
353
354 /* Cached values */
355
356 #define SWIG_CACHESIZE 8
357 #define SWIG_CACHEMASK 0x7
358 static SwigCacheType SwigCache[SWIG_CACHESIZE];
359 static int SwigCacheIndex = 0;
360 static int SwigLastCache = 0;
361
362 /* Sort comparison function */
363 static int swigsort(const void *data1, const void *data2) {
364 SwigPtrType *d1 = (SwigPtrType *) data1;
365 SwigPtrType *d2 = (SwigPtrType *) data2;
366 return strcmp(d1->name,d2->name);
367 }
368
369 /* Binary Search function */
370 static int swigcmp(const void *key, const void *data) {
371 char *k = (char *) key;
372 SwigPtrType *d = (SwigPtrType *) data;
373 return strncmp(k,d->name,d->len);
374 }
375
376 /* Register a new datatype with the type-checker */
377
378 SWIGSTATIC
379 void SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
380
381 int i;
382 SwigPtrType *t = 0,*t1;
383
384 /* Allocate the pointer table if necessary */
385
386 if (!SwigPtrTable) {
387 SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
388 SwigPtrN = 0;
389 }
390 /* Grow the table */
391 if (SwigPtrN >= SwigPtrMax) {
392 SwigPtrMax = 2*SwigPtrMax;
393 SwigPtrTable = (SwigPtrType *) realloc((char *) SwigPtrTable,SwigPtrMax*sizeof(SwigPtrType));
394 }
395 for (i = 0; i < SwigPtrN; i++)
396 if (strcmp(SwigPtrTable[i].name,origtype) == 0) {
397 t = &SwigPtrTable[i];
398 break;
399 }
400 if (!t) {
401 t = &SwigPtrTable[SwigPtrN];
402 t->name = origtype;
403 t->len = strlen(t->name);
404 t->cast = 0;
405 t->next = 0;
406 SwigPtrN++;
407 }
408
409 /* Check for existing entry */
410
411 while (t->next) {
412 if ((strcmp(t->name,newtype) == 0)) {
413 if (cast) t->cast = cast;
414 return;
415 }
416 t = t->next;
417 }
418
419 /* Now place entry (in sorted order) */
420
421 t1 = (SwigPtrType *) malloc(sizeof(SwigPtrType));
422 t1->name = newtype;
423 t1->len = strlen(t1->name);
424 t1->cast = cast;
425 t1->next = 0;
426 t->next = t1;
427 SwigPtrSort = 0;
428 }
429
430 /* Make a pointer value string */
431
432 SWIGSTATIC
433 void SWIG_MakePtr(char *_c, const void *_ptr, char *type) {
434 static char _hex[16] =
435 {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
436 'a', 'b', 'c', 'd', 'e', 'f'};
437 unsigned long _p, _s;
438 char _result[20], *_r; /* Note : a 64-bit hex number = 16 digits */
439 _r = _result;
440 _p = (unsigned long) _ptr;
441 if (_p > 0) {
442 while (_p > 0) {
443 _s = _p & 0xf;
444 *(_r++) = _hex[_s];
445 _p = _p >> 4;
446 }
447 *_r = '_';
448 while (_r >= _result)
449 *(_c++) = *(_r--);
450 } else {
451 strcpy (_c, "NULL");
452 }
453 if (_ptr)
454 strcpy (_c, type);
455 }
456
457 /* Define for backwards compatibility */
458
459 #define _swig_make_hex SWIG_MakePtr
460
461 /* Function for getting a pointer value */
462
463 SWIGSTATIC
464 char *SWIG_GetPtr(char *_c, void **ptr, char *_t)
465 {
466 unsigned long _p;
467 char temp_type[256];
468 char *name;
469 int i, len;
470 SwigPtrType *sp,*tp;
471 SwigCacheType *cache;
472 int start, end;
473 _p = 0;
474
475 /* Pointer values must start with leading underscore */
476 if (*_c == '_') {
477 _c++;
478 /* Extract hex value from pointer */
479 while (*_c) {
480 if ((*_c >= '0') && (*_c <= '9'))
481 _p = (_p << 4) + (*_c - '0');
482 else if ((*_c >= 'a') && (*_c <= 'f'))
483 _p = (_p << 4) + ((*_c - 'a') + 10);
484 else
485 break;
486 _c++;
487 }
488
489 if (_t) {
490 if (strcmp(_t,_c)) {
491 if (!SwigPtrSort) {
492 qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort);
493 for (i = 0; i < 256; i++) {
494 SwigStart[i] = SwigPtrN;
495 }
496 for (i = SwigPtrN-1; i >= 0; i--) {
497 SwigStart[(int) (SwigPtrTable[i].name[1])] = i;
498 }
499 for (i = 255; i >= 1; i--) {
500 if (SwigStart[i-1] > SwigStart[i])
501 SwigStart[i-1] = SwigStart[i];
502 }
503 SwigPtrSort = 1;
504 for (i = 0; i < SWIG_CACHESIZE; i++)
505 SwigCache[i].stat = 0;
506 }
507
508 /* First check cache for matches. Uses last cache value as starting point */
509 cache = &SwigCache[SwigLastCache];
510 for (i = 0; i < SWIG_CACHESIZE; i++) {
511 if (cache->stat) {
512 if (strcmp(_t,cache->name) == 0) {
513 if (strcmp(_c,cache->mapped) == 0) {
514 cache->stat++;
515 *ptr = (void *) _p;
516 if (cache->tp->cast) *ptr = (*(cache->tp->cast))(*ptr);
517 return (char *) 0;
518 }
519 }
520 }
521 SwigLastCache = (SwigLastCache+1) & SWIG_CACHEMASK;
522 if (!SwigLastCache) cache = SwigCache;
523 else cache++;
524 }
525 /* We have a type mismatch. Will have to look through our type
526 mapping table to figure out whether or not we can accept this datatype */
527
528 start = SwigStart[(int) _t[1]];
529 end = SwigStart[(int) _t[1]+1];
530 sp = &SwigPtrTable[start];
531 while (start < end) {
532 if (swigcmp(_t,sp) == 0) break;
533 sp++;
534 start++;
535 }
536 if (start >= end) sp = 0;
537 /* Try to find a match for this */
538 if (sp) {
539 while (swigcmp(_t,sp) == 0) {
540 name = sp->name;
541 len = sp->len;
542 tp = sp->next;
543 /* Try to find entry for our given datatype */
544 while(tp) {
545 if (tp->len >= 255) {
546 return _c;
547 }
548 strcpy(temp_type,tp->name);
549 strncat(temp_type,_t+len,255-tp->len);
550 if (strcmp(_c,temp_type) == 0) {
551
552 strcpy(SwigCache[SwigCacheIndex].mapped,_c);
553 strcpy(SwigCache[SwigCacheIndex].name,_t);
554 SwigCache[SwigCacheIndex].stat = 1;
555 SwigCache[SwigCacheIndex].tp = tp;
556 SwigCacheIndex = SwigCacheIndex & SWIG_CACHEMASK;
557
558 /* Get pointer value */
559 *ptr = (void *) _p;
560 if (tp->cast) *ptr = (*(tp->cast))(*ptr);
561 return (char *) 0;
562 }
563 tp = tp->next;
564 }
565 sp++;
566 /* Hmmm. Didn't find it this time */
567 }
568 }
569 /* Didn't find any sort of match for this data.
570 Get the pointer value and return the received type */
571 *ptr = (void *) _p;
572 return _c;
573 } else {
574 /* Found a match on the first try. Return pointer value */
575 *ptr = (void *) _p;
576 return (char *) 0;
577 }
578 } else {
579 /* No type specified. Good luck */
580 *ptr = (void *) _p;
581 return (char *) 0;
582 }
583 } else {
584 if (strcmp (_c, "NULL") == 0) {
585 *ptr = (void *) 0;
586 return (char *) 0;
587 }
588 *ptr = (void *) 0;
589 return _c;
590 }
591 }
592
593 /* Compatibility mode */
594
595 #define _swig_get_hex SWIG_GetPtr
596
597 #define SWIG_init initwxc
598
599 #define SWIG_name "wxc"
600
601 #include "helpers.h"
602
603 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
604 PyObject* o2;
605 PyObject* o3;
606 if (!target) {
607 target = o;
608 } else if (target == Py_None) {
609 Py_DECREF(Py_None);
610 target = o;
611 } else {
612 if (!PyList_Check(target)) {
613 o2 = target;
614 target = PyList_New(0);
615 PyList_Append(target, o2);
616 Py_XDECREF(o2);
617 }
618 PyList_Append(target,o);
619 Py_XDECREF(o);
620 }
621 return target;
622 }
623
624 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
625 PyObject* o2;
626 PyObject* o3;
627
628 if (!target) {
629 target = o;
630 } else if (target == Py_None) {
631 Py_DECREF(Py_None);
632 target = o;
633 } else {
634 if (!PyTuple_Check(target)) {
635 o2 = target;
636 target = PyTuple_New(1);
637 PyTuple_SetItem(target, 0, o2);
638 }
639 o3 = PyTuple_New(1);
640 PyTuple_SetItem(o3, 0, o);
641
642 o2 = target;
643 target = PySequence_Concat(o2, o3);
644 Py_DECREF(o2);
645 Py_DECREF(o3);
646 }
647 return target;
648 }
649
650
651 extern byte* byte_LIST_helper(PyObject* source);
652 extern int* int_LIST_helper(PyObject* source);
653 extern long* long_LIST_helper(PyObject* source);
654 extern char** string_LIST_helper(PyObject* source);
655 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
656 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
657 extern wxString* wxString_LIST_helper(PyObject* source);
658 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
659
660
661 static char* wxStringErrorMsg = "string type is required for parameter";
662
663
664 #include <ctype.h>
665
666 /*------------------------------------------------------------------
667 ptrcast(value,type)
668
669 Constructs a new pointer value. Value may either be a string
670 or an integer. Type is a string corresponding to either the
671 C datatype or mangled datatype.
672
673 ptrcast(0,"Vector *")
674 or
675 ptrcast(0,"Vector_p")
676 ------------------------------------------------------------------ */
677
678 static PyObject *ptrcast(PyObject *_PTRVALUE, char *type) {
679
680 char *r,*s;
681 void *ptr;
682 PyObject *obj;
683 char *typestr,*c;
684
685 /* Produce a "mangled" version of the type string. */
686
687 typestr = (char *) malloc(strlen(type)+2);
688
689 /* Go through and munge the typestring */
690
691 r = typestr;
692 *(r++) = '_';
693 c = type;
694 while (*c) {
695 if (!isspace(*c)) {
696 if ((*c == '*') || (*c == '&')) {
697 *(r++) = 'p';
698 }
699 else *(r++) = *c;
700 } else {
701 *(r++) = '_';
702 }
703 c++;
704 }
705 *(r++) = 0;
706
707 /* Check to see what kind of object _PTRVALUE is */
708
709 if (PyInt_Check(_PTRVALUE)) {
710 ptr = (void *) PyInt_AsLong(_PTRVALUE);
711 /* Received a numerical value. Make a pointer out of it */
712 r = (char *) malloc(strlen(typestr)+22);
713 if (ptr) {
714 SWIG_MakePtr(r, ptr, typestr);
715 } else {
716 sprintf(r,"_0%s",typestr);
717 }
718 obj = PyString_FromString(r);
719 free(r);
720 } else if (PyString_Check(_PTRVALUE)) {
721 /* Have a real pointer value now. Try to strip out the pointer
722 value */
723 s = PyString_AsString(_PTRVALUE);
724 r = (char *) malloc(strlen(type)+22);
725
726 /* Now extract the pointer value */
727 if (!SWIG_GetPtr(s,&ptr,0)) {
728 if (ptr) {
729 SWIG_MakePtr(r,ptr,typestr);
730 } else {
731 sprintf(r,"_0%s",typestr);
732 }
733 obj = PyString_FromString(r);
734 } else {
735 obj = NULL;
736 }
737 free(r);
738 } else {
739 obj = NULL;
740 }
741 free(typestr);
742 if (!obj)
743 PyErr_SetString(PyExc_TypeError,"Type error in ptrcast. Argument is not a valid pointer value.");
744 return obj;
745 }
746
747 /*------------------------------------------------------------------
748 ptrvalue(ptr,type = 0)
749
750 Attempts to dereference a pointer value. If type is given, it
751 will try to use that type. Otherwise, this function will attempt
752 to "guess" the proper datatype by checking against all of the
753 builtin C datatypes.
754 ------------------------------------------------------------------ */
755
756 static PyObject *ptrvalue(PyObject *_PTRVALUE, int index, char *type) {
757 void *ptr;
758 char *s;
759 PyObject *obj;
760
761 if (!PyString_Check(_PTRVALUE)) {
762 PyErr_SetString(PyExc_TypeError,"Type error in ptrvalue. Argument is not a valid pointer value.");
763 return NULL;
764 }
765 s = PyString_AsString(_PTRVALUE);
766 if (SWIG_GetPtr(s,&ptr,0)) {
767 PyErr_SetString(PyExc_TypeError,"Type error in ptrvalue. Argument is not a valid pointer value.");
768 return NULL;
769 }
770
771 /* If no datatype was passed, try a few common datatypes first */
772
773 if (!type) {
774
775 /* No datatype was passed. Type to figure out if it's a common one */
776
777 if (!SWIG_GetPtr(s,&ptr,"_int_p")) {
778 type = "int";
779 } else if (!SWIG_GetPtr(s,&ptr,"_double_p")) {
780 type = "double";
781 } else if (!SWIG_GetPtr(s,&ptr,"_short_p")) {
782 type = "short";
783 } else if (!SWIG_GetPtr(s,&ptr,"_long_p")) {
784 type = "long";
785 } else if (!SWIG_GetPtr(s,&ptr,"_float_p")) {
786 type = "float";
787 } else if (!SWIG_GetPtr(s,&ptr,"_char_p")) {
788 type = "char";
789 } else if (!SWIG_GetPtr(s,&ptr,"_char_pp")) {
790 type = "char *";
791 } else {
792 type = "unknown";
793 }
794 }
795
796 if (!ptr) {
797 PyErr_SetString(PyExc_TypeError,"Unable to dereference NULL pointer.");
798 return NULL;
799 }
800
801 /* Now we have a datatype. Try to figure out what to do about it */
802 if (strcmp(type,"int") == 0) {
803 obj = PyInt_FromLong((long) *(((int *) ptr) + index));
804 } else if (strcmp(type,"double") == 0) {
805 obj = PyFloat_FromDouble((double) *(((double *) ptr)+index));
806 } else if (strcmp(type,"short") == 0) {
807 obj = PyInt_FromLong((long) *(((short *) ptr)+index));
808 } else if (strcmp(type,"long") == 0) {
809 obj = PyInt_FromLong((long) *(((long *) ptr)+index));
810 } else if (strcmp(type,"float") == 0) {
811 obj = PyFloat_FromDouble((double) *(((float *) ptr)+index));
812 } else if (strcmp(type,"char") == 0) {
813 obj = PyString_FromString(((char *) ptr)+index);
814 } else if (strcmp(type,"char *") == 0) {
815 char *c = *(((char **) ptr)+index);
816 if (c) obj = PyString_FromString(c);
817 else obj = PyString_FromString("NULL");
818 } else {
819 PyErr_SetString(PyExc_TypeError,"Unable to dereference unsupported datatype.");
820 return NULL;
821 }
822 return obj;
823 }
824
825 /*------------------------------------------------------------------
826 ptrcreate(type,value = 0,numelements = 1)
827
828 Attempts to create a new object of given type. Type must be
829 a basic C datatype. Will not create complex objects.
830 ------------------------------------------------------------------ */
831
832 static PyObject *ptrcreate(char *type, PyObject *_PYVALUE, int numelements) {
833 void *ptr;
834 PyObject *obj;
835 int sz;
836 char *cast;
837 char temp[40];
838
839 /* Check the type string against a variety of possibilities */
840
841 if (strcmp(type,"int") == 0) {
842 sz = sizeof(int)*numelements;
843 cast = "_int_p";
844 } else if (strcmp(type,"short") == 0) {
845 sz = sizeof(short)*numelements;
846 cast = "_short_p";
847 } else if (strcmp(type,"long") == 0) {
848 sz = sizeof(long)*numelements;
849 cast = "_long_p";
850 } else if (strcmp(type,"double") == 0) {
851 sz = sizeof(double)*numelements;
852 cast = "_double_p";
853 } else if (strcmp(type,"float") == 0) {
854 sz = sizeof(float)*numelements;
855 cast = "_float_p";
856 } else if (strcmp(type,"char") == 0) {
857 sz = sizeof(char)*numelements;
858 cast = "_char_p";
859 } else if (strcmp(type,"char *") == 0) {
860 sz = sizeof(char *)*(numelements+1);
861 cast = "_char_pp";
862 } else {
863 PyErr_SetString(PyExc_TypeError,"Unable to create unknown datatype.");
864 return NULL;
865 }
866
867 /* Create the new object */
868
869 ptr = (void *) malloc(sz);
870 if (!ptr) {
871 PyErr_SetString(PyExc_MemoryError,"Out of memory in swig_create.");
872 return NULL;
873 }
874
875 /* Now try to set its default value */
876
877 if (_PYVALUE) {
878 if (strcmp(type,"int") == 0) {
879 int *ip,i,ivalue;
880 ivalue = (int) PyInt_AsLong(_PYVALUE);
881 ip = (int *) ptr;
882 for (i = 0; i < numelements; i++)
883 ip[i] = ivalue;
884 } else if (strcmp(type,"short") == 0) {
885 short *ip,ivalue;
886 int i;
887 ivalue = (short) PyInt_AsLong(_PYVALUE);
888 ip = (short *) ptr;
889 for (i = 0; i < numelements; i++)
890 ip[i] = ivalue;
891 } else if (strcmp(type,"long") == 0) {
892 long *ip,ivalue;
893 int i;
894 ivalue = (long) PyInt_AsLong(_PYVALUE);
895 ip = (long *) ptr;
896 for (i = 0; i < numelements; i++)
897 ip[i] = ivalue;
898 } else if (strcmp(type,"double") == 0) {
899 double *ip,ivalue;
900 int i;
901 ivalue = (double) PyFloat_AsDouble(_PYVALUE);
902 ip = (double *) ptr;
903 for (i = 0; i < numelements; i++)
904 ip[i] = ivalue;
905 } else if (strcmp(type,"float") == 0) {
906 float *ip,ivalue;
907 int i;
908 ivalue = (float) PyFloat_AsDouble(_PYVALUE);
909 ip = (float *) ptr;
910 for (i = 0; i < numelements; i++)
911 ip[i] = ivalue;
912 } else if (strcmp(type,"char") == 0) {
913 char *ip,*ivalue;
914 ivalue = (char *) PyString_AsString(_PYVALUE);
915 ip = (char *) ptr;
916 strncpy(ip,ivalue,numelements-1);
917 } else if (strcmp(type,"char *") == 0) {
918 char **ip, *ivalue;
919 int i;
920 ivalue = (char *) PyString_AsString(_PYVALUE);
921 ip = (char **) ptr;
922 for (i = 0; i < numelements; i++) {
923 if (ivalue) {
924 ip[i] = (char *) malloc(strlen(ivalue)+1);
925 strcpy(ip[i],ivalue);
926 } else {
927 ip[i] = 0;
928 }
929 }
930 ip[numelements] = 0;
931 }
932 }
933 /* Create the pointer value */
934
935 SWIG_MakePtr(temp,ptr,cast);
936 obj = PyString_FromString(temp);
937 return obj;
938 }
939
940
941 /*------------------------------------------------------------------
942 ptrset(ptr,value,index = 0,type = 0)
943
944 Attempts to set the value of a pointer variable. If type is
945 given, we will use that type. Otherwise, we'll guess the datatype.
946 ------------------------------------------------------------------ */
947
948 static PyObject *ptrset(PyObject *_PTRVALUE, PyObject *_PYVALUE, int index, char *type) {
949 void *ptr;
950 char *s;
951 PyObject *obj;
952
953 if (!PyString_Check(_PTRVALUE)) {
954 PyErr_SetString(PyExc_TypeError,"Type error in ptrset. Argument is not a valid pointer value.");
955 return NULL;
956 }
957 s = PyString_AsString(_PTRVALUE);
958 if (SWIG_GetPtr(s,&ptr,0)) {
959 PyErr_SetString(PyExc_TypeError,"Type error in ptrset. Argument is not a valid pointer value.");
960 return NULL;
961 }
962
963 /* If no datatype was passed, try a few common datatypes first */
964
965 if (!type) {
966
967 /* No datatype was passed. Type to figure out if it's a common one */
968
969 if (!SWIG_GetPtr(s,&ptr,"_int_p")) {
970 type = "int";
971 } else if (!SWIG_GetPtr(s,&ptr,"_double_p")) {
972 type = "double";
973 } else if (!SWIG_GetPtr(s,&ptr,"_short_p")) {
974 type = "short";
975 } else if (!SWIG_GetPtr(s,&ptr,"_long_p")) {
976 type = "long";
977 } else if (!SWIG_GetPtr(s,&ptr,"_float_p")) {
978 type = "float";
979 } else if (!SWIG_GetPtr(s,&ptr,"_char_p")) {
980 type = "char";
981 } else if (!SWIG_GetPtr(s,&ptr,"_char_pp")) {
982 type = "char *";
983 } else {
984 type = "unknown";
985 }
986 }
987
988 if (!ptr) {
989 PyErr_SetString(PyExc_TypeError,"Unable to set NULL pointer.");
990 return NULL;
991 }
992
993 /* Now we have a datatype. Try to figure out what to do about it */
994 if (strcmp(type,"int") == 0) {
995 *(((int *) ptr)+index) = (int) PyInt_AsLong(_PYVALUE);
996 } else if (strcmp(type,"double") == 0) {
997 *(((double *) ptr)+index) = (double) PyFloat_AsDouble(_PYVALUE);
998 } else if (strcmp(type,"short") == 0) {
999 *(((short *) ptr)+index) = (short) PyInt_AsLong(_PYVALUE);
1000 } else if (strcmp(type,"long") == 0) {
1001 *(((long *) ptr)+index) = (long) PyInt_AsLong(_PYVALUE);
1002 } else if (strcmp(type,"float") == 0) {
1003 *(((float *) ptr)+index) = (float) PyFloat_AsDouble(_PYVALUE);
1004 } else if (strcmp(type,"char") == 0) {
1005 char *c = PyString_AsString(_PYVALUE);
1006 strcpy(((char *) ptr)+index, c);
1007 } else if (strcmp(type,"char *") == 0) {
1008 char *c = PyString_AsString(_PYVALUE);
1009 char **ca = (char **) ptr;
1010 if (ca[index]) free(ca[index]);
1011 if (strcmp(c,"NULL") == 0) {
1012 ca[index] = 0;
1013 } else {
1014 ca[index] = (char *) malloc(strlen(c)+1);
1015 strcpy(ca[index],c);
1016 }
1017 } else {
1018 PyErr_SetString(PyExc_TypeError,"Unable to set unsupported datatype.");
1019 return NULL;
1020 }
1021 Py_INCREF(Py_None);
1022 return Py_None;
1023 }
1024
1025
1026 /*------------------------------------------------------------------
1027 ptradd(ptr,offset)
1028
1029 Adds a value to an existing pointer value. Will do a type-dependent
1030 add for basic datatypes. For other datatypes, will do a byte-add.
1031 ------------------------------------------------------------------ */
1032
1033 static PyObject *ptradd(PyObject *_PTRVALUE, int offset) {
1034
1035 char *r,*s;
1036 void *ptr,*junk;
1037 PyObject *obj;
1038 char *type;
1039
1040 /* Check to see what kind of object _PTRVALUE is */
1041
1042 if (PyString_Check(_PTRVALUE)) {
1043 /* Have a potential pointer value now. Try to strip out the value */
1044 s = PyString_AsString(_PTRVALUE);
1045
1046 /* Try to handle a few common datatypes first */
1047
1048 if (!SWIG_GetPtr(s,&ptr,"_int_p")) {
1049 ptr = (void *) (((int *) ptr) + offset);
1050 } else if (!SWIG_GetPtr(s,&ptr,"_double_p")) {
1051 ptr = (void *) (((double *) ptr) + offset);
1052 } else if (!SWIG_GetPtr(s,&ptr,"_short_p")) {
1053 ptr = (void *) (((short *) ptr) + offset);
1054 } else if (!SWIG_GetPtr(s,&ptr,"_long_p")) {
1055 ptr = (void *) (((long *) ptr) + offset);
1056 } else if (!SWIG_GetPtr(s,&ptr,"_float_p")) {
1057 ptr = (void *) (((float *) ptr) + offset);
1058 } else if (!SWIG_GetPtr(s,&ptr,"_char_p")) {
1059 ptr = (void *) (((char *) ptr) + offset);
1060 } else if (!SWIG_GetPtr(s,&ptr,0)) {
1061 ptr = (void *) (((char *) ptr) + offset);
1062 } else {
1063 PyErr_SetString(PyExc_TypeError,"Type error in ptradd. Argument is not a valid pointer value.");
1064 return NULL;
1065 }
1066 type = SWIG_GetPtr(s,&junk,"INVALID POINTER");
1067 r = (char *) malloc(strlen(type)+20);
1068 if (ptr) {
1069 SWIG_MakePtr(r,ptr,type);
1070 } else {
1071 sprintf(r,"_0%s",type);
1072 }
1073 obj = PyString_FromString(r);
1074 free(r);
1075 }
1076 return obj;
1077 }
1078
1079 /*------------------------------------------------------------------
1080 ptrmap(type1,type2)
1081
1082 Allows a mapping between type1 and type2. (Like a typedef)
1083 ------------------------------------------------------------------ */
1084
1085 static void ptrmap(char *type1, char *type2) {
1086
1087 char *typestr1,*typestr2,*c,*r;
1088
1089 /* Produce a "mangled" version of the type string. */
1090
1091 typestr1 = (char *) malloc(strlen(type1)+2);
1092
1093 /* Go through and munge the typestring */
1094
1095 r = typestr1;
1096 *(r++) = '_';
1097 c = type1;
1098 while (*c) {
1099 if (!isspace(*c)) {
1100 if ((*c == '*') || (*c == '&')) {
1101 *(r++) = 'p';
1102 }
1103 else *(r++) = *c;
1104 } else {
1105 *(r++) = '_';
1106 }
1107 c++;
1108 }
1109 *(r++) = 0;
1110
1111 typestr2 = (char *) malloc(strlen(type2)+2);
1112
1113 /* Go through and munge the typestring */
1114
1115 r = typestr2;
1116 *(r++) = '_';
1117 c = type2;
1118 while (*c) {
1119 if (!isspace(*c)) {
1120 if ((*c == '*') || (*c == '&')) {
1121 *(r++) = 'p';
1122 }
1123 else *(r++) = *c;
1124 } else {
1125 *(r++) = '_';
1126 }
1127 c++;
1128 }
1129 *(r++) = 0;
1130 SWIG_RegisterMapping(typestr1,typestr2,0);
1131 SWIG_RegisterMapping(typestr2,typestr1,0);
1132 }
1133
1134 /*------------------------------------------------------------------
1135 ptrfree(ptr)
1136
1137 Destroys a pointer value
1138 ------------------------------------------------------------------ */
1139
1140 PyObject *ptrfree(PyObject *_PTRVALUE) {
1141 void *ptr, *junk;
1142 char *s;
1143
1144 if (!PyString_Check(_PTRVALUE)) {
1145 PyErr_SetString(PyExc_TypeError,"Type error in ptrfree. Argument is not a valid pointer value.");
1146 return NULL;
1147 }
1148 s = PyString_AsString(_PTRVALUE);
1149 if (SWIG_GetPtr(s,&ptr,0)) {
1150 PyErr_SetString(PyExc_TypeError,"Type error in ptrfree. Argument is not a valid pointer value.");
1151 return NULL;
1152 }
1153
1154 /* Check to see if this pointer is a char ** */
1155 if (!SWIG_GetPtr(s,&junk,"_char_pp")) {
1156 char **c = (char **) ptr;
1157 if (c) {
1158 int i = 0;
1159 while (c[i]) {
1160 free(c[i]);
1161 i++;
1162 }
1163 }
1164 }
1165 if (ptr)
1166 free((char *) ptr);
1167
1168 Py_INCREF(Py_None);
1169 return Py_None;
1170 }
1171
1172
1173 class __wxPyCleanup {
1174 public:
1175 __wxPyCleanup() { }
1176 ~__wxPyCleanup() { wxApp::CleanUp(); }
1177 };
1178
1179 extern "C" SWIGEXPORT(void,initwindowsc)();
1180 extern "C" SWIGEXPORT(void,initwindows2c)();
1181 extern "C" SWIGEXPORT(void,initeventsc)();
1182 extern "C" SWIGEXPORT(void,initmiscc)();
1183 extern "C" SWIGEXPORT(void,initmisc2c)();
1184 extern "C" SWIGEXPORT(void,initgdic)();
1185 extern "C" SWIGEXPORT(void,initmdic)();
1186 extern "C" SWIGEXPORT(void,initcontrolsc)();
1187 extern "C" SWIGEXPORT(void,initcontrols2c)();
1188 extern "C" SWIGEXPORT(void,initcmndlgsc)();
1189 extern "C" SWIGEXPORT(void,initstattoolc)();
1190 extern "C" SWIGEXPORT(void,initframesc)();
1191 extern "C" SWIGEXPORT(void,initwindows3c)();
1192 extern "C" SWIGEXPORT(void,initimagec)();
1193 extern "C" SWIGEXPORT(void,initprintfwc)();
1194 #ifndef SEPARATE
1195 extern "C" SWIGEXPORT(void,initutilsc)();
1196 //extern "C" SWIGEXPORT(void,initoglc)();
1197 extern "C" SWIGEXPORT(void,initglcanvasc)();
1198 #endif
1199 static PyObject *_wrap_ptrcast(PyObject *self, PyObject *args) {
1200 PyObject * _resultobj;
1201 PyObject * _result;
1202 PyObject * _arg0;
1203 char * _arg1;
1204 PyObject * _obj0 = 0;
1205
1206 self = self;
1207 if(!PyArg_ParseTuple(args,"Os:ptrcast",&_obj0,&_arg1))
1208 return NULL;
1209 {
1210 _arg0 = _obj0;
1211 }
1212 {
1213 wxPy_BEGIN_ALLOW_THREADS;
1214 _result = (PyObject *)ptrcast(_arg0,_arg1);
1215
1216 wxPy_END_ALLOW_THREADS;
1217 }{
1218 _resultobj = _result;
1219 }
1220 return _resultobj;
1221 }
1222
1223 static PyObject *_wrap_ptrvalue(PyObject *self, PyObject *args) {
1224 PyObject * _resultobj;
1225 PyObject * _result;
1226 PyObject * _arg0;
1227 int _arg1 = 0;
1228 char * _arg2 = 0;
1229 PyObject * _obj0 = 0;
1230
1231 self = self;
1232 if(!PyArg_ParseTuple(args,"O|is:ptrvalue",&_obj0,&_arg1,&_arg2))
1233 return NULL;
1234 {
1235 _arg0 = _obj0;
1236 }
1237 {
1238 wxPy_BEGIN_ALLOW_THREADS;
1239 _result = (PyObject *)ptrvalue(_arg0,_arg1,_arg2);
1240
1241 wxPy_END_ALLOW_THREADS;
1242 }{
1243 _resultobj = _result;
1244 }
1245 return _resultobj;
1246 }
1247
1248 static PyObject *_wrap_ptrset(PyObject *self, PyObject *args) {
1249 PyObject * _resultobj;
1250 PyObject * _result;
1251 PyObject * _arg0;
1252 PyObject * _arg1;
1253 int _arg2 = 0;
1254 char * _arg3 = 0;
1255 PyObject * _obj0 = 0;
1256 PyObject * _obj1 = 0;
1257
1258 self = self;
1259 if(!PyArg_ParseTuple(args,"OO|is:ptrset",&_obj0,&_obj1,&_arg2,&_arg3))
1260 return NULL;
1261 {
1262 _arg0 = _obj0;
1263 }
1264 {
1265 _arg1 = _obj1;
1266 }
1267 {
1268 wxPy_BEGIN_ALLOW_THREADS;
1269 _result = (PyObject *)ptrset(_arg0,_arg1,_arg2,_arg3);
1270
1271 wxPy_END_ALLOW_THREADS;
1272 }{
1273 _resultobj = _result;
1274 }
1275 return _resultobj;
1276 }
1277
1278 static PyObject *_wrap_ptrcreate(PyObject *self, PyObject *args) {
1279 PyObject * _resultobj;
1280 PyObject * _result;
1281 char * _arg0;
1282 PyObject * _arg1 = 0;
1283 int _arg2 = 1;
1284 PyObject * _obj1 = 0;
1285
1286 self = self;
1287 if(!PyArg_ParseTuple(args,"s|Oi:ptrcreate",&_arg0,&_obj1,&_arg2))
1288 return NULL;
1289 if (_obj1)
1290 {
1291 _arg1 = _obj1;
1292 }
1293 {
1294 wxPy_BEGIN_ALLOW_THREADS;
1295 _result = (PyObject *)ptrcreate(_arg0,_arg1,_arg2);
1296
1297 wxPy_END_ALLOW_THREADS;
1298 }{
1299 _resultobj = _result;
1300 }
1301 return _resultobj;
1302 }
1303
1304 static PyObject *_wrap_ptrfree(PyObject *self, PyObject *args) {
1305 PyObject * _resultobj;
1306 PyObject * _result;
1307 PyObject * _arg0;
1308 PyObject * _obj0 = 0;
1309
1310 self = self;
1311 if(!PyArg_ParseTuple(args,"O:ptrfree",&_obj0))
1312 return NULL;
1313 {
1314 _arg0 = _obj0;
1315 }
1316 {
1317 wxPy_BEGIN_ALLOW_THREADS;
1318 _result = (PyObject *)ptrfree(_arg0);
1319
1320 wxPy_END_ALLOW_THREADS;
1321 }{
1322 _resultobj = _result;
1323 }
1324 return _resultobj;
1325 }
1326
1327 static PyObject *_wrap_ptradd(PyObject *self, PyObject *args) {
1328 PyObject * _resultobj;
1329 PyObject * _result;
1330 PyObject * _arg0;
1331 int _arg1;
1332 PyObject * _obj0 = 0;
1333
1334 self = self;
1335 if(!PyArg_ParseTuple(args,"Oi:ptradd",&_obj0,&_arg1))
1336 return NULL;
1337 {
1338 _arg0 = _obj0;
1339 }
1340 {
1341 wxPy_BEGIN_ALLOW_THREADS;
1342 _result = (PyObject *)ptradd(_arg0,_arg1);
1343
1344 wxPy_END_ALLOW_THREADS;
1345 }{
1346 _resultobj = _result;
1347 }
1348 return _resultobj;
1349 }
1350
1351 static PyObject *_wrap_ptrmap(PyObject *self, PyObject *args) {
1352 PyObject * _resultobj;
1353 char * _arg0;
1354 char * _arg1;
1355
1356 self = self;
1357 if(!PyArg_ParseTuple(args,"ss:ptrmap",&_arg0,&_arg1))
1358 return NULL;
1359 {
1360 wxPy_BEGIN_ALLOW_THREADS;
1361 ptrmap(_arg0,_arg1);
1362
1363 wxPy_END_ALLOW_THREADS;
1364 } Py_INCREF(Py_None);
1365 _resultobj = Py_None;
1366 return _resultobj;
1367 }
1368
1369 static int _wrap_wxPyDefaultPosition_set(PyObject *val) {
1370 char * tval;
1371 wxPoint * temp;
1372
1373 tval = (char *) PyString_AsString(val);
1374 if (PyErr_Occurred()) {
1375 PyErr_SetString(PyExc_TypeError,"C variable 'wxPyDefaultPosition'(wxPoint *)");
1376 return 1;
1377 }
1378 if (tval) {
1379 if (SWIG_GetPtr(tval,(void **) &temp,"_wxPoint_p")) {
1380 PyErr_SetString(PyExc_TypeError,"Type error in value of wxPyDefaultPosition. Expected _wxPoint_p.");
1381 return 1;
1382 }
1383 }
1384 wxPyDefaultPosition = *temp;
1385 return 0;
1386 }
1387
1388 static PyObject *_wrap_wxPyDefaultPosition_get() {
1389 PyObject * pyobj;
1390 char ptemp[128];
1391
1392 SWIG_MakePtr(ptemp,(char *) &wxPyDefaultPosition,"_wxPoint_p");
1393 pyobj = PyString_FromString(ptemp);
1394 return pyobj;
1395 }
1396
1397 static int _wrap_wxPyDefaultSize_set(PyObject *val) {
1398 char * tval;
1399 wxSize * temp;
1400
1401 tval = (char *) PyString_AsString(val);
1402 if (PyErr_Occurred()) {
1403 PyErr_SetString(PyExc_TypeError,"C variable 'wxPyDefaultSize'(wxSize *)");
1404 return 1;
1405 }
1406 if (tval) {
1407 if (SWIG_GetPtr(tval,(void **) &temp,"_wxSize_p")) {
1408 PyErr_SetString(PyExc_TypeError,"Type error in value of wxPyDefaultSize. Expected _wxSize_p.");
1409 return 1;
1410 }
1411 }
1412 wxPyDefaultSize = *temp;
1413 return 0;
1414 }
1415
1416 static PyObject *_wrap_wxPyDefaultSize_get() {
1417 PyObject * pyobj;
1418 char ptemp[128];
1419
1420 SWIG_MakePtr(ptemp,(char *) &wxPyDefaultSize,"_wxSize_p");
1421 pyobj = PyString_FromString(ptemp);
1422 return pyobj;
1423 }
1424
1425 static void *SwigwxPyAppTowxEvtHandler(void *ptr) {
1426 wxPyApp *src;
1427 wxEvtHandler *dest;
1428 src = (wxPyApp *) ptr;
1429 dest = (wxEvtHandler *) src;
1430 return (void *) dest;
1431 }
1432
1433 static wxPyApp *new_wxPyApp() {
1434 wxPythonApp = new wxPyApp();
1435 return wxPythonApp;
1436 }
1437
1438 static PyObject *_wrap_new_wxPyApp(PyObject *self, PyObject *args) {
1439 PyObject * _resultobj;
1440 wxPyApp * _result;
1441 char _ptemp[128];
1442
1443 self = self;
1444 if(!PyArg_ParseTuple(args,":new_wxPyApp"))
1445 return NULL;
1446 {
1447 wxPy_BEGIN_ALLOW_THREADS;
1448 _result = (wxPyApp *)new_wxPyApp();
1449
1450 wxPy_END_ALLOW_THREADS;
1451 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyApp_p");
1452 _resultobj = Py_BuildValue("s",_ptemp);
1453 return _resultobj;
1454 }
1455
1456 #define delete_wxPyApp(_swigobj) (delete _swigobj)
1457 static PyObject *_wrap_delete_wxPyApp(PyObject *self, PyObject *args) {
1458 PyObject * _resultobj;
1459 wxPyApp * _arg0;
1460 char * _argc0 = 0;
1461
1462 self = self;
1463 if(!PyArg_ParseTuple(args,"s:delete_wxPyApp",&_argc0))
1464 return NULL;
1465 if (_argc0) {
1466 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyApp. Expected _wxPyApp_p.");
1468 return NULL;
1469 }
1470 }
1471 {
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 delete_wxPyApp(_arg0);
1474
1475 wxPy_END_ALLOW_THREADS;
1476 } Py_INCREF(Py_None);
1477 _resultobj = Py_None;
1478 return _resultobj;
1479 }
1480
1481 #define wxPyApp_GetAppName(_swigobj) (_swigobj->GetAppName())
1482 static PyObject *_wrap_wxPyApp_GetAppName(PyObject *self, PyObject *args) {
1483 PyObject * _resultobj;
1484 wxString * _result;
1485 wxPyApp * _arg0;
1486 char * _argc0 = 0;
1487
1488 self = self;
1489 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetAppName",&_argc0))
1490 return NULL;
1491 if (_argc0) {
1492 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetAppName. Expected _wxPyApp_p.");
1494 return NULL;
1495 }
1496 }
1497 {
1498 wxPy_BEGIN_ALLOW_THREADS;
1499 _result = new wxString (wxPyApp_GetAppName(_arg0));
1500
1501 wxPy_END_ALLOW_THREADS;
1502 }{
1503 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1504 }
1505 {
1506 delete _result;
1507 }
1508 return _resultobj;
1509 }
1510
1511 #define wxPyApp_GetClassName(_swigobj) (_swigobj->GetClassName())
1512 static PyObject *_wrap_wxPyApp_GetClassName(PyObject *self, PyObject *args) {
1513 PyObject * _resultobj;
1514 wxString * _result;
1515 wxPyApp * _arg0;
1516 char * _argc0 = 0;
1517
1518 self = self;
1519 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetClassName",&_argc0))
1520 return NULL;
1521 if (_argc0) {
1522 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetClassName. Expected _wxPyApp_p.");
1524 return NULL;
1525 }
1526 }
1527 {
1528 wxPy_BEGIN_ALLOW_THREADS;
1529 _result = new wxString (wxPyApp_GetClassName(_arg0));
1530
1531 wxPy_END_ALLOW_THREADS;
1532 }{
1533 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1534 }
1535 {
1536 delete _result;
1537 }
1538 return _resultobj;
1539 }
1540
1541 #define wxPyApp_GetExitOnFrameDelete(_swigobj) (_swigobj->GetExitOnFrameDelete())
1542 static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args) {
1543 PyObject * _resultobj;
1544 bool _result;
1545 wxPyApp * _arg0;
1546 char * _argc0 = 0;
1547
1548 self = self;
1549 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetExitOnFrameDelete",&_argc0))
1550 return NULL;
1551 if (_argc0) {
1552 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetExitOnFrameDelete. Expected _wxPyApp_p.");
1554 return NULL;
1555 }
1556 }
1557 {
1558 wxPy_BEGIN_ALLOW_THREADS;
1559 _result = (bool )wxPyApp_GetExitOnFrameDelete(_arg0);
1560
1561 wxPy_END_ALLOW_THREADS;
1562 } _resultobj = Py_BuildValue("i",_result);
1563 return _resultobj;
1564 }
1565
1566 #define wxPyApp_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
1567 static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *self, PyObject *args) {
1568 PyObject * _resultobj;
1569 int _result;
1570 wxPyApp * _arg0;
1571 char * _argc0 = 0;
1572
1573 self = self;
1574 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetPrintMode",&_argc0))
1575 return NULL;
1576 if (_argc0) {
1577 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetPrintMode. Expected _wxPyApp_p.");
1579 return NULL;
1580 }
1581 }
1582 {
1583 wxPy_BEGIN_ALLOW_THREADS;
1584 _result = (int )wxPyApp_GetPrintMode(_arg0);
1585
1586 wxPy_END_ALLOW_THREADS;
1587 } _resultobj = Py_BuildValue("i",_result);
1588 return _resultobj;
1589 }
1590
1591 #define wxPyApp_GetTopWindow(_swigobj) (_swigobj->GetTopWindow())
1592 static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *self, PyObject *args) {
1593 PyObject * _resultobj;
1594 wxWindow * _result;
1595 wxPyApp * _arg0;
1596 char * _argc0 = 0;
1597 char _ptemp[128];
1598
1599 self = self;
1600 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetTopWindow",&_argc0))
1601 return NULL;
1602 if (_argc0) {
1603 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetTopWindow. Expected _wxPyApp_p.");
1605 return NULL;
1606 }
1607 }
1608 {
1609 wxPy_BEGIN_ALLOW_THREADS;
1610 _result = (wxWindow *)wxPyApp_GetTopWindow(_arg0);
1611
1612 wxPy_END_ALLOW_THREADS;
1613 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1614 _resultobj = Py_BuildValue("s",_ptemp);
1615 return _resultobj;
1616 }
1617
1618 #define wxPyApp_GetVendorName(_swigobj) (_swigobj->GetVendorName())
1619 static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *self, PyObject *args) {
1620 PyObject * _resultobj;
1621 wxString * _result;
1622 wxPyApp * _arg0;
1623 char * _argc0 = 0;
1624
1625 self = self;
1626 if(!PyArg_ParseTuple(args,"s:wxPyApp_GetVendorName",&_argc0))
1627 return NULL;
1628 if (_argc0) {
1629 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_GetVendorName. Expected _wxPyApp_p.");
1631 return NULL;
1632 }
1633 }
1634 {
1635 wxPy_BEGIN_ALLOW_THREADS;
1636 _result = new wxString (wxPyApp_GetVendorName(_arg0));
1637
1638 wxPy_END_ALLOW_THREADS;
1639 }{
1640 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1641 }
1642 {
1643 delete _result;
1644 }
1645 return _resultobj;
1646 }
1647
1648 #define wxPyApp_Dispatch(_swigobj) (_swigobj->Dispatch())
1649 static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args) {
1650 PyObject * _resultobj;
1651 wxPyApp * _arg0;
1652 char * _argc0 = 0;
1653
1654 self = self;
1655 if(!PyArg_ParseTuple(args,"s:wxPyApp_Dispatch",&_argc0))
1656 return NULL;
1657 if (_argc0) {
1658 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_Dispatch. Expected _wxPyApp_p.");
1660 return NULL;
1661 }
1662 }
1663 {
1664 wxPy_BEGIN_ALLOW_THREADS;
1665 wxPyApp_Dispatch(_arg0);
1666
1667 wxPy_END_ALLOW_THREADS;
1668 } Py_INCREF(Py_None);
1669 _resultobj = Py_None;
1670 return _resultobj;
1671 }
1672
1673 #define wxPyApp_ExitMainLoop(_swigobj) (_swigobj->ExitMainLoop())
1674 static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *self, PyObject *args) {
1675 PyObject * _resultobj;
1676 wxPyApp * _arg0;
1677 char * _argc0 = 0;
1678
1679 self = self;
1680 if(!PyArg_ParseTuple(args,"s:wxPyApp_ExitMainLoop",&_argc0))
1681 return NULL;
1682 if (_argc0) {
1683 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_ExitMainLoop. Expected _wxPyApp_p.");
1685 return NULL;
1686 }
1687 }
1688 {
1689 wxPy_BEGIN_ALLOW_THREADS;
1690 wxPyApp_ExitMainLoop(_arg0);
1691
1692 wxPy_END_ALLOW_THREADS;
1693 } Py_INCREF(Py_None);
1694 _resultobj = Py_None;
1695 return _resultobj;
1696 }
1697
1698 #define wxPyApp_Initialized(_swigobj) (_swigobj->Initialized())
1699 static PyObject *_wrap_wxPyApp_Initialized(PyObject *self, PyObject *args) {
1700 PyObject * _resultobj;
1701 bool _result;
1702 wxPyApp * _arg0;
1703 char * _argc0 = 0;
1704
1705 self = self;
1706 if(!PyArg_ParseTuple(args,"s:wxPyApp_Initialized",&_argc0))
1707 return NULL;
1708 if (_argc0) {
1709 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_Initialized. Expected _wxPyApp_p.");
1711 return NULL;
1712 }
1713 }
1714 {
1715 wxPy_BEGIN_ALLOW_THREADS;
1716 _result = (bool )wxPyApp_Initialized(_arg0);
1717
1718 wxPy_END_ALLOW_THREADS;
1719 } _resultobj = Py_BuildValue("i",_result);
1720 return _resultobj;
1721 }
1722
1723 #define wxPyApp_MainLoop(_swigobj) (_swigobj->MainLoop())
1724 static PyObject *_wrap_wxPyApp_MainLoop(PyObject *self, PyObject *args) {
1725 PyObject * _resultobj;
1726 int _result;
1727 wxPyApp * _arg0;
1728 char * _argc0 = 0;
1729
1730 self = self;
1731 if(!PyArg_ParseTuple(args,"s:wxPyApp_MainLoop",&_argc0))
1732 return NULL;
1733 if (_argc0) {
1734 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_MainLoop. Expected _wxPyApp_p.");
1736 return NULL;
1737 }
1738 }
1739 {
1740 wxPy_BEGIN_ALLOW_THREADS;
1741 _result = (int )wxPyApp_MainLoop(_arg0);
1742
1743 wxPy_END_ALLOW_THREADS;
1744 } _resultobj = Py_BuildValue("i",_result);
1745 return _resultobj;
1746 }
1747
1748 #define wxPyApp_Pending(_swigobj) (_swigobj->Pending())
1749 static PyObject *_wrap_wxPyApp_Pending(PyObject *self, PyObject *args) {
1750 PyObject * _resultobj;
1751 bool _result;
1752 wxPyApp * _arg0;
1753 char * _argc0 = 0;
1754
1755 self = self;
1756 if(!PyArg_ParseTuple(args,"s:wxPyApp_Pending",&_argc0))
1757 return NULL;
1758 if (_argc0) {
1759 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_Pending. Expected _wxPyApp_p.");
1761 return NULL;
1762 }
1763 }
1764 {
1765 wxPy_BEGIN_ALLOW_THREADS;
1766 _result = (bool )wxPyApp_Pending(_arg0);
1767
1768 wxPy_END_ALLOW_THREADS;
1769 } _resultobj = Py_BuildValue("i",_result);
1770 return _resultobj;
1771 }
1772
1773 #define wxPyApp_ProcessIdle(_swigobj) (_swigobj->ProcessIdle())
1774 static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *self, PyObject *args) {
1775 PyObject * _resultobj;
1776 bool _result;
1777 wxPyApp * _arg0;
1778 char * _argc0 = 0;
1779
1780 self = self;
1781 if(!PyArg_ParseTuple(args,"s:wxPyApp_ProcessIdle",&_argc0))
1782 return NULL;
1783 if (_argc0) {
1784 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_ProcessIdle. Expected _wxPyApp_p.");
1786 return NULL;
1787 }
1788 }
1789 {
1790 wxPy_BEGIN_ALLOW_THREADS;
1791 _result = (bool )wxPyApp_ProcessIdle(_arg0);
1792
1793 wxPy_END_ALLOW_THREADS;
1794 } _resultobj = Py_BuildValue("i",_result);
1795 return _resultobj;
1796 }
1797
1798 #define wxPyApp_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
1799 static PyObject *_wrap_wxPyApp_SetAppName(PyObject *self, PyObject *args) {
1800 PyObject * _resultobj;
1801 wxPyApp * _arg0;
1802 wxString * _arg1;
1803 char * _argc0 = 0;
1804 PyObject * _obj1 = 0;
1805
1806 self = self;
1807 if(!PyArg_ParseTuple(args,"sO:wxPyApp_SetAppName",&_argc0,&_obj1))
1808 return NULL;
1809 if (_argc0) {
1810 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetAppName. Expected _wxPyApp_p.");
1812 return NULL;
1813 }
1814 }
1815 {
1816 if (!PyString_Check(_obj1)) {
1817 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1818 return NULL;
1819 }
1820 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1821 }
1822 {
1823 wxPy_BEGIN_ALLOW_THREADS;
1824 wxPyApp_SetAppName(_arg0,*_arg1);
1825
1826 wxPy_END_ALLOW_THREADS;
1827 } Py_INCREF(Py_None);
1828 _resultobj = Py_None;
1829 {
1830 if (_obj1)
1831 delete _arg1;
1832 }
1833 return _resultobj;
1834 }
1835
1836 #define wxPyApp_SetClassName(_swigobj,_swigarg0) (_swigobj->SetClassName(_swigarg0))
1837 static PyObject *_wrap_wxPyApp_SetClassName(PyObject *self, PyObject *args) {
1838 PyObject * _resultobj;
1839 wxPyApp * _arg0;
1840 wxString * _arg1;
1841 char * _argc0 = 0;
1842 PyObject * _obj1 = 0;
1843
1844 self = self;
1845 if(!PyArg_ParseTuple(args,"sO:wxPyApp_SetClassName",&_argc0,&_obj1))
1846 return NULL;
1847 if (_argc0) {
1848 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetClassName. Expected _wxPyApp_p.");
1850 return NULL;
1851 }
1852 }
1853 {
1854 if (!PyString_Check(_obj1)) {
1855 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1856 return NULL;
1857 }
1858 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1859 }
1860 {
1861 wxPy_BEGIN_ALLOW_THREADS;
1862 wxPyApp_SetClassName(_arg0,*_arg1);
1863
1864 wxPy_END_ALLOW_THREADS;
1865 } Py_INCREF(Py_None);
1866 _resultobj = Py_None;
1867 {
1868 if (_obj1)
1869 delete _arg1;
1870 }
1871 return _resultobj;
1872 }
1873
1874 #define wxPyApp_SetExitOnFrameDelete(_swigobj,_swigarg0) (_swigobj->SetExitOnFrameDelete(_swigarg0))
1875 static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args) {
1876 PyObject * _resultobj;
1877 wxPyApp * _arg0;
1878 bool _arg1;
1879 char * _argc0 = 0;
1880 int tempbool1;
1881
1882 self = self;
1883 if(!PyArg_ParseTuple(args,"si:wxPyApp_SetExitOnFrameDelete",&_argc0,&tempbool1))
1884 return NULL;
1885 if (_argc0) {
1886 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetExitOnFrameDelete. Expected _wxPyApp_p.");
1888 return NULL;
1889 }
1890 }
1891 _arg1 = (bool ) tempbool1;
1892 {
1893 wxPy_BEGIN_ALLOW_THREADS;
1894 wxPyApp_SetExitOnFrameDelete(_arg0,_arg1);
1895
1896 wxPy_END_ALLOW_THREADS;
1897 } Py_INCREF(Py_None);
1898 _resultobj = Py_None;
1899 return _resultobj;
1900 }
1901
1902 #define wxPyApp_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
1903 static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *self, PyObject *args) {
1904 PyObject * _resultobj;
1905 wxPyApp * _arg0;
1906 int _arg1;
1907 char * _argc0 = 0;
1908
1909 self = self;
1910 if(!PyArg_ParseTuple(args,"si:wxPyApp_SetPrintMode",&_argc0,&_arg1))
1911 return NULL;
1912 if (_argc0) {
1913 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetPrintMode. Expected _wxPyApp_p.");
1915 return NULL;
1916 }
1917 }
1918 {
1919 wxPy_BEGIN_ALLOW_THREADS;
1920 wxPyApp_SetPrintMode(_arg0,_arg1);
1921
1922 wxPy_END_ALLOW_THREADS;
1923 } Py_INCREF(Py_None);
1924 _resultobj = Py_None;
1925 return _resultobj;
1926 }
1927
1928 #define wxPyApp_SetTopWindow(_swigobj,_swigarg0) (_swigobj->SetTopWindow(_swigarg0))
1929 static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *self, PyObject *args) {
1930 PyObject * _resultobj;
1931 wxPyApp * _arg0;
1932 wxWindow * _arg1;
1933 char * _argc0 = 0;
1934 char * _argc1 = 0;
1935
1936 self = self;
1937 if(!PyArg_ParseTuple(args,"ss:wxPyApp_SetTopWindow",&_argc0,&_argc1))
1938 return NULL;
1939 if (_argc0) {
1940 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetTopWindow. Expected _wxPyApp_p.");
1942 return NULL;
1943 }
1944 }
1945 if (_argc1) {
1946 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyApp_SetTopWindow. Expected _wxWindow_p.");
1948 return NULL;
1949 }
1950 }
1951 {
1952 wxPy_BEGIN_ALLOW_THREADS;
1953 wxPyApp_SetTopWindow(_arg0,_arg1);
1954
1955 wxPy_END_ALLOW_THREADS;
1956 } Py_INCREF(Py_None);
1957 _resultobj = Py_None;
1958 return _resultobj;
1959 }
1960
1961 #define wxPyApp_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
1962 static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *self, PyObject *args) {
1963 PyObject * _resultobj;
1964 wxPyApp * _arg0;
1965 wxString * _arg1;
1966 char * _argc0 = 0;
1967 PyObject * _obj1 = 0;
1968
1969 self = self;
1970 if(!PyArg_ParseTuple(args,"sO:wxPyApp_SetVendorName",&_argc0,&_obj1))
1971 return NULL;
1972 if (_argc0) {
1973 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyApp_p")) {
1974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyApp_SetVendorName. Expected _wxPyApp_p.");
1975 return NULL;
1976 }
1977 }
1978 {
1979 if (!PyString_Check(_obj1)) {
1980 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1981 return NULL;
1982 }
1983 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1984 }
1985 {
1986 wxPy_BEGIN_ALLOW_THREADS;
1987 wxPyApp_SetVendorName(_arg0,*_arg1);
1988
1989 wxPy_END_ALLOW_THREADS;
1990 } Py_INCREF(Py_None);
1991 _resultobj = Py_None;
1992 {
1993 if (_obj1)
1994 delete _arg1;
1995 }
1996 return _resultobj;
1997 }
1998
1999 #define new___wxPyCleanup() (new __wxPyCleanup())
2000 static PyObject *_wrap_new___wxPyCleanup(PyObject *self, PyObject *args) {
2001 PyObject * _resultobj;
2002 __wxPyCleanup * _result;
2003 char _ptemp[128];
2004
2005 self = self;
2006 if(!PyArg_ParseTuple(args,":new___wxPyCleanup"))
2007 return NULL;
2008 {
2009 wxPy_BEGIN_ALLOW_THREADS;
2010 _result = (__wxPyCleanup *)new___wxPyCleanup();
2011
2012 wxPy_END_ALLOW_THREADS;
2013 } SWIG_MakePtr(_ptemp, (char *) _result,"___wxPyCleanup_p");
2014 _resultobj = Py_BuildValue("s",_ptemp);
2015 return _resultobj;
2016 }
2017
2018 #define delete___wxPyCleanup(_swigobj) (delete _swigobj)
2019 static PyObject *_wrap_delete___wxPyCleanup(PyObject *self, PyObject *args) {
2020 PyObject * _resultobj;
2021 __wxPyCleanup * _arg0;
2022 char * _argc0 = 0;
2023
2024 self = self;
2025 if(!PyArg_ParseTuple(args,"s:delete___wxPyCleanup",&_argc0))
2026 return NULL;
2027 if (_argc0) {
2028 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"___wxPyCleanup_p")) {
2029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete___wxPyCleanup. Expected ___wxPyCleanup_p.");
2030 return NULL;
2031 }
2032 }
2033 {
2034 wxPy_BEGIN_ALLOW_THREADS;
2035 delete___wxPyCleanup(_arg0);
2036
2037 wxPy_END_ALLOW_THREADS;
2038 } Py_INCREF(Py_None);
2039 _resultobj = Py_None;
2040 return _resultobj;
2041 }
2042
2043 static PyMethodDef wxcMethods[] = {
2044 { "delete___wxPyCleanup", _wrap_delete___wxPyCleanup, 1 },
2045 { "new___wxPyCleanup", _wrap_new___wxPyCleanup, 1 },
2046 { "wxPyApp_SetVendorName", _wrap_wxPyApp_SetVendorName, 1 },
2047 { "wxPyApp_SetTopWindow", _wrap_wxPyApp_SetTopWindow, 1 },
2048 { "wxPyApp_SetPrintMode", _wrap_wxPyApp_SetPrintMode, 1 },
2049 { "wxPyApp_SetExitOnFrameDelete", _wrap_wxPyApp_SetExitOnFrameDelete, 1 },
2050 { "wxPyApp_SetClassName", _wrap_wxPyApp_SetClassName, 1 },
2051 { "wxPyApp_SetAppName", _wrap_wxPyApp_SetAppName, 1 },
2052 { "wxPyApp_ProcessIdle", _wrap_wxPyApp_ProcessIdle, 1 },
2053 { "wxPyApp_Pending", _wrap_wxPyApp_Pending, 1 },
2054 { "wxPyApp_MainLoop", _wrap_wxPyApp_MainLoop, 1 },
2055 { "wxPyApp_Initialized", _wrap_wxPyApp_Initialized, 1 },
2056 { "wxPyApp_ExitMainLoop", _wrap_wxPyApp_ExitMainLoop, 1 },
2057 { "wxPyApp_Dispatch", _wrap_wxPyApp_Dispatch, 1 },
2058 { "wxPyApp_GetVendorName", _wrap_wxPyApp_GetVendorName, 1 },
2059 { "wxPyApp_GetTopWindow", _wrap_wxPyApp_GetTopWindow, 1 },
2060 { "wxPyApp_GetPrintMode", _wrap_wxPyApp_GetPrintMode, 1 },
2061 { "wxPyApp_GetExitOnFrameDelete", _wrap_wxPyApp_GetExitOnFrameDelete, 1 },
2062 { "wxPyApp_GetClassName", _wrap_wxPyApp_GetClassName, 1 },
2063 { "wxPyApp_GetAppName", _wrap_wxPyApp_GetAppName, 1 },
2064 { "delete_wxPyApp", _wrap_delete_wxPyApp, 1 },
2065 { "new_wxPyApp", _wrap_new_wxPyApp, 1 },
2066 { "_wxSetDictionary", __wxSetDictionary, 1 },
2067 { "_wxStart", __wxStart, 1 },
2068 { "ptrmap", _wrap_ptrmap, 1 },
2069 { "ptradd", _wrap_ptradd, 1 },
2070 { "ptrfree", _wrap_ptrfree, 1 },
2071 { "ptrcreate", _wrap_ptrcreate, 1 },
2072 { "ptrset", _wrap_ptrset, 1 },
2073 { "ptrvalue", _wrap_ptrvalue, 1 },
2074 { "ptrcast", _wrap_ptrcast, 1 },
2075 { NULL, NULL }
2076 };
2077 static PyObject *SWIG_globals;
2078 #ifdef __cplusplus
2079 extern "C"
2080 #endif
2081 SWIGEXPORT(void,initwxc)() {
2082 PyObject *m, *d;
2083 SWIG_globals = SWIG_newvarlink();
2084 m = Py_InitModule("wxc", wxcMethods);
2085 d = PyModule_GetDict(m);
2086 PyDict_SetItemString(d,"wxMAJOR_VERSION", PyInt_FromLong((long) wxMAJOR_VERSION));
2087 PyDict_SetItemString(d,"wxMINOR_VERSION", PyInt_FromLong((long) wxMINOR_VERSION));
2088 PyDict_SetItemString(d,"wxRELEASE_NUMBER", PyInt_FromLong((long) wxRELEASE_NUMBER));
2089 PyDict_SetItemString(d,"wxNOT_FOUND", PyInt_FromLong((long) wxNOT_FOUND));
2090 PyDict_SetItemString(d,"wxVSCROLL", PyInt_FromLong((long) wxVSCROLL));
2091 PyDict_SetItemString(d,"wxHSCROLL", PyInt_FromLong((long) wxHSCROLL));
2092 PyDict_SetItemString(d,"wxCAPTION", PyInt_FromLong((long) wxCAPTION));
2093 PyDict_SetItemString(d,"wxDOUBLE_BORDER", PyInt_FromLong((long) wxDOUBLE_BORDER));
2094 PyDict_SetItemString(d,"wxSUNKEN_BORDER", PyInt_FromLong((long) wxSUNKEN_BORDER));
2095 PyDict_SetItemString(d,"wxRAISED_BORDER", PyInt_FromLong((long) wxRAISED_BORDER));
2096 PyDict_SetItemString(d,"wxBORDER", PyInt_FromLong((long) wxBORDER));
2097 PyDict_SetItemString(d,"wxSIMPLE_BORDER", PyInt_FromLong((long) wxSIMPLE_BORDER));
2098 PyDict_SetItemString(d,"wxSTATIC_BORDER", PyInt_FromLong((long) wxSTATIC_BORDER));
2099 PyDict_SetItemString(d,"wxTRANSPARENT_WINDOW", PyInt_FromLong((long) wxTRANSPARENT_WINDOW));
2100 PyDict_SetItemString(d,"wxNO_BORDER", PyInt_FromLong((long) wxNO_BORDER));
2101 PyDict_SetItemString(d,"wxUSER_COLOURS", PyInt_FromLong((long) wxUSER_COLOURS));
2102 PyDict_SetItemString(d,"wxNO_3D", PyInt_FromLong((long) wxNO_3D));
2103 PyDict_SetItemString(d,"wxTAB_TRAVERSAL", PyInt_FromLong((long) wxTAB_TRAVERSAL));
2104 PyDict_SetItemString(d,"wxHORIZONTAL", PyInt_FromLong((long) wxHORIZONTAL));
2105 PyDict_SetItemString(d,"wxVERTICAL", PyInt_FromLong((long) wxVERTICAL));
2106 PyDict_SetItemString(d,"wxBOTH", PyInt_FromLong((long) wxBOTH));
2107 PyDict_SetItemString(d,"wxCENTER_FRAME", PyInt_FromLong((long) wxCENTER_FRAME));
2108 PyDict_SetItemString(d,"wxSTAY_ON_TOP", PyInt_FromLong((long) wxSTAY_ON_TOP));
2109 PyDict_SetItemString(d,"wxICONIZE", PyInt_FromLong((long) wxICONIZE));
2110 PyDict_SetItemString(d,"wxMINIMIZE", PyInt_FromLong((long) wxMINIMIZE));
2111 PyDict_SetItemString(d,"wxMAXIMIZE", PyInt_FromLong((long) wxMAXIMIZE));
2112 PyDict_SetItemString(d,"wxTHICK_FRAME", PyInt_FromLong((long) wxTHICK_FRAME));
2113 PyDict_SetItemString(d,"wxSYSTEM_MENU", PyInt_FromLong((long) wxSYSTEM_MENU));
2114 PyDict_SetItemString(d,"wxMINIMIZE_BOX", PyInt_FromLong((long) wxMINIMIZE_BOX));
2115 PyDict_SetItemString(d,"wxMAXIMIZE_BOX", PyInt_FromLong((long) wxMAXIMIZE_BOX));
2116 PyDict_SetItemString(d,"wxTINY_CAPTION_HORIZ", PyInt_FromLong((long) wxTINY_CAPTION_HORIZ));
2117 PyDict_SetItemString(d,"wxTINY_CAPTION_VERT", PyInt_FromLong((long) wxTINY_CAPTION_VERT));
2118 PyDict_SetItemString(d,"wxRESIZE_BOX", PyInt_FromLong((long) wxRESIZE_BOX));
2119 PyDict_SetItemString(d,"wxRESIZE_BORDER", PyInt_FromLong((long) wxRESIZE_BORDER));
2120 PyDict_SetItemString(d,"wxDIALOG_MODAL", PyInt_FromLong((long) wxDIALOG_MODAL));
2121 PyDict_SetItemString(d,"wxDIALOG_MODELESS", PyInt_FromLong((long) wxDIALOG_MODELESS));
2122 PyDict_SetItemString(d,"wxDEFAULT_FRAME_STYLE", PyInt_FromLong((long) wxDEFAULT_FRAME_STYLE));
2123 PyDict_SetItemString(d,"wxDEFAULT_DIALOG_STYLE", PyInt_FromLong((long) wxDEFAULT_DIALOG_STYLE));
2124 PyDict_SetItemString(d,"wxFRAME_TOOL_WINDOW", PyInt_FromLong((long) wxFRAME_TOOL_WINDOW));
2125 PyDict_SetItemString(d,"wxFRAME_FLOAT_ON_PARENT", PyInt_FromLong((long) wxFRAME_FLOAT_ON_PARENT));
2126 PyDict_SetItemString(d,"wxCLIP_CHILDREN", PyInt_FromLong((long) wxCLIP_CHILDREN));
2127 PyDict_SetItemString(d,"wxRETAINED", PyInt_FromLong((long) wxRETAINED));
2128 PyDict_SetItemString(d,"wxBACKINGSTORE", PyInt_FromLong((long) wxBACKINGSTORE));
2129 PyDict_SetItemString(d,"wxTB_3DBUTTONS", PyInt_FromLong((long) wxTB_3DBUTTONS));
2130 PyDict_SetItemString(d,"wxTB_HORIZONTAL", PyInt_FromLong((long) wxTB_HORIZONTAL));
2131 PyDict_SetItemString(d,"wxTB_VERTICAL", PyInt_FromLong((long) wxTB_VERTICAL));
2132 PyDict_SetItemString(d,"wxTB_FLAT", PyInt_FromLong((long) wxTB_FLAT));
2133 PyDict_SetItemString(d,"wxCOLOURED", PyInt_FromLong((long) wxCOLOURED));
2134 PyDict_SetItemString(d,"wxFIXED_LENGTH", PyInt_FromLong((long) wxFIXED_LENGTH));
2135 PyDict_SetItemString(d,"wxALIGN_LEFT", PyInt_FromLong((long) wxALIGN_LEFT));
2136 PyDict_SetItemString(d,"wxALIGN_CENTER", PyInt_FromLong((long) wxALIGN_CENTER));
2137 PyDict_SetItemString(d,"wxALIGN_CENTRE", PyInt_FromLong((long) wxALIGN_CENTRE));
2138 PyDict_SetItemString(d,"wxALIGN_RIGHT", PyInt_FromLong((long) wxALIGN_RIGHT));
2139 PyDict_SetItemString(d,"wxLB_NEEDED_SB", PyInt_FromLong((long) wxLB_NEEDED_SB));
2140 PyDict_SetItemString(d,"wxLB_ALWAYS_SB", PyInt_FromLong((long) wxLB_ALWAYS_SB));
2141 PyDict_SetItemString(d,"wxLB_SORT", PyInt_FromLong((long) wxLB_SORT));
2142 PyDict_SetItemString(d,"wxLB_SINGLE", PyInt_FromLong((long) wxLB_SINGLE));
2143 PyDict_SetItemString(d,"wxLB_MULTIPLE", PyInt_FromLong((long) wxLB_MULTIPLE));
2144 PyDict_SetItemString(d,"wxLB_EXTENDED", PyInt_FromLong((long) wxLB_EXTENDED));
2145 PyDict_SetItemString(d,"wxLB_OWNERDRAW", PyInt_FromLong((long) wxLB_OWNERDRAW));
2146 PyDict_SetItemString(d,"wxLB_HSCROLL", PyInt_FromLong((long) wxLB_HSCROLL));
2147 PyDict_SetItemString(d,"wxPROCESS_ENTER", PyInt_FromLong((long) wxPROCESS_ENTER));
2148 PyDict_SetItemString(d,"wxPASSWORD", PyInt_FromLong((long) wxPASSWORD));
2149 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
2150 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
2151 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
2152 PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
2153 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
2154 PyDict_SetItemString(d,"wxCB_SIMPLE", PyInt_FromLong((long) wxCB_SIMPLE));
2155 PyDict_SetItemString(d,"wxCB_DROPDOWN", PyInt_FromLong((long) wxCB_DROPDOWN));
2156 PyDict_SetItemString(d,"wxCB_SORT", PyInt_FromLong((long) wxCB_SORT));
2157 PyDict_SetItemString(d,"wxCB_READONLY", PyInt_FromLong((long) wxCB_READONLY));
2158 PyDict_SetItemString(d,"wxRA_HORIZONTAL", PyInt_FromLong((long) wxRA_HORIZONTAL));
2159 PyDict_SetItemString(d,"wxRA_VERTICAL", PyInt_FromLong((long) wxRA_VERTICAL));
2160 PyDict_SetItemString(d,"wxRA_SPECIFY_ROWS", PyInt_FromLong((long) wxRA_SPECIFY_ROWS));
2161 PyDict_SetItemString(d,"wxRA_SPECIFY_COLS", PyInt_FromLong((long) wxRA_SPECIFY_COLS));
2162 PyDict_SetItemString(d,"wxRB_GROUP", PyInt_FromLong((long) wxRB_GROUP));
2163 PyDict_SetItemString(d,"wxGA_PROGRESSBAR", PyInt_FromLong((long) wxGA_PROGRESSBAR));
2164 PyDict_SetItemString(d,"wxGA_HORIZONTAL", PyInt_FromLong((long) wxGA_HORIZONTAL));
2165 PyDict_SetItemString(d,"wxGA_VERTICAL", PyInt_FromLong((long) wxGA_VERTICAL));
2166 PyDict_SetItemString(d,"wxGA_SMOOTH", PyInt_FromLong((long) wxGA_SMOOTH));
2167 PyDict_SetItemString(d,"wxSL_HORIZONTAL", PyInt_FromLong((long) wxSL_HORIZONTAL));
2168 PyDict_SetItemString(d,"wxSL_VERTICAL", PyInt_FromLong((long) wxSL_VERTICAL));
2169 PyDict_SetItemString(d,"wxSL_AUTOTICKS", PyInt_FromLong((long) wxSL_AUTOTICKS));
2170 PyDict_SetItemString(d,"wxSL_LABELS", PyInt_FromLong((long) wxSL_LABELS));
2171 PyDict_SetItemString(d,"wxSL_LEFT", PyInt_FromLong((long) wxSL_LEFT));
2172 PyDict_SetItemString(d,"wxSL_TOP", PyInt_FromLong((long) wxSL_TOP));
2173 PyDict_SetItemString(d,"wxSL_RIGHT", PyInt_FromLong((long) wxSL_RIGHT));
2174 PyDict_SetItemString(d,"wxSL_BOTTOM", PyInt_FromLong((long) wxSL_BOTTOM));
2175 PyDict_SetItemString(d,"wxSL_BOTH", PyInt_FromLong((long) wxSL_BOTH));
2176 PyDict_SetItemString(d,"wxSL_SELRANGE", PyInt_FromLong((long) wxSL_SELRANGE));
2177 PyDict_SetItemString(d,"wxSB_HORIZONTAL", PyInt_FromLong((long) wxSB_HORIZONTAL));
2178 PyDict_SetItemString(d,"wxSB_VERTICAL", PyInt_FromLong((long) wxSB_VERTICAL));
2179 PyDict_SetItemString(d,"wxST_SIZEGRIP", PyInt_FromLong((long) wxST_SIZEGRIP));
2180 PyDict_SetItemString(d,"wxBU_AUTODRAW", PyInt_FromLong((long) wxBU_AUTODRAW));
2181 PyDict_SetItemString(d,"wxBU_NOAUTODRAW", PyInt_FromLong((long) wxBU_NOAUTODRAW));
2182 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
2183 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
2184 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
2185 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
2186 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
2187 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
2188 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
2189 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
2190 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
2191 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
2192 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
2193 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
2194 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
2195 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
2196 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
2197 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
2198 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
2199 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
2200 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
2201 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
2202 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
2203 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
2204 PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
2205 PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL));
2206 PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS));
2207 PyDict_SetItemString(d,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP));
2208 PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER));
2209 PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D));
2210 PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER));
2211 PyDict_SetItemString(d,"wxFLOOD_SURFACE", PyInt_FromLong((long) wxFLOOD_SURFACE));
2212 PyDict_SetItemString(d,"wxFLOOD_BORDER", PyInt_FromLong((long) wxFLOOD_BORDER));
2213 PyDict_SetItemString(d,"wxODDEVEN_RULE", PyInt_FromLong((long) wxODDEVEN_RULE));
2214 PyDict_SetItemString(d,"wxWINDING_RULE", PyInt_FromLong((long) wxWINDING_RULE));
2215 PyDict_SetItemString(d,"wxTOOL_TOP", PyInt_FromLong((long) wxTOOL_TOP));
2216 PyDict_SetItemString(d,"wxTOOL_BOTTOM", PyInt_FromLong((long) wxTOOL_BOTTOM));
2217 PyDict_SetItemString(d,"wxTOOL_LEFT", PyInt_FromLong((long) wxTOOL_LEFT));
2218 PyDict_SetItemString(d,"wxTOOL_RIGHT", PyInt_FromLong((long) wxTOOL_RIGHT));
2219 PyDict_SetItemString(d,"wxOK", PyInt_FromLong((long) wxOK));
2220 PyDict_SetItemString(d,"wxYES_NO", PyInt_FromLong((long) wxYES_NO));
2221 PyDict_SetItemString(d,"wxCANCEL", PyInt_FromLong((long) wxCANCEL));
2222 PyDict_SetItemString(d,"wxYES", PyInt_FromLong((long) wxYES));
2223 PyDict_SetItemString(d,"wxNO", PyInt_FromLong((long) wxNO));
2224 PyDict_SetItemString(d,"wxICON_EXCLAMATION", PyInt_FromLong((long) wxICON_EXCLAMATION));
2225 PyDict_SetItemString(d,"wxICON_HAND", PyInt_FromLong((long) wxICON_HAND));
2226 PyDict_SetItemString(d,"wxICON_QUESTION", PyInt_FromLong((long) wxICON_QUESTION));
2227 PyDict_SetItemString(d,"wxICON_INFORMATION", PyInt_FromLong((long) wxICON_INFORMATION));
2228 PyDict_SetItemString(d,"wxICON_STOP", PyInt_FromLong((long) wxICON_STOP));
2229 PyDict_SetItemString(d,"wxICON_ASTERISK", PyInt_FromLong((long) wxICON_ASTERISK));
2230 PyDict_SetItemString(d,"wxICON_MASK", PyInt_FromLong((long) wxICON_MASK));
2231 PyDict_SetItemString(d,"wxCENTRE", PyInt_FromLong((long) wxCENTRE));
2232 PyDict_SetItemString(d,"wxCENTER", PyInt_FromLong((long) wxCENTER));
2233 PyDict_SetItemString(d,"wxSIZE_AUTO_WIDTH", PyInt_FromLong((long) wxSIZE_AUTO_WIDTH));
2234 PyDict_SetItemString(d,"wxSIZE_AUTO_HEIGHT", PyInt_FromLong((long) wxSIZE_AUTO_HEIGHT));
2235 PyDict_SetItemString(d,"wxSIZE_AUTO", PyInt_FromLong((long) wxSIZE_AUTO));
2236 PyDict_SetItemString(d,"wxSIZE_USE_EXISTING", PyInt_FromLong((long) wxSIZE_USE_EXISTING));
2237 PyDict_SetItemString(d,"wxSIZE_ALLOW_MINUS_ONE", PyInt_FromLong((long) wxSIZE_ALLOW_MINUS_ONE));
2238 PyDict_SetItemString(d,"wxPORTRAIT", PyInt_FromLong((long) wxPORTRAIT));
2239 PyDict_SetItemString(d,"wxLANDSCAPE", PyInt_FromLong((long) wxLANDSCAPE));
2240 PyDict_SetItemString(d,"wxPRINT_QUALITY_HIGH", PyInt_FromLong((long) wxPRINT_QUALITY_HIGH));
2241 PyDict_SetItemString(d,"wxPRINT_QUALITY_MEDIUM", PyInt_FromLong((long) wxPRINT_QUALITY_MEDIUM));
2242 PyDict_SetItemString(d,"wxPRINT_QUALITY_LOW", PyInt_FromLong((long) wxPRINT_QUALITY_LOW));
2243 PyDict_SetItemString(d,"wxPRINT_QUALITY_DRAFT", PyInt_FromLong((long) wxPRINT_QUALITY_DRAFT));
2244 PyDict_SetItemString(d,"wxID_OPEN", PyInt_FromLong((long) wxID_OPEN));
2245 PyDict_SetItemString(d,"wxID_CLOSE", PyInt_FromLong((long) wxID_CLOSE));
2246 PyDict_SetItemString(d,"wxID_NEW", PyInt_FromLong((long) wxID_NEW));
2247 PyDict_SetItemString(d,"wxID_SAVE", PyInt_FromLong((long) wxID_SAVE));
2248 PyDict_SetItemString(d,"wxID_SAVEAS", PyInt_FromLong((long) wxID_SAVEAS));
2249 PyDict_SetItemString(d,"wxID_REVERT", PyInt_FromLong((long) wxID_REVERT));
2250 PyDict_SetItemString(d,"wxID_EXIT", PyInt_FromLong((long) wxID_EXIT));
2251 PyDict_SetItemString(d,"wxID_UNDO", PyInt_FromLong((long) wxID_UNDO));
2252 PyDict_SetItemString(d,"wxID_REDO", PyInt_FromLong((long) wxID_REDO));
2253 PyDict_SetItemString(d,"wxID_HELP", PyInt_FromLong((long) wxID_HELP));
2254 PyDict_SetItemString(d,"wxID_PRINT", PyInt_FromLong((long) wxID_PRINT));
2255 PyDict_SetItemString(d,"wxID_PRINT_SETUP", PyInt_FromLong((long) wxID_PRINT_SETUP));
2256 PyDict_SetItemString(d,"wxID_PREVIEW", PyInt_FromLong((long) wxID_PREVIEW));
2257 PyDict_SetItemString(d,"wxID_ABOUT", PyInt_FromLong((long) wxID_ABOUT));
2258 PyDict_SetItemString(d,"wxID_HELP_CONTENTS", PyInt_FromLong((long) wxID_HELP_CONTENTS));
2259 PyDict_SetItemString(d,"wxID_HELP_COMMANDS", PyInt_FromLong((long) wxID_HELP_COMMANDS));
2260 PyDict_SetItemString(d,"wxID_HELP_PROCEDURES", PyInt_FromLong((long) wxID_HELP_PROCEDURES));
2261 PyDict_SetItemString(d,"wxID_HELP_CONTEXT", PyInt_FromLong((long) wxID_HELP_CONTEXT));
2262 PyDict_SetItemString(d,"wxID_CUT", PyInt_FromLong((long) wxID_CUT));
2263 PyDict_SetItemString(d,"wxID_COPY", PyInt_FromLong((long) wxID_COPY));
2264 PyDict_SetItemString(d,"wxID_PASTE", PyInt_FromLong((long) wxID_PASTE));
2265 PyDict_SetItemString(d,"wxID_CLEAR", PyInt_FromLong((long) wxID_CLEAR));
2266 PyDict_SetItemString(d,"wxID_FIND", PyInt_FromLong((long) wxID_FIND));
2267 PyDict_SetItemString(d,"wxID_FILE1", PyInt_FromLong((long) wxID_FILE1));
2268 PyDict_SetItemString(d,"wxID_FILE2", PyInt_FromLong((long) wxID_FILE2));
2269 PyDict_SetItemString(d,"wxID_FILE3", PyInt_FromLong((long) wxID_FILE3));
2270 PyDict_SetItemString(d,"wxID_FILE4", PyInt_FromLong((long) wxID_FILE4));
2271 PyDict_SetItemString(d,"wxID_FILE5", PyInt_FromLong((long) wxID_FILE5));
2272 PyDict_SetItemString(d,"wxID_FILE6", PyInt_FromLong((long) wxID_FILE6));
2273 PyDict_SetItemString(d,"wxID_FILE7", PyInt_FromLong((long) wxID_FILE7));
2274 PyDict_SetItemString(d,"wxID_FILE8", PyInt_FromLong((long) wxID_FILE8));
2275 PyDict_SetItemString(d,"wxID_FILE9", PyInt_FromLong((long) wxID_FILE9));
2276 PyDict_SetItemString(d,"wxID_OK", PyInt_FromLong((long) wxID_OK));
2277 PyDict_SetItemString(d,"wxID_CANCEL", PyInt_FromLong((long) wxID_CANCEL));
2278 PyDict_SetItemString(d,"wxID_APPLY", PyInt_FromLong((long) wxID_APPLY));
2279 PyDict_SetItemString(d,"wxID_YES", PyInt_FromLong((long) wxID_YES));
2280 PyDict_SetItemString(d,"wxID_NO", PyInt_FromLong((long) wxID_NO));
2281 PyDict_SetItemString(d,"wxID_STATIC", PyInt_FromLong((long) wxID_STATIC));
2282 PyDict_SetItemString(d,"wxBITMAP_TYPE_BMP", PyInt_FromLong((long) wxBITMAP_TYPE_BMP));
2283 PyDict_SetItemString(d,"wxBITMAP_TYPE_BMP_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_BMP_RESOURCE));
2284 PyDict_SetItemString(d,"wxBITMAP_TYPE_ICO", PyInt_FromLong((long) wxBITMAP_TYPE_ICO));
2285 PyDict_SetItemString(d,"wxBITMAP_TYPE_ICO_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_ICO_RESOURCE));
2286 PyDict_SetItemString(d,"wxBITMAP_TYPE_CUR", PyInt_FromLong((long) wxBITMAP_TYPE_CUR));
2287 PyDict_SetItemString(d,"wxBITMAP_TYPE_CUR_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_CUR_RESOURCE));
2288 PyDict_SetItemString(d,"wxBITMAP_TYPE_XBM", PyInt_FromLong((long) wxBITMAP_TYPE_XBM));
2289 PyDict_SetItemString(d,"wxBITMAP_TYPE_XBM_DATA", PyInt_FromLong((long) wxBITMAP_TYPE_XBM_DATA));
2290 PyDict_SetItemString(d,"wxBITMAP_TYPE_XPM", PyInt_FromLong((long) wxBITMAP_TYPE_XPM));
2291 PyDict_SetItemString(d,"wxBITMAP_TYPE_XPM_DATA", PyInt_FromLong((long) wxBITMAP_TYPE_XPM_DATA));
2292 PyDict_SetItemString(d,"wxBITMAP_TYPE_TIF", PyInt_FromLong((long) wxBITMAP_TYPE_TIF));
2293 PyDict_SetItemString(d,"wxBITMAP_TYPE_TIF_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_TIF_RESOURCE));
2294 PyDict_SetItemString(d,"wxBITMAP_TYPE_GIF", PyInt_FromLong((long) wxBITMAP_TYPE_GIF));
2295 PyDict_SetItemString(d,"wxBITMAP_TYPE_GIF_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_GIF_RESOURCE));
2296 PyDict_SetItemString(d,"wxBITMAP_TYPE_PNG", PyInt_FromLong((long) wxBITMAP_TYPE_PNG));
2297 PyDict_SetItemString(d,"wxBITMAP_TYPE_PNG_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_PNG_RESOURCE));
2298 PyDict_SetItemString(d,"wxBITMAP_TYPE_ANY", PyInt_FromLong((long) wxBITMAP_TYPE_ANY));
2299 PyDict_SetItemString(d,"wxBITMAP_TYPE_RESOURCE", PyInt_FromLong((long) wxBITMAP_TYPE_RESOURCE));
2300 PyDict_SetItemString(d,"wxBITMAP_TYPE_JPEG", PyInt_FromLong((long) wxBITMAP_TYPE_JPEG));
2301 PyDict_SetItemString(d,"wxOPEN", PyInt_FromLong((long) wxOPEN));
2302 PyDict_SetItemString(d,"wxSAVE", PyInt_FromLong((long) wxSAVE));
2303 PyDict_SetItemString(d,"wxHIDE_READONLY", PyInt_FromLong((long) wxHIDE_READONLY));
2304 PyDict_SetItemString(d,"wxOVERWRITE_PROMPT", PyInt_FromLong((long) wxOVERWRITE_PROMPT));
2305 PyDict_SetItemString(d,"wxACCEL_ALT", PyInt_FromLong((long) wxACCEL_ALT));
2306 PyDict_SetItemString(d,"wxACCEL_CTRL", PyInt_FromLong((long) wxACCEL_CTRL));
2307 PyDict_SetItemString(d,"wxACCEL_SHIFT", PyInt_FromLong((long) wxACCEL_SHIFT));
2308 PyDict_SetItemString(d,"wxPD_AUTO_HIDE", PyInt_FromLong((long) wxPD_AUTO_HIDE));
2309 PyDict_SetItemString(d,"wxPD_APP_MODAL", PyInt_FromLong((long) wxPD_APP_MODAL));
2310 PyDict_SetItemString(d,"wxPD_CAN_ABORT", PyInt_FromLong((long) wxPD_CAN_ABORT));
2311 PyDict_SetItemString(d,"wxPD_ELAPSED_TIME", PyInt_FromLong((long) wxPD_ELAPSED_TIME));
2312 PyDict_SetItemString(d,"wxPD_ESTIMATED_TIME", PyInt_FromLong((long) wxPD_ESTIMATED_TIME));
2313 PyDict_SetItemString(d,"wxPD_REMAINING_TIME", PyInt_FromLong((long) wxPD_REMAINING_TIME));
2314 PyDict_SetItemString(d,"wxNO_DEFAULT", PyInt_FromLong((long) wxNO_DEFAULT));
2315 PyDict_SetItemString(d,"wxMENU_TEAROFF", PyInt_FromLong((long) wxMENU_TEAROFF));
2316 PyDict_SetItemString(d,"wxNO_FULL_REPAINT_ON_RESIZE", PyInt_FromLong((long) wxNO_FULL_REPAINT_ON_RESIZE));
2317 PyDict_SetItemString(d,"wxDEFAULT", PyInt_FromLong((long) wxDEFAULT));
2318 PyDict_SetItemString(d,"wxDECORATIVE", PyInt_FromLong((long) wxDECORATIVE));
2319 PyDict_SetItemString(d,"wxROMAN", PyInt_FromLong((long) wxROMAN));
2320 PyDict_SetItemString(d,"wxSCRIPT", PyInt_FromLong((long) wxSCRIPT));
2321 PyDict_SetItemString(d,"wxSWISS", PyInt_FromLong((long) wxSWISS));
2322 PyDict_SetItemString(d,"wxMODERN", PyInt_FromLong((long) wxMODERN));
2323 PyDict_SetItemString(d,"wxTELETYPE", PyInt_FromLong((long) wxTELETYPE));
2324 PyDict_SetItemString(d,"wxVARIABLE", PyInt_FromLong((long) wxVARIABLE));
2325 PyDict_SetItemString(d,"wxFIXED", PyInt_FromLong((long) wxFIXED));
2326 PyDict_SetItemString(d,"wxNORMAL", PyInt_FromLong((long) wxNORMAL));
2327 PyDict_SetItemString(d,"wxLIGHT", PyInt_FromLong((long) wxLIGHT));
2328 PyDict_SetItemString(d,"wxBOLD", PyInt_FromLong((long) wxBOLD));
2329 PyDict_SetItemString(d,"wxITALIC", PyInt_FromLong((long) wxITALIC));
2330 PyDict_SetItemString(d,"wxSLANT", PyInt_FromLong((long) wxSLANT));
2331 PyDict_SetItemString(d,"wxSOLID", PyInt_FromLong((long) wxSOLID));
2332 PyDict_SetItemString(d,"wxDOT", PyInt_FromLong((long) wxDOT));
2333 PyDict_SetItemString(d,"wxLONG_DASH", PyInt_FromLong((long) wxLONG_DASH));
2334 PyDict_SetItemString(d,"wxSHORT_DASH", PyInt_FromLong((long) wxSHORT_DASH));
2335 PyDict_SetItemString(d,"wxDOT_DASH", PyInt_FromLong((long) wxDOT_DASH));
2336 PyDict_SetItemString(d,"wxUSER_DASH", PyInt_FromLong((long) wxUSER_DASH));
2337 PyDict_SetItemString(d,"wxTRANSPARENT", PyInt_FromLong((long) wxTRANSPARENT));
2338 PyDict_SetItemString(d,"wxSTIPPLE", PyInt_FromLong((long) wxSTIPPLE));
2339 PyDict_SetItemString(d,"wxBDIAGONAL_HATCH", PyInt_FromLong((long) wxBDIAGONAL_HATCH));
2340 PyDict_SetItemString(d,"wxCROSSDIAG_HATCH", PyInt_FromLong((long) wxCROSSDIAG_HATCH));
2341 PyDict_SetItemString(d,"wxFDIAGONAL_HATCH", PyInt_FromLong((long) wxFDIAGONAL_HATCH));
2342 PyDict_SetItemString(d,"wxCROSS_HATCH", PyInt_FromLong((long) wxCROSS_HATCH));
2343 PyDict_SetItemString(d,"wxHORIZONTAL_HATCH", PyInt_FromLong((long) wxHORIZONTAL_HATCH));
2344 PyDict_SetItemString(d,"wxVERTICAL_HATCH", PyInt_FromLong((long) wxVERTICAL_HATCH));
2345 PyDict_SetItemString(d,"wxJOIN_BEVEL", PyInt_FromLong((long) wxJOIN_BEVEL));
2346 PyDict_SetItemString(d,"wxJOIN_MITER", PyInt_FromLong((long) wxJOIN_MITER));
2347 PyDict_SetItemString(d,"wxJOIN_ROUND", PyInt_FromLong((long) wxJOIN_ROUND));
2348 PyDict_SetItemString(d,"wxCAP_ROUND", PyInt_FromLong((long) wxCAP_ROUND));
2349 PyDict_SetItemString(d,"wxCAP_PROJECTING", PyInt_FromLong((long) wxCAP_PROJECTING));
2350 PyDict_SetItemString(d,"wxCAP_BUTT", PyInt_FromLong((long) wxCAP_BUTT));
2351 PyDict_SetItemString(d,"wxCLEAR", PyInt_FromLong((long) wxCLEAR));
2352 PyDict_SetItemString(d,"wxXOR", PyInt_FromLong((long) wxXOR));
2353 PyDict_SetItemString(d,"wxINVERT", PyInt_FromLong((long) wxINVERT));
2354 PyDict_SetItemString(d,"wxOR_REVERSE", PyInt_FromLong((long) wxOR_REVERSE));
2355 PyDict_SetItemString(d,"wxAND_REVERSE", PyInt_FromLong((long) wxAND_REVERSE));
2356 PyDict_SetItemString(d,"wxCOPY", PyInt_FromLong((long) wxCOPY));
2357 PyDict_SetItemString(d,"wxAND", PyInt_FromLong((long) wxAND));
2358 PyDict_SetItemString(d,"wxAND_INVERT", PyInt_FromLong((long) wxAND_INVERT));
2359 PyDict_SetItemString(d,"wxNO_OP", PyInt_FromLong((long) wxNO_OP));
2360 PyDict_SetItemString(d,"wxNOR", PyInt_FromLong((long) wxNOR));
2361 PyDict_SetItemString(d,"wxEQUIV", PyInt_FromLong((long) wxEQUIV));
2362 PyDict_SetItemString(d,"wxSRC_INVERT", PyInt_FromLong((long) wxSRC_INVERT));
2363 PyDict_SetItemString(d,"wxOR_INVERT", PyInt_FromLong((long) wxOR_INVERT));
2364 PyDict_SetItemString(d,"wxNAND", PyInt_FromLong((long) wxNAND));
2365 PyDict_SetItemString(d,"wxOR", PyInt_FromLong((long) wxOR));
2366 PyDict_SetItemString(d,"wxSET", PyInt_FromLong((long) wxSET));
2367 PyDict_SetItemString(d,"wxSRC_OR", PyInt_FromLong((long) wxSRC_OR));
2368 PyDict_SetItemString(d,"wxSRC_AND", PyInt_FromLong((long) wxSRC_AND));
2369 PyDict_SetItemString(d,"WXK_BACK", PyInt_FromLong((long) WXK_BACK));
2370 PyDict_SetItemString(d,"WXK_TAB", PyInt_FromLong((long) WXK_TAB));
2371 PyDict_SetItemString(d,"WXK_RETURN", PyInt_FromLong((long) WXK_RETURN));
2372 PyDict_SetItemString(d,"WXK_ESCAPE", PyInt_FromLong((long) WXK_ESCAPE));
2373 PyDict_SetItemString(d,"WXK_SPACE", PyInt_FromLong((long) WXK_SPACE));
2374 PyDict_SetItemString(d,"WXK_DELETE", PyInt_FromLong((long) WXK_DELETE));
2375 PyDict_SetItemString(d,"WXK_START", PyInt_FromLong((long) WXK_START));
2376 PyDict_SetItemString(d,"WXK_LBUTTON", PyInt_FromLong((long) WXK_LBUTTON));
2377 PyDict_SetItemString(d,"WXK_RBUTTON", PyInt_FromLong((long) WXK_RBUTTON));
2378 PyDict_SetItemString(d,"WXK_CANCEL", PyInt_FromLong((long) WXK_CANCEL));
2379 PyDict_SetItemString(d,"WXK_MBUTTON", PyInt_FromLong((long) WXK_MBUTTON));
2380 PyDict_SetItemString(d,"WXK_CLEAR", PyInt_FromLong((long) WXK_CLEAR));
2381 PyDict_SetItemString(d,"WXK_SHIFT", PyInt_FromLong((long) WXK_SHIFT));
2382 PyDict_SetItemString(d,"WXK_CONTROL", PyInt_FromLong((long) WXK_CONTROL));
2383 PyDict_SetItemString(d,"WXK_MENU", PyInt_FromLong((long) WXK_MENU));
2384 PyDict_SetItemString(d,"WXK_PAUSE", PyInt_FromLong((long) WXK_PAUSE));
2385 PyDict_SetItemString(d,"WXK_CAPITAL", PyInt_FromLong((long) WXK_CAPITAL));
2386 PyDict_SetItemString(d,"WXK_PRIOR", PyInt_FromLong((long) WXK_PRIOR));
2387 PyDict_SetItemString(d,"WXK_NEXT", PyInt_FromLong((long) WXK_NEXT));
2388 PyDict_SetItemString(d,"WXK_END", PyInt_FromLong((long) WXK_END));
2389 PyDict_SetItemString(d,"WXK_HOME", PyInt_FromLong((long) WXK_HOME));
2390 PyDict_SetItemString(d,"WXK_LEFT", PyInt_FromLong((long) WXK_LEFT));
2391 PyDict_SetItemString(d,"WXK_UP", PyInt_FromLong((long) WXK_UP));
2392 PyDict_SetItemString(d,"WXK_RIGHT", PyInt_FromLong((long) WXK_RIGHT));
2393 PyDict_SetItemString(d,"WXK_DOWN", PyInt_FromLong((long) WXK_DOWN));
2394 PyDict_SetItemString(d,"WXK_SELECT", PyInt_FromLong((long) WXK_SELECT));
2395 PyDict_SetItemString(d,"WXK_PRINT", PyInt_FromLong((long) WXK_PRINT));
2396 PyDict_SetItemString(d,"WXK_EXECUTE", PyInt_FromLong((long) WXK_EXECUTE));
2397 PyDict_SetItemString(d,"WXK_SNAPSHOT", PyInt_FromLong((long) WXK_SNAPSHOT));
2398 PyDict_SetItemString(d,"WXK_INSERT", PyInt_FromLong((long) WXK_INSERT));
2399 PyDict_SetItemString(d,"WXK_HELP", PyInt_FromLong((long) WXK_HELP));
2400 PyDict_SetItemString(d,"WXK_NUMPAD0", PyInt_FromLong((long) WXK_NUMPAD0));
2401 PyDict_SetItemString(d,"WXK_NUMPAD1", PyInt_FromLong((long) WXK_NUMPAD1));
2402 PyDict_SetItemString(d,"WXK_NUMPAD2", PyInt_FromLong((long) WXK_NUMPAD2));
2403 PyDict_SetItemString(d,"WXK_NUMPAD3", PyInt_FromLong((long) WXK_NUMPAD3));
2404 PyDict_SetItemString(d,"WXK_NUMPAD4", PyInt_FromLong((long) WXK_NUMPAD4));
2405 PyDict_SetItemString(d,"WXK_NUMPAD5", PyInt_FromLong((long) WXK_NUMPAD5));
2406 PyDict_SetItemString(d,"WXK_NUMPAD6", PyInt_FromLong((long) WXK_NUMPAD6));
2407 PyDict_SetItemString(d,"WXK_NUMPAD7", PyInt_FromLong((long) WXK_NUMPAD7));
2408 PyDict_SetItemString(d,"WXK_NUMPAD8", PyInt_FromLong((long) WXK_NUMPAD8));
2409 PyDict_SetItemString(d,"WXK_NUMPAD9", PyInt_FromLong((long) WXK_NUMPAD9));
2410 PyDict_SetItemString(d,"WXK_MULTIPLY", PyInt_FromLong((long) WXK_MULTIPLY));
2411 PyDict_SetItemString(d,"WXK_ADD", PyInt_FromLong((long) WXK_ADD));
2412 PyDict_SetItemString(d,"WXK_SEPARATOR", PyInt_FromLong((long) WXK_SEPARATOR));
2413 PyDict_SetItemString(d,"WXK_SUBTRACT", PyInt_FromLong((long) WXK_SUBTRACT));
2414 PyDict_SetItemString(d,"WXK_DECIMAL", PyInt_FromLong((long) WXK_DECIMAL));
2415 PyDict_SetItemString(d,"WXK_DIVIDE", PyInt_FromLong((long) WXK_DIVIDE));
2416 PyDict_SetItemString(d,"WXK_F1", PyInt_FromLong((long) WXK_F1));
2417 PyDict_SetItemString(d,"WXK_F2", PyInt_FromLong((long) WXK_F2));
2418 PyDict_SetItemString(d,"WXK_F3", PyInt_FromLong((long) WXK_F3));
2419 PyDict_SetItemString(d,"WXK_F4", PyInt_FromLong((long) WXK_F4));
2420 PyDict_SetItemString(d,"WXK_F5", PyInt_FromLong((long) WXK_F5));
2421 PyDict_SetItemString(d,"WXK_F6", PyInt_FromLong((long) WXK_F6));
2422 PyDict_SetItemString(d,"WXK_F7", PyInt_FromLong((long) WXK_F7));
2423 PyDict_SetItemString(d,"WXK_F8", PyInt_FromLong((long) WXK_F8));
2424 PyDict_SetItemString(d,"WXK_F9", PyInt_FromLong((long) WXK_F9));
2425 PyDict_SetItemString(d,"WXK_F10", PyInt_FromLong((long) WXK_F10));
2426 PyDict_SetItemString(d,"WXK_F11", PyInt_FromLong((long) WXK_F11));
2427 PyDict_SetItemString(d,"WXK_F12", PyInt_FromLong((long) WXK_F12));
2428 PyDict_SetItemString(d,"WXK_F13", PyInt_FromLong((long) WXK_F13));
2429 PyDict_SetItemString(d,"WXK_F14", PyInt_FromLong((long) WXK_F14));
2430 PyDict_SetItemString(d,"WXK_F15", PyInt_FromLong((long) WXK_F15));
2431 PyDict_SetItemString(d,"WXK_F16", PyInt_FromLong((long) WXK_F16));
2432 PyDict_SetItemString(d,"WXK_F17", PyInt_FromLong((long) WXK_F17));
2433 PyDict_SetItemString(d,"WXK_F18", PyInt_FromLong((long) WXK_F18));
2434 PyDict_SetItemString(d,"WXK_F19", PyInt_FromLong((long) WXK_F19));
2435 PyDict_SetItemString(d,"WXK_F20", PyInt_FromLong((long) WXK_F20));
2436 PyDict_SetItemString(d,"WXK_F21", PyInt_FromLong((long) WXK_F21));
2437 PyDict_SetItemString(d,"WXK_F22", PyInt_FromLong((long) WXK_F22));
2438 PyDict_SetItemString(d,"WXK_F23", PyInt_FromLong((long) WXK_F23));
2439 PyDict_SetItemString(d,"WXK_F24", PyInt_FromLong((long) WXK_F24));
2440 PyDict_SetItemString(d,"WXK_NUMLOCK", PyInt_FromLong((long) WXK_NUMLOCK));
2441 PyDict_SetItemString(d,"WXK_SCROLL", PyInt_FromLong((long) WXK_SCROLL));
2442 PyDict_SetItemString(d,"WXK_PAGEUP", PyInt_FromLong((long) WXK_PAGEUP));
2443 PyDict_SetItemString(d,"WXK_PAGEDOWN", PyInt_FromLong((long) WXK_PAGEDOWN));
2444 PyDict_SetItemString(d,"wxCURSOR_NONE", PyInt_FromLong((long) wxCURSOR_NONE));
2445 PyDict_SetItemString(d,"wxCURSOR_ARROW", PyInt_FromLong((long) wxCURSOR_ARROW));
2446 PyDict_SetItemString(d,"wxCURSOR_BULLSEYE", PyInt_FromLong((long) wxCURSOR_BULLSEYE));
2447 PyDict_SetItemString(d,"wxCURSOR_CHAR", PyInt_FromLong((long) wxCURSOR_CHAR));
2448 PyDict_SetItemString(d,"wxCURSOR_CROSS", PyInt_FromLong((long) wxCURSOR_CROSS));
2449 PyDict_SetItemString(d,"wxCURSOR_HAND", PyInt_FromLong((long) wxCURSOR_HAND));
2450 PyDict_SetItemString(d,"wxCURSOR_IBEAM", PyInt_FromLong((long) wxCURSOR_IBEAM));
2451 PyDict_SetItemString(d,"wxCURSOR_LEFT_BUTTON", PyInt_FromLong((long) wxCURSOR_LEFT_BUTTON));
2452 PyDict_SetItemString(d,"wxCURSOR_MAGNIFIER", PyInt_FromLong((long) wxCURSOR_MAGNIFIER));
2453 PyDict_SetItemString(d,"wxCURSOR_MIDDLE_BUTTON", PyInt_FromLong((long) wxCURSOR_MIDDLE_BUTTON));
2454 PyDict_SetItemString(d,"wxCURSOR_NO_ENTRY", PyInt_FromLong((long) wxCURSOR_NO_ENTRY));
2455 PyDict_SetItemString(d,"wxCURSOR_PAINT_BRUSH", PyInt_FromLong((long) wxCURSOR_PAINT_BRUSH));
2456 PyDict_SetItemString(d,"wxCURSOR_PENCIL", PyInt_FromLong((long) wxCURSOR_PENCIL));
2457 PyDict_SetItemString(d,"wxCURSOR_POINT_LEFT", PyInt_FromLong((long) wxCURSOR_POINT_LEFT));
2458 PyDict_SetItemString(d,"wxCURSOR_POINT_RIGHT", PyInt_FromLong((long) wxCURSOR_POINT_RIGHT));
2459 PyDict_SetItemString(d,"wxCURSOR_QUESTION_ARROW", PyInt_FromLong((long) wxCURSOR_QUESTION_ARROW));
2460 PyDict_SetItemString(d,"wxCURSOR_RIGHT_BUTTON", PyInt_FromLong((long) wxCURSOR_RIGHT_BUTTON));
2461 PyDict_SetItemString(d,"wxCURSOR_SIZENESW", PyInt_FromLong((long) wxCURSOR_SIZENESW));
2462 PyDict_SetItemString(d,"wxCURSOR_SIZENS", PyInt_FromLong((long) wxCURSOR_SIZENS));
2463 PyDict_SetItemString(d,"wxCURSOR_SIZENWSE", PyInt_FromLong((long) wxCURSOR_SIZENWSE));
2464 PyDict_SetItemString(d,"wxCURSOR_SIZEWE", PyInt_FromLong((long) wxCURSOR_SIZEWE));
2465 PyDict_SetItemString(d,"wxCURSOR_SIZING", PyInt_FromLong((long) wxCURSOR_SIZING));
2466 PyDict_SetItemString(d,"wxCURSOR_SPRAYCAN", PyInt_FromLong((long) wxCURSOR_SPRAYCAN));
2467 PyDict_SetItemString(d,"wxCURSOR_WAIT", PyInt_FromLong((long) wxCURSOR_WAIT));
2468 PyDict_SetItemString(d,"wxCURSOR_WATCH", PyInt_FromLong((long) wxCURSOR_WATCH));
2469 PyDict_SetItemString(d,"wxCURSOR_BLANK", PyInt_FromLong((long) wxCURSOR_BLANK));
2470 PyDict_SetItemString(d,"wxPAPER_NONE", PyInt_FromLong((long) wxPAPER_NONE));
2471 PyDict_SetItemString(d,"wxPAPER_LETTER", PyInt_FromLong((long) wxPAPER_LETTER));
2472 PyDict_SetItemString(d,"wxPAPER_LEGAL", PyInt_FromLong((long) wxPAPER_LEGAL));
2473 PyDict_SetItemString(d,"wxPAPER_A4", PyInt_FromLong((long) wxPAPER_A4));
2474 PyDict_SetItemString(d,"wxPAPER_CSHEET", PyInt_FromLong((long) wxPAPER_CSHEET));
2475 PyDict_SetItemString(d,"wxPAPER_DSHEET", PyInt_FromLong((long) wxPAPER_DSHEET));
2476 PyDict_SetItemString(d,"wxPAPER_ESHEET", PyInt_FromLong((long) wxPAPER_ESHEET));
2477 PyDict_SetItemString(d,"wxPAPER_LETTERSMALL", PyInt_FromLong((long) wxPAPER_LETTERSMALL));
2478 PyDict_SetItemString(d,"wxPAPER_TABLOID", PyInt_FromLong((long) wxPAPER_TABLOID));
2479 PyDict_SetItemString(d,"wxPAPER_LEDGER", PyInt_FromLong((long) wxPAPER_LEDGER));
2480 PyDict_SetItemString(d,"wxPAPER_STATEMENT", PyInt_FromLong((long) wxPAPER_STATEMENT));
2481 PyDict_SetItemString(d,"wxPAPER_EXECUTIVE", PyInt_FromLong((long) wxPAPER_EXECUTIVE));
2482 PyDict_SetItemString(d,"wxPAPER_A3", PyInt_FromLong((long) wxPAPER_A3));
2483 PyDict_SetItemString(d,"wxPAPER_A4SMALL", PyInt_FromLong((long) wxPAPER_A4SMALL));
2484 PyDict_SetItemString(d,"wxPAPER_A5", PyInt_FromLong((long) wxPAPER_A5));
2485 PyDict_SetItemString(d,"wxPAPER_B4", PyInt_FromLong((long) wxPAPER_B4));
2486 PyDict_SetItemString(d,"wxPAPER_B5", PyInt_FromLong((long) wxPAPER_B5));
2487 PyDict_SetItemString(d,"wxPAPER_FOLIO", PyInt_FromLong((long) wxPAPER_FOLIO));
2488 PyDict_SetItemString(d,"wxPAPER_QUARTO", PyInt_FromLong((long) wxPAPER_QUARTO));
2489 PyDict_SetItemString(d,"wxPAPER_10X14", PyInt_FromLong((long) wxPAPER_10X14));
2490 PyDict_SetItemString(d,"wxPAPER_11X17", PyInt_FromLong((long) wxPAPER_11X17));
2491 PyDict_SetItemString(d,"wxPAPER_NOTE", PyInt_FromLong((long) wxPAPER_NOTE));
2492 PyDict_SetItemString(d,"wxPAPER_ENV_9", PyInt_FromLong((long) wxPAPER_ENV_9));
2493 PyDict_SetItemString(d,"wxPAPER_ENV_10", PyInt_FromLong((long) wxPAPER_ENV_10));
2494 PyDict_SetItemString(d,"wxPAPER_ENV_11", PyInt_FromLong((long) wxPAPER_ENV_11));
2495 PyDict_SetItemString(d,"wxPAPER_ENV_12", PyInt_FromLong((long) wxPAPER_ENV_12));
2496 PyDict_SetItemString(d,"wxPAPER_ENV_14", PyInt_FromLong((long) wxPAPER_ENV_14));
2497 PyDict_SetItemString(d,"wxPAPER_ENV_DL", PyInt_FromLong((long) wxPAPER_ENV_DL));
2498 PyDict_SetItemString(d,"wxPAPER_ENV_C5", PyInt_FromLong((long) wxPAPER_ENV_C5));
2499 PyDict_SetItemString(d,"wxPAPER_ENV_C3", PyInt_FromLong((long) wxPAPER_ENV_C3));
2500 PyDict_SetItemString(d,"wxPAPER_ENV_C4", PyInt_FromLong((long) wxPAPER_ENV_C4));
2501 PyDict_SetItemString(d,"wxPAPER_ENV_C6", PyInt_FromLong((long) wxPAPER_ENV_C6));
2502 PyDict_SetItemString(d,"wxPAPER_ENV_C65", PyInt_FromLong((long) wxPAPER_ENV_C65));
2503 PyDict_SetItemString(d,"wxPAPER_ENV_B4", PyInt_FromLong((long) wxPAPER_ENV_B4));
2504 PyDict_SetItemString(d,"wxPAPER_ENV_B5", PyInt_FromLong((long) wxPAPER_ENV_B5));
2505 PyDict_SetItemString(d,"wxPAPER_ENV_B6", PyInt_FromLong((long) wxPAPER_ENV_B6));
2506 PyDict_SetItemString(d,"wxPAPER_ENV_ITALY", PyInt_FromLong((long) wxPAPER_ENV_ITALY));
2507 PyDict_SetItemString(d,"wxPAPER_ENV_MONARCH", PyInt_FromLong((long) wxPAPER_ENV_MONARCH));
2508 PyDict_SetItemString(d,"wxPAPER_ENV_PERSONAL", PyInt_FromLong((long) wxPAPER_ENV_PERSONAL));
2509 PyDict_SetItemString(d,"wxPAPER_FANFOLD_US", PyInt_FromLong((long) wxPAPER_FANFOLD_US));
2510 PyDict_SetItemString(d,"wxPAPER_FANFOLD_STD_GERMAN", PyInt_FromLong((long) wxPAPER_FANFOLD_STD_GERMAN));
2511 PyDict_SetItemString(d,"wxPAPER_FANFOLD_LGL_GERMAN", PyInt_FromLong((long) wxPAPER_FANFOLD_LGL_GERMAN));
2512 PyDict_SetItemString(d,"wxPAPER_ISO_B4", PyInt_FromLong((long) wxPAPER_ISO_B4));
2513 PyDict_SetItemString(d,"wxPAPER_JAPANESE_POSTCARD", PyInt_FromLong((long) wxPAPER_JAPANESE_POSTCARD));
2514 PyDict_SetItemString(d,"wxPAPER_9X11", PyInt_FromLong((long) wxPAPER_9X11));
2515 PyDict_SetItemString(d,"wxPAPER_10X11", PyInt_FromLong((long) wxPAPER_10X11));
2516 PyDict_SetItemString(d,"wxPAPER_15X11", PyInt_FromLong((long) wxPAPER_15X11));
2517 PyDict_SetItemString(d,"wxPAPER_ENV_INVITE", PyInt_FromLong((long) wxPAPER_ENV_INVITE));
2518 PyDict_SetItemString(d,"wxPAPER_LETTER_EXTRA", PyInt_FromLong((long) wxPAPER_LETTER_EXTRA));
2519 PyDict_SetItemString(d,"wxPAPER_LEGAL_EXTRA", PyInt_FromLong((long) wxPAPER_LEGAL_EXTRA));
2520 PyDict_SetItemString(d,"wxPAPER_TABLOID_EXTRA", PyInt_FromLong((long) wxPAPER_TABLOID_EXTRA));
2521 PyDict_SetItemString(d,"wxPAPER_A4_EXTRA", PyInt_FromLong((long) wxPAPER_A4_EXTRA));
2522 PyDict_SetItemString(d,"wxPAPER_LETTER_TRANSVERSE", PyInt_FromLong((long) wxPAPER_LETTER_TRANSVERSE));
2523 PyDict_SetItemString(d,"wxPAPER_A4_TRANSVERSE", PyInt_FromLong((long) wxPAPER_A4_TRANSVERSE));
2524 PyDict_SetItemString(d,"wxPAPER_LETTER_EXTRA_TRANSVERSE", PyInt_FromLong((long) wxPAPER_LETTER_EXTRA_TRANSVERSE));
2525 PyDict_SetItemString(d,"wxPAPER_A_PLUS", PyInt_FromLong((long) wxPAPER_A_PLUS));
2526 PyDict_SetItemString(d,"wxPAPER_B_PLUS", PyInt_FromLong((long) wxPAPER_B_PLUS));
2527 PyDict_SetItemString(d,"wxPAPER_LETTER_PLUS", PyInt_FromLong((long) wxPAPER_LETTER_PLUS));
2528 PyDict_SetItemString(d,"wxPAPER_A4_PLUS", PyInt_FromLong((long) wxPAPER_A4_PLUS));
2529 PyDict_SetItemString(d,"wxPAPER_A5_TRANSVERSE", PyInt_FromLong((long) wxPAPER_A5_TRANSVERSE));
2530 PyDict_SetItemString(d,"wxPAPER_B5_TRANSVERSE", PyInt_FromLong((long) wxPAPER_B5_TRANSVERSE));
2531 PyDict_SetItemString(d,"wxPAPER_A3_EXTRA", PyInt_FromLong((long) wxPAPER_A3_EXTRA));
2532 PyDict_SetItemString(d,"wxPAPER_A5_EXTRA", PyInt_FromLong((long) wxPAPER_A5_EXTRA));
2533 PyDict_SetItemString(d,"wxPAPER_B5_EXTRA", PyInt_FromLong((long) wxPAPER_B5_EXTRA));
2534 PyDict_SetItemString(d,"wxPAPER_A2", PyInt_FromLong((long) wxPAPER_A2));
2535 PyDict_SetItemString(d,"wxPAPER_A3_TRANSVERSE", PyInt_FromLong((long) wxPAPER_A3_TRANSVERSE));
2536 PyDict_SetItemString(d,"wxPAPER_A3_EXTRA_TRANSVERSE", PyInt_FromLong((long) wxPAPER_A3_EXTRA_TRANSVERSE));
2537 PyDict_SetItemString(d,"wxDUPLEX_SIMPLEX", PyInt_FromLong((long) wxDUPLEX_SIMPLEX));
2538 PyDict_SetItemString(d,"wxDUPLEX_HORIZONTAL", PyInt_FromLong((long) wxDUPLEX_HORIZONTAL));
2539 PyDict_SetItemString(d,"wxDUPLEX_VERTICAL", PyInt_FromLong((long) wxDUPLEX_VERTICAL));
2540 PyDict_SetItemString(d,"FALSE", PyInt_FromLong((long) 0));
2541 PyDict_SetItemString(d,"false", PyInt_FromLong((long) 0));
2542 PyDict_SetItemString(d,"TRUE", PyInt_FromLong((long) 1));
2543 PyDict_SetItemString(d,"true", PyInt_FromLong((long) 1));
2544 PyDict_SetItemString(d,"wxVERSION_STRING", PyString_FromString("wxVERSION_STRING"));
2545 PyDict_SetItemString(d,"wxEVT_NULL", PyInt_FromLong((long) wxEVT_NULL));
2546 PyDict_SetItemString(d,"wxEVT_FIRST", PyInt_FromLong((long) wxEVT_FIRST));
2547 PyDict_SetItemString(d,"wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_BUTTON_CLICKED));
2548 PyDict_SetItemString(d,"wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_CHECKBOX_CLICKED));
2549 PyDict_SetItemString(d,"wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_CHOICE_SELECTED));
2550 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOX_SELECTED));
2551 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
2552 PyDict_SetItemString(d,"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong((long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
2553 PyDict_SetItemString(d,"wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong((long) wxEVT_COMMAND_TEXT_UPDATED));
2554 PyDict_SetItemString(d,"wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_TEXT_ENTER));
2555 PyDict_SetItemString(d,"wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_MENU_SELECTED));
2556 PyDict_SetItemString(d,"wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong((long) wxEVT_COMMAND_SLIDER_UPDATED));
2557 PyDict_SetItemString(d,"wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_RADIOBOX_SELECTED));
2558 PyDict_SetItemString(d,"wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_RADIOBUTTON_SELECTED));
2559 PyDict_SetItemString(d,"wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong((long) wxEVT_COMMAND_SCROLLBAR_UPDATED));
2560 PyDict_SetItemString(d,"wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_VLBOX_SELECTED));
2561 PyDict_SetItemString(d,"wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_COMBOBOX_SELECTED));
2562 PyDict_SetItemString(d,"wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOOL_CLICKED));
2563 PyDict_SetItemString(d,"wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOOL_RCLICKED));
2564 PyDict_SetItemString(d,"wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_TOOL_ENTER));
2565 PyDict_SetItemString(d,"wxEVT_SET_FOCUS", PyInt_FromLong((long) wxEVT_SET_FOCUS));
2566 PyDict_SetItemString(d,"wxEVT_KILL_FOCUS", PyInt_FromLong((long) wxEVT_KILL_FOCUS));
2567 PyDict_SetItemString(d,"wxEVT_LEFT_DOWN", PyInt_FromLong((long) wxEVT_LEFT_DOWN));
2568 PyDict_SetItemString(d,"wxEVT_LEFT_UP", PyInt_FromLong((long) wxEVT_LEFT_UP));
2569 PyDict_SetItemString(d,"wxEVT_MIDDLE_DOWN", PyInt_FromLong((long) wxEVT_MIDDLE_DOWN));
2570 PyDict_SetItemString(d,"wxEVT_MIDDLE_UP", PyInt_FromLong((long) wxEVT_MIDDLE_UP));
2571 PyDict_SetItemString(d,"wxEVT_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_RIGHT_DOWN));
2572 PyDict_SetItemString(d,"wxEVT_RIGHT_UP", PyInt_FromLong((long) wxEVT_RIGHT_UP));
2573 PyDict_SetItemString(d,"wxEVT_MOTION", PyInt_FromLong((long) wxEVT_MOTION));
2574 PyDict_SetItemString(d,"wxEVT_ENTER_WINDOW", PyInt_FromLong((long) wxEVT_ENTER_WINDOW));
2575 PyDict_SetItemString(d,"wxEVT_LEAVE_WINDOW", PyInt_FromLong((long) wxEVT_LEAVE_WINDOW));
2576 PyDict_SetItemString(d,"wxEVT_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_LEFT_DCLICK));
2577 PyDict_SetItemString(d,"wxEVT_MIDDLE_DCLICK", PyInt_FromLong((long) wxEVT_MIDDLE_DCLICK));
2578 PyDict_SetItemString(d,"wxEVT_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_RIGHT_DCLICK));
2579 PyDict_SetItemString(d,"wxEVT_NC_LEFT_DOWN", PyInt_FromLong((long) wxEVT_NC_LEFT_DOWN));
2580 PyDict_SetItemString(d,"wxEVT_NC_LEFT_UP", PyInt_FromLong((long) wxEVT_NC_LEFT_UP));
2581 PyDict_SetItemString(d,"wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong((long) wxEVT_NC_MIDDLE_DOWN));
2582 PyDict_SetItemString(d,"wxEVT_NC_MIDDLE_UP", PyInt_FromLong((long) wxEVT_NC_MIDDLE_UP));
2583 PyDict_SetItemString(d,"wxEVT_NC_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_NC_RIGHT_DOWN));
2584 PyDict_SetItemString(d,"wxEVT_NC_RIGHT_UP", PyInt_FromLong((long) wxEVT_NC_RIGHT_UP));
2585 PyDict_SetItemString(d,"wxEVT_NC_MOTION", PyInt_FromLong((long) wxEVT_NC_MOTION));
2586 PyDict_SetItemString(d,"wxEVT_NC_ENTER_WINDOW", PyInt_FromLong((long) wxEVT_NC_ENTER_WINDOW));
2587 PyDict_SetItemString(d,"wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong((long) wxEVT_NC_LEAVE_WINDOW));
2588 PyDict_SetItemString(d,"wxEVT_NC_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_NC_LEFT_DCLICK));
2589 PyDict_SetItemString(d,"wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong((long) wxEVT_NC_MIDDLE_DCLICK));
2590 PyDict_SetItemString(d,"wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_NC_RIGHT_DCLICK));
2591 PyDict_SetItemString(d,"wxEVT_CHAR", PyInt_FromLong((long) wxEVT_CHAR));
2592 PyDict_SetItemString(d,"wxEVT_KEY_DOWN", PyInt_FromLong((long) wxEVT_KEY_DOWN));
2593 PyDict_SetItemString(d,"wxEVT_KEY_UP", PyInt_FromLong((long) wxEVT_KEY_UP));
2594 PyDict_SetItemString(d,"wxEVT_CHAR_HOOK", PyInt_FromLong((long) wxEVT_CHAR_HOOK));
2595 PyDict_SetItemString(d,"wxEVT_SCROLL_TOP", PyInt_FromLong((long) wxEVT_SCROLL_TOP));
2596 PyDict_SetItemString(d,"wxEVT_SCROLL_BOTTOM", PyInt_FromLong((long) wxEVT_SCROLL_BOTTOM));
2597 PyDict_SetItemString(d,"wxEVT_SCROLL_LINEUP", PyInt_FromLong((long) wxEVT_SCROLL_LINEUP));
2598 PyDict_SetItemString(d,"wxEVT_SCROLL_LINEDOWN", PyInt_FromLong((long) wxEVT_SCROLL_LINEDOWN));
2599 PyDict_SetItemString(d,"wxEVT_SCROLL_PAGEUP", PyInt_FromLong((long) wxEVT_SCROLL_PAGEUP));
2600 PyDict_SetItemString(d,"wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong((long) wxEVT_SCROLL_PAGEDOWN));
2601 PyDict_SetItemString(d,"wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong((long) wxEVT_SCROLL_THUMBTRACK));
2602 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_TOP", PyInt_FromLong((long) wxEVT_SCROLLWIN_TOP));
2603 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong((long) wxEVT_SCROLLWIN_BOTTOM));
2604 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong((long) wxEVT_SCROLLWIN_LINEUP));
2605 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong((long) wxEVT_SCROLLWIN_LINEDOWN));
2606 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong((long) wxEVT_SCROLLWIN_PAGEUP));
2607 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong((long) wxEVT_SCROLLWIN_PAGEDOWN));
2608 PyDict_SetItemString(d,"wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong((long) wxEVT_SCROLLWIN_THUMBTRACK));
2609 PyDict_SetItemString(d,"wxEVT_SIZE", PyInt_FromLong((long) wxEVT_SIZE));
2610 PyDict_SetItemString(d,"wxEVT_MOVE", PyInt_FromLong((long) wxEVT_MOVE));
2611 PyDict_SetItemString(d,"wxEVT_CLOSE_WINDOW", PyInt_FromLong((long) wxEVT_CLOSE_WINDOW));
2612 PyDict_SetItemString(d,"wxEVT_END_SESSION", PyInt_FromLong((long) wxEVT_END_SESSION));
2613 PyDict_SetItemString(d,"wxEVT_QUERY_END_SESSION", PyInt_FromLong((long) wxEVT_QUERY_END_SESSION));
2614 PyDict_SetItemString(d,"wxEVT_ACTIVATE_APP", PyInt_FromLong((long) wxEVT_ACTIVATE_APP));
2615 PyDict_SetItemString(d,"wxEVT_POWER", PyInt_FromLong((long) wxEVT_POWER));
2616 PyDict_SetItemString(d,"wxEVT_ACTIVATE", PyInt_FromLong((long) wxEVT_ACTIVATE));
2617 PyDict_SetItemString(d,"wxEVT_CREATE", PyInt_FromLong((long) wxEVT_CREATE));
2618 PyDict_SetItemString(d,"wxEVT_DESTROY", PyInt_FromLong((long) wxEVT_DESTROY));
2619 PyDict_SetItemString(d,"wxEVT_SHOW", PyInt_FromLong((long) wxEVT_SHOW));
2620 PyDict_SetItemString(d,"wxEVT_ICONIZE", PyInt_FromLong((long) wxEVT_ICONIZE));
2621 PyDict_SetItemString(d,"wxEVT_MAXIMIZE", PyInt_FromLong((long) wxEVT_MAXIMIZE));
2622 PyDict_SetItemString(d,"wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong((long) wxEVT_MOUSE_CAPTURE_CHANGED));
2623 PyDict_SetItemString(d,"wxEVT_PAINT", PyInt_FromLong((long) wxEVT_PAINT));
2624 PyDict_SetItemString(d,"wxEVT_ERASE_BACKGROUND", PyInt_FromLong((long) wxEVT_ERASE_BACKGROUND));
2625 PyDict_SetItemString(d,"wxEVT_NC_PAINT", PyInt_FromLong((long) wxEVT_NC_PAINT));
2626 PyDict_SetItemString(d,"wxEVT_PAINT_ICON", PyInt_FromLong((long) wxEVT_PAINT_ICON));
2627 PyDict_SetItemString(d,"wxEVT_MENU_CHAR", PyInt_FromLong((long) wxEVT_MENU_CHAR));
2628 PyDict_SetItemString(d,"wxEVT_MENU_INIT", PyInt_FromLong((long) wxEVT_MENU_INIT));
2629 PyDict_SetItemString(d,"wxEVT_MENU_HIGHLIGHT", PyInt_FromLong((long) wxEVT_MENU_HIGHLIGHT));
2630 PyDict_SetItemString(d,"wxEVT_POPUP_MENU_INIT", PyInt_FromLong((long) wxEVT_POPUP_MENU_INIT));
2631 PyDict_SetItemString(d,"wxEVT_CONTEXT_MENU", PyInt_FromLong((long) wxEVT_CONTEXT_MENU));
2632 PyDict_SetItemString(d,"wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong((long) wxEVT_SYS_COLOUR_CHANGED));
2633 PyDict_SetItemString(d,"wxEVT_SETTING_CHANGED", PyInt_FromLong((long) wxEVT_SETTING_CHANGED));
2634 PyDict_SetItemString(d,"wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong((long) wxEVT_QUERY_NEW_PALETTE));
2635 PyDict_SetItemString(d,"wxEVT_PALETTE_CHANGED", PyInt_FromLong((long) wxEVT_PALETTE_CHANGED));
2636 PyDict_SetItemString(d,"wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong((long) wxEVT_JOY_BUTTON_DOWN));
2637 PyDict_SetItemString(d,"wxEVT_JOY_BUTTON_UP", PyInt_FromLong((long) wxEVT_JOY_BUTTON_UP));
2638 PyDict_SetItemString(d,"wxEVT_JOY_MOVE", PyInt_FromLong((long) wxEVT_JOY_MOVE));
2639 PyDict_SetItemString(d,"wxEVT_JOY_ZMOVE", PyInt_FromLong((long) wxEVT_JOY_ZMOVE));
2640 PyDict_SetItemString(d,"wxEVT_DROP_FILES", PyInt_FromLong((long) wxEVT_DROP_FILES));
2641 PyDict_SetItemString(d,"wxEVT_DRAW_ITEM", PyInt_FromLong((long) wxEVT_DRAW_ITEM));
2642 PyDict_SetItemString(d,"wxEVT_MEASURE_ITEM", PyInt_FromLong((long) wxEVT_MEASURE_ITEM));
2643 PyDict_SetItemString(d,"wxEVT_COMPARE_ITEM", PyInt_FromLong((long) wxEVT_COMPARE_ITEM));
2644 PyDict_SetItemString(d,"wxEVT_INIT_DIALOG", PyInt_FromLong((long) wxEVT_INIT_DIALOG));
2645 PyDict_SetItemString(d,"wxEVT_IDLE", PyInt_FromLong((long) wxEVT_IDLE));
2646 PyDict_SetItemString(d,"wxEVT_UPDATE_UI", PyInt_FromLong((long) wxEVT_UPDATE_UI));
2647 PyDict_SetItemString(d,"wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LEFT_CLICK));
2648 PyDict_SetItemString(d,"wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_COMMAND_LEFT_DCLICK));
2649 PyDict_SetItemString(d,"wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_RIGHT_CLICK));
2650 PyDict_SetItemString(d,"wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_COMMAND_RIGHT_DCLICK));
2651 PyDict_SetItemString(d,"wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong((long) wxEVT_COMMAND_SET_FOCUS));
2652 PyDict_SetItemString(d,"wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong((long) wxEVT_COMMAND_KILL_FOCUS));
2653 PyDict_SetItemString(d,"wxEVT_COMMAND_ENTER", PyInt_FromLong((long) wxEVT_COMMAND_ENTER));
2654 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
2655 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
2656 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
2657 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
2658 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
2659 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
2660 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
2661 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
2662 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
2663 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
2664 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
2665 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
2666 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
2667 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
2668 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
2669 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
2670 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
2671 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
2672 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
2673 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
2674 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
2675 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
2676 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
2677 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
2678 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
2679 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
2680 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
2681 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
2682 PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGED));
2683 PyDict_SetItemString(d,"wxEVT_COMMAND_TAB_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TAB_SEL_CHANGING));
2684 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
2685 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
2686 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
2687 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
2688 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
2689 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
2690 PyDict_SetItemString(d,"__version__", PyString_FromString("2.1b2"));
2691 PyDict_SetItemString(d,"cvar", SWIG_globals);
2692 SWIG_addvarlink(SWIG_globals,"wxPyDefaultPosition",_wrap_wxPyDefaultPosition_get, _wrap_wxPyDefaultPosition_set);
2693 SWIG_addvarlink(SWIG_globals,"wxPyDefaultSize",_wrap_wxPyDefaultSize_get, _wrap_wxPyDefaultSize_set);
2694
2695
2696 __wxPreStart(); // initialize the GUI toolkit, if needed.
2697
2698
2699 // Since these modules are all linked together, initialize them now
2700 // because python won't be able to find their shared library files,
2701 // (since there isn't any.)
2702 initwindowsc();
2703 initwindows2c();
2704 initeventsc();
2705 initmiscc();
2706 initmisc2c();
2707 initgdic();
2708 initmdic();
2709 initcontrolsc();
2710 initcontrols2c();
2711 initcmndlgsc();
2712 initstattoolc();
2713 initframesc();
2714 initwindows3c();
2715 initimagec();
2716 initprintfwc();
2717 #ifndef SEPARATE
2718 initutilsc();
2719 // initoglc();
2720 #ifdef WITH_GLCANVAS
2721 initglcanvasc();
2722 #endif
2723 #endif
2724 /*
2725 * These are the pointer type-equivalency mappings.
2726 * (Used by the SWIG pointer type-checker).
2727 */
2728 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2729 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2730 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2731 SWIG_RegisterMapping("_signed_long","_long",0);
2732 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2733 SWIG_RegisterMapping("_class_wxJPEGHandler","_wxJPEGHandler",0);
2734 SWIG_RegisterMapping("_wxBMPHandler","_class_wxBMPHandler",0);
2735 SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
2736 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
2737 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
2738 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
2739 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
2740 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
2741 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
2742 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
2743 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
2744 SWIG_RegisterMapping("___wxPyCleanup","_class___wxPyCleanup",0);
2745 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
2746 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2747 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
2748 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyApp",SwigwxPyAppTowxEvtHandler);
2749 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyApp",SwigwxPyAppTowxEvtHandler);
2750 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2751 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2752 SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
2753 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2754 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2755 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
2756 SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
2757 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
2758 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2759 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
2760 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
2761 SWIG_RegisterMapping("_wxPNGHandler","_class_wxPNGHandler",0);
2762 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
2763 SWIG_RegisterMapping("_class_wxPageSetupDialogData","_wxPageSetupDialogData",0);
2764 SWIG_RegisterMapping("_wxPrinter","_class_wxPrinter",0);
2765 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2766 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2767 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2768 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2769 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2770 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2771 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
2772 SWIG_RegisterMapping("_wxPyPrintout","_class_wxPyPrintout",0);
2773 SWIG_RegisterMapping("_long","_wxDash",0);
2774 SWIG_RegisterMapping("_long","_unsigned_long",0);
2775 SWIG_RegisterMapping("_long","_signed_long",0);
2776 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
2777 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2778 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2779 SWIG_RegisterMapping("_wxSashWindow","_class_wxSashWindow",0);
2780 SWIG_RegisterMapping("_class_wxPrintDialogData","_wxPrintDialogData",0);
2781 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2782 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2783 SWIG_RegisterMapping("_class_wxSashEvent","_wxSashEvent",0);
2784 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2785 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
2786 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
2787 SWIG_RegisterMapping("_wxProgressDialog","_class_wxProgressDialog",0);
2788 SWIG_RegisterMapping("_class_wxBMPHandler","_wxBMPHandler",0);
2789 SWIG_RegisterMapping("_wxPrintPreview","_class_wxPrintPreview",0);
2790 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
2791 SWIG_RegisterMapping("_wxSashLayoutWindow","_class_wxSashLayoutWindow",0);
2792 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
2793 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
2794 SWIG_RegisterMapping("_size_t","_int",0);
2795 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
2796 SWIG_RegisterMapping("_size_t","_uint",0);
2797 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2798 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2799 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2800 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2801 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
2802 SWIG_RegisterMapping("_class_wxGIFHandler","_wxGIFHandler",0);
2803 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
2804 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2805 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2806 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2807 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
2808 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2809 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2810 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
2811 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2812 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
2813 SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
2814 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2815 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2816 SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
2817 SWIG_RegisterMapping("_class_wxPrinter","_wxPrinter",0);
2818 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2819 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2820 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
2821 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
2822 SWIG_RegisterMapping("_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0);
2823 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2824 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
2825 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
2826 SWIG_RegisterMapping("_class_wxPyPrintout","_wxPyPrintout",0);
2827 SWIG_RegisterMapping("_class_wxSashWindow","_wxSashWindow",0);
2828 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2829 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
2830 SWIG_RegisterMapping("_uint","_size_t",0);
2831 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2832 SWIG_RegisterMapping("_uint","_int",0);
2833 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2834 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2835 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
2836 SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
2837 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
2838 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2839 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2840 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2841 SWIG_RegisterMapping("_class_wxImage","_wxImage",0);
2842 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2843 SWIG_RegisterMapping("_class_wxSashLayoutWindow","_wxSashLayoutWindow",0);
2844 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2845 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2846 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
2847 SWIG_RegisterMapping("_class___wxPyCleanup","___wxPyCleanup",0);
2848 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2849 SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0);
2850 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2851 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
2852 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2853 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
2854 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
2855 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
2856 SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
2857 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2858 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
2859 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
2860 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
2861 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
2862 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2863 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2864 SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
2865 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
2866 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
2867 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
2868 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2869 SWIG_RegisterMapping("_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0);
2870 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
2871 SWIG_RegisterMapping("_EBool","_signed_int",0);
2872 SWIG_RegisterMapping("_EBool","_int",0);
2873 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2874 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
2875 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2876 SWIG_RegisterMapping("_class_wxPreviewFrame","_wxPreviewFrame",0);
2877 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2878 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2879 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2880 SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
2881 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
2882 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2883 SWIG_RegisterMapping("_unsigned_long","_long",0);
2884 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2885 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2886 SWIG_RegisterMapping("_class_wxProgressDialog","_wxProgressDialog",0);
2887 SWIG_RegisterMapping("_wxPyApp","_class_wxPyApp",0);
2888 SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
2889 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
2890 SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0);
2891 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2892 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2893 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2894 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
2895 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2896 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2897 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2898 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2899 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
2900 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
2901 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
2902 SWIG_RegisterMapping("_signed_int","_EBool",0);
2903 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2904 SWIG_RegisterMapping("_signed_int","_int",0);
2905 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
2906 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2907 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
2908 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2909 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
2910 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
2911 SWIG_RegisterMapping("_class_wxMDIChildFrame","_wxMDIChildFrame",0);
2912 SWIG_RegisterMapping("_WXTYPE","_short",0);
2913 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2914 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2915 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
2916 SWIG_RegisterMapping("_class_wxMDIClientWindow","_wxMDIClientWindow",0);
2917 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
2918 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2919 SWIG_RegisterMapping("_unsigned_short","_short",0);
2920 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
2921 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
2922 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
2923 SWIG_RegisterMapping("_wxPrintDialogData","_class_wxPrintDialogData",0);
2924 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
2925 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2926 SWIG_RegisterMapping("_wxSashEvent","_class_wxSashEvent",0);
2927 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2928 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
2929 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2930 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
2931 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
2932 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2933 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2934 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
2935 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
2936 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2937 SWIG_RegisterMapping("_signed_short","_short",0);
2938 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
2939 SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0);
2940 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
2941 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
2942 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2943 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2944 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
2945 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
2946 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2947 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
2948 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
2949 SWIG_RegisterMapping("_class_wxImageHandler","_wxImageHandler",0);
2950 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
2951 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
2952 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2953 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
2954 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
2955 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
2956 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
2957 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
2958 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2959 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2960 SWIG_RegisterMapping("_unsigned_int","_int",0);
2961 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
2962 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2963 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
2964 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2965 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
2966 SWIG_RegisterMapping("_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0);
2967 SWIG_RegisterMapping("_short","_WXTYPE",0);
2968 SWIG_RegisterMapping("_short","_unsigned_short",0);
2969 SWIG_RegisterMapping("_short","_signed_short",0);
2970 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
2971 SWIG_RegisterMapping("_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0);
2972 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2973 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2974 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
2975 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
2976 SWIG_RegisterMapping("_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0);
2977 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
2978 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
2979 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
2980 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
2981 SWIG_RegisterMapping("_wxJPEGHandler","_class_wxJPEGHandler",0);
2982 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
2983 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
2984 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2985 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2986 SWIG_RegisterMapping("_wxWindowID","_int",0);
2987 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2988 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2989 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
2990 SWIG_RegisterMapping("_int","_size_t",0);
2991 SWIG_RegisterMapping("_int","_EBool",0);
2992 SWIG_RegisterMapping("_int","_uint",0);
2993 SWIG_RegisterMapping("_int","_wxWindowID",0);
2994 SWIG_RegisterMapping("_int","_unsigned_int",0);
2995 SWIG_RegisterMapping("_int","_signed_int",0);
2996 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2997 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
2998 SWIG_RegisterMapping("_class_wxPrintPreview","_wxPrintPreview",0);
2999 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
3000 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3001 SWIG_RegisterMapping("_class_wxPyApp","_wxPyApp",0);
3002 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3003 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3004 SWIG_RegisterMapping("_class_wxMDIParentFrame","_wxMDIParentFrame",0);
3005 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
3006 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3007 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3008 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3009 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3010 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3011 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
3012 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
3013 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3014 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3015 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3016 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3017 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3018 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3019 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3020 SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0);
3021 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
3022 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3023 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3024 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3025 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
3026 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
3027 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3028 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
3029 SWIG_RegisterMapping("_wxPreviewFrame","_class_wxPreviewFrame",0);
3030 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3031 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3032 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3033 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
3034 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
3035 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3036 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3037 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3038 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
3039 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
3040 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3041 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3042 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3043 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3044 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
3045 SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0);
3046 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyApp",SwigwxPyAppTowxEvtHandler);
3047 SWIG_RegisterMapping("_wxEvtHandler","_wxPyApp",SwigwxPyAppTowxEvtHandler);
3048 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3049 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3050 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3051 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
3052 SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
3053 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3054 SWIG_RegisterMapping("_wxDash","_long",0);
3055 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3056 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
3057 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3058 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3059 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
3060 SWIG_RegisterMapping("_wxPageSetupDialogData","_class_wxPageSetupDialogData",0);
3061 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
3062 SWIG_RegisterMapping("_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0);
3063 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3064 SWIG_RegisterMapping("_wxMDIClientWindow","_class_wxMDIClientWindow",0);
3065 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
3066 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
3067 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
3068 }