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