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"
21 //---------------------------------------------------------------------------
24 %include my_typemaps.i
41 #if defined(__WXMSW__)
42 wxString wxPyEmptyStr("");
43 wxPoint wxPyDefaultPosition(-1, -1);
44 wxSize wxPyDefaultSize(-1, -1);
48 %pragma(python) code = "import wx"
50 //---------------------------------------------------------------------------
69 CONTROL_POINT_VERTICAL,
70 CONTROL_POINT_HORIZONTAL,
71 CONTROL_POINT_DIAGONAL,
72 CONTROL_POINT_ENDPOINT_TO,
73 CONTROL_POINT_ENDPOINT_FROM,
78 FORMAT_SIZE_TO_CONTENTS,
81 LINE_ALIGNMENT_TO_NEXT_HANDLE,
92 // SHAPE_DIVIDED_RECTANGLE,
94 // SHAPE_CONTROL_POINT,
97 // SHAPE_LABEL_OBJECT,
99 // SHAPE_DIVIDED_OBJECT_CONTROL_POINT,
106 ATTACHMENT_MODE_NONE,
107 ATTACHMENT_MODE_EDGE,
108 ATTACHMENT_MODE_BRANCHING,
109 BRANCHING_ATTACHMENT_NORMAL,
110 BRANCHING_ATTACHMENT_BLOB,
112 gyCONSTRAINT_CENTRED_VERTICALLY,
113 gyCONSTRAINT_CENTRED_HORIZONTALLY,
114 gyCONSTRAINT_CENTRED_BOTH,
115 gyCONSTRAINT_LEFT_OF,
116 gyCONSTRAINT_RIGHT_OF,
119 gyCONSTRAINT_ALIGNED_TOP,
120 gyCONSTRAINT_ALIGNED_BOTTOM,
121 gyCONSTRAINT_ALIGNED_LEFT,
122 gyCONSTRAINT_ALIGNED_RIGHT,
123 gyCONSTRAINT_MIDALIGNED_TOP,
124 gyCONSTRAINT_MIDALIGNED_BOTTOM,
125 gyCONSTRAINT_MIDALIGNED_LEFT,
126 gyCONSTRAINT_MIDALIGNED_RIGHT,
132 DIVISION_SIDE_BOTTOM,
138 //---------------------------------------------------------------------------
140 void wxOGLInitialize();
144 //---------------------------------------------------------------------------
145 //---------------------------------------------------------------------------
146 //---------------------------------------------------------------------------
148 extern "C" SWIGEXPORT(void) initoglbasicc();
149 extern "C" SWIGEXPORT(void) initoglshapesc();
150 extern "C" SWIGEXPORT(void) initoglshapes2c();
151 extern "C" SWIGEXPORT(void) initoglcanvasc();
163 wxClassInfo::CleanUpClasses();
164 wxClassInfo::InitializeClasses();
168 //----------------------------------------------------------------------
169 // And this gets appended to the shadow class file.
170 //----------------------------------------------------------------------
172 %pragma(python) include="_extras.py";
174 //---------------------------------------------------------------------------
175 //---------------------------------------------------------------------------