]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/ogl.cpp
Implemented the first phase of OOR (Original Object Return). See the
[wxWidgets.git] / wxPython / contrib / ogl / ogl.cpp
1 /*
2 * FILE : contrib/ogl/ogl.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initoglc
55
56 #define SWIG_name "oglc"
57
58 #include "export.h"
59 #include "oglhelpers.h"
60
61 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79 }
80
81 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105 }
106
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg = "String or Unicode type required";
109 #else
110 static char* wxStringErrorMsg = "string type is required for parameter";
111 #endif
112
113 //---------------------------------------------------------------------------
114 // This one will work for any class for the VERY generic cases, but beyond that
115 // the helper needs to know more about the type.
116
117 wxList* wxPy_wxListHelper(PyObject* pyList, char* className) {
118 bool doSave = wxPyRestoreThread();
119 if (!PyList_Check(pyList)) {
120 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
121 wxPySaveThread(doSave);
122 return NULL;
123 }
124 int count = PyList_Size(pyList);
125 wxList* list = new wxList;
126 if (! list) {
127 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
128 wxPySaveThread(doSave);
129 return NULL;
130 }
131 for (int x=0; x<count; x++) {
132 PyObject* pyo = PyList_GetItem(pyList, x);
133 wxObject* wxo = NULL;
134
135 if (SWIG_GetPtrObj(pyo, (void **)&wxo, className)) {
136 char errmsg[1024];
137 sprintf(errmsg, "Type error, expected list of %s objects", className);
138 PyErr_SetString(PyExc_TypeError, errmsg);
139 wxPySaveThread(doSave);
140 return NULL;
141 }
142 list->Append(wxo);
143 }
144 wxPySaveThread(doSave);
145 return list;
146 }
147
148 //---------------------------------------------------------------------------
149
150 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
151 bool doSave = wxPyRestoreThread();
152 if (!PyList_Check(pyList)) {
153 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
154 wxPySaveThread(doSave);
155 return NULL;
156 }
157 int count = PyList_Size(pyList);
158 wxList* list = new wxList;
159 if (! list) {
160 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
161 wxPySaveThread(doSave);
162 return NULL;
163 }
164 for (int x=0; x<count; x++) {
165 PyObject* pyo = PyList_GetItem(pyList, x);
166
167 if (PyTuple_Check(pyo)) {
168 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
169 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
170
171 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
172 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
173
174 list->Append((wxObject*) new wxRealPoint(val1, val2));
175
176 } else {
177 wxRealPoint* wxo = NULL;
178 if (SWIG_GetPtrObj(pyo, (void **)&wxo, "_wxRealPoint_p")) {
179 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
180 wxPySaveThread(doSave);
181 return NULL;
182 }
183 list->Append((wxObject*) new wxRealPoint(*wxo));
184 }
185 }
186 wxPySaveThread(doSave);
187 return list;
188 }
189
190
191 //---------------------------------------------------------------------------
192
193 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
194 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
195 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
196 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
197 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
198 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
199 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
200 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
201 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
202 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
203 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
204 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
205 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
206 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
207 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
208
209 //---------------------------------------------------------------------------
210
211 extern "C" SWIGEXPORT(void) initoglbasicc();
212 extern "C" SWIGEXPORT(void) initoglshapesc();
213 extern "C" SWIGEXPORT(void) initoglshapes2c();
214 extern "C" SWIGEXPORT(void) initoglcanvasc();
215 #ifdef __cplusplus
216 extern "C" {
217 #endif
218 static PyObject *_wrap_wxOGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
219 PyObject * _resultobj;
220 char *_kwnames[] = { NULL };
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxOGLInitialize",_kwnames))
224 return NULL;
225 {
226 wxPy_BEGIN_ALLOW_THREADS;
227 wxOGLInitialize();
228
229 wxPy_END_ALLOW_THREADS;
230 } Py_INCREF(Py_None);
231 _resultobj = Py_None;
232 return _resultobj;
233 }
234
235 static PyObject *_wrap_wxOGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
236 PyObject * _resultobj;
237 char *_kwnames[] = { NULL };
238
239 self = self;
240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxOGLCleanUp",_kwnames))
241 return NULL;
242 {
243 wxPy_BEGIN_ALLOW_THREADS;
244 wxOGLCleanUp();
245
246 wxPy_END_ALLOW_THREADS;
247 } Py_INCREF(Py_None);
248 _resultobj = Py_None;
249 return _resultobj;
250 }
251
252 static PyMethodDef oglcMethods[] = {
253 { "wxOGLCleanUp", (PyCFunction) _wrap_wxOGLCleanUp, METH_VARARGS | METH_KEYWORDS },
254 { "wxOGLInitialize", (PyCFunction) _wrap_wxOGLInitialize, METH_VARARGS | METH_KEYWORDS },
255 { NULL, NULL }
256 };
257 #ifdef __cplusplus
258 }
259 #endif
260 /*
261 * This table is used by the pointer type-checker
262 */
263 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
264 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
265 { "_wxEvent","_class_wxEvent",0},
266 { "_class_wxActivateEvent","_wxActivateEvent",0},
267 { "_signed_long","_long",0},
268 { "_wxMenuEvent","_class_wxMenuEvent",0},
269 { "_class_wxProcessEvent","_wxProcessEvent",0},
270 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
271 { "_class_wxFSFile","_wxFSFile",0},
272 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
273 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
274 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
275 { "_wxBMPHandler","_class_wxBMPHandler",0},
276 { "_wxImage","_class_wxImage",0},
277 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
278 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
279 { "_class_wxDateTime","_wxDateTime",0},
280 { "_wxPrintQuality","_wxCoord",0},
281 { "_wxPrintQuality","_int",0},
282 { "_wxPrintQuality","_signed_int",0},
283 { "_wxPrintQuality","_unsigned_int",0},
284 { "_wxPrintQuality","_wxWindowID",0},
285 { "_wxPrintQuality","_uint",0},
286 { "_wxPrintQuality","_EBool",0},
287 { "_wxPrintQuality","_size_t",0},
288 { "_wxPrintQuality","_time_t",0},
289 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
290 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
291 { "_wxFontData","_class_wxFontData",0},
292 { "_class_wxRegionIterator","_wxRegionIterator",0},
293 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
294 { "_class_wxMenuBar","_wxMenuBar",0},
295 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
296 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
297 { "_class_wxEvtHandler","_wxEvtHandler",0},
298 { "_wxPaintEvent","_class_wxPaintEvent",0},
299 { "_wxGIFHandler","_class_wxGIFHandler",0},
300 { "_wxPySizer","_class_wxPySizer",0},
301 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
302 { "_wxPyCompositeShape","_class_wxPyCompositeShape",0},
303 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
304 { "_wxCursor","_class_wxCursor",0},
305 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
306 { "_wxPyProcess","_class_wxPyProcess",0},
307 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
308 { "_wxImageHandler","_class_wxImageHandler",0},
309 { "_class_wxPyRectangleShape","_wxPyRectangleShape",0},
310 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
311 { "_wxLog","_class_wxLog",0},
312 { "_class_wxToolBarBase","_wxToolBarBase",0},
313 { "_wxMask","_class_wxMask",0},
314 { "_wxToolTip","_class_wxToolTip",0},
315 { "_wxPNGHandler","_class_wxPNGHandler",0},
316 { "_class_wxOGLConstraint","_wxOGLConstraint",0},
317 { "_class_wxColourData","_wxColourData",0},
318 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
319 { "_wxPrinter","_class_wxPrinter",0},
320 { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0},
321 { "_class_wxArrowHead","_wxArrowHead",0},
322 { "_wxPen","_class_wxPen",0},
323 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
324 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
325 { "_byte","_unsigned_char",0},
326 { "_wxDataObject","_class_wxDataObject",0},
327 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
328 { "_wxStaticBox","_class_wxStaticBox",0},
329 { "_wxColourDatabase","_class_wxColourDatabase",0},
330 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
331 { "_wxPyDropSource","_class_wxPyDropSource",0},
332 { "_wxChoice","_class_wxChoice",0},
333 { "_wxSlider","_class_wxSlider",0},
334 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
335 { "_wxPyPrintout","_class_wxPyPrintout",0},
336 { "_wxShapeRegion","_class_wxShapeRegion",0},
337 { "_long","_unsigned_long",0},
338 { "_long","_signed_long",0},
339 { "_wxImageList","_class_wxImageList",0},
340 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
341 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
342 { "_wxBitmapButton","_class_wxBitmapButton",0},
343 { "_wxSashWindow","_class_wxSashWindow",0},
344 { "_class_wxSizer","_wxSizer",0},
345 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
346 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
347 { "_wxGridSizer","_class_wxGridSizer",0},
348 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
349 { "_class_wxClipboard","_wxClipboard",0},
350 { "_class_wxGauge","_wxGauge",0},
351 { "_class_wxSashEvent","_wxSashEvent",0},
352 { "_wxGDIObject","_class_wxGDIObject",0},
353 { "_wxDC","_class_wxDC",0},
354 { "_wxSizerItem","_class_wxSizerItem",0},
355 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
356 { "_wxListEvent","_class_wxListEvent",0},
357 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
358 { "_wxProgressDialog","_class_wxProgressDialog",0},
359 { "_class_wxBMPHandler","_wxBMPHandler",0},
360 { "_wxPrintPreview","_class_wxPrintPreview",0},
361 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
362 { "_class_wxObject","_wxObject",0},
363 { "_wxSpinEvent","_class_wxSpinEvent",0},
364 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
365 { "_wxPyBitmapShape","_class_wxPyBitmapShape",0},
366 { "_class_wxPyEllipseShape","_wxPyEllipseShape",0},
367 { "_size_t","_wxCoord",0},
368 { "_size_t","_wxPrintQuality",0},
369 { "_size_t","_time_t",0},
370 { "_size_t","_unsigned_int",0},
371 { "_size_t","_int",0},
372 { "_size_t","_wxWindowID",0},
373 { "_size_t","_uint",0},
374 { "_class_wxRealPoint","_wxRealPoint",0},
375 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
376 { "_wxPNMHandler","_class_wxPNMHandler",0},
377 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
378 { "_wxLogGui","_class_wxLogGui",0},
379 { "_wxPrinterDC","_class_wxPrinterDC",0},
380 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
381 { "_class_wxMenuItem","_wxMenuItem",0},
382 { "_class_wxPaintEvent","_wxPaintEvent",0},
383 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
384 { "_class_wxStatusBar","_wxStatusBar",0},
385 { "_class_wxGIFHandler","_wxGIFHandler",0},
386 { "_class_wxPySizer","_wxPySizer",0},
387 { "_class_wxPyCompositeShape","_wxPyCompositeShape",0},
388 { "_wxPyPolygonShape","_class_wxPyPolygonShape",0},
389 { "_wxPanel","_class_wxPanel",0},
390 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
391 { "_wxCheckBox","_class_wxCheckBox",0},
392 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
393 { "_wxPyEvent","_class_wxPyEvent",0},
394 { "_wxTextCtrl","_class_wxTextCtrl",0},
395 { "_class_wxMask","_wxMask",0},
396 { "_wxTextDataObject","_class_wxTextDataObject",0},
397 { "_class_wxKeyEvent","_wxKeyEvent",0},
398 { "_class_wxToolTip","_wxToolTip",0},
399 { "_class_wxPNGHandler","_wxPNGHandler",0},
400 { "_wxFileConfig","_class_wxFileConfig",0},
401 { "_wxColour","_class_wxColour",0},
402 { "_class_wxDialog","_wxDialog",0},
403 { "_wxBusyCursor","_class_wxBusyCursor",0},
404 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
405 { "_class_wxPrinter","_wxPrinter",0},
406 { "_class_wxFileDataObject","_wxFileDataObject",0},
407 { "_wxIdleEvent","_class_wxIdleEvent",0},
408 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
409 { "_wxToolBar","_class_wxToolBar",0},
410 { "_class_wxDataObject","_wxDataObject",0},
411 { "_wxCaret","_class_wxCaret",0},
412 { "_wxStaticLine","_class_wxStaticLine",0},
413 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
414 { "_wxBrush","_class_wxBrush",0},
415 { "_wxToggleButton","_class_wxToggleButton",0},
416 { "_wxMiniFrame","_class_wxMiniFrame",0},
417 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
418 { "_class_wxPyPrintout","_wxPyPrintout",0},
419 { "_wxDataFormat","_class_wxDataFormat",0},
420 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
421 { "_class_wxSashWindow","_wxSashWindow",0},
422 { "_wxShowEvent","_class_wxShowEvent",0},
423 { "_class_wxPyDivisionShape","_wxPyDivisionShape",0},
424 { "_uint","_wxCoord",0},
425 { "_uint","_wxPrintQuality",0},
426 { "_uint","_time_t",0},
427 { "_uint","_size_t",0},
428 { "_uint","_unsigned_int",0},
429 { "_uint","_int",0},
430 { "_uint","_wxWindowID",0},
431 { "_wxChar","_char",0},
432 { "_wxPyValidator","_class_wxPyValidator",0},
433 { "_class_wxEvent","_wxEvent",0},
434 { "_wxCheckListBox","_class_wxCheckListBox",0},
435 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
436 { "_wxRect","_class_wxRect",0},
437 { "_wxCommandEvent","_class_wxCommandEvent",0},
438 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
439 { "_wxSizeEvent","_class_wxSizeEvent",0},
440 { "_class_wxLogWindow","_wxLogWindow",0},
441 { "_class_wxImage","_wxImage",0},
442 { "_wxPoint","_class_wxPoint",0},
443 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
444 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
445 { "_class_wxPyBitmapShape","_wxPyBitmapShape",0},
446 { "_class_wxButton","_wxButton",0},
447 { "_wxRadioBox","_class_wxRadioBox",0},
448 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
449 { "_class_wxFontData","_wxFontData",0},
450 { "_class_wxPNMHandler","_wxPNMHandler",0},
451 { "_wxBoxSizer","_class_wxBoxSizer",0},
452 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
453 { "_char","_wxChar",0},
454 { "_wxBitmap","_class_wxBitmap",0},
455 { "_wxPenList","_class_wxPenList",0},
456 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
457 { "_wxPrintDialog","_class_wxPrintDialog",0},
458 { "_wxPyControlPoint","_class_wxPyControlPoint",0},
459 { "_wxWindowDC","_class_wxWindowDC",0},
460 { "_wxTimerEvent","_class_wxTimerEvent",0},
461 { "_wxPyTimer","_class_wxPyTimer",0},
462 { "_wxScrollBar","_class_wxScrollBar",0},
463 { "_wxSpinButton","_class_wxSpinButton",0},
464 { "_wxColourDialog","_class_wxColourDialog",0},
465 { "_wxPrintData","_class_wxPrintData",0},
466 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
467 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
468 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
469 { "_wxMessageDialog","_class_wxMessageDialog",0},
470 { "_class_wxValidator","_wxValidator",0},
471 { "_class_wxPyEvent","_wxPyEvent",0},
472 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
473 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
474 { "_wxConfig","_class_wxConfig",0},
475 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
476 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
477 { "_class_wxFileConfig","_wxFileConfig",0},
478 { "_class_wxPyDrawnShape","_wxPyDrawnShape",0},
479 { "_class_wxBusyCursor","_wxBusyCursor",0},
480 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
481 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
482 { "_wxListItem","_class_wxListItem",0},
483 { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0},
484 { "_class_wxToolBar","_wxToolBar",0},
485 { "_wxDropTarget","_class_wxDropTarget",0},
486 { "_class_wxStaticLine","_wxStaticLine",0},
487 { "_class_wxColourDatabase","_wxColourDatabase",0},
488 { "_wxScrollEvent","_class_wxScrollEvent",0},
489 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
490 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
491 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
492 { "_class_wxShapeRegion","_wxShapeRegion",0},
493 { "_EBool","_wxCoord",0},
494 { "_EBool","_wxPrintQuality",0},
495 { "_EBool","_signed_int",0},
496 { "_EBool","_int",0},
497 { "_EBool","_wxWindowID",0},
498 { "_class_wxRegion","_wxRegion",0},
499 { "_class_wxDataFormat","_wxDataFormat",0},
500 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
501 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
502 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
503 { "_wxStaticText","_class_wxStaticText",0},
504 { "_wxFont","_class_wxFont",0},
505 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
506 { "_wxCloseEvent","_class_wxCloseEvent",0},
507 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
508 { "_wxProcessEvent","_class_wxProcessEvent",0},
509 { "_wxNotebook","_class_wxNotebook",0},
510 { "_wxFSFile","_class_wxFSFile",0},
511 { "_unsigned_long","_long",0},
512 { "_class_wxRect","_wxRect",0},
513 { "_class_wxDC","_wxDC",0},
514 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
515 { "_wxPyCircleShape","_class_wxPyCircleShape",0},
516 { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0},
517 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
518 { "_class_wxProgressDialog","_wxProgressDialog",0},
519 { "_class_wxBrushList","_wxBrushList",0},
520 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
521 { "_wxPyInputStream","_class_wxPyInputStream",0},
522 { "_wxPyApp","_class_wxPyApp",0},
523 { "_class_wxPenList","_wxPenList",0},
524 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
525 { "_class_wxOutputStream","_wxOutputStream",0},
526 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
527 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
528 { "_class_wxTreeEvent","_wxTreeEvent",0},
529 { "_class_wxDirDialog","_wxDirDialog",0},
530 { "_wxTimeSpan","_class_wxTimeSpan",0},
531 { "_wxPyLineShape","_class_wxPyLineShape",0},
532 { "_wxFocusEvent","_class_wxFocusEvent",0},
533 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
534 { "_class_wxTimerEvent","_wxTimerEvent",0},
535 { "_class_wxPyTimer","_wxPyTimer",0},
536 { "_class_wxSpinButton","_wxSpinButton",0},
537 { "_class_wxPyPolygonShape","_wxPyPolygonShape",0},
538 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
539 { "_class_wxPanel","_wxPanel",0},
540 { "_class_wxCheckBox","_wxCheckBox",0},
541 { "_wxComboBox","_class_wxComboBox",0},
542 { "_wxRadioButton","_class_wxRadioButton",0},
543 { "_class_wxMessageDialog","_wxMessageDialog",0},
544 { "_signed_int","_wxCoord",0},
545 { "_signed_int","_wxPrintQuality",0},
546 { "_signed_int","_EBool",0},
547 { "_signed_int","_wxWindowID",0},
548 { "_signed_int","_int",0},
549 { "_class_wxTextCtrl","_wxTextCtrl",0},
550 { "_class_wxListItemAttr","_wxListItemAttr",0},
551 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
552 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
553 { "_class_wxTextDataObject","_wxTextDataObject",0},
554 { "_wxMenu","_class_wxMenu",0},
555 { "_class_wxMoveEvent","_wxMoveEvent",0},
556 { "_wxListBox","_class_wxListBox",0},
557 { "_wxScreenDC","_class_wxScreenDC",0},
558 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
559 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
560 { "_wxArrowHead","_class_wxArrowHead",0},
561 { "_WXTYPE","_wxDateTime_t",0},
562 { "_WXTYPE","_short",0},
563 { "_WXTYPE","_signed_short",0},
564 { "_WXTYPE","_unsigned_short",0},
565 { "_wxFileDialog","_class_wxFileDialog",0},
566 { "_class_wxDropTarget","_wxDropTarget",0},
567 { "_class_wxCaret","_wxCaret",0},
568 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
569 { "_class_wxBrush","_wxBrush",0},
570 { "_wxTipProvider","_class_wxTipProvider",0},
571 { "_unsigned_short","_wxDateTime_t",0},
572 { "_unsigned_short","_WXTYPE",0},
573 { "_unsigned_short","_short",0},
574 { "_class_wxWindow","_wxWindow",0},
575 { "_class_wxLogStderr","_wxLogStderr",0},
576 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
577 { "_wxDateSpan","_class_wxDateSpan",0},
578 { "_class_wxStaticText","_wxStaticText",0},
579 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
580 { "_class_wxFont","_wxFont",0},
581 { "_wxClipboard","_class_wxClipboard",0},
582 { "_class_wxPyValidator","_wxPyValidator",0},
583 { "_class_wxCloseEvent","_wxCloseEvent",0},
584 { "_wxSashEvent","_class_wxSashEvent",0},
585 { "_wxBusyInfo","_class_wxBusyInfo",0},
586 { "_wxFontList","_class_wxFontList",0},
587 { "_class_wxMenuEvent","_wxMenuEvent",0},
588 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
589 { "_wxJoystick","_class_wxJoystick",0},
590 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
591 { "_class_wxPyCircleShape","_wxPyCircleShape",0},
592 { "_wxClientDC","_class_wxClientDC",0},
593 { "_wxMouseEvent","_class_wxMouseEvent",0},
594 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
595 { "_wxListCtrl","_class_wxListCtrl",0},
596 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
597 { "_wxPyDividedShape","_class_wxPyDividedShape",0},
598 { "_wxObject","_class_wxObject",0},
599 { "_class_wxPoint","_wxPoint",0},
600 { "_class_wxPyInputStream","_wxPyInputStream",0},
601 { "_wxRealPoint","_class_wxRealPoint",0},
602 { "_class_wxRadioBox","_wxRadioBox",0},
603 { "_class_wxBoxSizer","_wxBoxSizer",0},
604 { "_signed_short","_WXTYPE",0},
605 { "_signed_short","_short",0},
606 { "_wxMemoryDC","_class_wxMemoryDC",0},
607 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
608 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
609 { "_class_wxPrintDialog","_wxPrintDialog",0},
610 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
611 { "_class_wxPyControlPoint","_wxPyControlPoint",0},
612 { "_wxPaintDC","_class_wxPaintDC",0},
613 { "_class_wxWindowDC","_wxWindowDC",0},
614 { "_class_wxFocusEvent","_wxFocusEvent",0},
615 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
616 { "_wxStatusBar","_class_wxStatusBar",0},
617 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
618 { "_class_wxCursor","_wxCursor",0},
619 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
620 { "_class_wxPyProcess","_wxPyProcess",0},
621 { "_class_wxImageHandler","_wxImageHandler",0},
622 { "_wxPyShape","_class_wxPyShape",0},
623 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
624 { "_class_wxLog","_wxLog",0},
625 { "_wxTreeItemId","_class_wxTreeItemId",0},
626 { "_unsigned_char","_byte",0},
627 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
628 { "_class_wxMenu","_wxMenu",0},
629 { "_wxControl","_class_wxControl",0},
630 { "_class_wxListBox","_wxListBox",0},
631 { "_unsigned_int","_wxCoord",0},
632 { "_unsigned_int","_wxPrintQuality",0},
633 { "_unsigned_int","_time_t",0},
634 { "_unsigned_int","_size_t",0},
635 { "_unsigned_int","_uint",0},
636 { "_unsigned_int","_wxWindowID",0},
637 { "_unsigned_int","_int",0},
638 { "_wxIcon","_class_wxIcon",0},
639 { "_wxDialog","_class_wxDialog",0},
640 { "_class_wxListItem","_wxListItem",0},
641 { "_class_wxPen","_wxPen",0},
642 { "_class_wxFileDialog","_wxFileDialog",0},
643 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
644 { "_wxConfigBase","_class_wxConfigBase",0},
645 { "_short","_wxDateTime_t",0},
646 { "_short","_WXTYPE",0},
647 { "_short","_unsigned_short",0},
648 { "_short","_signed_short",0},
649 { "_class_wxStaticBox","_wxStaticBox",0},
650 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
651 { "_wxPyTextShape","_class_wxPyTextShape",0},
652 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
653 { "_class_wxPyDropSource","_wxPyDropSource",0},
654 { "_class_wxScrollEvent","_wxScrollEvent",0},
655 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
656 { "_class_wxChoice","_wxChoice",0},
657 { "_class_wxSlider","_wxSlider",0},
658 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
659 { "_class_wxImageList","_wxImageList",0},
660 { "_class_wxBitmapButton","_wxBitmapButton",0},
661 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
662 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
663 { "_wxFrame","_class_wxFrame",0},
664 { "_wxPCXHandler","_class_wxPCXHandler",0},
665 { "_class_wxGridSizer","_wxGridSizer",0},
666 { "_wxPyDivisionShape","_class_wxPyDivisionShape",0},
667 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
668 { "_class_wxNotebook","_wxNotebook",0},
669 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
670 { "_wxWindowID","_wxCoord",0},
671 { "_wxWindowID","_wxPrintQuality",0},
672 { "_wxWindowID","_time_t",0},
673 { "_wxWindowID","_size_t",0},
674 { "_wxWindowID","_EBool",0},
675 { "_wxWindowID","_uint",0},
676 { "_wxWindowID","_int",0},
677 { "_wxWindowID","_signed_int",0},
678 { "_wxWindowID","_unsigned_int",0},
679 { "_class_wxGDIObject","_wxGDIObject",0},
680 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
681 { "_class_wxSizerItem","_wxSizerItem",0},
682 { "_int","_wxCoord",0},
683 { "_int","_wxPrintQuality",0},
684 { "_int","_time_t",0},
685 { "_int","_size_t",0},
686 { "_int","_EBool",0},
687 { "_int","_uint",0},
688 { "_int","_wxWindowID",0},
689 { "_int","_unsigned_int",0},
690 { "_int","_signed_int",0},
691 { "_class_wxMouseEvent","_wxMouseEvent",0},
692 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
693 { "_wxLogWindow","_class_wxLogWindow",0},
694 { "_class_wxListEvent","_wxListEvent",0},
695 { "_class_wxPrintPreview","_wxPrintPreview",0},
696 { "_wxDateTime_t","_unsigned_short",0},
697 { "_wxDateTime_t","_short",0},
698 { "_wxDateTime_t","_WXTYPE",0},
699 { "_class_wxSpinEvent","_wxSpinEvent",0},
700 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
701 { "_wxDateTime","_class_wxDateTime",0},
702 { "_time_t","_wxCoord",0},
703 { "_time_t","_wxPrintQuality",0},
704 { "_time_t","_unsigned_int",0},
705 { "_time_t","_int",0},
706 { "_time_t","_wxWindowID",0},
707 { "_time_t","_uint",0},
708 { "_time_t","_size_t",0},
709 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
710 { "_wxLogNull","_class_wxLogNull",0},
711 { "_wxButton","_class_wxButton",0},
712 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
713 { "_class_wxPyApp","_wxPyApp",0},
714 { "_wxSize","_class_wxSize",0},
715 { "_wxRegionIterator","_class_wxRegionIterator",0},
716 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
717 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
718 { "_class_wxLogGui","_wxLogGui",0},
719 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
720 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
721 { "_class_wxPrinterDC","_wxPrinterDC",0},
722 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
723 { "_class_wxTimeSpan","_wxTimeSpan",0},
724 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
725 { "_class_wxPyLineShape","_wxPyLineShape",0},
726 { "_class_wxPaintDC","_wxPaintDC",0},
727 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
728 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
729 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
730 { "_class_wxComboBox","_wxComboBox",0},
731 { "_class_wxRadioButton","_wxRadioButton",0},
732 { "_class_wxPyShape","_wxPyShape",0},
733 { "_wxValidator","_class_wxValidator",0},
734 { "_wxToolBarBase","_class_wxToolBarBase",0},
735 { "_class_wxTreeItemId","_wxTreeItemId",0},
736 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
737 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
738 { "_class_wxControl","_wxControl",0},
739 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
740 { "_wxPyDrawnShape","_class_wxPyDrawnShape",0},
741 { "_class_wxIcon","_wxIcon",0},
742 { "_class_wxColour","_wxColour",0},
743 { "_class_wxScreenDC","_wxScreenDC",0},
744 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
745 { "_wxPalette","_class_wxPalette",0},
746 { "_class_wxIdleEvent","_wxIdleEvent",0},
747 { "_class_wxConfigBase","_wxConfigBase",0},
748 { "_wxCoord","_int",0},
749 { "_wxCoord","_signed_int",0},
750 { "_wxCoord","_unsigned_int",0},
751 { "_wxCoord","_wxWindowID",0},
752 { "_wxCoord","_uint",0},
753 { "_wxCoord","_EBool",0},
754 { "_wxCoord","_size_t",0},
755 { "_wxCoord","_time_t",0},
756 { "_wxCoord","_wxPrintQuality",0},
757 { "_wxEraseEvent","_class_wxEraseEvent",0},
758 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
759 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
760 { "_class_wxTipProvider","_wxTipProvider",0},
761 { "_class_wxToggleButton","_wxToggleButton",0},
762 { "_class_wxMiniFrame","_wxMiniFrame",0},
763 { "_wxFontDialog","_class_wxFontDialog",0},
764 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
765 { "_wxRegion","_class_wxRegion",0},
766 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
767 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
768 { "_wxSizer","_class_wxSizer",0},
769 { "_class_wxDateSpan","_wxDateSpan",0},
770 { "_wxFileSystem","_class_wxFileSystem",0},
771 { "_class_wxShowEvent","_wxShowEvent",0},
772 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
773 { "_class_wxPCXHandler","_wxPCXHandler",0},
774 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
775 { "_wxDiagram","_class_wxDiagram",0},
776 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
777 { "_wxActivateEvent","_class_wxActivateEvent",0},
778 { "_wxGauge","_class_wxGauge",0},
779 { "_class_wxCheckListBox","_wxCheckListBox",0},
780 { "_class_wxBusyInfo","_wxBusyInfo",0},
781 { "_class_wxFontList","_wxFontList",0},
782 { "_class_wxJoystick","_wxJoystick",0},
783 { "_class_wxCommandEvent","_wxCommandEvent",0},
784 { "_class_wxClientDC","_wxClientDC",0},
785 { "_class_wxSizeEvent","_wxSizeEvent",0},
786 { "_class_wxListCtrl","_wxListCtrl",0},
787 { "_class_wxPyDividedShape","_wxPyDividedShape",0},
788 { "_wxBrushList","_class_wxBrushList",0},
789 { "_wxPyEllipseShape","_class_wxPyEllipseShape",0},
790 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
791 { "_class_wxLogNull","_wxLogNull",0},
792 { "_class_wxSize","_wxSize",0},
793 { "_class_wxBitmap","_wxBitmap",0},
794 { "_class_wxMemoryDC","_wxMemoryDC",0},
795 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
796 { "_wxMenuBar","_class_wxMenuBar",0},
797 { "_wxOutputStream","_class_wxOutputStream",0},
798 { "_wxTreeEvent","_class_wxTreeEvent",0},
799 { "_wxDirDialog","_class_wxDirDialog",0},
800 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
801 { "_wxEvtHandler","_class_wxEvtHandler",0},
802 { "_wxMenuItem","_class_wxMenuItem",0},
803 { "_class_wxScrollBar","_wxScrollBar",0},
804 { "_class_wxColourDialog","_wxColourDialog",0},
805 { "_class_wxPrintData","_wxPrintData",0},
806 { "_wxPyRectangleShape","_class_wxPyRectangleShape",0},
807 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
808 { "_wxListItemAttr","_class_wxListItemAttr",0},
809 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
810 { "_class_wxConfig","_wxConfig",0},
811 { "_wxKeyEvent","_class_wxKeyEvent",0},
812 { "_wxMoveEvent","_class_wxMoveEvent",0},
813 { "_wxOGLConstraint","_class_wxOGLConstraint",0},
814 { "_wxColourData","_class_wxColourData",0},
815 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
816 { "_class_wxPalette","_wxPalette",0},
817 { "_wxFileDataObject","_class_wxFileDataObject",0},
818 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
819 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
820 { "_class_wxEraseEvent","_wxEraseEvent",0},
821 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
822 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
823 { "_class_wxPyTextShape","_wxPyTextShape",0},
824 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
825 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
826 { "_class_wxFontDialog","_wxFontDialog",0},
827 { "_wxWindow","_class_wxWindow",0},
828 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
829 { "_wxLogStderr","_class_wxLogStderr",0},
830 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
831 { "_class_wxFileSystem","_wxFileSystem",0},
832 { "_class_wxFrame","_wxFrame",0},
833 { "_class_wxDiagram","_wxDiagram",0},
834 {0,0,0}};
835
836 static PyObject *SWIG_globals;
837 #ifdef __cplusplus
838 extern "C"
839 #endif
840 SWIGEXPORT(void) initoglc() {
841 PyObject *m, *d;
842 SWIG_globals = SWIG_newvarlink();
843 m = Py_InitModule("oglc", oglcMethods);
844 d = PyModule_GetDict(m);
845 PyDict_SetItemString(d,"KEY_SHIFT", PyInt_FromLong((long) KEY_SHIFT));
846 PyDict_SetItemString(d,"KEY_CTRL", PyInt_FromLong((long) KEY_CTRL));
847 PyDict_SetItemString(d,"ARROW_NONE", PyInt_FromLong((long) ARROW_NONE));
848 PyDict_SetItemString(d,"ARROW_END", PyInt_FromLong((long) ARROW_END));
849 PyDict_SetItemString(d,"ARROW_BOTH", PyInt_FromLong((long) ARROW_BOTH));
850 PyDict_SetItemString(d,"ARROW_MIDDLE", PyInt_FromLong((long) ARROW_MIDDLE));
851 PyDict_SetItemString(d,"ARROW_START", PyInt_FromLong((long) ARROW_START));
852 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", PyInt_FromLong((long) ARROW_HOLLOW_CIRCLE));
853 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", PyInt_FromLong((long) ARROW_FILLED_CIRCLE));
854 PyDict_SetItemString(d,"ARROW_ARROW", PyInt_FromLong((long) ARROW_ARROW));
855 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", PyInt_FromLong((long) ARROW_SINGLE_OBLIQUE));
856 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", PyInt_FromLong((long) ARROW_DOUBLE_OBLIQUE));
857 PyDict_SetItemString(d,"ARROW_METAFILE", PyInt_FromLong((long) ARROW_METAFILE));
858 PyDict_SetItemString(d,"ARROW_POSITION_END", PyInt_FromLong((long) ARROW_POSITION_END));
859 PyDict_SetItemString(d,"ARROW_POSITION_START", PyInt_FromLong((long) ARROW_POSITION_START));
860 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", PyInt_FromLong((long) CONTROL_POINT_VERTICAL));
861 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", PyInt_FromLong((long) CONTROL_POINT_HORIZONTAL));
862 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", PyInt_FromLong((long) CONTROL_POINT_DIAGONAL));
863 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", PyInt_FromLong((long) CONTROL_POINT_ENDPOINT_TO));
864 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", PyInt_FromLong((long) CONTROL_POINT_ENDPOINT_FROM));
865 PyDict_SetItemString(d,"CONTROL_POINT_LINE", PyInt_FromLong((long) CONTROL_POINT_LINE));
866 PyDict_SetItemString(d,"FORMAT_NONE", PyInt_FromLong((long) FORMAT_NONE));
867 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", PyInt_FromLong((long) FORMAT_CENTRE_HORIZ));
868 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", PyInt_FromLong((long) FORMAT_CENTRE_VERT));
869 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", PyInt_FromLong((long) FORMAT_SIZE_TO_CONTENTS));
870 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", PyInt_FromLong((long) LINE_ALIGNMENT_HORIZ));
871 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", PyInt_FromLong((long) LINE_ALIGNMENT_VERT));
872 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", PyInt_FromLong((long) LINE_ALIGNMENT_TO_NEXT_HANDLE));
873 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", PyInt_FromLong((long) LINE_ALIGNMENT_NONE));
874 PyDict_SetItemString(d,"SHADOW_NONE", PyInt_FromLong((long) SHADOW_NONE));
875 PyDict_SetItemString(d,"SHADOW_LEFT", PyInt_FromLong((long) SHADOW_LEFT));
876 PyDict_SetItemString(d,"SHADOW_RIGHT", PyInt_FromLong((long) SHADOW_RIGHT));
877 PyDict_SetItemString(d,"OP_CLICK_LEFT", PyInt_FromLong((long) OP_CLICK_LEFT));
878 PyDict_SetItemString(d,"OP_CLICK_RIGHT", PyInt_FromLong((long) OP_CLICK_RIGHT));
879 PyDict_SetItemString(d,"OP_DRAG_LEFT", PyInt_FromLong((long) OP_DRAG_LEFT));
880 PyDict_SetItemString(d,"OP_DRAG_RIGHT", PyInt_FromLong((long) OP_DRAG_RIGHT));
881 PyDict_SetItemString(d,"OP_ALL", PyInt_FromLong((long) OP_ALL));
882 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", PyInt_FromLong((long) ATTACHMENT_MODE_NONE));
883 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", PyInt_FromLong((long) ATTACHMENT_MODE_EDGE));
884 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", PyInt_FromLong((long) ATTACHMENT_MODE_BRANCHING));
885 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", PyInt_FromLong((long) BRANCHING_ATTACHMENT_NORMAL));
886 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", PyInt_FromLong((long) BRANCHING_ATTACHMENT_BLOB));
887 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", PyInt_FromLong((long) gyCONSTRAINT_CENTRED_VERTICALLY));
888 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", PyInt_FromLong((long) gyCONSTRAINT_CENTRED_HORIZONTALLY));
889 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", PyInt_FromLong((long) gyCONSTRAINT_CENTRED_BOTH));
890 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", PyInt_FromLong((long) gyCONSTRAINT_LEFT_OF));
891 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", PyInt_FromLong((long) gyCONSTRAINT_RIGHT_OF));
892 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", PyInt_FromLong((long) gyCONSTRAINT_ABOVE));
893 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", PyInt_FromLong((long) gyCONSTRAINT_BELOW));
894 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", PyInt_FromLong((long) gyCONSTRAINT_ALIGNED_TOP));
895 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", PyInt_FromLong((long) gyCONSTRAINT_ALIGNED_BOTTOM));
896 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", PyInt_FromLong((long) gyCONSTRAINT_ALIGNED_LEFT));
897 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", PyInt_FromLong((long) gyCONSTRAINT_ALIGNED_RIGHT));
898 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", PyInt_FromLong((long) gyCONSTRAINT_MIDALIGNED_TOP));
899 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", PyInt_FromLong((long) gyCONSTRAINT_MIDALIGNED_BOTTOM));
900 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", PyInt_FromLong((long) gyCONSTRAINT_MIDALIGNED_LEFT));
901 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", PyInt_FromLong((long) gyCONSTRAINT_MIDALIGNED_RIGHT));
902 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", PyInt_FromLong((long) DIVISION_SIDE_NONE));
903 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", PyInt_FromLong((long) DIVISION_SIDE_LEFT));
904 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", PyInt_FromLong((long) DIVISION_SIDE_TOP));
905 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", PyInt_FromLong((long) DIVISION_SIDE_RIGHT));
906 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", PyInt_FromLong((long) DIVISION_SIDE_BOTTOM));
907
908
909 initoglbasicc();
910 initoglshapesc();
911 initoglshapes2c();
912 initoglcanvasc();
913
914
915 wxClassInfo::CleanUpClasses();
916 wxClassInfo::InitializeClasses();
917
918 {
919 int i;
920 for (i = 0; _swig_mapping[i].n1; i++)
921 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
922 }
923 }