1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: SWIG definitions for the wxWindows Object Graphics Library
7 // Created: 30-June-1999
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
18 #include "oglhelpers.h"
26 //---------------------------------------------------------------------------
29 %include my_typemaps.i
46 #if defined(__WXMSW__)
47 wxString wxPyEmptyStr("");
48 wxPoint wxPyDefaultPosition(-1, -1);
49 wxSize wxPyDefaultSize(-1, -1);
53 %pragma(python) code = "import wx"
55 //---------------------------------------------------------------------------
74 CONTROL_POINT_VERTICAL,
75 CONTROL_POINT_HORIZONTAL,
76 CONTROL_POINT_DIAGONAL,
77 CONTROL_POINT_ENDPOINT_TO,
78 CONTROL_POINT_ENDPOINT_FROM,
83 FORMAT_SIZE_TO_CONTENTS,
86 LINE_ALIGNMENT_TO_NEXT_HANDLE,
97 // SHAPE_DIVIDED_RECTANGLE,
99 // SHAPE_CONTROL_POINT,
102 // SHAPE_LABEL_OBJECT,
104 // SHAPE_DIVIDED_OBJECT_CONTROL_POINT,
111 ATTACHMENT_MODE_NONE,
112 ATTACHMENT_MODE_EDGE,
113 ATTACHMENT_MODE_BRANCHING,
114 BRANCHING_ATTACHMENT_NORMAL,
115 BRANCHING_ATTACHMENT_BLOB,
117 gyCONSTRAINT_CENTRED_VERTICALLY,
118 gyCONSTRAINT_CENTRED_HORIZONTALLY,
119 gyCONSTRAINT_CENTRED_BOTH,
120 gyCONSTRAINT_LEFT_OF,
121 gyCONSTRAINT_RIGHT_OF,
124 gyCONSTRAINT_ALIGNED_TOP,
125 gyCONSTRAINT_ALIGNED_BOTTOM,
126 gyCONSTRAINT_ALIGNED_LEFT,
127 gyCONSTRAINT_ALIGNED_RIGHT,
128 gyCONSTRAINT_MIDALIGNED_TOP,
129 gyCONSTRAINT_MIDALIGNED_BOTTOM,
130 gyCONSTRAINT_MIDALIGNED_LEFT,
131 gyCONSTRAINT_MIDALIGNED_RIGHT,
137 DIVISION_SIDE_BOTTOM,
143 //---------------------------------------------------------------------------
145 void wxOGLInitialize();
149 //---------------------------------------------------------------------------
150 //---------------------------------------------------------------------------
151 //---------------------------------------------------------------------------
153 extern "C" SWIGEXPORT(void) initoglbasicc();
154 extern "C" SWIGEXPORT(void) initoglshapesc();
155 extern "C" SWIGEXPORT(void) initoglshapes2c();
156 extern "C" SWIGEXPORT(void) initoglcanvasc();
167 wxClassInfo::CleanUpClasses();
168 wxClassInfo::InitializeClasses();
172 //----------------------------------------------------------------------
173 // And this gets appended to the shadow class file.
174 //----------------------------------------------------------------------
176 %pragma(python) include="_extras.py";
178 //---------------------------------------------------------------------------
179 //---------------------------------------------------------------------------