]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
a41e16b6 | 3 | * Version 1.3.22 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
c370783e | 46 | #define SWIG_TypePrettyName SWIG_Python_TypePrettyName |
d14a1e28 RD |
47 | #define SWIG_TypeQuery SWIG_Python_TypeQuery |
48 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
c9c7117a RD |
49 | #define SWIG_PackData SWIG_Python_PackData |
50 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
51 | ||
d14a1e28 RD |
52 | |
53 | /*********************************************************************** | |
54 | * common.swg for wxPython | |
55 | * | |
56 | * Include only the function prototypes and such from SWIG's common.swg, | |
57 | * but not the runtime functions themselves. This helps keep the | |
58 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
59 | * anyway. | |
60 | * | |
61 | ************************************************************************/ | |
62 | ||
63 | #include <string.h> | |
64 | ||
cc6dd355 RD |
65 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
66 | # if defined(_MSC_VER) || defined(__GNUC__) | |
67 | # if defined(STATIC_LINKED) | |
68 | # define SWIGEXPORT(a) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # else | |
71 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
72 | # define SWIGIMPORT(a) extern a | |
73 | # endif | |
74 | # else | |
75 | # if defined(__BORLANDC__) | |
76 | # define SWIGEXPORT(a) a _export | |
77 | # define SWIGIMPORT(a) a _export | |
78 | # else | |
79 | # define SWIGEXPORT(a) a | |
80 | # define SWIGIMPORT(a) a | |
81 | # endif | |
82 | # endif | |
d14a1e28 | 83 | #else |
cc6dd355 RD |
84 | # define SWIGEXPORT(a) a |
85 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
86 | #endif |
87 | ||
88 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 89 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 90 | #else |
cc6dd355 | 91 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
92 | #endif |
93 | ||
d14a1e28 RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
97 | ||
98 | typedef void *(*swig_converter_func)(void *); | |
99 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
100 | ||
101 | typedef struct swig_type_info { | |
cc6dd355 | 102 | const char *name; |
d14a1e28 RD |
103 | swig_converter_func converter; |
104 | const char *str; | |
cc6dd355 | 105 | void *clientdata; |
d14a1e28 RD |
106 | swig_dycast_func dcast; |
107 | struct swig_type_info *next; | |
108 | struct swig_type_info *prev; | |
109 | } swig_type_info; | |
110 | ||
111 | ||
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
114 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
116 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
c370783e | 117 | SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *); |
d14a1e28 RD |
118 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); |
119 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
120 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
121 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
122 | |
123 | ||
124 | #ifdef __cplusplus | |
125 | } | |
126 | #endif | |
127 | ||
c370783e | 128 | |
d14a1e28 RD |
129 | /*********************************************************************** |
130 | * pyrun.swg for wxPython | |
131 | * | |
132 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
133 | * but not the runtime functions themselves. This helps keep the | |
134 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
135 | * anyway. | |
136 | * | |
137 | ************************************************************************/ | |
138 | ||
d14a1e28 RD |
139 | #ifdef __cplusplus |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | #define SWIG_PY_INT 1 | |
144 | #define SWIG_PY_FLOAT 2 | |
145 | #define SWIG_PY_STRING 3 | |
146 | #define SWIG_PY_POINTER 4 | |
147 | #define SWIG_PY_BINARY 5 | |
148 | ||
149 | /* Flags for pointer conversion */ | |
150 | ||
151 | #define SWIG_POINTER_EXCEPTION 0x1 | |
152 | #define SWIG_POINTER_DISOWN 0x2 | |
153 | ||
154 | /* Exception handling in wrappers */ | |
155 | #define SWIG_fail goto fail | |
156 | ||
157 | /* Constant information structure */ | |
158 | typedef struct swig_const_info { | |
159 | int type; | |
160 | char *name; | |
161 | long lvalue; | |
162 | double dvalue; | |
163 | void *pvalue; | |
164 | swig_type_info **ptype; | |
165 | } swig_const_info; | |
166 | ||
d14a1e28 RD |
167 | /* Common SWIG API */ |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 174 | |
d14a1e28 RD |
175 | /* Python-specific SWIG API */ |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
182 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
183 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
184 | #define SWIG_InstallConstants(d, constants) \ | |
185 | SWIG_Python_InstallConstants(d, constants) | |
186 | ||
994141e6 | 187 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 188 | |
cc6dd355 RD |
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 197 | |
d14a1e28 RD |
198 | |
199 | /* Contract support */ | |
200 | ||
9d1d5697 | 201 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 202 | |
d14a1e28 RD |
203 | #ifdef __cplusplus |
204 | } | |
205 | #endif | |
206 | ||
207 | ||
c370783e | 208 | |
d14a1e28 RD |
209 | /* -------- TYPES TABLE (BEGIN) -------- */ |
210 | ||
211 | #define SWIGTYPE_p_wxRect swig_types[0] | |
212 | #define SWIGTYPE_p_wxColour swig_types[1] | |
213 | #define SWIGTYPE_p_wxObject swig_types[2] | |
214 | #define SWIGTYPE_p_wxScrollBar swig_types[3] | |
215 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[4] | |
216 | #define SWIGTYPE_p_wxWindow swig_types[5] | |
217 | #define SWIGTYPE_p_wxCommandEvent swig_types[6] | |
218 | #define SWIGTYPE_p_wxBitmap swig_types[7] | |
219 | #define SWIGTYPE_p_void swig_types[8] | |
220 | #define SWIGTYPE_p_wxPoint swig_types[9] | |
4d5c3d91 RD |
221 | #define SWIGTYPE_p_wxDC swig_types[10] |
222 | #define SWIGTYPE_p_char swig_types[11] | |
96b3fa7c RD |
223 | #define SWIGTYPE_p_wxEvtHandler swig_types[12] |
224 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[13] | |
225 | #define SWIGTYPE_p_wxFont swig_types[14] | |
226 | #define SWIGTYPE_p_wxControl swig_types[15] | |
227 | #define SWIGTYPE_p_wxEvent swig_types[16] | |
228 | #define SWIGTYPE_p_int swig_types[17] | |
229 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[18] | |
230 | static swig_type_info *swig_types[20]; | |
d14a1e28 RD |
231 | |
232 | /* -------- TYPES TABLE (END) -------- */ | |
233 | ||
234 | ||
235 | /*----------------------------------------------- | |
236 | @(target):= _stc.so | |
237 | ------------------------------------------------*/ | |
238 | #define SWIG_init init_stc | |
239 | ||
240 | #define SWIG_name "_stc" | |
241 | ||
c370783e RD |
242 | /* Auxiliar swig macros that appear in the header */ |
243 | ||
244 | #define SWIG_OLDOBJ 1 | |
245 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
246 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
994141e6 | 247 | |
994141e6 | 248 | #ifdef __cplusplus |
15afbcd0 | 249 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 250 | #define SWIGSTATIC(a) static a |
c370783e RD |
251 | #define swig_new_array(size,Type) (new Type[(size)]) |
252 | #define swig_delete(cptr) delete cptr | |
15afbcd0 | 253 | #define swig_delete_array(cptr) delete[] cptr |
c370783e RD |
254 | #define swig_const_cast(a,Type) const_cast<Type >(a) |
255 | #define swig_static_cast(a,Type) static_cast<Type >(a) | |
256 | #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) | |
257 | #define swig_new_copy(ptr,Type) (new Type(*ptr)) | |
258 | #define swig_numeric_cast(a,Type) static_cast<Type >(a) | |
994141e6 | 259 | |
15afbcd0 RD |
260 | #else /* C case */ |
261 | ||
262 | #define SWIGSTATICINLINE(a) static a | |
263 | #define SWIGSTATIC(a) static a | |
c370783e RD |
264 | #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) |
265 | #define swig_delete(cptr) free((char*)cptr) | |
15afbcd0 | 266 | #define swig_delete_array(cptr) free((char*)cptr) |
c370783e RD |
267 | #define swig_const_cast(a,Type) (Type)(a) |
268 | #define swig_static_cast(a,Type) (Type)(a) | |
269 | #define swig_reinterpret_cast(a,Type) (Type)(a) | |
270 | #define swig_numeric_cast(a,Type) (Type)(a) | |
271 | #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) | |
15afbcd0 RD |
272 | |
273 | #endif /* __cplusplus */ | |
994141e6 RD |
274 | |
275 | ||
c370783e RD |
276 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ |
277 | #define SWIG_From_signed_SS_char PyInt_FromLong | |
278 | /*@@*/ | |
279 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
280 | #define SWIG_From_unsigned_SS_char PyInt_FromLong | |
281 | /*@@*/ | |
282 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
283 | #define SWIG_From_short PyInt_FromLong | |
284 | /*@@*/ | |
285 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
286 | #define SWIG_From_unsigned_SS_short PyInt_FromLong | |
287 | /*@@*/ | |
288 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
289 | #define SWIG_From_int PyInt_FromLong | |
290 | /*@@*/ | |
291 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
292 | #define SWIG_From_long PyInt_FromLong | |
293 | /*@@*/ | |
294 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
295 | #define SWIG_From_float PyFloat_FromDouble | |
296 | /*@@*/ | |
297 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
298 | #define SWIG_From_double PyFloat_FromDouble | |
299 | /*@@*/ | |
994141e6 RD |
300 | |
301 | ||
d14a1e28 RD |
302 | #include "wx/wxPython/wxPython.h" |
303 | #include "wx/wxPython/pyclasses.h" | |
304 | #include <wx/stc/stc.h> | |
305 | ||
d14a1e28 | 306 | |
b2dc1044 | 307 | static const wxString wxPySTCNameStr(wxSTCNameStr); |
d14a1e28 | 308 | |
15afbcd0 RD |
309 | #include <limits.h> |
310 | ||
311 | ||
c370783e RD |
312 | SWIGSTATICINLINE(int) |
313 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
314 | const char *errmsg) | |
15afbcd0 | 315 | { |
c370783e RD |
316 | if (value < min_value) { |
317 | if (errmsg) { | |
318 | PyErr_Format(PyExc_OverflowError, | |
319 | "value %ld is less than '%s' minimum %ld", | |
320 | value, errmsg, min_value); | |
321 | } | |
322 | return 0; | |
323 | } else if (value > max_value) { | |
324 | if (errmsg) { | |
325 | PyErr_Format(PyExc_OverflowError, | |
326 | "value %ld is greater than '%s' maximum %ld", | |
327 | value, errmsg, max_value); | |
15afbcd0 | 328 | } |
c370783e | 329 | return 0; |
15afbcd0 | 330 | } |
c370783e | 331 | return 1; |
15afbcd0 RD |
332 | } |
333 | ||
334 | ||
c370783e RD |
335 | // See my_fragments.i |
336 | SWIGSTATICINLINE(int) | |
337 | SWIG_AsVal_long(PyObject* obj, long* val) | |
15afbcd0 | 338 | { |
c370783e RD |
339 | if (PyNumber_Check(obj)) { |
340 | if (val) *val = PyInt_AsLong(obj); | |
341 | return 1; | |
342 | } | |
69223c70 RD |
343 | else { |
344 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
345 | obj->ob_type->tp_name); | |
346 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
347 | Py_DECREF(errmsg); | |
69223c70 | 348 | } |
c370783e | 349 | return 0; |
15afbcd0 RD |
350 | } |
351 | ||
352 | ||
353 | #if INT_MAX != LONG_MAX | |
354 | SWIGSTATICINLINE(int) | |
c370783e | 355 | SWIG_AsVal_int(PyObject *obj, int *val) |
994141e6 | 356 | { |
c370783e RD |
357 | const char* errmsg = val ? "int" : 0; |
358 | long v; | |
359 | if (SWIG_AsVal_long(obj, &v)) { | |
360 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
361 | if (val) *val = swig_numeric_cast(v, int); | |
362 | return 1; | |
363 | } else { | |
364 | return 0; | |
365 | } | |
366 | } else { | |
367 | PyErr_Clear(); | |
368 | } | |
369 | if (val) { | |
370 | PyErr_SetString(PyExc_TypeError, "an int is expected"); | |
371 | } | |
372 | return 0; | |
994141e6 | 373 | } |
15afbcd0 | 374 | #else |
c370783e RD |
375 | SWIGSTATICINLINE(int) |
376 | SWIG_AsVal_int(PyObject *obj, int *val) | |
377 | { | |
378 | return SWIG_AsVal_long(obj,(long*)val); | |
379 | } | |
15afbcd0 | 380 | #endif |
994141e6 RD |
381 | |
382 | ||
15afbcd0 | 383 | SWIGSTATICINLINE(int) |
c370783e | 384 | SWIG_As_int(PyObject* obj) |
994141e6 | 385 | { |
c370783e RD |
386 | int v; |
387 | if (!SWIG_AsVal_int(obj, &v)) { | |
388 | /* | |
389 | this is needed to make valgrind/purify happier. the other | |
390 | solution is throw an exception, but since this code should work | |
391 | with plain C .... | |
392 | */ | |
393 | memset((void*)&v, 0, sizeof(int)); | |
15afbcd0 | 394 | } |
c370783e | 395 | return v; |
15afbcd0 RD |
396 | } |
397 | ||
398 | ||
c370783e RD |
399 | SWIGSTATICINLINE(long) |
400 | SWIG_As_long(PyObject* obj) | |
15afbcd0 | 401 | { |
c370783e RD |
402 | long v; |
403 | if (!SWIG_AsVal_long(obj, &v)) { | |
404 | /* | |
405 | this is needed to make valgrind/purify happier. the other | |
406 | solution is throw an exception, but since this code should work | |
407 | with plain C .... | |
408 | */ | |
409 | memset((void*)&v, 0, sizeof(long)); | |
15afbcd0 | 410 | } |
c370783e | 411 | return v; |
994141e6 RD |
412 | } |
413 | ||
c370783e RD |
414 | |
415 | SWIGSTATICINLINE(int) | |
416 | SWIG_Check_int(PyObject* obj) | |
417 | { | |
418 | return SWIG_AsVal_int(obj, (int*)0); | |
419 | } | |
994141e6 | 420 | |
c370783e RD |
421 | |
422 | SWIGSTATICINLINE(int) | |
423 | SWIG_Check_long(PyObject* obj) | |
994141e6 | 424 | { |
c370783e | 425 | return SWIG_AsVal_long(obj, (long*)0); |
994141e6 RD |
426 | } |
427 | ||
428 | ||
15afbcd0 | 429 | SWIGSTATICINLINE(int) |
c370783e | 430 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
15afbcd0 | 431 | { |
c370783e RD |
432 | /* if (val) *val = PyObject_IsTrue(obj); return 1; */ |
433 | if (obj == Py_True) { | |
434 | if (val) *val = true; | |
15afbcd0 RD |
435 | return 1; |
436 | } | |
c370783e RD |
437 | if (obj == Py_False) { |
438 | if (val) *val = false; | |
439 | return 1; | |
440 | } | |
441 | int res = 0; | |
442 | if (SWIG_AsVal_int(obj, &res)) { | |
443 | if (val) *val = (bool)res; | |
444 | return 1; | |
445 | } | |
446 | if (val) { | |
447 | PyErr_SetString(PyExc_TypeError, "a bool is expected"); | |
448 | } | |
449 | return 0; | |
450 | } | |
451 | ||
452 | ||
453 | SWIGSTATICINLINE(bool) | |
454 | SWIG_As_bool(PyObject* obj) | |
455 | { | |
456 | bool v; | |
457 | if (!SWIG_AsVal_bool(obj, &v)) { | |
458 | /* | |
459 | this is needed to make valgrind/purify happier. the other | |
460 | solution is throw an exception, but since this code should work | |
461 | with plain C .... | |
462 | */ | |
463 | memset((void*)&v, 0, sizeof(bool)); | |
464 | } | |
465 | return v; | |
466 | } | |
467 | ||
468 | ||
469 | SWIGSTATICINLINE(int) | |
470 | SWIG_Check_bool(PyObject* obj) | |
471 | { | |
472 | return SWIG_AsVal_bool(obj, (bool*)0); | |
15afbcd0 RD |
473 | } |
474 | ||
475 | ||
c370783e | 476 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
d14a1e28 RD |
477 | PyObject* o2; |
478 | PyObject* o3; | |
c370783e | 479 | |
d14a1e28 RD |
480 | if (!target) { |
481 | target = o; | |
482 | } else if (target == Py_None) { | |
483 | Py_DECREF(Py_None); | |
484 | target = o; | |
629e65c2 RD |
485 | } else { |
486 | if (!PyTuple_Check(target)) { | |
487 | o2 = target; | |
488 | target = PyTuple_New(1); | |
489 | PyTuple_SetItem(target, 0, o2); | |
490 | } | |
d14a1e28 RD |
491 | o3 = PyTuple_New(1); |
492 | PyTuple_SetItem(o3, 0, o); | |
493 | ||
494 | o2 = target; | |
495 | target = PySequence_Concat(o2, o3); | |
496 | Py_DECREF(o2); | |
497 | Py_DECREF(o3); | |
498 | } | |
499 | return target; | |
629e65c2 | 500 | } |
d14a1e28 | 501 | |
15afbcd0 | 502 | |
c370783e RD |
503 | |
504 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
15afbcd0 | 505 | SWIGSTATIC(int) |
c370783e | 506 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) |
15afbcd0 RD |
507 | { |
508 | static swig_type_info* pchar_info = 0; | |
c370783e | 509 | char* vptr = 0; |
15afbcd0 | 510 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); |
c370783e RD |
511 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { |
512 | if (cptr) *cptr = vptr; | |
513 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
514 | return SWIG_OLDOBJ; | |
15afbcd0 | 515 | } else { |
c370783e RD |
516 | if (PyString_Check(obj)) { |
517 | if (cptr) { | |
518 | *cptr = PyString_AS_STRING(obj); | |
519 | if (psize) { | |
520 | *psize = PyString_GET_SIZE(obj) + 1; | |
521 | } | |
522 | } | |
523 | return SWIG_PYSTR; | |
524 | } | |
525 | } | |
526 | if (cptr) { | |
527 | PyErr_SetString(PyExc_TypeError, "a string is expected"); | |
15afbcd0 | 528 | } |
c370783e | 529 | return 0; |
15afbcd0 RD |
530 | } |
531 | ||
532 | ||
c370783e RD |
533 | SWIGSTATICINLINE(int) |
534 | SWIG_AsCharPtr(PyObject *obj, char **val) | |
15afbcd0 | 535 | { |
c370783e RD |
536 | char* cptr = 0; |
537 | if (SWIG_AsCharPtrAndSize(obj, &cptr, (size_t*)(0))) { | |
538 | if (val) *val = cptr; | |
539 | return 1; | |
540 | } | |
541 | if (val) { | |
15afbcd0 | 542 | PyErr_SetString(PyExc_TypeError, "a char* is expected"); |
c370783e RD |
543 | } |
544 | return 0; | |
15afbcd0 RD |
545 | } |
546 | ||
d14a1e28 RD |
547 | #ifdef __cplusplus |
548 | extern "C" { | |
549 | #endif | |
c370783e | 550 | static int _wrap_STCNameStr_set(PyObject *) { |
b2dc1044 RD |
551 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); |
552 | return 1; | |
553 | } | |
554 | ||
555 | ||
556 | static PyObject *_wrap_STCNameStr_get() { | |
557 | PyObject *pyobj; | |
558 | ||
559 | { | |
560 | #if wxUSE_UNICODE | |
561 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
562 | #else | |
563 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
564 | #endif | |
565 | } | |
566 | return pyobj; | |
567 | } | |
568 | ||
569 | ||
c370783e | 570 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
571 | PyObject *resultobj; |
572 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 573 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
574 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
575 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
576 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
577 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
578 | long arg5 = (long) 0 ; | |
579 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
580 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
581 | wxStyledTextCtrl *result; | |
582 | wxPoint temp3 ; | |
583 | wxSize temp4 ; | |
b411df4a | 584 | bool temp6 = false ; |
d14a1e28 | 585 | PyObject * obj0 = 0 ; |
994141e6 | 586 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
587 | PyObject * obj2 = 0 ; |
588 | PyObject * obj3 = 0 ; | |
994141e6 | 589 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
590 | PyObject * obj5 = 0 ; |
591 | char *kwnames[] = { | |
592 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
593 | }; | |
594 | ||
bfddbb17 | 595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
596 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
597 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 598 | if (obj1) { |
c370783e | 599 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
600 | if (PyErr_Occurred()) SWIG_fail; |
601 | } | |
d14a1e28 RD |
602 | if (obj2) { |
603 | { | |
604 | arg3 = &temp3; | |
605 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
606 | } | |
607 | } | |
608 | if (obj3) { | |
609 | { | |
610 | arg4 = &temp4; | |
611 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
612 | } | |
613 | } | |
994141e6 | 614 | if (obj4) { |
c370783e | 615 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 616 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 617 | } |
d14a1e28 RD |
618 | if (obj5) { |
619 | { | |
620 | arg6 = wxString_in_helper(obj5); | |
621 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 622 | temp6 = true; |
d14a1e28 RD |
623 | } |
624 | } | |
625 | { | |
0439c23b | 626 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
628 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
629 | ||
630 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 632 | } |
15afbcd0 | 633 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
634 | { |
635 | if (temp6) | |
636 | delete arg6; | |
637 | } | |
638 | return resultobj; | |
639 | fail: | |
640 | { | |
641 | if (temp6) | |
642 | delete arg6; | |
643 | } | |
644 | return NULL; | |
645 | } | |
646 | ||
647 | ||
c370783e | 648 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
649 | PyObject *resultobj; |
650 | wxStyledTextCtrl *result; | |
651 | char *kwnames[] = { | |
652 | NULL | |
653 | }; | |
654 | ||
655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
656 | { | |
0439c23b | 657 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
659 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
660 | ||
661 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 662 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 663 | } |
15afbcd0 | 664 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
665 | return resultobj; |
666 | fail: | |
667 | return NULL; | |
668 | } | |
669 | ||
670 | ||
c370783e | 671 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
672 | PyObject *resultobj; |
673 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
674 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 675 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
676 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
677 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
678 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
679 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
680 | long arg6 = (long) 0 ; | |
681 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
682 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
683 | wxPoint temp4 ; | |
684 | wxSize temp5 ; | |
b411df4a | 685 | bool temp7 = false ; |
d14a1e28 RD |
686 | PyObject * obj0 = 0 ; |
687 | PyObject * obj1 = 0 ; | |
994141e6 | 688 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
689 | PyObject * obj3 = 0 ; |
690 | PyObject * obj4 = 0 ; | |
994141e6 | 691 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
692 | PyObject * obj6 = 0 ; |
693 | char *kwnames[] = { | |
694 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
695 | }; | |
696 | ||
bfddbb17 | 697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
698 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
700 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 702 | if (obj2) { |
c370783e | 703 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
704 | if (PyErr_Occurred()) SWIG_fail; |
705 | } | |
d14a1e28 RD |
706 | if (obj3) { |
707 | { | |
708 | arg4 = &temp4; | |
709 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
710 | } | |
711 | } | |
712 | if (obj4) { | |
713 | { | |
714 | arg5 = &temp5; | |
715 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
716 | } | |
717 | } | |
994141e6 | 718 | if (obj5) { |
c370783e | 719 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 720 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 721 | } |
d14a1e28 RD |
722 | if (obj6) { |
723 | { | |
724 | arg7 = wxString_in_helper(obj6); | |
725 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 726 | temp7 = true; |
d14a1e28 RD |
727 | } |
728 | } | |
729 | { | |
730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
731 | (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
732 | ||
733 | wxPyEndAllowThreads(__tstate); | |
734 | if (PyErr_Occurred()) SWIG_fail; | |
735 | } | |
736 | Py_INCREF(Py_None); resultobj = Py_None; | |
737 | { | |
738 | if (temp7) | |
739 | delete arg7; | |
740 | } | |
741 | return resultobj; | |
742 | fail: | |
743 | { | |
744 | if (temp7) | |
745 | delete arg7; | |
746 | } | |
747 | return NULL; | |
748 | } | |
749 | ||
750 | ||
c370783e | 751 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
752 | PyObject *resultobj; |
753 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
754 | wxString *arg2 = 0 ; | |
b411df4a | 755 | bool temp2 = false ; |
d14a1e28 RD |
756 | PyObject * obj0 = 0 ; |
757 | PyObject * obj1 = 0 ; | |
758 | char *kwnames[] = { | |
759 | (char *) "self",(char *) "text", NULL | |
760 | }; | |
761 | ||
762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
765 | { |
766 | arg2 = wxString_in_helper(obj1); | |
767 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 768 | temp2 = true; |
d14a1e28 RD |
769 | } |
770 | { | |
771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
772 | (arg1)->AddText((wxString const &)*arg2); | |
773 | ||
774 | wxPyEndAllowThreads(__tstate); | |
775 | if (PyErr_Occurred()) SWIG_fail; | |
776 | } | |
777 | Py_INCREF(Py_None); resultobj = Py_None; | |
778 | { | |
779 | if (temp2) | |
780 | delete arg2; | |
781 | } | |
782 | return resultobj; | |
783 | fail: | |
784 | { | |
785 | if (temp2) | |
786 | delete arg2; | |
787 | } | |
788 | return NULL; | |
789 | } | |
790 | ||
791 | ||
c370783e | 792 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
793 | PyObject *resultobj; |
794 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
795 | wxMemoryBuffer *arg2 = 0 ; | |
b411df4a | 796 | bool temp2 = false ; |
d14a1e28 RD |
797 | PyObject * obj0 = 0 ; |
798 | PyObject * obj1 = 0 ; | |
799 | char *kwnames[] = { | |
800 | (char *) "self",(char *) "data", NULL | |
801 | }; | |
802 | ||
803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3adfb63b RD |
806 | { |
807 | if (!PyString_Check(obj1)) { | |
808 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
809 | SWIG_fail; | |
810 | } | |
811 | char* str = PyString_AS_STRING(obj1); | |
812 | int len = PyString_GET_SIZE(obj1); | |
813 | arg2 = new wxMemoryBuffer(len); | |
b411df4a | 814 | temp2 = true; |
3adfb63b | 815 | memcpy(arg2->GetData(), str, len); |
0346c964 | 816 | arg2->SetDataLen(len); |
d14a1e28 RD |
817 | } |
818 | { | |
819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
820 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
821 | ||
822 | wxPyEndAllowThreads(__tstate); | |
823 | if (PyErr_Occurred()) SWIG_fail; | |
824 | } | |
825 | Py_INCREF(Py_None); resultobj = Py_None; | |
3adfb63b RD |
826 | { |
827 | if (temp2) delete arg2; | |
828 | } | |
d14a1e28 RD |
829 | return resultobj; |
830 | fail: | |
3adfb63b RD |
831 | { |
832 | if (temp2) delete arg2; | |
833 | } | |
d14a1e28 RD |
834 | return NULL; |
835 | } | |
836 | ||
837 | ||
c370783e | 838 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
839 | PyObject *resultobj; |
840 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
841 | int arg2 ; | |
842 | wxString *arg3 = 0 ; | |
b411df4a | 843 | bool temp3 = false ; |
d14a1e28 | 844 | PyObject * obj0 = 0 ; |
994141e6 | 845 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
846 | PyObject * obj2 = 0 ; |
847 | char *kwnames[] = { | |
848 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
849 | }; | |
850 | ||
994141e6 | 851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 854 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 855 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
856 | { |
857 | arg3 = wxString_in_helper(obj2); | |
858 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 859 | temp3 = true; |
d14a1e28 RD |
860 | } |
861 | { | |
862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
863 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
864 | ||
865 | wxPyEndAllowThreads(__tstate); | |
866 | if (PyErr_Occurred()) SWIG_fail; | |
867 | } | |
868 | Py_INCREF(Py_None); resultobj = Py_None; | |
869 | { | |
870 | if (temp3) | |
871 | delete arg3; | |
872 | } | |
873 | return resultobj; | |
874 | fail: | |
875 | { | |
876 | if (temp3) | |
877 | delete arg3; | |
878 | } | |
879 | return NULL; | |
880 | } | |
881 | ||
882 | ||
c370783e | 883 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
884 | PyObject *resultobj; |
885 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
886 | PyObject * obj0 = 0 ; | |
887 | char *kwnames[] = { | |
888 | (char *) "self", NULL | |
889 | }; | |
890 | ||
891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
894 | { |
895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
896 | (arg1)->ClearAll(); | |
897 | ||
898 | wxPyEndAllowThreads(__tstate); | |
899 | if (PyErr_Occurred()) SWIG_fail; | |
900 | } | |
901 | Py_INCREF(Py_None); resultobj = Py_None; | |
902 | return resultobj; | |
903 | fail: | |
904 | return NULL; | |
905 | } | |
906 | ||
907 | ||
c370783e | 908 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
909 | PyObject *resultobj; |
910 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
911 | PyObject * obj0 = 0 ; | |
912 | char *kwnames[] = { | |
913 | (char *) "self", NULL | |
914 | }; | |
915 | ||
916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
919 | { |
920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
921 | (arg1)->ClearDocumentStyle(); | |
922 | ||
923 | wxPyEndAllowThreads(__tstate); | |
924 | if (PyErr_Occurred()) SWIG_fail; | |
925 | } | |
926 | Py_INCREF(Py_None); resultobj = Py_None; | |
927 | return resultobj; | |
928 | fail: | |
929 | return NULL; | |
930 | } | |
931 | ||
932 | ||
c370783e | 933 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
934 | PyObject *resultobj; |
935 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
936 | int result; | |
937 | PyObject * obj0 = 0 ; | |
938 | char *kwnames[] = { | |
939 | (char *) "self", NULL | |
940 | }; | |
941 | ||
942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
945 | { |
946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
947 | result = (int)(arg1)->GetLength(); | |
948 | ||
949 | wxPyEndAllowThreads(__tstate); | |
950 | if (PyErr_Occurred()) SWIG_fail; | |
951 | } | |
c370783e | 952 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
953 | return resultobj; |
954 | fail: | |
955 | return NULL; | |
956 | } | |
957 | ||
958 | ||
c370783e | 959 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
960 | PyObject *resultobj; |
961 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
962 | int arg2 ; | |
963 | int result; | |
964 | PyObject * obj0 = 0 ; | |
994141e6 | 965 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
966 | char *kwnames[] = { |
967 | (char *) "self",(char *) "pos", NULL | |
968 | }; | |
969 | ||
994141e6 | 970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 973 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 974 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
975 | { |
976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
977 | result = (int)(arg1)->GetCharAt(arg2); | |
978 | ||
979 | wxPyEndAllowThreads(__tstate); | |
980 | if (PyErr_Occurred()) SWIG_fail; | |
981 | } | |
c370783e | 982 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
983 | return resultobj; |
984 | fail: | |
985 | return NULL; | |
986 | } | |
987 | ||
988 | ||
c370783e | 989 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
990 | PyObject *resultobj; |
991 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
992 | int result; | |
993 | PyObject * obj0 = 0 ; | |
994 | char *kwnames[] = { | |
995 | (char *) "self", NULL | |
996 | }; | |
997 | ||
998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
999 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1001 | { |
1002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1003 | result = (int)(arg1)->GetCurrentPos(); | |
1004 | ||
1005 | wxPyEndAllowThreads(__tstate); | |
1006 | if (PyErr_Occurred()) SWIG_fail; | |
1007 | } | |
c370783e | 1008 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1009 | return resultobj; |
1010 | fail: | |
1011 | return NULL; | |
1012 | } | |
1013 | ||
1014 | ||
c370783e | 1015 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1016 | PyObject *resultobj; |
1017 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1018 | int result; | |
1019 | PyObject * obj0 = 0 ; | |
1020 | char *kwnames[] = { | |
1021 | (char *) "self", NULL | |
1022 | }; | |
1023 | ||
1024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1027 | { |
1028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1029 | result = (int)(arg1)->GetAnchor(); | |
1030 | ||
1031 | wxPyEndAllowThreads(__tstate); | |
1032 | if (PyErr_Occurred()) SWIG_fail; | |
1033 | } | |
c370783e | 1034 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1035 | return resultobj; |
1036 | fail: | |
1037 | return NULL; | |
1038 | } | |
1039 | ||
1040 | ||
c370783e | 1041 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1042 | PyObject *resultobj; |
1043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1044 | int arg2 ; | |
1045 | int result; | |
1046 | PyObject * obj0 = 0 ; | |
994141e6 | 1047 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1048 | char *kwnames[] = { |
1049 | (char *) "self",(char *) "pos", NULL | |
1050 | }; | |
1051 | ||
994141e6 | 1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1055 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1056 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1057 | { |
1058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1059 | result = (int)(arg1)->GetStyleAt(arg2); | |
1060 | ||
1061 | wxPyEndAllowThreads(__tstate); | |
1062 | if (PyErr_Occurred()) SWIG_fail; | |
1063 | } | |
c370783e | 1064 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1065 | return resultobj; |
1066 | fail: | |
1067 | return NULL; | |
1068 | } | |
1069 | ||
1070 | ||
c370783e | 1071 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1072 | PyObject *resultobj; |
1073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1074 | PyObject * obj0 = 0 ; | |
1075 | char *kwnames[] = { | |
1076 | (char *) "self", NULL | |
1077 | }; | |
1078 | ||
1079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1082 | { |
1083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1084 | (arg1)->Redo(); | |
1085 | ||
1086 | wxPyEndAllowThreads(__tstate); | |
1087 | if (PyErr_Occurred()) SWIG_fail; | |
1088 | } | |
1089 | Py_INCREF(Py_None); resultobj = Py_None; | |
1090 | return resultobj; | |
1091 | fail: | |
1092 | return NULL; | |
1093 | } | |
1094 | ||
1095 | ||
c370783e | 1096 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1097 | PyObject *resultobj; |
1098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1099 | bool arg2 ; | |
1100 | PyObject * obj0 = 0 ; | |
1101 | PyObject * obj1 = 0 ; | |
1102 | char *kwnames[] = { | |
1103 | (char *) "self",(char *) "collectUndo", NULL | |
1104 | }; | |
1105 | ||
1106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1109 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 1110 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1111 | { |
1112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1113 | (arg1)->SetUndoCollection(arg2); | |
1114 | ||
1115 | wxPyEndAllowThreads(__tstate); | |
1116 | if (PyErr_Occurred()) SWIG_fail; | |
1117 | } | |
1118 | Py_INCREF(Py_None); resultobj = Py_None; | |
1119 | return resultobj; | |
1120 | fail: | |
1121 | return NULL; | |
1122 | } | |
1123 | ||
1124 | ||
c370783e | 1125 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1126 | PyObject *resultobj; |
1127 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1128 | PyObject * obj0 = 0 ; | |
1129 | char *kwnames[] = { | |
1130 | (char *) "self", NULL | |
1131 | }; | |
1132 | ||
1133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1136 | { |
1137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1138 | (arg1)->SelectAll(); | |
1139 | ||
1140 | wxPyEndAllowThreads(__tstate); | |
1141 | if (PyErr_Occurred()) SWIG_fail; | |
1142 | } | |
1143 | Py_INCREF(Py_None); resultobj = Py_None; | |
1144 | return resultobj; | |
1145 | fail: | |
1146 | return NULL; | |
1147 | } | |
1148 | ||
1149 | ||
c370783e | 1150 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1151 | PyObject *resultobj; |
1152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1153 | PyObject * obj0 = 0 ; | |
1154 | char *kwnames[] = { | |
1155 | (char *) "self", NULL | |
1156 | }; | |
1157 | ||
1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1161 | { |
1162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1163 | (arg1)->SetSavePoint(); | |
1164 | ||
1165 | wxPyEndAllowThreads(__tstate); | |
1166 | if (PyErr_Occurred()) SWIG_fail; | |
1167 | } | |
1168 | Py_INCREF(Py_None); resultobj = Py_None; | |
1169 | return resultobj; | |
1170 | fail: | |
1171 | return NULL; | |
1172 | } | |
1173 | ||
1174 | ||
c370783e | 1175 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1176 | PyObject *resultobj; |
1177 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1178 | int arg2 ; | |
1179 | int arg3 ; | |
1180 | wxMemoryBuffer result; | |
1181 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1182 | PyObject * obj1 = 0 ; |
1183 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1184 | char *kwnames[] = { |
1185 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
1186 | }; | |
1187 | ||
994141e6 | 1188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1191 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1192 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1193 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1194 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1195 | { |
1196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1197 | result = (arg1)->GetStyledText(arg2,arg3); | |
1198 | ||
1199 | wxPyEndAllowThreads(__tstate); | |
1200 | if (PyErr_Occurred()) SWIG_fail; | |
1201 | } | |
1202 | { | |
3adfb63b | 1203 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); |
d14a1e28 RD |
1204 | } |
1205 | return resultobj; | |
1206 | fail: | |
1207 | return NULL; | |
1208 | } | |
1209 | ||
1210 | ||
c370783e | 1211 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1212 | PyObject *resultobj; |
1213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1214 | bool result; | |
1215 | PyObject * obj0 = 0 ; | |
1216 | char *kwnames[] = { | |
1217 | (char *) "self", NULL | |
1218 | }; | |
1219 | ||
1220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1223 | { |
1224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1225 | result = (bool)(arg1)->CanRedo(); | |
1226 | ||
1227 | wxPyEndAllowThreads(__tstate); | |
1228 | if (PyErr_Occurred()) SWIG_fail; | |
1229 | } | |
4f89f6a3 RD |
1230 | { |
1231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1232 | } | |
d14a1e28 RD |
1233 | return resultobj; |
1234 | fail: | |
1235 | return NULL; | |
1236 | } | |
1237 | ||
1238 | ||
c370783e | 1239 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1240 | PyObject *resultobj; |
1241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1242 | int arg2 ; | |
1243 | int result; | |
1244 | PyObject * obj0 = 0 ; | |
994141e6 | 1245 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1246 | char *kwnames[] = { |
1247 | (char *) "self",(char *) "handle", NULL | |
1248 | }; | |
1249 | ||
994141e6 | 1250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1253 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1254 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1255 | { |
1256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1257 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
1258 | ||
1259 | wxPyEndAllowThreads(__tstate); | |
1260 | if (PyErr_Occurred()) SWIG_fail; | |
1261 | } | |
c370783e | 1262 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1263 | return resultobj; |
1264 | fail: | |
1265 | return NULL; | |
1266 | } | |
1267 | ||
1268 | ||
c370783e | 1269 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1270 | PyObject *resultobj; |
1271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1272 | int arg2 ; | |
1273 | PyObject * obj0 = 0 ; | |
994141e6 | 1274 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1275 | char *kwnames[] = { |
1276 | (char *) "self",(char *) "handle", NULL | |
1277 | }; | |
1278 | ||
994141e6 | 1279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1282 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1283 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1284 | { |
1285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1286 | (arg1)->MarkerDeleteHandle(arg2); | |
1287 | ||
1288 | wxPyEndAllowThreads(__tstate); | |
1289 | if (PyErr_Occurred()) SWIG_fail; | |
1290 | } | |
1291 | Py_INCREF(Py_None); resultobj = Py_None; | |
1292 | return resultobj; | |
1293 | fail: | |
1294 | return NULL; | |
1295 | } | |
1296 | ||
1297 | ||
c370783e | 1298 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1299 | PyObject *resultobj; |
1300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1301 | bool result; | |
1302 | PyObject * obj0 = 0 ; | |
1303 | char *kwnames[] = { | |
1304 | (char *) "self", NULL | |
1305 | }; | |
1306 | ||
1307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1310 | { |
1311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1312 | result = (bool)(arg1)->GetUndoCollection(); | |
1313 | ||
1314 | wxPyEndAllowThreads(__tstate); | |
1315 | if (PyErr_Occurred()) SWIG_fail; | |
1316 | } | |
4f89f6a3 RD |
1317 | { |
1318 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1319 | } | |
d14a1e28 RD |
1320 | return resultobj; |
1321 | fail: | |
1322 | return NULL; | |
1323 | } | |
1324 | ||
1325 | ||
c370783e | 1326 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1327 | PyObject *resultobj; |
1328 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1329 | int result; | |
1330 | PyObject * obj0 = 0 ; | |
1331 | char *kwnames[] = { | |
1332 | (char *) "self", NULL | |
1333 | }; | |
1334 | ||
1335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1338 | { |
1339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1340 | result = (int)(arg1)->GetViewWhiteSpace(); | |
1341 | ||
1342 | wxPyEndAllowThreads(__tstate); | |
1343 | if (PyErr_Occurred()) SWIG_fail; | |
1344 | } | |
c370783e | 1345 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1346 | return resultobj; |
1347 | fail: | |
1348 | return NULL; | |
1349 | } | |
1350 | ||
1351 | ||
c370783e | 1352 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1353 | PyObject *resultobj; |
1354 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1355 | int arg2 ; | |
1356 | PyObject * obj0 = 0 ; | |
994141e6 | 1357 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1358 | char *kwnames[] = { |
1359 | (char *) "self",(char *) "viewWS", NULL | |
1360 | }; | |
1361 | ||
994141e6 | 1362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1365 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1366 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1367 | { |
1368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1369 | (arg1)->SetViewWhiteSpace(arg2); | |
1370 | ||
1371 | wxPyEndAllowThreads(__tstate); | |
1372 | if (PyErr_Occurred()) SWIG_fail; | |
1373 | } | |
1374 | Py_INCREF(Py_None); resultobj = Py_None; | |
1375 | return resultobj; | |
1376 | fail: | |
1377 | return NULL; | |
1378 | } | |
1379 | ||
1380 | ||
c370783e | 1381 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1382 | PyObject *resultobj; |
1383 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1384 | wxPoint arg2 ; | |
1385 | int result; | |
1386 | wxPoint *argp2 ; | |
1387 | PyObject * obj0 = 0 ; | |
1388 | PyObject * obj1 = 0 ; | |
1389 | char *kwnames[] = { | |
1390 | (char *) "self",(char *) "pt", NULL | |
1391 | }; | |
1392 | ||
1393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1396 | if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint, | |
1397 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1398 | arg2 = *argp2; | |
d14a1e28 RD |
1399 | { |
1400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1401 | result = (int)(arg1)->PositionFromPoint(arg2); | |
1402 | ||
1403 | wxPyEndAllowThreads(__tstate); | |
1404 | if (PyErr_Occurred()) SWIG_fail; | |
1405 | } | |
c370783e | 1406 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1407 | return resultobj; |
1408 | fail: | |
1409 | return NULL; | |
1410 | } | |
1411 | ||
1412 | ||
c370783e | 1413 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1414 | PyObject *resultobj; |
1415 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1416 | int arg2 ; | |
1417 | int arg3 ; | |
1418 | int result; | |
1419 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1420 | PyObject * obj1 = 0 ; |
1421 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1422 | char *kwnames[] = { |
1423 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1424 | }; | |
1425 | ||
994141e6 | 1426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1429 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1430 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1431 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1432 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1433 | { |
1434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1435 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
1436 | ||
1437 | wxPyEndAllowThreads(__tstate); | |
1438 | if (PyErr_Occurred()) SWIG_fail; | |
1439 | } | |
c370783e | 1440 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1441 | return resultobj; |
1442 | fail: | |
1443 | return NULL; | |
1444 | } | |
1445 | ||
1446 | ||
c370783e | 1447 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1448 | PyObject *resultobj; |
1449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1450 | int arg2 ; | |
1451 | PyObject * obj0 = 0 ; | |
994141e6 | 1452 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1453 | char *kwnames[] = { |
1454 | (char *) "self",(char *) "line", NULL | |
1455 | }; | |
1456 | ||
994141e6 | 1457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1460 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1461 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1462 | { |
1463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1464 | (arg1)->GotoLine(arg2); | |
1465 | ||
1466 | wxPyEndAllowThreads(__tstate); | |
1467 | if (PyErr_Occurred()) SWIG_fail; | |
1468 | } | |
1469 | Py_INCREF(Py_None); resultobj = Py_None; | |
1470 | return resultobj; | |
1471 | fail: | |
1472 | return NULL; | |
1473 | } | |
1474 | ||
1475 | ||
c370783e | 1476 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1477 | PyObject *resultobj; |
1478 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1479 | int arg2 ; | |
1480 | PyObject * obj0 = 0 ; | |
994141e6 | 1481 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1482 | char *kwnames[] = { |
1483 | (char *) "self",(char *) "pos", NULL | |
1484 | }; | |
1485 | ||
994141e6 | 1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1489 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1490 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1491 | { |
1492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1493 | (arg1)->GotoPos(arg2); | |
1494 | ||
1495 | wxPyEndAllowThreads(__tstate); | |
1496 | if (PyErr_Occurred()) SWIG_fail; | |
1497 | } | |
1498 | Py_INCREF(Py_None); resultobj = Py_None; | |
1499 | return resultobj; | |
1500 | fail: | |
1501 | return NULL; | |
1502 | } | |
1503 | ||
1504 | ||
c370783e | 1505 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1506 | PyObject *resultobj; |
1507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1508 | int arg2 ; | |
1509 | PyObject * obj0 = 0 ; | |
994141e6 | 1510 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1511 | char *kwnames[] = { |
1512 | (char *) "self",(char *) "posAnchor", NULL | |
1513 | }; | |
1514 | ||
994141e6 | 1515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1518 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1519 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1520 | { |
1521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1522 | (arg1)->SetAnchor(arg2); | |
1523 | ||
1524 | wxPyEndAllowThreads(__tstate); | |
1525 | if (PyErr_Occurred()) SWIG_fail; | |
1526 | } | |
1527 | Py_INCREF(Py_None); resultobj = Py_None; | |
1528 | return resultobj; | |
1529 | fail: | |
1530 | return NULL; | |
1531 | } | |
1532 | ||
1533 | ||
c370783e | 1534 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1535 | PyObject *resultobj; |
1536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1537 | int *arg2 = (int *) 0 ; | |
1538 | wxString result; | |
1539 | int temp2 ; | |
c370783e | 1540 | int res2 = 0 ; |
d14a1e28 RD |
1541 | PyObject * obj0 = 0 ; |
1542 | char *kwnames[] = { | |
1543 | (char *) "self", NULL | |
1544 | }; | |
1545 | ||
c370783e | 1546 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
d14a1e28 | 1547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
1548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1550 | { |
1551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1552 | result = (arg1)->GetCurLine(arg2); | |
1553 | ||
1554 | wxPyEndAllowThreads(__tstate); | |
1555 | if (PyErr_Occurred()) SWIG_fail; | |
1556 | } | |
1557 | { | |
1558 | #if wxUSE_UNICODE | |
1559 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1560 | #else | |
1561 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1562 | #endif | |
1563 | } | |
c370783e RD |
1564 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
1565 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
1566 | return resultobj; |
1567 | fail: | |
1568 | return NULL; | |
1569 | } | |
1570 | ||
1571 | ||
c370783e | 1572 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1573 | PyObject *resultobj; |
1574 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1575 | int result; | |
1576 | PyObject * obj0 = 0 ; | |
1577 | char *kwnames[] = { | |
1578 | (char *) "self", NULL | |
1579 | }; | |
1580 | ||
1581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1584 | { |
1585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1586 | result = (int)(arg1)->GetEndStyled(); | |
1587 | ||
1588 | wxPyEndAllowThreads(__tstate); | |
1589 | if (PyErr_Occurred()) SWIG_fail; | |
1590 | } | |
c370783e | 1591 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1592 | return resultobj; |
1593 | fail: | |
1594 | return NULL; | |
1595 | } | |
1596 | ||
1597 | ||
c370783e | 1598 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1599 | PyObject *resultobj; |
1600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1601 | int arg2 ; | |
1602 | PyObject * obj0 = 0 ; | |
994141e6 | 1603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1604 | char *kwnames[] = { |
1605 | (char *) "self",(char *) "eolMode", NULL | |
1606 | }; | |
1607 | ||
994141e6 | 1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1611 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1612 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1613 | { |
1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1615 | (arg1)->ConvertEOLs(arg2); | |
1616 | ||
1617 | wxPyEndAllowThreads(__tstate); | |
1618 | if (PyErr_Occurred()) SWIG_fail; | |
1619 | } | |
1620 | Py_INCREF(Py_None); resultobj = Py_None; | |
1621 | return resultobj; | |
1622 | fail: | |
1623 | return NULL; | |
1624 | } | |
1625 | ||
1626 | ||
c370783e | 1627 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1628 | PyObject *resultobj; |
1629 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1630 | int result; | |
1631 | PyObject * obj0 = 0 ; | |
1632 | char *kwnames[] = { | |
1633 | (char *) "self", NULL | |
1634 | }; | |
1635 | ||
1636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1639 | { |
1640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1641 | result = (int)(arg1)->GetEOLMode(); | |
1642 | ||
1643 | wxPyEndAllowThreads(__tstate); | |
1644 | if (PyErr_Occurred()) SWIG_fail; | |
1645 | } | |
c370783e | 1646 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1647 | return resultobj; |
1648 | fail: | |
1649 | return NULL; | |
1650 | } | |
1651 | ||
1652 | ||
c370783e | 1653 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1654 | PyObject *resultobj; |
1655 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1656 | int arg2 ; | |
1657 | PyObject * obj0 = 0 ; | |
994141e6 | 1658 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1659 | char *kwnames[] = { |
1660 | (char *) "self",(char *) "eolMode", NULL | |
1661 | }; | |
1662 | ||
994141e6 | 1663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1666 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1667 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1668 | { |
1669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1670 | (arg1)->SetEOLMode(arg2); | |
1671 | ||
1672 | wxPyEndAllowThreads(__tstate); | |
1673 | if (PyErr_Occurred()) SWIG_fail; | |
1674 | } | |
1675 | Py_INCREF(Py_None); resultobj = Py_None; | |
1676 | return resultobj; | |
1677 | fail: | |
1678 | return NULL; | |
1679 | } | |
1680 | ||
1681 | ||
c370783e | 1682 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1683 | PyObject *resultobj; |
1684 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1685 | int arg2 ; | |
1686 | int arg3 ; | |
1687 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1688 | PyObject * obj1 = 0 ; |
1689 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1690 | char *kwnames[] = { |
1691 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
1692 | }; | |
1693 | ||
994141e6 | 1694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1697 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1698 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1699 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1700 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1701 | { |
1702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1703 | (arg1)->StartStyling(arg2,arg3); | |
1704 | ||
1705 | wxPyEndAllowThreads(__tstate); | |
1706 | if (PyErr_Occurred()) SWIG_fail; | |
1707 | } | |
1708 | Py_INCREF(Py_None); resultobj = Py_None; | |
1709 | return resultobj; | |
1710 | fail: | |
1711 | return NULL; | |
1712 | } | |
1713 | ||
1714 | ||
c370783e | 1715 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1716 | PyObject *resultobj; |
1717 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1718 | int arg2 ; | |
1719 | int arg3 ; | |
1720 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1721 | PyObject * obj1 = 0 ; |
1722 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1723 | char *kwnames[] = { |
1724 | (char *) "self",(char *) "length",(char *) "style", NULL | |
1725 | }; | |
1726 | ||
994141e6 | 1727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1730 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1731 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1732 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1733 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1734 | { |
1735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1736 | (arg1)->SetStyling(arg2,arg3); | |
1737 | ||
1738 | wxPyEndAllowThreads(__tstate); | |
1739 | if (PyErr_Occurred()) SWIG_fail; | |
1740 | } | |
1741 | Py_INCREF(Py_None); resultobj = Py_None; | |
1742 | return resultobj; | |
1743 | fail: | |
1744 | return NULL; | |
1745 | } | |
1746 | ||
1747 | ||
c370783e | 1748 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1749 | PyObject *resultobj; |
1750 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1751 | bool result; | |
1752 | PyObject * obj0 = 0 ; | |
1753 | char *kwnames[] = { | |
1754 | (char *) "self", NULL | |
1755 | }; | |
1756 | ||
1757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1760 | { |
1761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1762 | result = (bool)(arg1)->GetBufferedDraw(); | |
1763 | ||
1764 | wxPyEndAllowThreads(__tstate); | |
1765 | if (PyErr_Occurred()) SWIG_fail; | |
1766 | } | |
4f89f6a3 RD |
1767 | { |
1768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1769 | } | |
d14a1e28 RD |
1770 | return resultobj; |
1771 | fail: | |
1772 | return NULL; | |
1773 | } | |
1774 | ||
1775 | ||
c370783e | 1776 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1777 | PyObject *resultobj; |
1778 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1779 | bool arg2 ; | |
1780 | PyObject * obj0 = 0 ; | |
1781 | PyObject * obj1 = 0 ; | |
1782 | char *kwnames[] = { | |
1783 | (char *) "self",(char *) "buffered", NULL | |
1784 | }; | |
1785 | ||
1786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1789 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 1790 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1791 | { |
1792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1793 | (arg1)->SetBufferedDraw(arg2); | |
1794 | ||
1795 | wxPyEndAllowThreads(__tstate); | |
1796 | if (PyErr_Occurred()) SWIG_fail; | |
1797 | } | |
1798 | Py_INCREF(Py_None); resultobj = Py_None; | |
1799 | return resultobj; | |
1800 | fail: | |
1801 | return NULL; | |
1802 | } | |
1803 | ||
1804 | ||
c370783e | 1805 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1806 | PyObject *resultobj; |
1807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1808 | int arg2 ; | |
1809 | PyObject * obj0 = 0 ; | |
994141e6 | 1810 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1811 | char *kwnames[] = { |
1812 | (char *) "self",(char *) "tabWidth", NULL | |
1813 | }; | |
1814 | ||
994141e6 | 1815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1818 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1819 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1820 | { |
1821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1822 | (arg1)->SetTabWidth(arg2); | |
1823 | ||
1824 | wxPyEndAllowThreads(__tstate); | |
1825 | if (PyErr_Occurred()) SWIG_fail; | |
1826 | } | |
1827 | Py_INCREF(Py_None); resultobj = Py_None; | |
1828 | return resultobj; | |
1829 | fail: | |
1830 | return NULL; | |
1831 | } | |
1832 | ||
1833 | ||
c370783e | 1834 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1835 | PyObject *resultobj; |
1836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1837 | int result; | |
1838 | PyObject * obj0 = 0 ; | |
1839 | char *kwnames[] = { | |
1840 | (char *) "self", NULL | |
1841 | }; | |
1842 | ||
1843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1846 | { |
1847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1848 | result = (int)(arg1)->GetTabWidth(); | |
1849 | ||
1850 | wxPyEndAllowThreads(__tstate); | |
1851 | if (PyErr_Occurred()) SWIG_fail; | |
1852 | } | |
c370783e | 1853 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1854 | return resultobj; |
1855 | fail: | |
1856 | return NULL; | |
1857 | } | |
1858 | ||
1859 | ||
c370783e | 1860 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1861 | PyObject *resultobj; |
1862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1863 | int arg2 ; | |
1864 | PyObject * obj0 = 0 ; | |
994141e6 | 1865 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1866 | char *kwnames[] = { |
1867 | (char *) "self",(char *) "codePage", NULL | |
1868 | }; | |
1869 | ||
994141e6 | 1870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1873 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1874 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1875 | { |
1876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1877 | (arg1)->SetCodePage(arg2); | |
1878 | ||
1879 | wxPyEndAllowThreads(__tstate); | |
1880 | if (PyErr_Occurred()) SWIG_fail; | |
1881 | } | |
1882 | Py_INCREF(Py_None); resultobj = Py_None; | |
1883 | return resultobj; | |
1884 | fail: | |
1885 | return NULL; | |
1886 | } | |
1887 | ||
1888 | ||
c370783e | 1889 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1890 | PyObject *resultobj; |
1891 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1892 | int arg2 ; | |
1893 | int arg3 ; | |
1894 | wxColour const &arg4_defvalue = wxNullColour ; | |
1895 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
1896 | wxColour const &arg5_defvalue = wxNullColour ; | |
1897 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
1898 | wxColour temp4 ; | |
1899 | wxColour temp5 ; | |
1900 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1901 | PyObject * obj1 = 0 ; |
1902 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1903 | PyObject * obj3 = 0 ; |
1904 | PyObject * obj4 = 0 ; | |
1905 | char *kwnames[] = { | |
1906 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
1907 | }; | |
1908 | ||
994141e6 | 1909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
1910 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1911 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1912 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1913 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1914 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1915 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1916 | if (obj3) { |
1917 | { | |
1918 | arg4 = &temp4; | |
1919 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
1920 | } | |
1921 | } | |
1922 | if (obj4) { | |
1923 | { | |
1924 | arg5 = &temp5; | |
1925 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
1926 | } | |
1927 | } | |
1928 | { | |
1929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1930 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
1931 | ||
1932 | wxPyEndAllowThreads(__tstate); | |
1933 | if (PyErr_Occurred()) SWIG_fail; | |
1934 | } | |
1935 | Py_INCREF(Py_None); resultobj = Py_None; | |
1936 | return resultobj; | |
1937 | fail: | |
1938 | return NULL; | |
1939 | } | |
1940 | ||
1941 | ||
c370783e | 1942 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1943 | PyObject *resultobj; |
1944 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1945 | int arg2 ; | |
1946 | wxColour *arg3 = 0 ; | |
1947 | wxColour temp3 ; | |
1948 | PyObject * obj0 = 0 ; | |
994141e6 | 1949 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1950 | PyObject * obj2 = 0 ; |
1951 | char *kwnames[] = { | |
1952 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
1953 | }; | |
1954 | ||
994141e6 | 1955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1958 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1959 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1960 | { |
1961 | arg3 = &temp3; | |
1962 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1963 | } | |
1964 | { | |
1965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1966 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
1967 | ||
1968 | wxPyEndAllowThreads(__tstate); | |
1969 | if (PyErr_Occurred()) SWIG_fail; | |
1970 | } | |
1971 | Py_INCREF(Py_None); resultobj = Py_None; | |
1972 | return resultobj; | |
1973 | fail: | |
1974 | return NULL; | |
1975 | } | |
1976 | ||
1977 | ||
c370783e | 1978 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1979 | PyObject *resultobj; |
1980 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1981 | int arg2 ; | |
1982 | wxColour *arg3 = 0 ; | |
1983 | wxColour temp3 ; | |
1984 | PyObject * obj0 = 0 ; | |
994141e6 | 1985 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1986 | PyObject * obj2 = 0 ; |
1987 | char *kwnames[] = { | |
1988 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
1989 | }; | |
1990 | ||
994141e6 | 1991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1994 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1995 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1996 | { |
1997 | arg3 = &temp3; | |
1998 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1999 | } | |
2000 | { | |
2001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2002 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
2003 | ||
2004 | wxPyEndAllowThreads(__tstate); | |
2005 | if (PyErr_Occurred()) SWIG_fail; | |
2006 | } | |
2007 | Py_INCREF(Py_None); resultobj = Py_None; | |
2008 | return resultobj; | |
2009 | fail: | |
2010 | return NULL; | |
2011 | } | |
2012 | ||
2013 | ||
c370783e | 2014 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2015 | PyObject *resultobj; |
2016 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2017 | int arg2 ; | |
2018 | int arg3 ; | |
2019 | int result; | |
2020 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2021 | PyObject * obj1 = 0 ; |
2022 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2023 | char *kwnames[] = { |
2024 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
2025 | }; | |
2026 | ||
994141e6 | 2027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2030 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2031 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2032 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2033 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2034 | { |
2035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2036 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
2037 | ||
2038 | wxPyEndAllowThreads(__tstate); | |
2039 | if (PyErr_Occurred()) SWIG_fail; | |
2040 | } | |
c370783e | 2041 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2042 | return resultobj; |
2043 | fail: | |
2044 | return NULL; | |
2045 | } | |
2046 | ||
2047 | ||
c370783e | 2048 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2049 | PyObject *resultobj; |
2050 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2051 | int arg2 ; | |
2052 | int arg3 ; | |
2053 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2054 | PyObject * obj1 = 0 ; |
2055 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2056 | char *kwnames[] = { |
2057 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
2058 | }; | |
2059 | ||
994141e6 | 2060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2063 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2064 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2065 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2066 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2067 | { |
2068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2069 | (arg1)->MarkerDelete(arg2,arg3); | |
2070 | ||
2071 | wxPyEndAllowThreads(__tstate); | |
2072 | if (PyErr_Occurred()) SWIG_fail; | |
2073 | } | |
2074 | Py_INCREF(Py_None); resultobj = Py_None; | |
2075 | return resultobj; | |
2076 | fail: | |
2077 | return NULL; | |
2078 | } | |
2079 | ||
2080 | ||
c370783e | 2081 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2082 | PyObject *resultobj; |
2083 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2084 | int arg2 ; | |
2085 | PyObject * obj0 = 0 ; | |
994141e6 | 2086 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2087 | char *kwnames[] = { |
2088 | (char *) "self",(char *) "markerNumber", NULL | |
2089 | }; | |
2090 | ||
994141e6 | 2091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2094 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2095 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2096 | { |
2097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2098 | (arg1)->MarkerDeleteAll(arg2); | |
2099 | ||
2100 | wxPyEndAllowThreads(__tstate); | |
2101 | if (PyErr_Occurred()) SWIG_fail; | |
2102 | } | |
2103 | Py_INCREF(Py_None); resultobj = Py_None; | |
2104 | return resultobj; | |
2105 | fail: | |
2106 | return NULL; | |
2107 | } | |
2108 | ||
2109 | ||
c370783e | 2110 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2111 | PyObject *resultobj; |
2112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2113 | int arg2 ; | |
2114 | int result; | |
2115 | PyObject * obj0 = 0 ; | |
994141e6 | 2116 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2117 | char *kwnames[] = { |
2118 | (char *) "self",(char *) "line", NULL | |
2119 | }; | |
2120 | ||
994141e6 | 2121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2124 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2125 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2126 | { |
2127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2128 | result = (int)(arg1)->MarkerGet(arg2); | |
2129 | ||
2130 | wxPyEndAllowThreads(__tstate); | |
2131 | if (PyErr_Occurred()) SWIG_fail; | |
2132 | } | |
c370783e | 2133 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2134 | return resultobj; |
2135 | fail: | |
2136 | return NULL; | |
2137 | } | |
2138 | ||
2139 | ||
c370783e | 2140 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2141 | PyObject *resultobj; |
2142 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2143 | int arg2 ; | |
2144 | int arg3 ; | |
2145 | int result; | |
2146 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2147 | PyObject * obj1 = 0 ; |
2148 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2149 | char *kwnames[] = { |
2150 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2151 | }; | |
2152 | ||
994141e6 | 2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2156 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2157 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2158 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2159 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2160 | { |
2161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2162 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
2163 | ||
2164 | wxPyEndAllowThreads(__tstate); | |
2165 | if (PyErr_Occurred()) SWIG_fail; | |
2166 | } | |
c370783e | 2167 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2168 | return resultobj; |
2169 | fail: | |
2170 | return NULL; | |
2171 | } | |
2172 | ||
2173 | ||
c370783e | 2174 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2175 | PyObject *resultobj; |
2176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2177 | int arg2 ; | |
2178 | int arg3 ; | |
2179 | int result; | |
2180 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2181 | PyObject * obj1 = 0 ; |
2182 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2183 | char *kwnames[] = { |
2184 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2185 | }; | |
2186 | ||
994141e6 | 2187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2190 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2191 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2192 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2193 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2194 | { |
2195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2196 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
2197 | ||
2198 | wxPyEndAllowThreads(__tstate); | |
2199 | if (PyErr_Occurred()) SWIG_fail; | |
2200 | } | |
c370783e | 2201 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2202 | return resultobj; |
2203 | fail: | |
2204 | return NULL; | |
2205 | } | |
2206 | ||
2207 | ||
c370783e | 2208 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2209 | PyObject *resultobj; |
2210 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2211 | int arg2 ; | |
2212 | wxBitmap *arg3 = 0 ; | |
2213 | PyObject * obj0 = 0 ; | |
994141e6 | 2214 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2215 | PyObject * obj2 = 0 ; |
2216 | char *kwnames[] = { | |
2217 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
2218 | }; | |
2219 | ||
994141e6 | 2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2223 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 RD |
2224 | if (PyErr_Occurred()) SWIG_fail; |
2225 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
2226 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2227 | SWIG_fail; | |
d14a1e28 | 2228 | if (arg3 == NULL) { |
15afbcd0 RD |
2229 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2230 | SWIG_fail; | |
d14a1e28 RD |
2231 | } |
2232 | { | |
2233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2234 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
2235 | ||
2236 | wxPyEndAllowThreads(__tstate); | |
2237 | if (PyErr_Occurred()) SWIG_fail; | |
2238 | } | |
2239 | Py_INCREF(Py_None); resultobj = Py_None; | |
2240 | return resultobj; | |
2241 | fail: | |
2242 | return NULL; | |
2243 | } | |
2244 | ||
2245 | ||
c370783e | 2246 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2247 | PyObject *resultobj; |
2248 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2249 | int arg2 ; | |
2250 | int arg3 ; | |
2251 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2252 | PyObject * obj1 = 0 ; |
2253 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2254 | char *kwnames[] = { |
2255 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
2256 | }; | |
2257 | ||
994141e6 | 2258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2261 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2262 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2263 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2264 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2265 | { |
2266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2267 | (arg1)->SetMarginType(arg2,arg3); | |
2268 | ||
2269 | wxPyEndAllowThreads(__tstate); | |
2270 | if (PyErr_Occurred()) SWIG_fail; | |
2271 | } | |
2272 | Py_INCREF(Py_None); resultobj = Py_None; | |
2273 | return resultobj; | |
2274 | fail: | |
2275 | return NULL; | |
2276 | } | |
2277 | ||
2278 | ||
c370783e | 2279 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2280 | PyObject *resultobj; |
2281 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2282 | int arg2 ; | |
2283 | int result; | |
2284 | PyObject * obj0 = 0 ; | |
994141e6 | 2285 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2286 | char *kwnames[] = { |
2287 | (char *) "self",(char *) "margin", NULL | |
2288 | }; | |
2289 | ||
994141e6 | 2290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2293 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2294 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2295 | { |
2296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2297 | result = (int)(arg1)->GetMarginType(arg2); | |
2298 | ||
2299 | wxPyEndAllowThreads(__tstate); | |
2300 | if (PyErr_Occurred()) SWIG_fail; | |
2301 | } | |
c370783e | 2302 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2303 | return resultobj; |
2304 | fail: | |
2305 | return NULL; | |
2306 | } | |
2307 | ||
2308 | ||
c370783e | 2309 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2310 | PyObject *resultobj; |
2311 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2312 | int arg2 ; | |
2313 | int arg3 ; | |
2314 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2315 | PyObject * obj1 = 0 ; |
2316 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2317 | char *kwnames[] = { |
2318 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
2319 | }; | |
2320 | ||
994141e6 | 2321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2324 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2325 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2326 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2327 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2328 | { |
2329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2330 | (arg1)->SetMarginWidth(arg2,arg3); | |
2331 | ||
2332 | wxPyEndAllowThreads(__tstate); | |
2333 | if (PyErr_Occurred()) SWIG_fail; | |
2334 | } | |
2335 | Py_INCREF(Py_None); resultobj = Py_None; | |
2336 | return resultobj; | |
2337 | fail: | |
2338 | return NULL; | |
2339 | } | |
2340 | ||
2341 | ||
c370783e | 2342 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2343 | PyObject *resultobj; |
2344 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2345 | int arg2 ; | |
2346 | int result; | |
2347 | PyObject * obj0 = 0 ; | |
994141e6 | 2348 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2349 | char *kwnames[] = { |
2350 | (char *) "self",(char *) "margin", NULL | |
2351 | }; | |
2352 | ||
994141e6 | 2353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2356 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2357 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2358 | { |
2359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2360 | result = (int)(arg1)->GetMarginWidth(arg2); | |
2361 | ||
2362 | wxPyEndAllowThreads(__tstate); | |
2363 | if (PyErr_Occurred()) SWIG_fail; | |
2364 | } | |
c370783e | 2365 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2366 | return resultobj; |
2367 | fail: | |
2368 | return NULL; | |
2369 | } | |
2370 | ||
2371 | ||
c370783e | 2372 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2373 | PyObject *resultobj; |
2374 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2375 | int arg2 ; | |
2376 | int arg3 ; | |
2377 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2378 | PyObject * obj1 = 0 ; |
2379 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2380 | char *kwnames[] = { |
2381 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
2382 | }; | |
2383 | ||
994141e6 | 2384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2387 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2388 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2389 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2390 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2391 | { |
2392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2393 | (arg1)->SetMarginMask(arg2,arg3); | |
2394 | ||
2395 | wxPyEndAllowThreads(__tstate); | |
2396 | if (PyErr_Occurred()) SWIG_fail; | |
2397 | } | |
2398 | Py_INCREF(Py_None); resultobj = Py_None; | |
2399 | return resultobj; | |
2400 | fail: | |
2401 | return NULL; | |
2402 | } | |
2403 | ||
2404 | ||
c370783e | 2405 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2406 | PyObject *resultobj; |
2407 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2408 | int arg2 ; | |
2409 | int result; | |
2410 | PyObject * obj0 = 0 ; | |
994141e6 | 2411 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2412 | char *kwnames[] = { |
2413 | (char *) "self",(char *) "margin", NULL | |
2414 | }; | |
2415 | ||
994141e6 | 2416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2419 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2420 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2421 | { |
2422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2423 | result = (int)(arg1)->GetMarginMask(arg2); | |
2424 | ||
2425 | wxPyEndAllowThreads(__tstate); | |
2426 | if (PyErr_Occurred()) SWIG_fail; | |
2427 | } | |
c370783e | 2428 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2429 | return resultobj; |
2430 | fail: | |
2431 | return NULL; | |
2432 | } | |
2433 | ||
2434 | ||
c370783e | 2435 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2436 | PyObject *resultobj; |
2437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2438 | int arg2 ; | |
2439 | bool arg3 ; | |
2440 | PyObject * obj0 = 0 ; | |
994141e6 | 2441 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2442 | PyObject * obj2 = 0 ; |
2443 | char *kwnames[] = { | |
2444 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
2445 | }; | |
2446 | ||
994141e6 | 2447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2450 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2451 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2452 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2453 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2454 | { |
2455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2456 | (arg1)->SetMarginSensitive(arg2,arg3); | |
2457 | ||
2458 | wxPyEndAllowThreads(__tstate); | |
2459 | if (PyErr_Occurred()) SWIG_fail; | |
2460 | } | |
2461 | Py_INCREF(Py_None); resultobj = Py_None; | |
2462 | return resultobj; | |
2463 | fail: | |
2464 | return NULL; | |
2465 | } | |
2466 | ||
2467 | ||
c370783e | 2468 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2469 | PyObject *resultobj; |
2470 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2471 | int arg2 ; | |
2472 | bool result; | |
2473 | PyObject * obj0 = 0 ; | |
994141e6 | 2474 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2475 | char *kwnames[] = { |
2476 | (char *) "self",(char *) "margin", NULL | |
2477 | }; | |
2478 | ||
994141e6 | 2479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2482 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2483 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2484 | { |
2485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2486 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
2487 | ||
2488 | wxPyEndAllowThreads(__tstate); | |
2489 | if (PyErr_Occurred()) SWIG_fail; | |
2490 | } | |
4f89f6a3 RD |
2491 | { |
2492 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2493 | } | |
d14a1e28 RD |
2494 | return resultobj; |
2495 | fail: | |
2496 | return NULL; | |
2497 | } | |
2498 | ||
2499 | ||
c370783e | 2500 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2501 | PyObject *resultobj; |
2502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2503 | PyObject * obj0 = 0 ; | |
2504 | char *kwnames[] = { | |
2505 | (char *) "self", NULL | |
2506 | }; | |
2507 | ||
2508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2509 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2511 | { |
2512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2513 | (arg1)->StyleClearAll(); | |
2514 | ||
2515 | wxPyEndAllowThreads(__tstate); | |
2516 | if (PyErr_Occurred()) SWIG_fail; | |
2517 | } | |
2518 | Py_INCREF(Py_None); resultobj = Py_None; | |
2519 | return resultobj; | |
2520 | fail: | |
2521 | return NULL; | |
2522 | } | |
2523 | ||
2524 | ||
c370783e | 2525 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2526 | PyObject *resultobj; |
2527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2528 | int arg2 ; | |
2529 | wxColour *arg3 = 0 ; | |
2530 | wxColour temp3 ; | |
2531 | PyObject * obj0 = 0 ; | |
994141e6 | 2532 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2533 | PyObject * obj2 = 0 ; |
2534 | char *kwnames[] = { | |
2535 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
2536 | }; | |
2537 | ||
994141e6 | 2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2541 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2542 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2543 | { |
2544 | arg3 = &temp3; | |
2545 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2546 | } | |
2547 | { | |
2548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2549 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
2550 | ||
2551 | wxPyEndAllowThreads(__tstate); | |
2552 | if (PyErr_Occurred()) SWIG_fail; | |
2553 | } | |
2554 | Py_INCREF(Py_None); resultobj = Py_None; | |
2555 | return resultobj; | |
2556 | fail: | |
2557 | return NULL; | |
2558 | } | |
2559 | ||
2560 | ||
c370783e | 2561 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2562 | PyObject *resultobj; |
2563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2564 | int arg2 ; | |
2565 | wxColour *arg3 = 0 ; | |
2566 | wxColour temp3 ; | |
2567 | PyObject * obj0 = 0 ; | |
994141e6 | 2568 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2569 | PyObject * obj2 = 0 ; |
2570 | char *kwnames[] = { | |
2571 | (char *) "self",(char *) "style",(char *) "back", NULL | |
2572 | }; | |
2573 | ||
994141e6 | 2574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2577 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2578 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2579 | { |
2580 | arg3 = &temp3; | |
2581 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2582 | } | |
2583 | { | |
2584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2585 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
2586 | ||
2587 | wxPyEndAllowThreads(__tstate); | |
2588 | if (PyErr_Occurred()) SWIG_fail; | |
2589 | } | |
2590 | Py_INCREF(Py_None); resultobj = Py_None; | |
2591 | return resultobj; | |
2592 | fail: | |
2593 | return NULL; | |
2594 | } | |
2595 | ||
2596 | ||
c370783e | 2597 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2598 | PyObject *resultobj; |
2599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2600 | int arg2 ; | |
2601 | bool arg3 ; | |
2602 | PyObject * obj0 = 0 ; | |
994141e6 | 2603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2604 | PyObject * obj2 = 0 ; |
2605 | char *kwnames[] = { | |
2606 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
2607 | }; | |
2608 | ||
994141e6 | 2609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2612 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2613 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2614 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2615 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2616 | { |
2617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2618 | (arg1)->StyleSetBold(arg2,arg3); | |
2619 | ||
2620 | wxPyEndAllowThreads(__tstate); | |
2621 | if (PyErr_Occurred()) SWIG_fail; | |
2622 | } | |
2623 | Py_INCREF(Py_None); resultobj = Py_None; | |
2624 | return resultobj; | |
2625 | fail: | |
2626 | return NULL; | |
2627 | } | |
2628 | ||
2629 | ||
c370783e | 2630 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2631 | PyObject *resultobj; |
2632 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2633 | int arg2 ; | |
2634 | bool arg3 ; | |
2635 | PyObject * obj0 = 0 ; | |
994141e6 | 2636 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2637 | PyObject * obj2 = 0 ; |
2638 | char *kwnames[] = { | |
2639 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
2640 | }; | |
2641 | ||
994141e6 | 2642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2645 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2646 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2647 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2648 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2649 | { |
2650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2651 | (arg1)->StyleSetItalic(arg2,arg3); | |
2652 | ||
2653 | wxPyEndAllowThreads(__tstate); | |
2654 | if (PyErr_Occurred()) SWIG_fail; | |
2655 | } | |
2656 | Py_INCREF(Py_None); resultobj = Py_None; | |
2657 | return resultobj; | |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
c370783e | 2663 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2664 | PyObject *resultobj; |
2665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2666 | int arg2 ; | |
2667 | int arg3 ; | |
2668 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2669 | PyObject * obj1 = 0 ; |
2670 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2671 | char *kwnames[] = { |
2672 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
2673 | }; | |
2674 | ||
994141e6 | 2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2678 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2679 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2680 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2681 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2682 | { |
2683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2684 | (arg1)->StyleSetSize(arg2,arg3); | |
2685 | ||
2686 | wxPyEndAllowThreads(__tstate); | |
2687 | if (PyErr_Occurred()) SWIG_fail; | |
2688 | } | |
2689 | Py_INCREF(Py_None); resultobj = Py_None; | |
2690 | return resultobj; | |
2691 | fail: | |
2692 | return NULL; | |
2693 | } | |
2694 | ||
2695 | ||
c370783e | 2696 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2697 | PyObject *resultobj; |
2698 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2699 | int arg2 ; | |
2700 | wxString *arg3 = 0 ; | |
b411df4a | 2701 | bool temp3 = false ; |
d14a1e28 | 2702 | PyObject * obj0 = 0 ; |
994141e6 | 2703 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2704 | PyObject * obj2 = 0 ; |
2705 | char *kwnames[] = { | |
2706 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
2707 | }; | |
2708 | ||
994141e6 | 2709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2712 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2713 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2714 | { |
2715 | arg3 = wxString_in_helper(obj2); | |
2716 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 2717 | temp3 = true; |
d14a1e28 RD |
2718 | } |
2719 | { | |
2720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2721 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
2722 | ||
2723 | wxPyEndAllowThreads(__tstate); | |
2724 | if (PyErr_Occurred()) SWIG_fail; | |
2725 | } | |
2726 | Py_INCREF(Py_None); resultobj = Py_None; | |
2727 | { | |
2728 | if (temp3) | |
2729 | delete arg3; | |
2730 | } | |
2731 | return resultobj; | |
2732 | fail: | |
2733 | { | |
2734 | if (temp3) | |
2735 | delete arg3; | |
2736 | } | |
2737 | return NULL; | |
2738 | } | |
2739 | ||
2740 | ||
c370783e | 2741 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2742 | PyObject *resultobj; |
2743 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2744 | int arg2 ; | |
2745 | bool arg3 ; | |
2746 | PyObject * obj0 = 0 ; | |
994141e6 | 2747 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2748 | PyObject * obj2 = 0 ; |
2749 | char *kwnames[] = { | |
2750 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
2751 | }; | |
2752 | ||
994141e6 | 2753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2756 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2757 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2758 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2759 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2760 | { |
2761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2762 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
2763 | ||
2764 | wxPyEndAllowThreads(__tstate); | |
2765 | if (PyErr_Occurred()) SWIG_fail; | |
2766 | } | |
2767 | Py_INCREF(Py_None); resultobj = Py_None; | |
2768 | return resultobj; | |
2769 | fail: | |
2770 | return NULL; | |
2771 | } | |
2772 | ||
2773 | ||
c370783e | 2774 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2775 | PyObject *resultobj; |
2776 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2777 | PyObject * obj0 = 0 ; | |
2778 | char *kwnames[] = { | |
2779 | (char *) "self", NULL | |
2780 | }; | |
2781 | ||
2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2785 | { |
2786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2787 | (arg1)->StyleResetDefault(); | |
2788 | ||
2789 | wxPyEndAllowThreads(__tstate); | |
2790 | if (PyErr_Occurred()) SWIG_fail; | |
2791 | } | |
2792 | Py_INCREF(Py_None); resultobj = Py_None; | |
2793 | return resultobj; | |
2794 | fail: | |
2795 | return NULL; | |
2796 | } | |
2797 | ||
2798 | ||
c370783e | 2799 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2800 | PyObject *resultobj; |
2801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2802 | int arg2 ; | |
2803 | bool arg3 ; | |
2804 | PyObject * obj0 = 0 ; | |
994141e6 | 2805 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2806 | PyObject * obj2 = 0 ; |
2807 | char *kwnames[] = { | |
2808 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
2809 | }; | |
2810 | ||
994141e6 | 2811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2814 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2815 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2816 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2817 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2818 | { |
2819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2820 | (arg1)->StyleSetUnderline(arg2,arg3); | |
2821 | ||
2822 | wxPyEndAllowThreads(__tstate); | |
2823 | if (PyErr_Occurred()) SWIG_fail; | |
2824 | } | |
2825 | Py_INCREF(Py_None); resultobj = Py_None; | |
2826 | return resultobj; | |
2827 | fail: | |
2828 | return NULL; | |
2829 | } | |
2830 | ||
2831 | ||
c370783e | 2832 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2833 | PyObject *resultobj; |
2834 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2835 | int arg2 ; | |
2836 | int arg3 ; | |
2837 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2838 | PyObject * obj1 = 0 ; |
2839 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2840 | char *kwnames[] = { |
2841 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
2842 | }; | |
2843 | ||
994141e6 | 2844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2847 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2848 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2849 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2850 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2851 | { |
2852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2853 | (arg1)->StyleSetCase(arg2,arg3); | |
2854 | ||
2855 | wxPyEndAllowThreads(__tstate); | |
2856 | if (PyErr_Occurred()) SWIG_fail; | |
2857 | } | |
2858 | Py_INCREF(Py_None); resultobj = Py_None; | |
2859 | return resultobj; | |
2860 | fail: | |
2861 | return NULL; | |
2862 | } | |
2863 | ||
2864 | ||
c370783e | 2865 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2866 | PyObject *resultobj; |
2867 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2868 | int arg2 ; | |
2869 | int arg3 ; | |
2870 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2871 | PyObject * obj1 = 0 ; |
2872 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2873 | char *kwnames[] = { |
2874 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
2875 | }; | |
2876 | ||
994141e6 | 2877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2880 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2881 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2882 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2883 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2884 | { |
2885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2886 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
2887 | ||
2888 | wxPyEndAllowThreads(__tstate); | |
2889 | if (PyErr_Occurred()) SWIG_fail; | |
2890 | } | |
2891 | Py_INCREF(Py_None); resultobj = Py_None; | |
2892 | return resultobj; | |
2893 | fail: | |
2894 | return NULL; | |
2895 | } | |
2896 | ||
2897 | ||
c370783e | 2898 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2899 | PyObject *resultobj; |
2900 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2901 | int arg2 ; | |
2902 | bool arg3 ; | |
2903 | PyObject * obj0 = 0 ; | |
994141e6 | 2904 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2905 | PyObject * obj2 = 0 ; |
2906 | char *kwnames[] = { | |
2907 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
2908 | }; | |
2909 | ||
994141e6 | 2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2913 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2914 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2915 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2916 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2917 | { |
2918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2919 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
2920 | ||
2921 | wxPyEndAllowThreads(__tstate); | |
2922 | if (PyErr_Occurred()) SWIG_fail; | |
2923 | } | |
2924 | Py_INCREF(Py_None); resultobj = Py_None; | |
2925 | return resultobj; | |
2926 | fail: | |
2927 | return NULL; | |
2928 | } | |
2929 | ||
2930 | ||
c370783e | 2931 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2932 | PyObject *resultobj; |
2933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2934 | bool arg2 ; | |
2935 | wxColour *arg3 = 0 ; | |
2936 | wxColour temp3 ; | |
2937 | PyObject * obj0 = 0 ; | |
2938 | PyObject * obj1 = 0 ; | |
2939 | PyObject * obj2 = 0 ; | |
2940 | char *kwnames[] = { | |
2941 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
2942 | }; | |
2943 | ||
2944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2947 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2948 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2949 | { |
2950 | arg3 = &temp3; | |
2951 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2952 | } | |
2953 | { | |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | Py_INCREF(Py_None); resultobj = Py_None; | |
2961 | return resultobj; | |
2962 | fail: | |
2963 | return NULL; | |
2964 | } | |
2965 | ||
2966 | ||
c370783e | 2967 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2968 | PyObject *resultobj; |
2969 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2970 | bool arg2 ; | |
2971 | wxColour *arg3 = 0 ; | |
2972 | wxColour temp3 ; | |
2973 | PyObject * obj0 = 0 ; | |
2974 | PyObject * obj1 = 0 ; | |
2975 | PyObject * obj2 = 0 ; | |
2976 | char *kwnames[] = { | |
2977 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
2978 | }; | |
2979 | ||
2980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2983 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2984 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2985 | { |
2986 | arg3 = &temp3; | |
2987 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2988 | } | |
2989 | { | |
2990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2991 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
2992 | ||
2993 | wxPyEndAllowThreads(__tstate); | |
2994 | if (PyErr_Occurred()) SWIG_fail; | |
2995 | } | |
2996 | Py_INCREF(Py_None); resultobj = Py_None; | |
2997 | return resultobj; | |
2998 | fail: | |
2999 | return NULL; | |
3000 | } | |
3001 | ||
3002 | ||
c370783e | 3003 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3004 | PyObject *resultobj; |
3005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3006 | wxColour *arg2 = 0 ; | |
3007 | wxColour temp2 ; | |
3008 | PyObject * obj0 = 0 ; | |
3009 | PyObject * obj1 = 0 ; | |
3010 | char *kwnames[] = { | |
3011 | (char *) "self",(char *) "fore", NULL | |
3012 | }; | |
3013 | ||
3014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3017 | { |
3018 | arg2 = &temp2; | |
3019 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3020 | } | |
3021 | { | |
3022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3023 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
3024 | ||
3025 | wxPyEndAllowThreads(__tstate); | |
3026 | if (PyErr_Occurred()) SWIG_fail; | |
3027 | } | |
3028 | Py_INCREF(Py_None); resultobj = Py_None; | |
3029 | return resultobj; | |
3030 | fail: | |
3031 | return NULL; | |
3032 | } | |
3033 | ||
3034 | ||
c370783e | 3035 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3036 | PyObject *resultobj; |
3037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3038 | int arg2 ; | |
3039 | int arg3 ; | |
3040 | int arg4 ; | |
3041 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3042 | PyObject * obj1 = 0 ; |
3043 | PyObject * obj2 = 0 ; | |
3044 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3045 | char *kwnames[] = { |
3046 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
3047 | }; | |
3048 | ||
994141e6 | 3049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3052 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3053 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3054 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3055 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3056 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 3057 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3058 | { |
3059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3060 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
3061 | ||
3062 | wxPyEndAllowThreads(__tstate); | |
3063 | if (PyErr_Occurred()) SWIG_fail; | |
3064 | } | |
3065 | Py_INCREF(Py_None); resultobj = Py_None; | |
3066 | return resultobj; | |
3067 | fail: | |
3068 | return NULL; | |
3069 | } | |
3070 | ||
3071 | ||
c370783e | 3072 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3073 | PyObject *resultobj; |
3074 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3075 | int arg2 ; | |
3076 | int arg3 ; | |
3077 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3078 | PyObject * obj1 = 0 ; |
3079 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3080 | char *kwnames[] = { |
3081 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
3082 | }; | |
3083 | ||
994141e6 | 3084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3087 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3088 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3089 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3090 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3091 | { |
3092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3093 | (arg1)->CmdKeyClear(arg2,arg3); | |
3094 | ||
3095 | wxPyEndAllowThreads(__tstate); | |
3096 | if (PyErr_Occurred()) SWIG_fail; | |
3097 | } | |
3098 | Py_INCREF(Py_None); resultobj = Py_None; | |
3099 | return resultobj; | |
3100 | fail: | |
3101 | return NULL; | |
3102 | } | |
3103 | ||
3104 | ||
c370783e | 3105 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3106 | PyObject *resultobj; |
3107 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3108 | PyObject * obj0 = 0 ; | |
3109 | char *kwnames[] = { | |
3110 | (char *) "self", NULL | |
3111 | }; | |
3112 | ||
3113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3116 | { |
3117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3118 | (arg1)->CmdKeyClearAll(); | |
3119 | ||
3120 | wxPyEndAllowThreads(__tstate); | |
3121 | if (PyErr_Occurred()) SWIG_fail; | |
3122 | } | |
3123 | Py_INCREF(Py_None); resultobj = Py_None; | |
3124 | return resultobj; | |
3125 | fail: | |
3126 | return NULL; | |
3127 | } | |
3128 | ||
3129 | ||
c370783e | 3130 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3131 | PyObject *resultobj; |
3132 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3133 | int arg2 ; | |
3134 | char *arg3 ; | |
3135 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3136 | PyObject * obj1 = 0 ; |
3137 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3138 | char *kwnames[] = { |
3139 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
3140 | }; | |
3141 | ||
994141e6 | 3142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3145 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3146 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3147 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) SWIG_fail; |
d14a1e28 RD |
3148 | { |
3149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3150 | (arg1)->SetStyleBytes(arg2,arg3); | |
3151 | ||
3152 | wxPyEndAllowThreads(__tstate); | |
3153 | if (PyErr_Occurred()) SWIG_fail; | |
3154 | } | |
3155 | Py_INCREF(Py_None); resultobj = Py_None; | |
3156 | return resultobj; | |
3157 | fail: | |
3158 | return NULL; | |
3159 | } | |
3160 | ||
3161 | ||
c370783e | 3162 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3163 | PyObject *resultobj; |
3164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3165 | int arg2 ; | |
3166 | bool arg3 ; | |
3167 | PyObject * obj0 = 0 ; | |
994141e6 | 3168 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3169 | PyObject * obj2 = 0 ; |
3170 | char *kwnames[] = { | |
3171 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
3172 | }; | |
3173 | ||
994141e6 | 3174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3177 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3178 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3179 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 3180 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3181 | { |
3182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3183 | (arg1)->StyleSetVisible(arg2,arg3); | |
3184 | ||
3185 | wxPyEndAllowThreads(__tstate); | |
3186 | if (PyErr_Occurred()) SWIG_fail; | |
3187 | } | |
3188 | Py_INCREF(Py_None); resultobj = Py_None; | |
3189 | return resultobj; | |
3190 | fail: | |
3191 | return NULL; | |
3192 | } | |
3193 | ||
3194 | ||
c370783e | 3195 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3196 | PyObject *resultobj; |
3197 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3198 | int result; | |
3199 | PyObject * obj0 = 0 ; | |
3200 | char *kwnames[] = { | |
3201 | (char *) "self", NULL | |
3202 | }; | |
3203 | ||
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3207 | { |
3208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3209 | result = (int)(arg1)->GetCaretPeriod(); | |
3210 | ||
3211 | wxPyEndAllowThreads(__tstate); | |
3212 | if (PyErr_Occurred()) SWIG_fail; | |
3213 | } | |
c370783e | 3214 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3215 | return resultobj; |
3216 | fail: | |
3217 | return NULL; | |
3218 | } | |
3219 | ||
3220 | ||
c370783e | 3221 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3222 | PyObject *resultobj; |
3223 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3224 | int arg2 ; | |
3225 | PyObject * obj0 = 0 ; | |
994141e6 | 3226 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3227 | char *kwnames[] = { |
3228 | (char *) "self",(char *) "periodMilliseconds", NULL | |
3229 | }; | |
3230 | ||
994141e6 | 3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3234 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3235 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3236 | { |
3237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3238 | (arg1)->SetCaretPeriod(arg2); | |
3239 | ||
3240 | wxPyEndAllowThreads(__tstate); | |
3241 | if (PyErr_Occurred()) SWIG_fail; | |
3242 | } | |
3243 | Py_INCREF(Py_None); resultobj = Py_None; | |
3244 | return resultobj; | |
3245 | fail: | |
3246 | return NULL; | |
3247 | } | |
3248 | ||
3249 | ||
c370783e | 3250 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3251 | PyObject *resultobj; |
3252 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3253 | wxString *arg2 = 0 ; | |
b411df4a | 3254 | bool temp2 = false ; |
d14a1e28 RD |
3255 | PyObject * obj0 = 0 ; |
3256 | PyObject * obj1 = 0 ; | |
3257 | char *kwnames[] = { | |
3258 | (char *) "self",(char *) "characters", NULL | |
3259 | }; | |
3260 | ||
3261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3264 | { |
3265 | arg2 = wxString_in_helper(obj1); | |
3266 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 3267 | temp2 = true; |
d14a1e28 RD |
3268 | } |
3269 | { | |
3270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3271 | (arg1)->SetWordChars((wxString const &)*arg2); | |
3272 | ||
3273 | wxPyEndAllowThreads(__tstate); | |
3274 | if (PyErr_Occurred()) SWIG_fail; | |
3275 | } | |
3276 | Py_INCREF(Py_None); resultobj = Py_None; | |
3277 | { | |
3278 | if (temp2) | |
3279 | delete arg2; | |
3280 | } | |
3281 | return resultobj; | |
3282 | fail: | |
3283 | { | |
3284 | if (temp2) | |
3285 | delete arg2; | |
3286 | } | |
3287 | return NULL; | |
3288 | } | |
3289 | ||
3290 | ||
c370783e | 3291 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3292 | PyObject *resultobj; |
3293 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3294 | PyObject * obj0 = 0 ; | |
3295 | char *kwnames[] = { | |
3296 | (char *) "self", NULL | |
3297 | }; | |
3298 | ||
3299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3302 | { |
3303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3304 | (arg1)->BeginUndoAction(); | |
3305 | ||
3306 | wxPyEndAllowThreads(__tstate); | |
3307 | if (PyErr_Occurred()) SWIG_fail; | |
3308 | } | |
3309 | Py_INCREF(Py_None); resultobj = Py_None; | |
3310 | return resultobj; | |
3311 | fail: | |
3312 | return NULL; | |
3313 | } | |
3314 | ||
3315 | ||
c370783e | 3316 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3317 | PyObject *resultobj; |
3318 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3319 | PyObject * obj0 = 0 ; | |
3320 | char *kwnames[] = { | |
3321 | (char *) "self", NULL | |
3322 | }; | |
3323 | ||
3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3327 | { |
3328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3329 | (arg1)->EndUndoAction(); | |
3330 | ||
3331 | wxPyEndAllowThreads(__tstate); | |
3332 | if (PyErr_Occurred()) SWIG_fail; | |
3333 | } | |
3334 | Py_INCREF(Py_None); resultobj = Py_None; | |
3335 | return resultobj; | |
3336 | fail: | |
3337 | return NULL; | |
3338 | } | |
3339 | ||
3340 | ||
c370783e | 3341 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3342 | PyObject *resultobj; |
3343 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3344 | int arg2 ; | |
3345 | int arg3 ; | |
3346 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3347 | PyObject * obj1 = 0 ; |
3348 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3349 | char *kwnames[] = { |
3350 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
3351 | }; | |
3352 | ||
994141e6 | 3353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3356 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3357 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3358 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3359 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3360 | { |
3361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3362 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
3363 | ||
3364 | wxPyEndAllowThreads(__tstate); | |
3365 | if (PyErr_Occurred()) SWIG_fail; | |
3366 | } | |
3367 | Py_INCREF(Py_None); resultobj = Py_None; | |
3368 | return resultobj; | |
3369 | fail: | |
3370 | return NULL; | |
3371 | } | |
3372 | ||
3373 | ||
c370783e | 3374 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3375 | PyObject *resultobj; |
3376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3377 | int arg2 ; | |
3378 | int result; | |
3379 | PyObject * obj0 = 0 ; | |
994141e6 | 3380 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3381 | char *kwnames[] = { |
3382 | (char *) "self",(char *) "indic", NULL | |
3383 | }; | |
3384 | ||
994141e6 | 3385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3388 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3389 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3390 | { |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3392 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
3393 | ||
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
c370783e | 3397 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3398 | return resultobj; |
3399 | fail: | |
3400 | return NULL; | |
3401 | } | |
3402 | ||
3403 | ||
c370783e | 3404 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3405 | PyObject *resultobj; |
3406 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3407 | int arg2 ; | |
3408 | wxColour *arg3 = 0 ; | |
3409 | wxColour temp3 ; | |
3410 | PyObject * obj0 = 0 ; | |
994141e6 | 3411 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3412 | PyObject * obj2 = 0 ; |
3413 | char *kwnames[] = { | |
3414 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
3415 | }; | |
3416 | ||
994141e6 | 3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3420 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3421 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3422 | { |
3423 | arg3 = &temp3; | |
3424 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3425 | } | |
3426 | { | |
3427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3428 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
3429 | ||
3430 | wxPyEndAllowThreads(__tstate); | |
3431 | if (PyErr_Occurred()) SWIG_fail; | |
3432 | } | |
3433 | Py_INCREF(Py_None); resultobj = Py_None; | |
3434 | return resultobj; | |
3435 | fail: | |
3436 | return NULL; | |
3437 | } | |
3438 | ||
3439 | ||
c370783e | 3440 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3441 | PyObject *resultobj; |
3442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3443 | int arg2 ; | |
3444 | wxColour result; | |
3445 | PyObject * obj0 = 0 ; | |
994141e6 | 3446 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3447 | char *kwnames[] = { |
3448 | (char *) "self",(char *) "indic", NULL | |
3449 | }; | |
3450 | ||
994141e6 | 3451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3454 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3455 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3456 | { |
3457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3458 | result = (arg1)->IndicatorGetForeground(arg2); | |
3459 | ||
3460 | wxPyEndAllowThreads(__tstate); | |
3461 | if (PyErr_Occurred()) SWIG_fail; | |
3462 | } | |
3463 | { | |
3464 | wxColour * resultptr; | |
3465 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 3466 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3467 | } |
3468 | return resultobj; | |
3469 | fail: | |
3470 | return NULL; | |
3471 | } | |
3472 | ||
3473 | ||
c370783e | 3474 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3475 | PyObject *resultobj; |
3476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3477 | bool arg2 ; | |
3478 | wxColour *arg3 = 0 ; | |
3479 | wxColour temp3 ; | |
3480 | PyObject * obj0 = 0 ; | |
3481 | PyObject * obj1 = 0 ; | |
3482 | PyObject * obj2 = 0 ; | |
3483 | char *kwnames[] = { | |
3484 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
3485 | }; | |
3486 | ||
3487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3490 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3491 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3492 | { |
3493 | arg3 = &temp3; | |
3494 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3495 | } | |
3496 | { | |
3497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3498 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
3499 | ||
3500 | wxPyEndAllowThreads(__tstate); | |
3501 | if (PyErr_Occurred()) SWIG_fail; | |
3502 | } | |
3503 | Py_INCREF(Py_None); resultobj = Py_None; | |
3504 | return resultobj; | |
3505 | fail: | |
3506 | return NULL; | |
3507 | } | |
3508 | ||
3509 | ||
c370783e | 3510 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3511 | PyObject *resultobj; |
3512 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3513 | bool arg2 ; | |
3514 | wxColour *arg3 = 0 ; | |
3515 | wxColour temp3 ; | |
3516 | PyObject * obj0 = 0 ; | |
3517 | PyObject * obj1 = 0 ; | |
3518 | PyObject * obj2 = 0 ; | |
3519 | char *kwnames[] = { | |
3520 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
3521 | }; | |
3522 | ||
3523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3526 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3527 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3528 | { |
3529 | arg3 = &temp3; | |
3530 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3531 | } | |
3532 | { | |
3533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3534 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
3535 | ||
3536 | wxPyEndAllowThreads(__tstate); | |
3537 | if (PyErr_Occurred()) SWIG_fail; | |
3538 | } | |
3539 | Py_INCREF(Py_None); resultobj = Py_None; | |
3540 | return resultobj; | |
3541 | fail: | |
3542 | return NULL; | |
3543 | } | |
3544 | ||
3545 | ||
c370783e | 3546 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3547 | PyObject *resultobj; |
3548 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3549 | int arg2 ; | |
3550 | PyObject * obj0 = 0 ; | |
994141e6 | 3551 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3552 | char *kwnames[] = { |
3553 | (char *) "self",(char *) "bits", NULL | |
3554 | }; | |
3555 | ||
994141e6 | 3556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3559 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3560 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3561 | { |
3562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3563 | (arg1)->SetStyleBits(arg2); | |
3564 | ||
3565 | wxPyEndAllowThreads(__tstate); | |
3566 | if (PyErr_Occurred()) SWIG_fail; | |
3567 | } | |
3568 | Py_INCREF(Py_None); resultobj = Py_None; | |
3569 | return resultobj; | |
3570 | fail: | |
3571 | return NULL; | |
3572 | } | |
3573 | ||
3574 | ||
c370783e | 3575 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3576 | PyObject *resultobj; |
3577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3578 | int result; | |
3579 | PyObject * obj0 = 0 ; | |
3580 | char *kwnames[] = { | |
3581 | (char *) "self", NULL | |
3582 | }; | |
3583 | ||
3584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3587 | { |
3588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3589 | result = (int)(arg1)->GetStyleBits(); | |
3590 | ||
3591 | wxPyEndAllowThreads(__tstate); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
c370783e | 3594 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3595 | return resultobj; |
3596 | fail: | |
3597 | return NULL; | |
3598 | } | |
3599 | ||
3600 | ||
c370783e | 3601 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3602 | PyObject *resultobj; |
3603 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3604 | int arg2 ; | |
3605 | int arg3 ; | |
3606 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3607 | PyObject * obj1 = 0 ; |
3608 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3609 | char *kwnames[] = { |
3610 | (char *) "self",(char *) "line",(char *) "state", NULL | |
3611 | }; | |
3612 | ||
994141e6 | 3613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3616 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3617 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3618 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3619 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3620 | { |
3621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3622 | (arg1)->SetLineState(arg2,arg3); | |
3623 | ||
3624 | wxPyEndAllowThreads(__tstate); | |
3625 | if (PyErr_Occurred()) SWIG_fail; | |
3626 | } | |
3627 | Py_INCREF(Py_None); resultobj = Py_None; | |
3628 | return resultobj; | |
3629 | fail: | |
3630 | return NULL; | |
3631 | } | |
3632 | ||
3633 | ||
c370783e | 3634 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3635 | PyObject *resultobj; |
3636 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3637 | int arg2 ; | |
3638 | int result; | |
3639 | PyObject * obj0 = 0 ; | |
994141e6 | 3640 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3641 | char *kwnames[] = { |
3642 | (char *) "self",(char *) "line", NULL | |
3643 | }; | |
3644 | ||
994141e6 | 3645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3648 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3649 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3650 | { |
3651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3652 | result = (int)(arg1)->GetLineState(arg2); | |
3653 | ||
3654 | wxPyEndAllowThreads(__tstate); | |
3655 | if (PyErr_Occurred()) SWIG_fail; | |
3656 | } | |
c370783e | 3657 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3658 | return resultobj; |
3659 | fail: | |
3660 | return NULL; | |
3661 | } | |
3662 | ||
3663 | ||
c370783e | 3664 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3665 | PyObject *resultobj; |
3666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3667 | int result; | |
3668 | PyObject * obj0 = 0 ; | |
3669 | char *kwnames[] = { | |
3670 | (char *) "self", NULL | |
3671 | }; | |
3672 | ||
3673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3676 | { |
3677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3678 | result = (int)(arg1)->GetMaxLineState(); | |
3679 | ||
3680 | wxPyEndAllowThreads(__tstate); | |
3681 | if (PyErr_Occurred()) SWIG_fail; | |
3682 | } | |
c370783e | 3683 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3684 | return resultobj; |
3685 | fail: | |
3686 | return NULL; | |
3687 | } | |
3688 | ||
3689 | ||
c370783e | 3690 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3691 | PyObject *resultobj; |
3692 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3693 | bool result; | |
3694 | PyObject * obj0 = 0 ; | |
3695 | char *kwnames[] = { | |
3696 | (char *) "self", NULL | |
3697 | }; | |
3698 | ||
3699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3702 | { |
3703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3704 | result = (bool)(arg1)->GetCaretLineVisible(); | |
3705 | ||
3706 | wxPyEndAllowThreads(__tstate); | |
3707 | if (PyErr_Occurred()) SWIG_fail; | |
3708 | } | |
4f89f6a3 RD |
3709 | { |
3710 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3711 | } | |
d14a1e28 RD |
3712 | return resultobj; |
3713 | fail: | |
3714 | return NULL; | |
3715 | } | |
3716 | ||
3717 | ||
c370783e | 3718 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3719 | PyObject *resultobj; |
3720 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3721 | bool arg2 ; | |
3722 | PyObject * obj0 = 0 ; | |
3723 | PyObject * obj1 = 0 ; | |
3724 | char *kwnames[] = { | |
3725 | (char *) "self",(char *) "show", NULL | |
3726 | }; | |
3727 | ||
3728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3731 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3732 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3733 | { |
3734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3735 | (arg1)->SetCaretLineVisible(arg2); | |
3736 | ||
3737 | wxPyEndAllowThreads(__tstate); | |
3738 | if (PyErr_Occurred()) SWIG_fail; | |
3739 | } | |
3740 | Py_INCREF(Py_None); resultobj = Py_None; | |
3741 | return resultobj; | |
3742 | fail: | |
3743 | return NULL; | |
3744 | } | |
3745 | ||
3746 | ||
c370783e | 3747 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3748 | PyObject *resultobj; |
3749 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3750 | wxColour result; | |
3751 | PyObject * obj0 = 0 ; | |
3752 | char *kwnames[] = { | |
3753 | (char *) "self", NULL | |
3754 | }; | |
3755 | ||
3756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3759 | { |
3760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3761 | result = (arg1)->GetCaretLineBack(); | |
3762 | ||
3763 | wxPyEndAllowThreads(__tstate); | |
3764 | if (PyErr_Occurred()) SWIG_fail; | |
3765 | } | |
3766 | { | |
3767 | wxColour * resultptr; | |
3768 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 3769 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3770 | } |
3771 | return resultobj; | |
3772 | fail: | |
3773 | return NULL; | |
3774 | } | |
3775 | ||
3776 | ||
c370783e | 3777 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3778 | PyObject *resultobj; |
3779 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3780 | wxColour *arg2 = 0 ; | |
3781 | wxColour temp2 ; | |
3782 | PyObject * obj0 = 0 ; | |
3783 | PyObject * obj1 = 0 ; | |
3784 | char *kwnames[] = { | |
3785 | (char *) "self",(char *) "back", NULL | |
3786 | }; | |
3787 | ||
3788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3791 | { |
3792 | arg2 = &temp2; | |
3793 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3794 | } | |
3795 | { | |
3796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3797 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
3798 | ||
3799 | wxPyEndAllowThreads(__tstate); | |
3800 | if (PyErr_Occurred()) SWIG_fail; | |
3801 | } | |
3802 | Py_INCREF(Py_None); resultobj = Py_None; | |
3803 | return resultobj; | |
3804 | fail: | |
3805 | return NULL; | |
3806 | } | |
3807 | ||
3808 | ||
c370783e | 3809 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3810 | PyObject *resultobj; |
3811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3812 | int arg2 ; | |
3813 | bool arg3 ; | |
3814 | PyObject * obj0 = 0 ; | |
994141e6 | 3815 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3816 | PyObject * obj2 = 0 ; |
3817 | char *kwnames[] = { | |
3818 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
3819 | }; | |
3820 | ||
994141e6 | 3821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3824 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3825 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3826 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 3827 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3828 | { |
3829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3830 | (arg1)->StyleSetChangeable(arg2,arg3); | |
3831 | ||
3832 | wxPyEndAllowThreads(__tstate); | |
3833 | if (PyErr_Occurred()) SWIG_fail; | |
3834 | } | |
3835 | Py_INCREF(Py_None); resultobj = Py_None; | |
3836 | return resultobj; | |
3837 | fail: | |
3838 | return NULL; | |
3839 | } | |
3840 | ||
3841 | ||
c370783e | 3842 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3843 | PyObject *resultobj; |
3844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3845 | int arg2 ; | |
3846 | wxString *arg3 = 0 ; | |
b411df4a | 3847 | bool temp3 = false ; |
d14a1e28 | 3848 | PyObject * obj0 = 0 ; |
994141e6 | 3849 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3850 | PyObject * obj2 = 0 ; |
3851 | char *kwnames[] = { | |
3852 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
3853 | }; | |
3854 | ||
994141e6 | 3855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3858 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3859 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3860 | { |
3861 | arg3 = wxString_in_helper(obj2); | |
3862 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 3863 | temp3 = true; |
d14a1e28 RD |
3864 | } |
3865 | { | |
3866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3867 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
3868 | ||
3869 | wxPyEndAllowThreads(__tstate); | |
3870 | if (PyErr_Occurred()) SWIG_fail; | |
3871 | } | |
3872 | Py_INCREF(Py_None); resultobj = Py_None; | |
3873 | { | |
3874 | if (temp3) | |
3875 | delete arg3; | |
3876 | } | |
3877 | return resultobj; | |
3878 | fail: | |
3879 | { | |
3880 | if (temp3) | |
3881 | delete arg3; | |
3882 | } | |
3883 | return NULL; | |
3884 | } | |
3885 | ||
3886 | ||
c370783e | 3887 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3888 | PyObject *resultobj; |
3889 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3890 | PyObject * obj0 = 0 ; | |
3891 | char *kwnames[] = { | |
3892 | (char *) "self", NULL | |
3893 | }; | |
3894 | ||
3895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3898 | { |
3899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3900 | (arg1)->AutoCompCancel(); | |
3901 | ||
3902 | wxPyEndAllowThreads(__tstate); | |
3903 | if (PyErr_Occurred()) SWIG_fail; | |
3904 | } | |
3905 | Py_INCREF(Py_None); resultobj = Py_None; | |
3906 | return resultobj; | |
3907 | fail: | |
3908 | return NULL; | |
3909 | } | |
3910 | ||
3911 | ||
c370783e | 3912 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3913 | PyObject *resultobj; |
3914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3915 | bool result; | |
3916 | PyObject * obj0 = 0 ; | |
3917 | char *kwnames[] = { | |
3918 | (char *) "self", NULL | |
3919 | }; | |
3920 | ||
3921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3924 | { |
3925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3926 | result = (bool)(arg1)->AutoCompActive(); | |
3927 | ||
3928 | wxPyEndAllowThreads(__tstate); | |
3929 | if (PyErr_Occurred()) SWIG_fail; | |
3930 | } | |
4f89f6a3 RD |
3931 | { |
3932 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3933 | } | |
d14a1e28 RD |
3934 | return resultobj; |
3935 | fail: | |
3936 | return NULL; | |
3937 | } | |
3938 | ||
3939 | ||
c370783e | 3940 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3941 | PyObject *resultobj; |
3942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3943 | int result; | |
3944 | PyObject * obj0 = 0 ; | |
3945 | char *kwnames[] = { | |
3946 | (char *) "self", NULL | |
3947 | }; | |
3948 | ||
3949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3952 | { |
3953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3954 | result = (int)(arg1)->AutoCompPosStart(); | |
3955 | ||
3956 | wxPyEndAllowThreads(__tstate); | |
3957 | if (PyErr_Occurred()) SWIG_fail; | |
3958 | } | |
c370783e | 3959 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3960 | return resultobj; |
3961 | fail: | |
3962 | return NULL; | |
3963 | } | |
3964 | ||
3965 | ||
c370783e | 3966 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3967 | PyObject *resultobj; |
3968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3969 | PyObject * obj0 = 0 ; | |
3970 | char *kwnames[] = { | |
3971 | (char *) "self", NULL | |
3972 | }; | |
3973 | ||
3974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3977 | { |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3979 | (arg1)->AutoCompComplete(); | |
3980 | ||
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
3984 | Py_INCREF(Py_None); resultobj = Py_None; | |
3985 | return resultobj; | |
3986 | fail: | |
3987 | return NULL; | |
3988 | } | |
3989 | ||
3990 | ||
c370783e | 3991 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3992 | PyObject *resultobj; |
3993 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3994 | wxString *arg2 = 0 ; | |
b411df4a | 3995 | bool temp2 = false ; |
d14a1e28 RD |
3996 | PyObject * obj0 = 0 ; |
3997 | PyObject * obj1 = 0 ; | |
3998 | char *kwnames[] = { | |
3999 | (char *) "self",(char *) "characterSet", NULL | |
4000 | }; | |
4001 | ||
4002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4005 | { |
4006 | arg2 = wxString_in_helper(obj1); | |
4007 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4008 | temp2 = true; |
d14a1e28 RD |
4009 | } |
4010 | { | |
4011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4012 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
4013 | ||
4014 | wxPyEndAllowThreads(__tstate); | |
4015 | if (PyErr_Occurred()) SWIG_fail; | |
4016 | } | |
4017 | Py_INCREF(Py_None); resultobj = Py_None; | |
4018 | { | |
4019 | if (temp2) | |
4020 | delete arg2; | |
4021 | } | |
4022 | return resultobj; | |
4023 | fail: | |
4024 | { | |
4025 | if (temp2) | |
4026 | delete arg2; | |
4027 | } | |
4028 | return NULL; | |
4029 | } | |
4030 | ||
4031 | ||
c370783e | 4032 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4033 | PyObject *resultobj; |
4034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4035 | int arg2 ; | |
4036 | PyObject * obj0 = 0 ; | |
994141e6 | 4037 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4038 | char *kwnames[] = { |
4039 | (char *) "self",(char *) "separatorCharacter", NULL | |
4040 | }; | |
4041 | ||
994141e6 | 4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4045 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4046 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4047 | { |
4048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4049 | (arg1)->AutoCompSetSeparator(arg2); | |
4050 | ||
4051 | wxPyEndAllowThreads(__tstate); | |
4052 | if (PyErr_Occurred()) SWIG_fail; | |
4053 | } | |
4054 | Py_INCREF(Py_None); resultobj = Py_None; | |
4055 | return resultobj; | |
4056 | fail: | |
4057 | return NULL; | |
4058 | } | |
4059 | ||
4060 | ||
c370783e | 4061 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4062 | PyObject *resultobj; |
4063 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4064 | int result; | |
4065 | PyObject * obj0 = 0 ; | |
4066 | char *kwnames[] = { | |
4067 | (char *) "self", NULL | |
4068 | }; | |
4069 | ||
4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4073 | { |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4075 | result = (int)(arg1)->AutoCompGetSeparator(); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
4078 | if (PyErr_Occurred()) SWIG_fail; | |
4079 | } | |
c370783e | 4080 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4081 | return resultobj; |
4082 | fail: | |
4083 | return NULL; | |
4084 | } | |
4085 | ||
4086 | ||
c370783e | 4087 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4088 | PyObject *resultobj; |
4089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4090 | wxString *arg2 = 0 ; | |
b411df4a | 4091 | bool temp2 = false ; |
d14a1e28 RD |
4092 | PyObject * obj0 = 0 ; |
4093 | PyObject * obj1 = 0 ; | |
4094 | char *kwnames[] = { | |
4095 | (char *) "self",(char *) "text", NULL | |
4096 | }; | |
4097 | ||
4098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4101 | { |
4102 | arg2 = wxString_in_helper(obj1); | |
4103 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4104 | temp2 = true; |
d14a1e28 RD |
4105 | } |
4106 | { | |
4107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4108 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
4109 | ||
4110 | wxPyEndAllowThreads(__tstate); | |
4111 | if (PyErr_Occurred()) SWIG_fail; | |
4112 | } | |
4113 | Py_INCREF(Py_None); resultobj = Py_None; | |
4114 | { | |
4115 | if (temp2) | |
4116 | delete arg2; | |
4117 | } | |
4118 | return resultobj; | |
4119 | fail: | |
4120 | { | |
4121 | if (temp2) | |
4122 | delete arg2; | |
4123 | } | |
4124 | return NULL; | |
4125 | } | |
4126 | ||
4127 | ||
c370783e | 4128 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4129 | PyObject *resultobj; |
4130 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4131 | bool arg2 ; | |
4132 | PyObject * obj0 = 0 ; | |
4133 | PyObject * obj1 = 0 ; | |
4134 | char *kwnames[] = { | |
4135 | (char *) "self",(char *) "cancel", NULL | |
4136 | }; | |
4137 | ||
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4141 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4142 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4143 | { |
4144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4145 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
4146 | ||
4147 | wxPyEndAllowThreads(__tstate); | |
4148 | if (PyErr_Occurred()) SWIG_fail; | |
4149 | } | |
4150 | Py_INCREF(Py_None); resultobj = Py_None; | |
4151 | return resultobj; | |
4152 | fail: | |
4153 | return NULL; | |
4154 | } | |
4155 | ||
4156 | ||
c370783e | 4157 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4158 | PyObject *resultobj; |
4159 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4160 | bool result; | |
4161 | PyObject * obj0 = 0 ; | |
4162 | char *kwnames[] = { | |
4163 | (char *) "self", NULL | |
4164 | }; | |
4165 | ||
4166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4169 | { |
4170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4171 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
4172 | ||
4173 | wxPyEndAllowThreads(__tstate); | |
4174 | if (PyErr_Occurred()) SWIG_fail; | |
4175 | } | |
4f89f6a3 RD |
4176 | { |
4177 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4178 | } | |
d14a1e28 RD |
4179 | return resultobj; |
4180 | fail: | |
4181 | return NULL; | |
4182 | } | |
4183 | ||
4184 | ||
c370783e | 4185 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4186 | PyObject *resultobj; |
4187 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4188 | wxString *arg2 = 0 ; | |
b411df4a | 4189 | bool temp2 = false ; |
d14a1e28 RD |
4190 | PyObject * obj0 = 0 ; |
4191 | PyObject * obj1 = 0 ; | |
4192 | char *kwnames[] = { | |
4193 | (char *) "self",(char *) "characterSet", NULL | |
4194 | }; | |
4195 | ||
4196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4199 | { |
4200 | arg2 = wxString_in_helper(obj1); | |
4201 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4202 | temp2 = true; |
d14a1e28 RD |
4203 | } |
4204 | { | |
4205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4206 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
4207 | ||
4208 | wxPyEndAllowThreads(__tstate); | |
4209 | if (PyErr_Occurred()) SWIG_fail; | |
4210 | } | |
4211 | Py_INCREF(Py_None); resultobj = Py_None; | |
4212 | { | |
4213 | if (temp2) | |
4214 | delete arg2; | |
4215 | } | |
4216 | return resultobj; | |
4217 | fail: | |
4218 | { | |
4219 | if (temp2) | |
4220 | delete arg2; | |
4221 | } | |
4222 | return NULL; | |
4223 | } | |
4224 | ||
4225 | ||
c370783e | 4226 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4227 | PyObject *resultobj; |
4228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4229 | bool arg2 ; | |
4230 | PyObject * obj0 = 0 ; | |
4231 | PyObject * obj1 = 0 ; | |
4232 | char *kwnames[] = { | |
4233 | (char *) "self",(char *) "chooseSingle", NULL | |
4234 | }; | |
4235 | ||
4236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4239 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4240 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4241 | { |
4242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4243 | (arg1)->AutoCompSetChooseSingle(arg2); | |
4244 | ||
4245 | wxPyEndAllowThreads(__tstate); | |
4246 | if (PyErr_Occurred()) SWIG_fail; | |
4247 | } | |
4248 | Py_INCREF(Py_None); resultobj = Py_None; | |
4249 | return resultobj; | |
4250 | fail: | |
4251 | return NULL; | |
4252 | } | |
4253 | ||
4254 | ||
c370783e | 4255 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4256 | PyObject *resultobj; |
4257 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4258 | bool result; | |
4259 | PyObject * obj0 = 0 ; | |
4260 | char *kwnames[] = { | |
4261 | (char *) "self", NULL | |
4262 | }; | |
4263 | ||
4264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4267 | { |
4268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4269 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
4270 | ||
4271 | wxPyEndAllowThreads(__tstate); | |
4272 | if (PyErr_Occurred()) SWIG_fail; | |
4273 | } | |
4f89f6a3 RD |
4274 | { |
4275 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4276 | } | |
d14a1e28 RD |
4277 | return resultobj; |
4278 | fail: | |
4279 | return NULL; | |
4280 | } | |
4281 | ||
4282 | ||
c370783e | 4283 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4284 | PyObject *resultobj; |
4285 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4286 | bool arg2 ; | |
4287 | PyObject * obj0 = 0 ; | |
4288 | PyObject * obj1 = 0 ; | |
4289 | char *kwnames[] = { | |
4290 | (char *) "self",(char *) "ignoreCase", NULL | |
4291 | }; | |
4292 | ||
4293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4296 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4297 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4298 | { |
4299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4300 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
4301 | ||
4302 | wxPyEndAllowThreads(__tstate); | |
4303 | if (PyErr_Occurred()) SWIG_fail; | |
4304 | } | |
4305 | Py_INCREF(Py_None); resultobj = Py_None; | |
4306 | return resultobj; | |
4307 | fail: | |
4308 | return NULL; | |
4309 | } | |
4310 | ||
4311 | ||
c370783e | 4312 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4313 | PyObject *resultobj; |
4314 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4315 | bool result; | |
4316 | PyObject * obj0 = 0 ; | |
4317 | char *kwnames[] = { | |
4318 | (char *) "self", NULL | |
4319 | }; | |
4320 | ||
4321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4324 | { |
4325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4326 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
4327 | ||
4328 | wxPyEndAllowThreads(__tstate); | |
4329 | if (PyErr_Occurred()) SWIG_fail; | |
4330 | } | |
4f89f6a3 RD |
4331 | { |
4332 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4333 | } | |
d14a1e28 RD |
4334 | return resultobj; |
4335 | fail: | |
4336 | return NULL; | |
4337 | } | |
4338 | ||
4339 | ||
c370783e | 4340 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4341 | PyObject *resultobj; |
4342 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4343 | int arg2 ; | |
4344 | wxString *arg3 = 0 ; | |
b411df4a | 4345 | bool temp3 = false ; |
d14a1e28 | 4346 | PyObject * obj0 = 0 ; |
994141e6 | 4347 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4348 | PyObject * obj2 = 0 ; |
4349 | char *kwnames[] = { | |
4350 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
4351 | }; | |
4352 | ||
994141e6 | 4353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4356 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4357 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4358 | { |
4359 | arg3 = wxString_in_helper(obj2); | |
4360 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4361 | temp3 = true; |
d14a1e28 RD |
4362 | } |
4363 | { | |
4364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4365 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
4366 | ||
4367 | wxPyEndAllowThreads(__tstate); | |
4368 | if (PyErr_Occurred()) SWIG_fail; | |
4369 | } | |
4370 | Py_INCREF(Py_None); resultobj = Py_None; | |
4371 | { | |
4372 | if (temp3) | |
4373 | delete arg3; | |
4374 | } | |
4375 | return resultobj; | |
4376 | fail: | |
4377 | { | |
4378 | if (temp3) | |
4379 | delete arg3; | |
4380 | } | |
4381 | return NULL; | |
4382 | } | |
4383 | ||
4384 | ||
c370783e | 4385 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4386 | PyObject *resultobj; |
4387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4388 | bool arg2 ; | |
4389 | PyObject * obj0 = 0 ; | |
4390 | PyObject * obj1 = 0 ; | |
4391 | char *kwnames[] = { | |
4392 | (char *) "self",(char *) "autoHide", NULL | |
4393 | }; | |
4394 | ||
4395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4398 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4399 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4400 | { |
4401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4402 | (arg1)->AutoCompSetAutoHide(arg2); | |
4403 | ||
4404 | wxPyEndAllowThreads(__tstate); | |
4405 | if (PyErr_Occurred()) SWIG_fail; | |
4406 | } | |
4407 | Py_INCREF(Py_None); resultobj = Py_None; | |
4408 | return resultobj; | |
4409 | fail: | |
4410 | return NULL; | |
4411 | } | |
4412 | ||
4413 | ||
c370783e | 4414 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4415 | PyObject *resultobj; |
4416 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4417 | bool result; | |
4418 | PyObject * obj0 = 0 ; | |
4419 | char *kwnames[] = { | |
4420 | (char *) "self", NULL | |
4421 | }; | |
4422 | ||
4423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4426 | { |
4427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4428 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
4429 | ||
4430 | wxPyEndAllowThreads(__tstate); | |
4431 | if (PyErr_Occurred()) SWIG_fail; | |
4432 | } | |
4f89f6a3 RD |
4433 | { |
4434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4435 | } | |
d14a1e28 RD |
4436 | return resultobj; |
4437 | fail: | |
4438 | return NULL; | |
4439 | } | |
4440 | ||
4441 | ||
c370783e | 4442 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4443 | PyObject *resultobj; |
4444 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4445 | bool arg2 ; | |
4446 | PyObject * obj0 = 0 ; | |
4447 | PyObject * obj1 = 0 ; | |
4448 | char *kwnames[] = { | |
4449 | (char *) "self",(char *) "dropRestOfWord", NULL | |
4450 | }; | |
4451 | ||
4452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4455 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4456 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4457 | { |
4458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4459 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
4460 | ||
4461 | wxPyEndAllowThreads(__tstate); | |
4462 | if (PyErr_Occurred()) SWIG_fail; | |
4463 | } | |
4464 | Py_INCREF(Py_None); resultobj = Py_None; | |
4465 | return resultobj; | |
4466 | fail: | |
4467 | return NULL; | |
4468 | } | |
4469 | ||
4470 | ||
c370783e | 4471 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4472 | PyObject *resultobj; |
4473 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4474 | bool result; | |
4475 | PyObject * obj0 = 0 ; | |
4476 | char *kwnames[] = { | |
4477 | (char *) "self", NULL | |
4478 | }; | |
4479 | ||
4480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4483 | { |
4484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4485 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
4486 | ||
4487 | wxPyEndAllowThreads(__tstate); | |
4488 | if (PyErr_Occurred()) SWIG_fail; | |
4489 | } | |
4f89f6a3 RD |
4490 | { |
4491 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4492 | } | |
d14a1e28 RD |
4493 | return resultobj; |
4494 | fail: | |
4495 | return NULL; | |
4496 | } | |
4497 | ||
4498 | ||
c370783e | 4499 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4500 | PyObject *resultobj; |
4501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4502 | int arg2 ; | |
4503 | wxBitmap *arg3 = 0 ; | |
4504 | PyObject * obj0 = 0 ; | |
994141e6 | 4505 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4506 | PyObject * obj2 = 0 ; |
4507 | char *kwnames[] = { | |
4508 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
4509 | }; | |
4510 | ||
994141e6 | 4511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4514 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 RD |
4515 | if (PyErr_Occurred()) SWIG_fail; |
4516 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
4517 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4518 | SWIG_fail; | |
d14a1e28 | 4519 | if (arg3 == NULL) { |
15afbcd0 RD |
4520 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4521 | SWIG_fail; | |
d14a1e28 RD |
4522 | } |
4523 | { | |
4524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4525 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
4526 | ||
4527 | wxPyEndAllowThreads(__tstate); | |
4528 | if (PyErr_Occurred()) SWIG_fail; | |
4529 | } | |
4530 | Py_INCREF(Py_None); resultobj = Py_None; | |
4531 | return resultobj; | |
4532 | fail: | |
4533 | return NULL; | |
4534 | } | |
4535 | ||
4536 | ||
c370783e | 4537 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4538 | PyObject *resultobj; |
4539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4540 | PyObject * obj0 = 0 ; | |
4541 | char *kwnames[] = { | |
4542 | (char *) "self", NULL | |
4543 | }; | |
4544 | ||
4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4548 | { |
4549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4550 | (arg1)->ClearRegisteredImages(); | |
4551 | ||
4552 | wxPyEndAllowThreads(__tstate); | |
4553 | if (PyErr_Occurred()) SWIG_fail; | |
4554 | } | |
4555 | Py_INCREF(Py_None); resultobj = Py_None; | |
4556 | return resultobj; | |
4557 | fail: | |
4558 | return NULL; | |
4559 | } | |
4560 | ||
4561 | ||
c370783e | 4562 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4563 | PyObject *resultobj; |
4564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4565 | int result; | |
4566 | PyObject * obj0 = 0 ; | |
4567 | char *kwnames[] = { | |
4568 | (char *) "self", NULL | |
4569 | }; | |
4570 | ||
4571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4574 | { |
4575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4576 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
4577 | ||
4578 | wxPyEndAllowThreads(__tstate); | |
4579 | if (PyErr_Occurred()) SWIG_fail; | |
4580 | } | |
c370783e | 4581 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4582 | return resultobj; |
4583 | fail: | |
4584 | return NULL; | |
4585 | } | |
4586 | ||
4587 | ||
c370783e | 4588 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4589 | PyObject *resultobj; |
4590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4591 | int arg2 ; | |
4592 | PyObject * obj0 = 0 ; | |
994141e6 | 4593 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4594 | char *kwnames[] = { |
4595 | (char *) "self",(char *) "separatorCharacter", NULL | |
4596 | }; | |
4597 | ||
994141e6 | 4598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4601 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4602 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4603 | { |
4604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4605 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
4606 | ||
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
4610 | Py_INCREF(Py_None); resultobj = Py_None; | |
4611 | return resultobj; | |
4612 | fail: | |
4613 | return NULL; | |
4614 | } | |
4615 | ||
4616 | ||
c370783e | 4617 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4618 | PyObject *resultobj; |
4619 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4620 | int arg2 ; | |
4621 | PyObject * obj0 = 0 ; | |
994141e6 | 4622 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4623 | char *kwnames[] = { |
4624 | (char *) "self",(char *) "indentSize", NULL | |
4625 | }; | |
4626 | ||
994141e6 | 4627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4630 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4632 | { |
4633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4634 | (arg1)->SetIndent(arg2); | |
4635 | ||
4636 | wxPyEndAllowThreads(__tstate); | |
4637 | if (PyErr_Occurred()) SWIG_fail; | |
4638 | } | |
4639 | Py_INCREF(Py_None); resultobj = Py_None; | |
4640 | return resultobj; | |
4641 | fail: | |
4642 | return NULL; | |
4643 | } | |
4644 | ||
4645 | ||
c370783e | 4646 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4647 | PyObject *resultobj; |
4648 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4649 | int result; | |
4650 | PyObject * obj0 = 0 ; | |
4651 | char *kwnames[] = { | |
4652 | (char *) "self", NULL | |
4653 | }; | |
4654 | ||
4655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4658 | { |
4659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4660 | result = (int)(arg1)->GetIndent(); | |
4661 | ||
4662 | wxPyEndAllowThreads(__tstate); | |
4663 | if (PyErr_Occurred()) SWIG_fail; | |
4664 | } | |
c370783e | 4665 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4666 | return resultobj; |
4667 | fail: | |
4668 | return NULL; | |
4669 | } | |
4670 | ||
4671 | ||
c370783e | 4672 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4673 | PyObject *resultobj; |
4674 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4675 | bool arg2 ; | |
4676 | PyObject * obj0 = 0 ; | |
4677 | PyObject * obj1 = 0 ; | |
4678 | char *kwnames[] = { | |
4679 | (char *) "self",(char *) "useTabs", NULL | |
4680 | }; | |
4681 | ||
4682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4685 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4686 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4687 | { |
4688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4689 | (arg1)->SetUseTabs(arg2); | |
4690 | ||
4691 | wxPyEndAllowThreads(__tstate); | |
4692 | if (PyErr_Occurred()) SWIG_fail; | |
4693 | } | |
4694 | Py_INCREF(Py_None); resultobj = Py_None; | |
4695 | return resultobj; | |
4696 | fail: | |
4697 | return NULL; | |
4698 | } | |
4699 | ||
4700 | ||
c370783e | 4701 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4702 | PyObject *resultobj; |
4703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4704 | bool result; | |
4705 | PyObject * obj0 = 0 ; | |
4706 | char *kwnames[] = { | |
4707 | (char *) "self", NULL | |
4708 | }; | |
4709 | ||
4710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4713 | { |
4714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4715 | result = (bool)(arg1)->GetUseTabs(); | |
4716 | ||
4717 | wxPyEndAllowThreads(__tstate); | |
4718 | if (PyErr_Occurred()) SWIG_fail; | |
4719 | } | |
4f89f6a3 RD |
4720 | { |
4721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4722 | } | |
d14a1e28 RD |
4723 | return resultobj; |
4724 | fail: | |
4725 | return NULL; | |
4726 | } | |
4727 | ||
4728 | ||
c370783e | 4729 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4730 | PyObject *resultobj; |
4731 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4732 | int arg2 ; | |
4733 | int arg3 ; | |
4734 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4735 | PyObject * obj1 = 0 ; |
4736 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4737 | char *kwnames[] = { |
4738 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
4739 | }; | |
4740 | ||
994141e6 | 4741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4744 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4745 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4746 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 4747 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4748 | { |
4749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4750 | (arg1)->SetLineIndentation(arg2,arg3); | |
4751 | ||
4752 | wxPyEndAllowThreads(__tstate); | |
4753 | if (PyErr_Occurred()) SWIG_fail; | |
4754 | } | |
4755 | Py_INCREF(Py_None); resultobj = Py_None; | |
4756 | return resultobj; | |
4757 | fail: | |
4758 | return NULL; | |
4759 | } | |
4760 | ||
4761 | ||
c370783e | 4762 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4763 | PyObject *resultobj; |
4764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4765 | int arg2 ; | |
4766 | int result; | |
4767 | PyObject * obj0 = 0 ; | |
994141e6 | 4768 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4769 | char *kwnames[] = { |
4770 | (char *) "self",(char *) "line", NULL | |
4771 | }; | |
4772 | ||
994141e6 | 4773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4776 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4777 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4778 | { |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | result = (int)(arg1)->GetLineIndentation(arg2); | |
4781 | ||
4782 | wxPyEndAllowThreads(__tstate); | |
4783 | if (PyErr_Occurred()) SWIG_fail; | |
4784 | } | |
c370783e | 4785 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4786 | return resultobj; |
4787 | fail: | |
4788 | return NULL; | |
4789 | } | |
4790 | ||
4791 | ||
c370783e | 4792 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4793 | PyObject *resultobj; |
4794 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4795 | int arg2 ; | |
4796 | int result; | |
4797 | PyObject * obj0 = 0 ; | |
994141e6 | 4798 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4799 | char *kwnames[] = { |
4800 | (char *) "self",(char *) "line", NULL | |
4801 | }; | |
4802 | ||
994141e6 | 4803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4806 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4807 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4808 | { |
4809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4810 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
4811 | ||
4812 | wxPyEndAllowThreads(__tstate); | |
4813 | if (PyErr_Occurred()) SWIG_fail; | |
4814 | } | |
c370783e | 4815 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4816 | return resultobj; |
4817 | fail: | |
4818 | return NULL; | |
4819 | } | |
4820 | ||
4821 | ||
c370783e | 4822 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4823 | PyObject *resultobj; |
4824 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4825 | int arg2 ; | |
4826 | int result; | |
4827 | PyObject * obj0 = 0 ; | |
994141e6 | 4828 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4829 | char *kwnames[] = { |
4830 | (char *) "self",(char *) "pos", NULL | |
4831 | }; | |
4832 | ||
994141e6 | 4833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4836 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4837 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4838 | { |
4839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4840 | result = (int)(arg1)->GetColumn(arg2); | |
4841 | ||
4842 | wxPyEndAllowThreads(__tstate); | |
4843 | if (PyErr_Occurred()) SWIG_fail; | |
4844 | } | |
c370783e | 4845 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4846 | return resultobj; |
4847 | fail: | |
4848 | return NULL; | |
4849 | } | |
4850 | ||
4851 | ||
c370783e | 4852 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4853 | PyObject *resultobj; |
4854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4855 | bool arg2 ; | |
4856 | PyObject * obj0 = 0 ; | |
4857 | PyObject * obj1 = 0 ; | |
4858 | char *kwnames[] = { | |
4859 | (char *) "self",(char *) "show", NULL | |
4860 | }; | |
4861 | ||
4862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4865 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4866 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4867 | { |
4868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4869 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
4870 | ||
4871 | wxPyEndAllowThreads(__tstate); | |
4872 | if (PyErr_Occurred()) SWIG_fail; | |
4873 | } | |
4874 | Py_INCREF(Py_None); resultobj = Py_None; | |
4875 | return resultobj; | |
4876 | fail: | |
4877 | return NULL; | |
4878 | } | |
4879 | ||
4880 | ||
c370783e | 4881 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4882 | PyObject *resultobj; |
4883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4884 | bool result; | |
4885 | PyObject * obj0 = 0 ; | |
4886 | char *kwnames[] = { | |
4887 | (char *) "self", NULL | |
4888 | }; | |
4889 | ||
4890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4893 | { |
4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4895 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
4896 | ||
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4f89f6a3 RD |
4900 | { |
4901 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4902 | } | |
d14a1e28 RD |
4903 | return resultobj; |
4904 | fail: | |
4905 | return NULL; | |
4906 | } | |
4907 | ||
4908 | ||
c370783e | 4909 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4910 | PyObject *resultobj; |
4911 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4912 | bool arg2 ; | |
4913 | PyObject * obj0 = 0 ; | |
4914 | PyObject * obj1 = 0 ; | |
4915 | char *kwnames[] = { | |
4916 | (char *) "self",(char *) "show", NULL | |
4917 | }; | |
4918 | ||
4919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4922 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4923 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4924 | { |
4925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4926 | (arg1)->SetIndentationGuides(arg2); | |
4927 | ||
4928 | wxPyEndAllowThreads(__tstate); | |
4929 | if (PyErr_Occurred()) SWIG_fail; | |
4930 | } | |
4931 | Py_INCREF(Py_None); resultobj = Py_None; | |
4932 | return resultobj; | |
4933 | fail: | |
4934 | return NULL; | |
4935 | } | |
4936 | ||
4937 | ||
c370783e | 4938 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4939 | PyObject *resultobj; |
4940 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4941 | bool result; | |
4942 | PyObject * obj0 = 0 ; | |
4943 | char *kwnames[] = { | |
4944 | (char *) "self", NULL | |
4945 | }; | |
4946 | ||
4947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4950 | { |
4951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4952 | result = (bool)(arg1)->GetIndentationGuides(); | |
4953 | ||
4954 | wxPyEndAllowThreads(__tstate); | |
4955 | if (PyErr_Occurred()) SWIG_fail; | |
4956 | } | |
4f89f6a3 RD |
4957 | { |
4958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4959 | } | |
d14a1e28 RD |
4960 | return resultobj; |
4961 | fail: | |
4962 | return NULL; | |
4963 | } | |
4964 | ||
4965 | ||
c370783e | 4966 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4967 | PyObject *resultobj; |
4968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4969 | int arg2 ; | |
4970 | PyObject * obj0 = 0 ; | |
994141e6 | 4971 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4972 | char *kwnames[] = { |
4973 | (char *) "self",(char *) "column", NULL | |
4974 | }; | |
4975 | ||
994141e6 | 4976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4979 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4980 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4981 | { |
4982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4983 | (arg1)->SetHighlightGuide(arg2); | |
4984 | ||
4985 | wxPyEndAllowThreads(__tstate); | |
4986 | if (PyErr_Occurred()) SWIG_fail; | |
4987 | } | |
4988 | Py_INCREF(Py_None); resultobj = Py_None; | |
4989 | return resultobj; | |
4990 | fail: | |
4991 | return NULL; | |
4992 | } | |
4993 | ||
4994 | ||
c370783e | 4995 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4996 | PyObject *resultobj; |
4997 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4998 | int result; | |
4999 | PyObject * obj0 = 0 ; | |
5000 | char *kwnames[] = { | |
5001 | (char *) "self", NULL | |
5002 | }; | |
5003 | ||
5004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5007 | { |
5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5009 | result = (int)(arg1)->GetHighlightGuide(); | |
5010 | ||
5011 | wxPyEndAllowThreads(__tstate); | |
5012 | if (PyErr_Occurred()) SWIG_fail; | |
5013 | } | |
c370783e | 5014 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5015 | return resultobj; |
5016 | fail: | |
5017 | return NULL; | |
5018 | } | |
5019 | ||
5020 | ||
c370783e | 5021 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5022 | PyObject *resultobj; |
5023 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5024 | int arg2 ; | |
5025 | int result; | |
5026 | PyObject * obj0 = 0 ; | |
994141e6 | 5027 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5028 | char *kwnames[] = { |
5029 | (char *) "self",(char *) "line", NULL | |
5030 | }; | |
5031 | ||
994141e6 | 5032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5035 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5036 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5037 | { |
5038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5039 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
5040 | ||
5041 | wxPyEndAllowThreads(__tstate); | |
5042 | if (PyErr_Occurred()) SWIG_fail; | |
5043 | } | |
c370783e | 5044 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5045 | return resultobj; |
5046 | fail: | |
5047 | return NULL; | |
5048 | } | |
5049 | ||
5050 | ||
c370783e | 5051 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5052 | PyObject *resultobj; |
5053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5054 | int result; | |
5055 | PyObject * obj0 = 0 ; | |
5056 | char *kwnames[] = { | |
5057 | (char *) "self", NULL | |
5058 | }; | |
5059 | ||
5060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5063 | { |
5064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5065 | result = (int)(arg1)->GetCodePage(); | |
5066 | ||
5067 | wxPyEndAllowThreads(__tstate); | |
5068 | if (PyErr_Occurred()) SWIG_fail; | |
5069 | } | |
c370783e | 5070 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5071 | return resultobj; |
5072 | fail: | |
5073 | return NULL; | |
5074 | } | |
5075 | ||
5076 | ||
c370783e | 5077 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5078 | PyObject *resultobj; |
5079 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5080 | wxColour result; | |
5081 | PyObject * obj0 = 0 ; | |
5082 | char *kwnames[] = { | |
5083 | (char *) "self", NULL | |
5084 | }; | |
5085 | ||
5086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5089 | { |
5090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5091 | result = (arg1)->GetCaretForeground(); | |
5092 | ||
5093 | wxPyEndAllowThreads(__tstate); | |
5094 | if (PyErr_Occurred()) SWIG_fail; | |
5095 | } | |
5096 | { | |
5097 | wxColour * resultptr; | |
5098 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 5099 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5100 | } |
5101 | return resultobj; | |
5102 | fail: | |
5103 | return NULL; | |
5104 | } | |
5105 | ||
5106 | ||
c370783e | 5107 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5108 | PyObject *resultobj; |
5109 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5110 | bool result; | |
5111 | PyObject * obj0 = 0 ; | |
5112 | char *kwnames[] = { | |
5113 | (char *) "self", NULL | |
5114 | }; | |
5115 | ||
5116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5119 | { |
5120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5121 | result = (bool)(arg1)->GetReadOnly(); | |
5122 | ||
5123 | wxPyEndAllowThreads(__tstate); | |
5124 | if (PyErr_Occurred()) SWIG_fail; | |
5125 | } | |
4f89f6a3 RD |
5126 | { |
5127 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5128 | } | |
d14a1e28 RD |
5129 | return resultobj; |
5130 | fail: | |
5131 | return NULL; | |
5132 | } | |
5133 | ||
5134 | ||
c370783e | 5135 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5136 | PyObject *resultobj; |
5137 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5138 | int arg2 ; | |
5139 | PyObject * obj0 = 0 ; | |
994141e6 | 5140 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5141 | char *kwnames[] = { |
5142 | (char *) "self",(char *) "pos", NULL | |
5143 | }; | |
5144 | ||
994141e6 | 5145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5148 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5149 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5150 | { |
5151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5152 | (arg1)->SetCurrentPos(arg2); | |
5153 | ||
5154 | wxPyEndAllowThreads(__tstate); | |
5155 | if (PyErr_Occurred()) SWIG_fail; | |
5156 | } | |
5157 | Py_INCREF(Py_None); resultobj = Py_None; | |
5158 | return resultobj; | |
5159 | fail: | |
5160 | return NULL; | |
5161 | } | |
5162 | ||
5163 | ||
c370783e | 5164 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5165 | PyObject *resultobj; |
5166 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5167 | int arg2 ; | |
5168 | PyObject * obj0 = 0 ; | |
994141e6 | 5169 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5170 | char *kwnames[] = { |
5171 | (char *) "self",(char *) "pos", NULL | |
5172 | }; | |
5173 | ||
994141e6 | 5174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5177 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5178 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5179 | { |
5180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5181 | (arg1)->SetSelectionStart(arg2); | |
5182 | ||
5183 | wxPyEndAllowThreads(__tstate); | |
5184 | if (PyErr_Occurred()) SWIG_fail; | |
5185 | } | |
5186 | Py_INCREF(Py_None); resultobj = Py_None; | |
5187 | return resultobj; | |
5188 | fail: | |
5189 | return NULL; | |
5190 | } | |
5191 | ||
5192 | ||
c370783e | 5193 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5194 | PyObject *resultobj; |
5195 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5196 | int result; | |
5197 | PyObject * obj0 = 0 ; | |
5198 | char *kwnames[] = { | |
5199 | (char *) "self", NULL | |
5200 | }; | |
5201 | ||
5202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5205 | { |
5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5207 | result = (int)(arg1)->GetSelectionStart(); | |
5208 | ||
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
c370783e | 5212 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5213 | return resultobj; |
5214 | fail: | |
5215 | return NULL; | |
5216 | } | |
5217 | ||
5218 | ||
c370783e | 5219 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5220 | PyObject *resultobj; |
5221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5222 | int arg2 ; | |
5223 | PyObject * obj0 = 0 ; | |
994141e6 | 5224 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5225 | char *kwnames[] = { |
5226 | (char *) "self",(char *) "pos", NULL | |
5227 | }; | |
5228 | ||
994141e6 | 5229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5232 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5233 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5234 | { |
5235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5236 | (arg1)->SetSelectionEnd(arg2); | |
5237 | ||
5238 | wxPyEndAllowThreads(__tstate); | |
5239 | if (PyErr_Occurred()) SWIG_fail; | |
5240 | } | |
5241 | Py_INCREF(Py_None); resultobj = Py_None; | |
5242 | return resultobj; | |
5243 | fail: | |
5244 | return NULL; | |
5245 | } | |
5246 | ||
5247 | ||
c370783e | 5248 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5249 | PyObject *resultobj; |
5250 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5251 | int result; | |
5252 | PyObject * obj0 = 0 ; | |
5253 | char *kwnames[] = { | |
5254 | (char *) "self", NULL | |
5255 | }; | |
5256 | ||
5257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5260 | { |
5261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5262 | result = (int)(arg1)->GetSelectionEnd(); | |
5263 | ||
5264 | wxPyEndAllowThreads(__tstate); | |
5265 | if (PyErr_Occurred()) SWIG_fail; | |
5266 | } | |
c370783e | 5267 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5268 | return resultobj; |
5269 | fail: | |
5270 | return NULL; | |
5271 | } | |
5272 | ||
5273 | ||
c370783e | 5274 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5275 | PyObject *resultobj; |
5276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5277 | int arg2 ; | |
5278 | PyObject * obj0 = 0 ; | |
994141e6 | 5279 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5280 | char *kwnames[] = { |
5281 | (char *) "self",(char *) "magnification", NULL | |
5282 | }; | |
5283 | ||
994141e6 | 5284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5287 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5288 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5289 | { |
5290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5291 | (arg1)->SetPrintMagnification(arg2); | |
5292 | ||
5293 | wxPyEndAllowThreads(__tstate); | |
5294 | if (PyErr_Occurred()) SWIG_fail; | |
5295 | } | |
5296 | Py_INCREF(Py_None); resultobj = Py_None; | |
5297 | return resultobj; | |
5298 | fail: | |
5299 | return NULL; | |
5300 | } | |
5301 | ||
5302 | ||
c370783e | 5303 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5304 | PyObject *resultobj; |
5305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5306 | int result; | |
5307 | PyObject * obj0 = 0 ; | |
5308 | char *kwnames[] = { | |
5309 | (char *) "self", NULL | |
5310 | }; | |
5311 | ||
5312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5315 | { |
5316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5317 | result = (int)(arg1)->GetPrintMagnification(); | |
5318 | ||
5319 | wxPyEndAllowThreads(__tstate); | |
5320 | if (PyErr_Occurred()) SWIG_fail; | |
5321 | } | |
c370783e | 5322 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5323 | return resultobj; |
5324 | fail: | |
5325 | return NULL; | |
5326 | } | |
5327 | ||
5328 | ||
c370783e | 5329 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5330 | PyObject *resultobj; |
5331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5332 | int arg2 ; | |
5333 | PyObject * obj0 = 0 ; | |
994141e6 | 5334 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5335 | char *kwnames[] = { |
5336 | (char *) "self",(char *) "mode", NULL | |
5337 | }; | |
5338 | ||
994141e6 | 5339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5342 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5343 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5344 | { |
5345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5346 | (arg1)->SetPrintColourMode(arg2); | |
5347 | ||
5348 | wxPyEndAllowThreads(__tstate); | |
5349 | if (PyErr_Occurred()) SWIG_fail; | |
5350 | } | |
5351 | Py_INCREF(Py_None); resultobj = Py_None; | |
5352 | return resultobj; | |
5353 | fail: | |
5354 | return NULL; | |
5355 | } | |
5356 | ||
5357 | ||
c370783e | 5358 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5359 | PyObject *resultobj; |
5360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5361 | int result; | |
5362 | PyObject * obj0 = 0 ; | |
5363 | char *kwnames[] = { | |
5364 | (char *) "self", NULL | |
5365 | }; | |
5366 | ||
5367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5370 | { |
5371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5372 | result = (int)(arg1)->GetPrintColourMode(); | |
5373 | ||
5374 | wxPyEndAllowThreads(__tstate); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
c370783e | 5377 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5378 | return resultobj; |
5379 | fail: | |
5380 | return NULL; | |
5381 | } | |
5382 | ||
5383 | ||
c370783e | 5384 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5385 | PyObject *resultobj; |
5386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5387 | int arg2 ; | |
5388 | int arg3 ; | |
5389 | wxString *arg4 = 0 ; | |
5390 | int arg5 = (int) 0 ; | |
5391 | int result; | |
b411df4a | 5392 | bool temp4 = false ; |
d14a1e28 | 5393 | PyObject * obj0 = 0 ; |
994141e6 RD |
5394 | PyObject * obj1 = 0 ; |
5395 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5396 | PyObject * obj3 = 0 ; |
994141e6 | 5397 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5398 | char *kwnames[] = { |
5399 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
5400 | }; | |
5401 | ||
994141e6 | 5402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
5403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5405 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5406 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5407 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5408 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5409 | { |
5410 | arg4 = wxString_in_helper(obj3); | |
5411 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5412 | temp4 = true; |
d14a1e28 | 5413 | } |
994141e6 | 5414 | if (obj4) { |
c370783e | 5415 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 5416 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5417 | } |
d14a1e28 RD |
5418 | { |
5419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5420 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
5421 | ||
5422 | wxPyEndAllowThreads(__tstate); | |
5423 | if (PyErr_Occurred()) SWIG_fail; | |
5424 | } | |
c370783e | 5425 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5426 | { |
5427 | if (temp4) | |
5428 | delete arg4; | |
5429 | } | |
5430 | return resultobj; | |
5431 | fail: | |
5432 | { | |
5433 | if (temp4) | |
5434 | delete arg4; | |
5435 | } | |
5436 | return NULL; | |
5437 | } | |
5438 | ||
5439 | ||
c370783e | 5440 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5441 | PyObject *resultobj; |
5442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5443 | bool arg2 ; | |
5444 | int arg3 ; | |
5445 | int arg4 ; | |
5446 | wxDC *arg5 = (wxDC *) 0 ; | |
5447 | wxDC *arg6 = (wxDC *) 0 ; | |
5448 | wxRect arg7 ; | |
5449 | wxRect arg8 ; | |
5450 | int result; | |
5451 | wxRect *argp7 ; | |
5452 | wxRect *argp8 ; | |
5453 | PyObject * obj0 = 0 ; | |
5454 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5455 | PyObject * obj2 = 0 ; |
5456 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5457 | PyObject * obj4 = 0 ; |
5458 | PyObject * obj5 = 0 ; | |
5459 | PyObject * obj6 = 0 ; | |
5460 | PyObject * obj7 = 0 ; | |
5461 | char *kwnames[] = { | |
5462 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
5463 | }; | |
5464 | ||
994141e6 | 5465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
5466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5468 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 5469 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5470 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5471 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5472 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 RD |
5473 | if (PyErr_Occurred()) SWIG_fail; |
5474 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC, | |
5475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5476 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC, | |
5477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5478 | if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect, | |
5479 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5480 | arg7 = *argp7; | |
5481 | if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect, | |
5482 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5483 | arg8 = *argp8; | |
d14a1e28 RD |
5484 | { |
5485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5486 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
5487 | ||
5488 | wxPyEndAllowThreads(__tstate); | |
5489 | if (PyErr_Occurred()) SWIG_fail; | |
5490 | } | |
c370783e | 5491 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5492 | return resultobj; |
5493 | fail: | |
5494 | return NULL; | |
5495 | } | |
5496 | ||
5497 | ||
c370783e | 5498 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5499 | PyObject *resultobj; |
5500 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5501 | int result; | |
5502 | PyObject * obj0 = 0 ; | |
5503 | char *kwnames[] = { | |
5504 | (char *) "self", NULL | |
5505 | }; | |
5506 | ||
5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5510 | { |
5511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5512 | result = (int)(arg1)->GetFirstVisibleLine(); | |
5513 | ||
5514 | wxPyEndAllowThreads(__tstate); | |
5515 | if (PyErr_Occurred()) SWIG_fail; | |
5516 | } | |
c370783e | 5517 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5518 | return resultobj; |
5519 | fail: | |
5520 | return NULL; | |
5521 | } | |
5522 | ||
5523 | ||
c370783e | 5524 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5525 | PyObject *resultobj; |
5526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5527 | int arg2 ; | |
5528 | wxString result; | |
5529 | PyObject * obj0 = 0 ; | |
994141e6 | 5530 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5531 | char *kwnames[] = { |
5532 | (char *) "self",(char *) "line", NULL | |
5533 | }; | |
5534 | ||
994141e6 | 5535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5538 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5539 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5540 | { |
5541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5542 | result = (arg1)->GetLine(arg2); | |
5543 | ||
5544 | wxPyEndAllowThreads(__tstate); | |
5545 | if (PyErr_Occurred()) SWIG_fail; | |
5546 | } | |
5547 | { | |
5548 | #if wxUSE_UNICODE | |
5549 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5550 | #else | |
5551 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5552 | #endif | |
5553 | } | |
5554 | return resultobj; | |
5555 | fail: | |
5556 | return NULL; | |
5557 | } | |
5558 | ||
5559 | ||
c370783e | 5560 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5561 | PyObject *resultobj; |
5562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5563 | int result; | |
5564 | PyObject * obj0 = 0 ; | |
5565 | char *kwnames[] = { | |
5566 | (char *) "self", NULL | |
5567 | }; | |
5568 | ||
5569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5572 | { |
5573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5574 | result = (int)(arg1)->GetLineCount(); | |
5575 | ||
5576 | wxPyEndAllowThreads(__tstate); | |
5577 | if (PyErr_Occurred()) SWIG_fail; | |
5578 | } | |
c370783e | 5579 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5580 | return resultobj; |
5581 | fail: | |
5582 | return NULL; | |
5583 | } | |
5584 | ||
5585 | ||
c370783e | 5586 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5587 | PyObject *resultobj; |
5588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5589 | int arg2 ; | |
5590 | PyObject * obj0 = 0 ; | |
994141e6 | 5591 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5592 | char *kwnames[] = { |
5593 | (char *) "self",(char *) "pixelWidth", NULL | |
5594 | }; | |
5595 | ||
994141e6 | 5596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5599 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5600 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5601 | { |
5602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5603 | (arg1)->SetMarginLeft(arg2); | |
5604 | ||
5605 | wxPyEndAllowThreads(__tstate); | |
5606 | if (PyErr_Occurred()) SWIG_fail; | |
5607 | } | |
5608 | Py_INCREF(Py_None); resultobj = Py_None; | |
5609 | return resultobj; | |
5610 | fail: | |
5611 | return NULL; | |
5612 | } | |
5613 | ||
5614 | ||
c370783e | 5615 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5616 | PyObject *resultobj; |
5617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5618 | int result; | |
5619 | PyObject * obj0 = 0 ; | |
5620 | char *kwnames[] = { | |
5621 | (char *) "self", NULL | |
5622 | }; | |
5623 | ||
5624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5627 | { |
5628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5629 | result = (int)(arg1)->GetMarginLeft(); | |
5630 | ||
5631 | wxPyEndAllowThreads(__tstate); | |
5632 | if (PyErr_Occurred()) SWIG_fail; | |
5633 | } | |
c370783e | 5634 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5635 | return resultobj; |
5636 | fail: | |
5637 | return NULL; | |
5638 | } | |
5639 | ||
5640 | ||
c370783e | 5641 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5642 | PyObject *resultobj; |
5643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5644 | int arg2 ; | |
5645 | PyObject * obj0 = 0 ; | |
994141e6 | 5646 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5647 | char *kwnames[] = { |
5648 | (char *) "self",(char *) "pixelWidth", NULL | |
5649 | }; | |
5650 | ||
994141e6 | 5651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5654 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5655 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5656 | { |
5657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5658 | (arg1)->SetMarginRight(arg2); | |
5659 | ||
5660 | wxPyEndAllowThreads(__tstate); | |
5661 | if (PyErr_Occurred()) SWIG_fail; | |
5662 | } | |
5663 | Py_INCREF(Py_None); resultobj = Py_None; | |
5664 | return resultobj; | |
5665 | fail: | |
5666 | return NULL; | |
5667 | } | |
5668 | ||
5669 | ||
c370783e | 5670 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5671 | PyObject *resultobj; |
5672 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5673 | int result; | |
5674 | PyObject * obj0 = 0 ; | |
5675 | char *kwnames[] = { | |
5676 | (char *) "self", NULL | |
5677 | }; | |
5678 | ||
5679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5682 | { |
5683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5684 | result = (int)(arg1)->GetMarginRight(); | |
5685 | ||
5686 | wxPyEndAllowThreads(__tstate); | |
5687 | if (PyErr_Occurred()) SWIG_fail; | |
5688 | } | |
c370783e | 5689 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5690 | return resultobj; |
5691 | fail: | |
5692 | return NULL; | |
5693 | } | |
5694 | ||
5695 | ||
c370783e | 5696 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5697 | PyObject *resultobj; |
5698 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5699 | bool result; | |
5700 | PyObject * obj0 = 0 ; | |
5701 | char *kwnames[] = { | |
5702 | (char *) "self", NULL | |
5703 | }; | |
5704 | ||
5705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5708 | { |
5709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5710 | result = (bool)(arg1)->GetModify(); | |
5711 | ||
5712 | wxPyEndAllowThreads(__tstate); | |
5713 | if (PyErr_Occurred()) SWIG_fail; | |
5714 | } | |
4f89f6a3 RD |
5715 | { |
5716 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5717 | } | |
d14a1e28 RD |
5718 | return resultobj; |
5719 | fail: | |
5720 | return NULL; | |
5721 | } | |
5722 | ||
5723 | ||
c370783e | 5724 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5725 | PyObject *resultobj; |
5726 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5727 | int arg2 ; | |
5728 | int arg3 ; | |
5729 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5730 | PyObject * obj1 = 0 ; |
5731 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5732 | char *kwnames[] = { |
5733 | (char *) "self",(char *) "start",(char *) "end", NULL | |
5734 | }; | |
5735 | ||
994141e6 | 5736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5739 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5740 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5741 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5742 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5743 | { |
5744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5745 | (arg1)->SetSelection(arg2,arg3); | |
5746 | ||
5747 | wxPyEndAllowThreads(__tstate); | |
5748 | if (PyErr_Occurred()) SWIG_fail; | |
5749 | } | |
5750 | Py_INCREF(Py_None); resultobj = Py_None; | |
5751 | return resultobj; | |
5752 | fail: | |
5753 | return NULL; | |
5754 | } | |
5755 | ||
5756 | ||
c370783e | 5757 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5758 | PyObject *resultobj; |
5759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5760 | wxString result; | |
5761 | PyObject * obj0 = 0 ; | |
5762 | char *kwnames[] = { | |
5763 | (char *) "self", NULL | |
5764 | }; | |
5765 | ||
5766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5769 | { |
5770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5771 | result = (arg1)->GetSelectedText(); | |
5772 | ||
5773 | wxPyEndAllowThreads(__tstate); | |
5774 | if (PyErr_Occurred()) SWIG_fail; | |
5775 | } | |
5776 | { | |
5777 | #if wxUSE_UNICODE | |
5778 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5779 | #else | |
5780 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5781 | #endif | |
5782 | } | |
5783 | return resultobj; | |
5784 | fail: | |
5785 | return NULL; | |
5786 | } | |
5787 | ||
5788 | ||
c370783e | 5789 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5790 | PyObject *resultobj; |
5791 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5792 | int arg2 ; | |
5793 | int arg3 ; | |
5794 | wxString result; | |
5795 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5796 | PyObject * obj1 = 0 ; |
5797 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5798 | char *kwnames[] = { |
5799 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
5800 | }; | |
5801 | ||
994141e6 | 5802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5805 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5806 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5807 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5808 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5809 | { |
5810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5811 | result = (arg1)->GetTextRange(arg2,arg3); | |
5812 | ||
5813 | wxPyEndAllowThreads(__tstate); | |
5814 | if (PyErr_Occurred()) SWIG_fail; | |
5815 | } | |
5816 | { | |
5817 | #if wxUSE_UNICODE | |
5818 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5819 | #else | |
5820 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5821 | #endif | |
5822 | } | |
5823 | return resultobj; | |
5824 | fail: | |
5825 | return NULL; | |
5826 | } | |
5827 | ||
5828 | ||
c370783e | 5829 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5830 | PyObject *resultobj; |
5831 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5832 | bool arg2 ; | |
5833 | PyObject * obj0 = 0 ; | |
5834 | PyObject * obj1 = 0 ; | |
5835 | char *kwnames[] = { | |
5836 | (char *) "self",(char *) "normal", NULL | |
5837 | }; | |
5838 | ||
5839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5842 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 5843 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5844 | { |
5845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5846 | (arg1)->HideSelection(arg2); | |
5847 | ||
5848 | wxPyEndAllowThreads(__tstate); | |
5849 | if (PyErr_Occurred()) SWIG_fail; | |
5850 | } | |
5851 | Py_INCREF(Py_None); resultobj = Py_None; | |
5852 | return resultobj; | |
5853 | fail: | |
5854 | return NULL; | |
5855 | } | |
5856 | ||
5857 | ||
c370783e | 5858 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5859 | PyObject *resultobj; |
5860 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5861 | int arg2 ; | |
5862 | int result; | |
5863 | PyObject * obj0 = 0 ; | |
994141e6 | 5864 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5865 | char *kwnames[] = { |
5866 | (char *) "self",(char *) "pos", NULL | |
5867 | }; | |
5868 | ||
994141e6 | 5869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5872 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5873 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5874 | { |
5875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5876 | result = (int)(arg1)->LineFromPosition(arg2); | |
5877 | ||
5878 | wxPyEndAllowThreads(__tstate); | |
5879 | if (PyErr_Occurred()) SWIG_fail; | |
5880 | } | |
c370783e | 5881 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5882 | return resultobj; |
5883 | fail: | |
5884 | return NULL; | |
5885 | } | |
5886 | ||
5887 | ||
c370783e | 5888 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5889 | PyObject *resultobj; |
5890 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5891 | int arg2 ; | |
5892 | int result; | |
5893 | PyObject * obj0 = 0 ; | |
994141e6 | 5894 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5895 | char *kwnames[] = { |
5896 | (char *) "self",(char *) "line", NULL | |
5897 | }; | |
5898 | ||
994141e6 | 5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5902 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5903 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5904 | { |
5905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5906 | result = (int)(arg1)->PositionFromLine(arg2); | |
5907 | ||
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
c370783e | 5911 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5912 | return resultobj; |
5913 | fail: | |
5914 | return NULL; | |
5915 | } | |
5916 | ||
5917 | ||
c370783e | 5918 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5919 | PyObject *resultobj; |
5920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5921 | int arg2 ; | |
5922 | int arg3 ; | |
5923 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5924 | PyObject * obj1 = 0 ; |
5925 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5926 | char *kwnames[] = { |
5927 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
5928 | }; | |
5929 | ||
994141e6 | 5930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5933 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5934 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5935 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5936 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5937 | { |
5938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5939 | (arg1)->LineScroll(arg2,arg3); | |
5940 | ||
5941 | wxPyEndAllowThreads(__tstate); | |
5942 | if (PyErr_Occurred()) SWIG_fail; | |
5943 | } | |
5944 | Py_INCREF(Py_None); resultobj = Py_None; | |
5945 | return resultobj; | |
5946 | fail: | |
5947 | return NULL; | |
5948 | } | |
5949 | ||
5950 | ||
c370783e | 5951 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5952 | PyObject *resultobj; |
5953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5954 | PyObject * obj0 = 0 ; | |
5955 | char *kwnames[] = { | |
5956 | (char *) "self", NULL | |
5957 | }; | |
5958 | ||
5959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5962 | { |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | (arg1)->EnsureCaretVisible(); | |
5965 | ||
5966 | wxPyEndAllowThreads(__tstate); | |
5967 | if (PyErr_Occurred()) SWIG_fail; | |
5968 | } | |
5969 | Py_INCREF(Py_None); resultobj = Py_None; | |
5970 | return resultobj; | |
5971 | fail: | |
5972 | return NULL; | |
5973 | } | |
5974 | ||
5975 | ||
c370783e | 5976 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5977 | PyObject *resultobj; |
5978 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5979 | wxString *arg2 = 0 ; | |
b411df4a | 5980 | bool temp2 = false ; |
d14a1e28 RD |
5981 | PyObject * obj0 = 0 ; |
5982 | PyObject * obj1 = 0 ; | |
5983 | char *kwnames[] = { | |
5984 | (char *) "self",(char *) "text", NULL | |
5985 | }; | |
5986 | ||
5987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5990 | { |
5991 | arg2 = wxString_in_helper(obj1); | |
5992 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5993 | temp2 = true; |
d14a1e28 RD |
5994 | } |
5995 | { | |
5996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5997 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
5998 | ||
5999 | wxPyEndAllowThreads(__tstate); | |
6000 | if (PyErr_Occurred()) SWIG_fail; | |
6001 | } | |
6002 | Py_INCREF(Py_None); resultobj = Py_None; | |
6003 | { | |
6004 | if (temp2) | |
6005 | delete arg2; | |
6006 | } | |
6007 | return resultobj; | |
6008 | fail: | |
6009 | { | |
6010 | if (temp2) | |
6011 | delete arg2; | |
6012 | } | |
6013 | return NULL; | |
6014 | } | |
6015 | ||
6016 | ||
c370783e | 6017 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6018 | PyObject *resultobj; |
6019 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6020 | bool arg2 ; | |
6021 | PyObject * obj0 = 0 ; | |
6022 | PyObject * obj1 = 0 ; | |
6023 | char *kwnames[] = { | |
6024 | (char *) "self",(char *) "readOnly", NULL | |
6025 | }; | |
6026 | ||
6027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6030 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 6031 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6032 | { |
6033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6034 | (arg1)->SetReadOnly(arg2); | |
6035 | ||
6036 | wxPyEndAllowThreads(__tstate); | |
6037 | if (PyErr_Occurred()) SWIG_fail; | |
6038 | } | |
6039 | Py_INCREF(Py_None); resultobj = Py_None; | |
6040 | return resultobj; | |
6041 | fail: | |
6042 | return NULL; | |
6043 | } | |
6044 | ||
6045 | ||
c370783e | 6046 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6047 | PyObject *resultobj; |
6048 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6049 | bool result; | |
6050 | PyObject * obj0 = 0 ; | |
6051 | char *kwnames[] = { | |
6052 | (char *) "self", NULL | |
6053 | }; | |
6054 | ||
6055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6058 | { |
6059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6060 | result = (bool)(arg1)->CanPaste(); | |
6061 | ||
6062 | wxPyEndAllowThreads(__tstate); | |
6063 | if (PyErr_Occurred()) SWIG_fail; | |
6064 | } | |
4f89f6a3 RD |
6065 | { |
6066 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6067 | } | |
d14a1e28 RD |
6068 | return resultobj; |
6069 | fail: | |
6070 | return NULL; | |
6071 | } | |
6072 | ||
6073 | ||
c370783e | 6074 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6075 | PyObject *resultobj; |
6076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6077 | bool result; | |
6078 | PyObject * obj0 = 0 ; | |
6079 | char *kwnames[] = { | |
6080 | (char *) "self", NULL | |
6081 | }; | |
6082 | ||
6083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6086 | { |
6087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6088 | result = (bool)(arg1)->CanUndo(); | |
6089 | ||
6090 | wxPyEndAllowThreads(__tstate); | |
6091 | if (PyErr_Occurred()) SWIG_fail; | |
6092 | } | |
4f89f6a3 RD |
6093 | { |
6094 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6095 | } | |
d14a1e28 RD |
6096 | return resultobj; |
6097 | fail: | |
6098 | return NULL; | |
6099 | } | |
6100 | ||
6101 | ||
c370783e | 6102 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6103 | PyObject *resultobj; |
6104 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6105 | PyObject * obj0 = 0 ; | |
6106 | char *kwnames[] = { | |
6107 | (char *) "self", NULL | |
6108 | }; | |
6109 | ||
6110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6113 | { |
6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6115 | (arg1)->EmptyUndoBuffer(); | |
6116 | ||
6117 | wxPyEndAllowThreads(__tstate); | |
6118 | if (PyErr_Occurred()) SWIG_fail; | |
6119 | } | |
6120 | Py_INCREF(Py_None); resultobj = Py_None; | |
6121 | return resultobj; | |
6122 | fail: | |
6123 | return NULL; | |
6124 | } | |
6125 | ||
6126 | ||
c370783e | 6127 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6128 | PyObject *resultobj; |
6129 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6130 | PyObject * obj0 = 0 ; | |
6131 | char *kwnames[] = { | |
6132 | (char *) "self", NULL | |
6133 | }; | |
6134 | ||
6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6138 | { |
6139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6140 | (arg1)->Undo(); | |
6141 | ||
6142 | wxPyEndAllowThreads(__tstate); | |
6143 | if (PyErr_Occurred()) SWIG_fail; | |
6144 | } | |
6145 | Py_INCREF(Py_None); resultobj = Py_None; | |
6146 | return resultobj; | |
6147 | fail: | |
6148 | return NULL; | |
6149 | } | |
6150 | ||
6151 | ||
c370783e | 6152 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6153 | PyObject *resultobj; |
6154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6155 | PyObject * obj0 = 0 ; | |
6156 | char *kwnames[] = { | |
6157 | (char *) "self", NULL | |
6158 | }; | |
6159 | ||
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6163 | { |
6164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6165 | (arg1)->Cut(); | |
6166 | ||
6167 | wxPyEndAllowThreads(__tstate); | |
6168 | if (PyErr_Occurred()) SWIG_fail; | |
6169 | } | |
6170 | Py_INCREF(Py_None); resultobj = Py_None; | |
6171 | return resultobj; | |
6172 | fail: | |
6173 | return NULL; | |
6174 | } | |
6175 | ||
6176 | ||
c370783e | 6177 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6178 | PyObject *resultobj; |
6179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6180 | PyObject * obj0 = 0 ; | |
6181 | char *kwnames[] = { | |
6182 | (char *) "self", NULL | |
6183 | }; | |
6184 | ||
6185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6188 | { |
6189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6190 | (arg1)->Copy(); | |
6191 | ||
6192 | wxPyEndAllowThreads(__tstate); | |
6193 | if (PyErr_Occurred()) SWIG_fail; | |
6194 | } | |
6195 | Py_INCREF(Py_None); resultobj = Py_None; | |
6196 | return resultobj; | |
6197 | fail: | |
6198 | return NULL; | |
6199 | } | |
6200 | ||
6201 | ||
c370783e | 6202 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6203 | PyObject *resultobj; |
6204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6205 | PyObject * obj0 = 0 ; | |
6206 | char *kwnames[] = { | |
6207 | (char *) "self", NULL | |
6208 | }; | |
6209 | ||
6210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6213 | { |
6214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6215 | (arg1)->Paste(); | |
6216 | ||
6217 | wxPyEndAllowThreads(__tstate); | |
6218 | if (PyErr_Occurred()) SWIG_fail; | |
6219 | } | |
6220 | Py_INCREF(Py_None); resultobj = Py_None; | |
6221 | return resultobj; | |
6222 | fail: | |
6223 | return NULL; | |
6224 | } | |
6225 | ||
6226 | ||
c370783e | 6227 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6228 | PyObject *resultobj; |
6229 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6230 | PyObject * obj0 = 0 ; | |
6231 | char *kwnames[] = { | |
6232 | (char *) "self", NULL | |
6233 | }; | |
6234 | ||
6235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6236 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6238 | { |
6239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6240 | (arg1)->Clear(); | |
6241 | ||
6242 | wxPyEndAllowThreads(__tstate); | |
6243 | if (PyErr_Occurred()) SWIG_fail; | |
6244 | } | |
6245 | Py_INCREF(Py_None); resultobj = Py_None; | |
6246 | return resultobj; | |
6247 | fail: | |
6248 | return NULL; | |
6249 | } | |
6250 | ||
6251 | ||
c370783e | 6252 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6253 | PyObject *resultobj; |
6254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6255 | wxString *arg2 = 0 ; | |
b411df4a | 6256 | bool temp2 = false ; |
d14a1e28 RD |
6257 | PyObject * obj0 = 0 ; |
6258 | PyObject * obj1 = 0 ; | |
6259 | char *kwnames[] = { | |
6260 | (char *) "self",(char *) "text", NULL | |
6261 | }; | |
6262 | ||
6263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6266 | { |
6267 | arg2 = wxString_in_helper(obj1); | |
6268 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6269 | temp2 = true; |
d14a1e28 RD |
6270 | } |
6271 | { | |
6272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6273 | (arg1)->SetText((wxString const &)*arg2); | |
6274 | ||
6275 | wxPyEndAllowThreads(__tstate); | |
6276 | if (PyErr_Occurred()) SWIG_fail; | |
6277 | } | |
6278 | Py_INCREF(Py_None); resultobj = Py_None; | |
6279 | { | |
6280 | if (temp2) | |
6281 | delete arg2; | |
6282 | } | |
6283 | return resultobj; | |
6284 | fail: | |
6285 | { | |
6286 | if (temp2) | |
6287 | delete arg2; | |
6288 | } | |
6289 | return NULL; | |
6290 | } | |
6291 | ||
6292 | ||
c370783e | 6293 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6294 | PyObject *resultobj; |
6295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6296 | wxString result; | |
6297 | PyObject * obj0 = 0 ; | |
6298 | char *kwnames[] = { | |
6299 | (char *) "self", NULL | |
6300 | }; | |
6301 | ||
6302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6305 | { |
6306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6307 | result = (arg1)->GetText(); | |
6308 | ||
6309 | wxPyEndAllowThreads(__tstate); | |
6310 | if (PyErr_Occurred()) SWIG_fail; | |
6311 | } | |
6312 | { | |
6313 | #if wxUSE_UNICODE | |
6314 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6315 | #else | |
6316 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6317 | #endif | |
6318 | } | |
6319 | return resultobj; | |
6320 | fail: | |
6321 | return NULL; | |
6322 | } | |
6323 | ||
6324 | ||
c370783e | 6325 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6326 | PyObject *resultobj; |
6327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6328 | int result; | |
6329 | PyObject * obj0 = 0 ; | |
6330 | char *kwnames[] = { | |
6331 | (char *) "self", NULL | |
6332 | }; | |
6333 | ||
6334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6337 | { |
6338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6339 | result = (int)(arg1)->GetTextLength(); | |
6340 | ||
6341 | wxPyEndAllowThreads(__tstate); | |
6342 | if (PyErr_Occurred()) SWIG_fail; | |
6343 | } | |
c370783e | 6344 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6345 | return resultobj; |
6346 | fail: | |
6347 | return NULL; | |
6348 | } | |
6349 | ||
6350 | ||
c370783e | 6351 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6352 | PyObject *resultobj; |
6353 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6354 | bool arg2 ; | |
6355 | PyObject * obj0 = 0 ; | |
6356 | PyObject * obj1 = 0 ; | |
6357 | char *kwnames[] = { | |
6358 | (char *) "self",(char *) "overtype", NULL | |
6359 | }; | |
6360 | ||
6361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6364 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 6365 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6366 | { |
6367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6368 | (arg1)->SetOvertype(arg2); | |
6369 | ||
6370 | wxPyEndAllowThreads(__tstate); | |
6371 | if (PyErr_Occurred()) SWIG_fail; | |
6372 | } | |
6373 | Py_INCREF(Py_None); resultobj = Py_None; | |
6374 | return resultobj; | |
6375 | fail: | |
6376 | return NULL; | |
6377 | } | |
6378 | ||
6379 | ||
c370783e | 6380 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6381 | PyObject *resultobj; |
6382 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6383 | bool result; | |
6384 | PyObject * obj0 = 0 ; | |
6385 | char *kwnames[] = { | |
6386 | (char *) "self", NULL | |
6387 | }; | |
6388 | ||
6389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6392 | { |
6393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6394 | result = (bool)(arg1)->GetOvertype(); | |
6395 | ||
6396 | wxPyEndAllowThreads(__tstate); | |
6397 | if (PyErr_Occurred()) SWIG_fail; | |
6398 | } | |
4f89f6a3 RD |
6399 | { |
6400 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6401 | } | |
d14a1e28 RD |
6402 | return resultobj; |
6403 | fail: | |
6404 | return NULL; | |
6405 | } | |
6406 | ||
6407 | ||
c370783e | 6408 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6409 | PyObject *resultobj; |
6410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6411 | int arg2 ; | |
6412 | PyObject * obj0 = 0 ; | |
994141e6 | 6413 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6414 | char *kwnames[] = { |
6415 | (char *) "self",(char *) "pixelWidth", NULL | |
6416 | }; | |
6417 | ||
994141e6 | 6418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6421 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6422 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6423 | { |
6424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6425 | (arg1)->SetCaretWidth(arg2); | |
6426 | ||
6427 | wxPyEndAllowThreads(__tstate); | |
6428 | if (PyErr_Occurred()) SWIG_fail; | |
6429 | } | |
6430 | Py_INCREF(Py_None); resultobj = Py_None; | |
6431 | return resultobj; | |
6432 | fail: | |
6433 | return NULL; | |
6434 | } | |
6435 | ||
6436 | ||
c370783e | 6437 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6438 | PyObject *resultobj; |
6439 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6440 | int result; | |
6441 | PyObject * obj0 = 0 ; | |
6442 | char *kwnames[] = { | |
6443 | (char *) "self", NULL | |
6444 | }; | |
6445 | ||
6446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6449 | { |
6450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6451 | result = (int)(arg1)->GetCaretWidth(); | |
6452 | ||
6453 | wxPyEndAllowThreads(__tstate); | |
6454 | if (PyErr_Occurred()) SWIG_fail; | |
6455 | } | |
c370783e | 6456 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6457 | return resultobj; |
6458 | fail: | |
6459 | return NULL; | |
6460 | } | |
6461 | ||
6462 | ||
c370783e | 6463 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6464 | PyObject *resultobj; |
6465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6466 | int arg2 ; | |
6467 | PyObject * obj0 = 0 ; | |
994141e6 | 6468 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6469 | char *kwnames[] = { |
6470 | (char *) "self",(char *) "pos", NULL | |
6471 | }; | |
6472 | ||
994141e6 | 6473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6476 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6477 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6478 | { |
6479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6480 | (arg1)->SetTargetStart(arg2); | |
6481 | ||
6482 | wxPyEndAllowThreads(__tstate); | |
6483 | if (PyErr_Occurred()) SWIG_fail; | |
6484 | } | |
6485 | Py_INCREF(Py_None); resultobj = Py_None; | |
6486 | return resultobj; | |
6487 | fail: | |
6488 | return NULL; | |
6489 | } | |
6490 | ||
6491 | ||
c370783e | 6492 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6493 | PyObject *resultobj; |
6494 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6495 | int result; | |
6496 | PyObject * obj0 = 0 ; | |
6497 | char *kwnames[] = { | |
6498 | (char *) "self", NULL | |
6499 | }; | |
6500 | ||
6501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6504 | { |
6505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6506 | result = (int)(arg1)->GetTargetStart(); | |
6507 | ||
6508 | wxPyEndAllowThreads(__tstate); | |
6509 | if (PyErr_Occurred()) SWIG_fail; | |
6510 | } | |
c370783e | 6511 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6512 | return resultobj; |
6513 | fail: | |
6514 | return NULL; | |
6515 | } | |
6516 | ||
6517 | ||
c370783e | 6518 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6519 | PyObject *resultobj; |
6520 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6521 | int arg2 ; | |
6522 | PyObject * obj0 = 0 ; | |
994141e6 | 6523 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6524 | char *kwnames[] = { |
6525 | (char *) "self",(char *) "pos", NULL | |
6526 | }; | |
6527 | ||
994141e6 | 6528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6531 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6532 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6533 | { |
6534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6535 | (arg1)->SetTargetEnd(arg2); | |
6536 | ||
6537 | wxPyEndAllowThreads(__tstate); | |
6538 | if (PyErr_Occurred()) SWIG_fail; | |
6539 | } | |
6540 | Py_INCREF(Py_None); resultobj = Py_None; | |
6541 | return resultobj; | |
6542 | fail: | |
6543 | return NULL; | |
6544 | } | |
6545 | ||
6546 | ||
c370783e | 6547 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6548 | PyObject *resultobj; |
6549 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6550 | int result; | |
6551 | PyObject * obj0 = 0 ; | |
6552 | char *kwnames[] = { | |
6553 | (char *) "self", NULL | |
6554 | }; | |
6555 | ||
6556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6559 | { |
6560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6561 | result = (int)(arg1)->GetTargetEnd(); | |
6562 | ||
6563 | wxPyEndAllowThreads(__tstate); | |
6564 | if (PyErr_Occurred()) SWIG_fail; | |
6565 | } | |
c370783e | 6566 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6567 | return resultobj; |
6568 | fail: | |
6569 | return NULL; | |
6570 | } | |
6571 | ||
6572 | ||
c370783e | 6573 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6574 | PyObject *resultobj; |
6575 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6576 | wxString *arg2 = 0 ; | |
6577 | int result; | |
b411df4a | 6578 | bool temp2 = false ; |
d14a1e28 RD |
6579 | PyObject * obj0 = 0 ; |
6580 | PyObject * obj1 = 0 ; | |
6581 | char *kwnames[] = { | |
6582 | (char *) "self",(char *) "text", NULL | |
6583 | }; | |
6584 | ||
6585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6588 | { |
6589 | arg2 = wxString_in_helper(obj1); | |
6590 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6591 | temp2 = true; |
d14a1e28 RD |
6592 | } |
6593 | { | |
6594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6595 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
6596 | ||
6597 | wxPyEndAllowThreads(__tstate); | |
6598 | if (PyErr_Occurred()) SWIG_fail; | |
6599 | } | |
c370783e | 6600 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6601 | { |
6602 | if (temp2) | |
6603 | delete arg2; | |
6604 | } | |
6605 | return resultobj; | |
6606 | fail: | |
6607 | { | |
6608 | if (temp2) | |
6609 | delete arg2; | |
6610 | } | |
6611 | return NULL; | |
6612 | } | |
6613 | ||
6614 | ||
c370783e | 6615 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6616 | PyObject *resultobj; |
6617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6618 | wxString *arg2 = 0 ; | |
6619 | int result; | |
b411df4a | 6620 | bool temp2 = false ; |
d14a1e28 RD |
6621 | PyObject * obj0 = 0 ; |
6622 | PyObject * obj1 = 0 ; | |
6623 | char *kwnames[] = { | |
6624 | (char *) "self",(char *) "text", NULL | |
6625 | }; | |
6626 | ||
6627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6630 | { |
6631 | arg2 = wxString_in_helper(obj1); | |
6632 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6633 | temp2 = true; |
d14a1e28 RD |
6634 | } |
6635 | { | |
6636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6637 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
6638 | ||
6639 | wxPyEndAllowThreads(__tstate); | |
6640 | if (PyErr_Occurred()) SWIG_fail; | |
6641 | } | |
c370783e | 6642 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6643 | { |
6644 | if (temp2) | |
6645 | delete arg2; | |
6646 | } | |
6647 | return resultobj; | |
6648 | fail: | |
6649 | { | |
6650 | if (temp2) | |
6651 | delete arg2; | |
6652 | } | |
6653 | return NULL; | |
6654 | } | |
6655 | ||
6656 | ||
c370783e | 6657 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6658 | PyObject *resultobj; |
6659 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6660 | wxString *arg2 = 0 ; | |
6661 | int result; | |
b411df4a | 6662 | bool temp2 = false ; |
d14a1e28 RD |
6663 | PyObject * obj0 = 0 ; |
6664 | PyObject * obj1 = 0 ; | |
6665 | char *kwnames[] = { | |
6666 | (char *) "self",(char *) "text", NULL | |
6667 | }; | |
6668 | ||
6669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6672 | { |
6673 | arg2 = wxString_in_helper(obj1); | |
6674 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6675 | temp2 = true; |
d14a1e28 RD |
6676 | } |
6677 | { | |
6678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6679 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
6680 | ||
6681 | wxPyEndAllowThreads(__tstate); | |
6682 | if (PyErr_Occurred()) SWIG_fail; | |
6683 | } | |
c370783e | 6684 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6685 | { |
6686 | if (temp2) | |
6687 | delete arg2; | |
6688 | } | |
6689 | return resultobj; | |
6690 | fail: | |
6691 | { | |
6692 | if (temp2) | |
6693 | delete arg2; | |
6694 | } | |
6695 | return NULL; | |
6696 | } | |
6697 | ||
6698 | ||
c370783e | 6699 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6700 | PyObject *resultobj; |
6701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6702 | int arg2 ; | |
6703 | PyObject * obj0 = 0 ; | |
994141e6 | 6704 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6705 | char *kwnames[] = { |
6706 | (char *) "self",(char *) "flags", NULL | |
6707 | }; | |
6708 | ||
994141e6 | 6709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6712 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6713 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6714 | { |
6715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6716 | (arg1)->SetSearchFlags(arg2); | |
6717 | ||
6718 | wxPyEndAllowThreads(__tstate); | |
6719 | if (PyErr_Occurred()) SWIG_fail; | |
6720 | } | |
6721 | Py_INCREF(Py_None); resultobj = Py_None; | |
6722 | return resultobj; | |
6723 | fail: | |
6724 | return NULL; | |
6725 | } | |
6726 | ||
6727 | ||
c370783e | 6728 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6729 | PyObject *resultobj; |
6730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6731 | int result; | |
6732 | PyObject * obj0 = 0 ; | |
6733 | char *kwnames[] = { | |
6734 | (char *) "self", NULL | |
6735 | }; | |
6736 | ||
6737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6740 | { |
6741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6742 | result = (int)(arg1)->GetSearchFlags(); | |
6743 | ||
6744 | wxPyEndAllowThreads(__tstate); | |
6745 | if (PyErr_Occurred()) SWIG_fail; | |
6746 | } | |
c370783e | 6747 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6748 | return resultobj; |
6749 | fail: | |
6750 | return NULL; | |
6751 | } | |
6752 | ||
6753 | ||
c370783e | 6754 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6755 | PyObject *resultobj; |
6756 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6757 | int arg2 ; | |
6758 | wxString *arg3 = 0 ; | |
b411df4a | 6759 | bool temp3 = false ; |
d14a1e28 | 6760 | PyObject * obj0 = 0 ; |
994141e6 | 6761 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6762 | PyObject * obj2 = 0 ; |
6763 | char *kwnames[] = { | |
6764 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
6765 | }; | |
6766 | ||
994141e6 | 6767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6770 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6771 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6772 | { |
6773 | arg3 = wxString_in_helper(obj2); | |
6774 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 6775 | temp3 = true; |
d14a1e28 RD |
6776 | } |
6777 | { | |
6778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6779 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
6780 | ||
6781 | wxPyEndAllowThreads(__tstate); | |
6782 | if (PyErr_Occurred()) SWIG_fail; | |
6783 | } | |
6784 | Py_INCREF(Py_None); resultobj = Py_None; | |
6785 | { | |
6786 | if (temp3) | |
6787 | delete arg3; | |
6788 | } | |
6789 | return resultobj; | |
6790 | fail: | |
6791 | { | |
6792 | if (temp3) | |
6793 | delete arg3; | |
6794 | } | |
6795 | return NULL; | |
6796 | } | |
6797 | ||
6798 | ||
c370783e | 6799 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6800 | PyObject *resultobj; |
6801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6802 | PyObject * obj0 = 0 ; | |
6803 | char *kwnames[] = { | |
6804 | (char *) "self", NULL | |
6805 | }; | |
6806 | ||
6807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6810 | { |
6811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6812 | (arg1)->CallTipCancel(); | |
6813 | ||
6814 | wxPyEndAllowThreads(__tstate); | |
6815 | if (PyErr_Occurred()) SWIG_fail; | |
6816 | } | |
6817 | Py_INCREF(Py_None); resultobj = Py_None; | |
6818 | return resultobj; | |
6819 | fail: | |
6820 | return NULL; | |
6821 | } | |
6822 | ||
6823 | ||
c370783e | 6824 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6825 | PyObject *resultobj; |
6826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6827 | bool result; | |
6828 | PyObject * obj0 = 0 ; | |
6829 | char *kwnames[] = { | |
6830 | (char *) "self", NULL | |
6831 | }; | |
6832 | ||
6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6836 | { |
6837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6838 | result = (bool)(arg1)->CallTipActive(); | |
6839 | ||
6840 | wxPyEndAllowThreads(__tstate); | |
6841 | if (PyErr_Occurred()) SWIG_fail; | |
6842 | } | |
4f89f6a3 RD |
6843 | { |
6844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6845 | } | |
d14a1e28 RD |
6846 | return resultobj; |
6847 | fail: | |
6848 | return NULL; | |
6849 | } | |
6850 | ||
6851 | ||
c370783e | 6852 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6853 | PyObject *resultobj; |
6854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6855 | int result; | |
6856 | PyObject * obj0 = 0 ; | |
6857 | char *kwnames[] = { | |
6858 | (char *) "self", NULL | |
6859 | }; | |
6860 | ||
6861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6864 | { |
6865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6866 | result = (int)(arg1)->CallTipPosAtStart(); | |
6867 | ||
6868 | wxPyEndAllowThreads(__tstate); | |
6869 | if (PyErr_Occurred()) SWIG_fail; | |
6870 | } | |
c370783e | 6871 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6872 | return resultobj; |
6873 | fail: | |
6874 | return NULL; | |
6875 | } | |
6876 | ||
6877 | ||
c370783e | 6878 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6879 | PyObject *resultobj; |
6880 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6881 | int arg2 ; | |
6882 | int arg3 ; | |
6883 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6884 | PyObject * obj1 = 0 ; |
6885 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6886 | char *kwnames[] = { |
6887 | (char *) "self",(char *) "start",(char *) "end", NULL | |
6888 | }; | |
6889 | ||
994141e6 | 6890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6893 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6894 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 6895 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 6896 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6897 | { |
6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6899 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
6900 | ||
6901 | wxPyEndAllowThreads(__tstate); | |
6902 | if (PyErr_Occurred()) SWIG_fail; | |
6903 | } | |
6904 | Py_INCREF(Py_None); resultobj = Py_None; | |
6905 | return resultobj; | |
6906 | fail: | |
6907 | return NULL; | |
6908 | } | |
6909 | ||
6910 | ||
c370783e | 6911 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6912 | PyObject *resultobj; |
6913 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6914 | wxColour *arg2 = 0 ; | |
6915 | wxColour temp2 ; | |
6916 | PyObject * obj0 = 0 ; | |
6917 | PyObject * obj1 = 0 ; | |
6918 | char *kwnames[] = { | |
6919 | (char *) "self",(char *) "back", NULL | |
6920 | }; | |
6921 | ||
6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6925 | { |
6926 | arg2 = &temp2; | |
6927 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6928 | } | |
6929 | { | |
6930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6931 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
6932 | ||
6933 | wxPyEndAllowThreads(__tstate); | |
6934 | if (PyErr_Occurred()) SWIG_fail; | |
6935 | } | |
6936 | Py_INCREF(Py_None); resultobj = Py_None; | |
6937 | return resultobj; | |
6938 | fail: | |
6939 | return NULL; | |
6940 | } | |
6941 | ||
6942 | ||
c370783e | 6943 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6944 | PyObject *resultobj; |
6945 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6946 | wxColour *arg2 = 0 ; | |
6947 | wxColour temp2 ; | |
6948 | PyObject * obj0 = 0 ; | |
6949 | PyObject * obj1 = 0 ; | |
6950 | char *kwnames[] = { | |
6951 | (char *) "self",(char *) "fore", NULL | |
6952 | }; | |
6953 | ||
6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6957 | { |
6958 | arg2 = &temp2; | |
6959 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6960 | } | |
6961 | { | |
6962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6963 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
6964 | ||
6965 | wxPyEndAllowThreads(__tstate); | |
6966 | if (PyErr_Occurred()) SWIG_fail; | |
6967 | } | |
6968 | Py_INCREF(Py_None); resultobj = Py_None; | |
6969 | return resultobj; | |
6970 | fail: | |
6971 | return NULL; | |
6972 | } | |
6973 | ||
6974 | ||
c370783e | 6975 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6976 | PyObject *resultobj; |
6977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6978 | wxColour *arg2 = 0 ; | |
6979 | wxColour temp2 ; | |
6980 | PyObject * obj0 = 0 ; | |
6981 | PyObject * obj1 = 0 ; | |
6982 | char *kwnames[] = { | |
6983 | (char *) "self",(char *) "fore", NULL | |
6984 | }; | |
6985 | ||
6986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6989 | { |
6990 | arg2 = &temp2; | |
6991 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6992 | } | |
6993 | { | |
6994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6995 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
6996 | ||
6997 | wxPyEndAllowThreads(__tstate); | |
6998 | if (PyErr_Occurred()) SWIG_fail; | |
6999 | } | |
7000 | Py_INCREF(Py_None); resultobj = Py_None; | |
7001 | return resultobj; | |
7002 | fail: | |
7003 | return NULL; | |
7004 | } | |
7005 | ||
7006 | ||
c370783e | 7007 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7008 | PyObject *resultobj; |
7009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7010 | int arg2 ; | |
7011 | int result; | |
7012 | PyObject * obj0 = 0 ; | |
994141e6 | 7013 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7014 | char *kwnames[] = { |
7015 | (char *) "self",(char *) "line", NULL | |
7016 | }; | |
7017 | ||
994141e6 | 7018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7021 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7022 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7023 | { |
7024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7025 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
7026 | ||
7027 | wxPyEndAllowThreads(__tstate); | |
7028 | if (PyErr_Occurred()) SWIG_fail; | |
7029 | } | |
c370783e | 7030 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7031 | return resultobj; |
7032 | fail: | |
7033 | return NULL; | |
7034 | } | |
7035 | ||
7036 | ||
c370783e | 7037 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7038 | PyObject *resultobj; |
7039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7040 | int arg2 ; | |
7041 | int result; | |
7042 | PyObject * obj0 = 0 ; | |
994141e6 | 7043 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7044 | char *kwnames[] = { |
7045 | (char *) "self",(char *) "lineDisplay", NULL | |
7046 | }; | |
7047 | ||
994141e6 | 7048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7051 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7052 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7053 | { |
7054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7055 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
7056 | ||
7057 | wxPyEndAllowThreads(__tstate); | |
7058 | if (PyErr_Occurred()) SWIG_fail; | |
7059 | } | |
c370783e | 7060 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7061 | return resultobj; |
7062 | fail: | |
7063 | return NULL; | |
7064 | } | |
7065 | ||
7066 | ||
c370783e | 7067 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7068 | PyObject *resultobj; |
7069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7070 | int arg2 ; | |
7071 | int arg3 ; | |
7072 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7073 | PyObject * obj1 = 0 ; |
7074 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7075 | char *kwnames[] = { |
7076 | (char *) "self",(char *) "line",(char *) "level", NULL | |
7077 | }; | |
7078 | ||
994141e6 | 7079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7082 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7083 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7084 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7085 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7086 | { |
7087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7088 | (arg1)->SetFoldLevel(arg2,arg3); | |
7089 | ||
7090 | wxPyEndAllowThreads(__tstate); | |
7091 | if (PyErr_Occurred()) SWIG_fail; | |
7092 | } | |
7093 | Py_INCREF(Py_None); resultobj = Py_None; | |
7094 | return resultobj; | |
7095 | fail: | |
7096 | return NULL; | |
7097 | } | |
7098 | ||
7099 | ||
c370783e | 7100 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7101 | PyObject *resultobj; |
7102 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7103 | int arg2 ; | |
7104 | int result; | |
7105 | PyObject * obj0 = 0 ; | |
994141e6 | 7106 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7107 | char *kwnames[] = { |
7108 | (char *) "self",(char *) "line", NULL | |
7109 | }; | |
7110 | ||
994141e6 | 7111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7114 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7115 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7116 | { |
7117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7118 | result = (int)(arg1)->GetFoldLevel(arg2); | |
7119 | ||
7120 | wxPyEndAllowThreads(__tstate); | |
7121 | if (PyErr_Occurred()) SWIG_fail; | |
7122 | } | |
c370783e | 7123 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7124 | return resultobj; |
7125 | fail: | |
7126 | return NULL; | |
7127 | } | |
7128 | ||
7129 | ||
c370783e | 7130 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7131 | PyObject *resultobj; |
7132 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7133 | int arg2 ; | |
7134 | int arg3 ; | |
7135 | int result; | |
7136 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7137 | PyObject * obj1 = 0 ; |
7138 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7139 | char *kwnames[] = { |
7140 | (char *) "self",(char *) "line",(char *) "level", NULL | |
7141 | }; | |
7142 | ||
994141e6 | 7143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7146 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7147 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7148 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7149 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7150 | { |
7151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7152 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
7153 | ||
7154 | wxPyEndAllowThreads(__tstate); | |
7155 | if (PyErr_Occurred()) SWIG_fail; | |
7156 | } | |
c370783e | 7157 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7158 | return resultobj; |
7159 | fail: | |
7160 | return NULL; | |
7161 | } | |
7162 | ||
7163 | ||
c370783e | 7164 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7165 | PyObject *resultobj; |
7166 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7167 | int arg2 ; | |
7168 | int result; | |
7169 | PyObject * obj0 = 0 ; | |
994141e6 | 7170 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7171 | char *kwnames[] = { |
7172 | (char *) "self",(char *) "line", NULL | |
7173 | }; | |
7174 | ||
994141e6 | 7175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7178 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7179 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7180 | { |
7181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7182 | result = (int)(arg1)->GetFoldParent(arg2); | |
7183 | ||
7184 | wxPyEndAllowThreads(__tstate); | |
7185 | if (PyErr_Occurred()) SWIG_fail; | |
7186 | } | |
c370783e | 7187 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7188 | return resultobj; |
7189 | fail: | |
7190 | return NULL; | |
7191 | } | |
7192 | ||
7193 | ||
c370783e | 7194 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7195 | PyObject *resultobj; |
7196 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7197 | int arg2 ; | |
7198 | int arg3 ; | |
7199 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7200 | PyObject * obj1 = 0 ; |
7201 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7202 | char *kwnames[] = { |
7203 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7204 | }; | |
7205 | ||
994141e6 | 7206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7209 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7210 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7211 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7212 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7213 | { |
7214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7215 | (arg1)->ShowLines(arg2,arg3); | |
7216 | ||
7217 | wxPyEndAllowThreads(__tstate); | |
7218 | if (PyErr_Occurred()) SWIG_fail; | |
7219 | } | |
7220 | Py_INCREF(Py_None); resultobj = Py_None; | |
7221 | return resultobj; | |
7222 | fail: | |
7223 | return NULL; | |
7224 | } | |
7225 | ||
7226 | ||
c370783e | 7227 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7228 | PyObject *resultobj; |
7229 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7230 | int arg2 ; | |
7231 | int arg3 ; | |
7232 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7233 | PyObject * obj1 = 0 ; |
7234 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7235 | char *kwnames[] = { |
7236 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7237 | }; | |
7238 | ||
994141e6 | 7239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7242 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7243 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7244 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7245 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7246 | { |
7247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7248 | (arg1)->HideLines(arg2,arg3); | |
7249 | ||
7250 | wxPyEndAllowThreads(__tstate); | |
7251 | if (PyErr_Occurred()) SWIG_fail; | |
7252 | } | |
7253 | Py_INCREF(Py_None); resultobj = Py_None; | |
7254 | return resultobj; | |
7255 | fail: | |
7256 | return NULL; | |
7257 | } | |
7258 | ||
7259 | ||
c370783e | 7260 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7261 | PyObject *resultobj; |
7262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7263 | int arg2 ; | |
7264 | bool result; | |
7265 | PyObject * obj0 = 0 ; | |
994141e6 | 7266 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7267 | char *kwnames[] = { |
7268 | (char *) "self",(char *) "line", NULL | |
7269 | }; | |
7270 | ||
994141e6 | 7271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7274 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7275 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7276 | { |
7277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7278 | result = (bool)(arg1)->GetLineVisible(arg2); | |
7279 | ||
7280 | wxPyEndAllowThreads(__tstate); | |
7281 | if (PyErr_Occurred()) SWIG_fail; | |
7282 | } | |
4f89f6a3 RD |
7283 | { |
7284 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7285 | } | |
d14a1e28 RD |
7286 | return resultobj; |
7287 | fail: | |
7288 | return NULL; | |
7289 | } | |
7290 | ||
7291 | ||
c370783e | 7292 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7293 | PyObject *resultobj; |
7294 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7295 | int arg2 ; | |
7296 | bool arg3 ; | |
7297 | PyObject * obj0 = 0 ; | |
994141e6 | 7298 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7299 | PyObject * obj2 = 0 ; |
7300 | char *kwnames[] = { | |
7301 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
7302 | }; | |
7303 | ||
994141e6 | 7304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7307 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7308 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7309 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7310 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7311 | { |
7312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7313 | (arg1)->SetFoldExpanded(arg2,arg3); | |
7314 | ||
7315 | wxPyEndAllowThreads(__tstate); | |
7316 | if (PyErr_Occurred()) SWIG_fail; | |
7317 | } | |
7318 | Py_INCREF(Py_None); resultobj = Py_None; | |
7319 | return resultobj; | |
7320 | fail: | |
7321 | return NULL; | |
7322 | } | |
7323 | ||
7324 | ||
c370783e | 7325 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7326 | PyObject *resultobj; |
7327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7328 | int arg2 ; | |
7329 | bool result; | |
7330 | PyObject * obj0 = 0 ; | |
994141e6 | 7331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7332 | char *kwnames[] = { |
7333 | (char *) "self",(char *) "line", NULL | |
7334 | }; | |
7335 | ||
994141e6 | 7336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7339 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7340 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7341 | { |
7342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7343 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
7344 | ||
7345 | wxPyEndAllowThreads(__tstate); | |
7346 | if (PyErr_Occurred()) SWIG_fail; | |
7347 | } | |
4f89f6a3 RD |
7348 | { |
7349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7350 | } | |
d14a1e28 RD |
7351 | return resultobj; |
7352 | fail: | |
7353 | return NULL; | |
7354 | } | |
7355 | ||
7356 | ||
c370783e | 7357 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7358 | PyObject *resultobj; |
7359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7360 | int arg2 ; | |
7361 | PyObject * obj0 = 0 ; | |
994141e6 | 7362 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7363 | char *kwnames[] = { |
7364 | (char *) "self",(char *) "line", NULL | |
7365 | }; | |
7366 | ||
994141e6 | 7367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7370 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7371 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7372 | { |
7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7374 | (arg1)->ToggleFold(arg2); | |
7375 | ||
7376 | wxPyEndAllowThreads(__tstate); | |
7377 | if (PyErr_Occurred()) SWIG_fail; | |
7378 | } | |
7379 | Py_INCREF(Py_None); resultobj = Py_None; | |
7380 | return resultobj; | |
7381 | fail: | |
7382 | return NULL; | |
7383 | } | |
7384 | ||
7385 | ||
c370783e | 7386 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7387 | PyObject *resultobj; |
7388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7389 | int arg2 ; | |
7390 | PyObject * obj0 = 0 ; | |
994141e6 | 7391 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7392 | char *kwnames[] = { |
7393 | (char *) "self",(char *) "line", NULL | |
7394 | }; | |
7395 | ||
994141e6 | 7396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7399 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7400 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7401 | { |
7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7403 | (arg1)->EnsureVisible(arg2); | |
7404 | ||
7405 | wxPyEndAllowThreads(__tstate); | |
7406 | if (PyErr_Occurred()) SWIG_fail; | |
7407 | } | |
7408 | Py_INCREF(Py_None); resultobj = Py_None; | |
7409 | return resultobj; | |
7410 | fail: | |
7411 | return NULL; | |
7412 | } | |
7413 | ||
7414 | ||
c370783e | 7415 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7416 | PyObject *resultobj; |
7417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7418 | int arg2 ; | |
7419 | PyObject * obj0 = 0 ; | |
994141e6 | 7420 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7421 | char *kwnames[] = { |
7422 | (char *) "self",(char *) "flags", NULL | |
7423 | }; | |
7424 | ||
994141e6 | 7425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7428 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7429 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7430 | { |
7431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7432 | (arg1)->SetFoldFlags(arg2); | |
7433 | ||
7434 | wxPyEndAllowThreads(__tstate); | |
7435 | if (PyErr_Occurred()) SWIG_fail; | |
7436 | } | |
7437 | Py_INCREF(Py_None); resultobj = Py_None; | |
7438 | return resultobj; | |
7439 | fail: | |
7440 | return NULL; | |
7441 | } | |
7442 | ||
7443 | ||
c370783e | 7444 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7445 | PyObject *resultobj; |
7446 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7447 | int arg2 ; | |
7448 | PyObject * obj0 = 0 ; | |
994141e6 | 7449 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7450 | char *kwnames[] = { |
7451 | (char *) "self",(char *) "line", NULL | |
7452 | }; | |
7453 | ||
994141e6 | 7454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7455 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7456 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7457 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7458 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7459 | { |
7460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7461 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
7462 | ||
7463 | wxPyEndAllowThreads(__tstate); | |
7464 | if (PyErr_Occurred()) SWIG_fail; | |
7465 | } | |
7466 | Py_INCREF(Py_None); resultobj = Py_None; | |
7467 | return resultobj; | |
7468 | fail: | |
7469 | return NULL; | |
7470 | } | |
7471 | ||
7472 | ||
c370783e | 7473 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7474 | PyObject *resultobj; |
7475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7476 | bool arg2 ; | |
7477 | PyObject * obj0 = 0 ; | |
7478 | PyObject * obj1 = 0 ; | |
7479 | char *kwnames[] = { | |
7480 | (char *) "self",(char *) "tabIndents", NULL | |
7481 | }; | |
7482 | ||
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7486 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 7487 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7488 | { |
7489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7490 | (arg1)->SetTabIndents(arg2); | |
7491 | ||
7492 | wxPyEndAllowThreads(__tstate); | |
7493 | if (PyErr_Occurred()) SWIG_fail; | |
7494 | } | |
7495 | Py_INCREF(Py_None); resultobj = Py_None; | |
7496 | return resultobj; | |
7497 | fail: | |
7498 | return NULL; | |
7499 | } | |
7500 | ||
7501 | ||
c370783e | 7502 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7503 | PyObject *resultobj; |
7504 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7505 | bool result; | |
7506 | PyObject * obj0 = 0 ; | |
7507 | char *kwnames[] = { | |
7508 | (char *) "self", NULL | |
7509 | }; | |
7510 | ||
7511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7514 | { |
7515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7516 | result = (bool)(arg1)->GetTabIndents(); | |
7517 | ||
7518 | wxPyEndAllowThreads(__tstate); | |
7519 | if (PyErr_Occurred()) SWIG_fail; | |
7520 | } | |
4f89f6a3 RD |
7521 | { |
7522 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7523 | } | |
d14a1e28 RD |
7524 | return resultobj; |
7525 | fail: | |
7526 | return NULL; | |
7527 | } | |
7528 | ||
7529 | ||
c370783e | 7530 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7531 | PyObject *resultobj; |
7532 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7533 | bool arg2 ; | |
7534 | PyObject * obj0 = 0 ; | |
7535 | PyObject * obj1 = 0 ; | |
7536 | char *kwnames[] = { | |
7537 | (char *) "self",(char *) "bsUnIndents", NULL | |
7538 | }; | |
7539 | ||
7540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7543 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 7544 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7545 | { |
7546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7547 | (arg1)->SetBackSpaceUnIndents(arg2); | |
7548 | ||
7549 | wxPyEndAllowThreads(__tstate); | |
7550 | if (PyErr_Occurred()) SWIG_fail; | |
7551 | } | |
7552 | Py_INCREF(Py_None); resultobj = Py_None; | |
7553 | return resultobj; | |
7554 | fail: | |
7555 | return NULL; | |
7556 | } | |
7557 | ||
7558 | ||
c370783e | 7559 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7560 | PyObject *resultobj; |
7561 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7562 | bool result; | |
7563 | PyObject * obj0 = 0 ; | |
7564 | char *kwnames[] = { | |
7565 | (char *) "self", NULL | |
7566 | }; | |
7567 | ||
7568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7571 | { |
7572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7573 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
7574 | ||
7575 | wxPyEndAllowThreads(__tstate); | |
7576 | if (PyErr_Occurred()) SWIG_fail; | |
7577 | } | |
4f89f6a3 RD |
7578 | { |
7579 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7580 | } | |
d14a1e28 RD |
7581 | return resultobj; |
7582 | fail: | |
7583 | return NULL; | |
7584 | } | |
7585 | ||
7586 | ||
c370783e | 7587 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7588 | PyObject *resultobj; |
7589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7590 | int arg2 ; | |
7591 | PyObject * obj0 = 0 ; | |
994141e6 | 7592 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7593 | char *kwnames[] = { |
7594 | (char *) "self",(char *) "periodMilliseconds", NULL | |
7595 | }; | |
7596 | ||
994141e6 | 7597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7600 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7601 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7602 | { |
7603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7604 | (arg1)->SetMouseDwellTime(arg2); | |
7605 | ||
7606 | wxPyEndAllowThreads(__tstate); | |
7607 | if (PyErr_Occurred()) SWIG_fail; | |
7608 | } | |
7609 | Py_INCREF(Py_None); resultobj = Py_None; | |
7610 | return resultobj; | |
7611 | fail: | |
7612 | return NULL; | |
7613 | } | |
7614 | ||
7615 | ||
c370783e | 7616 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7617 | PyObject *resultobj; |
7618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7619 | int result; | |
7620 | PyObject * obj0 = 0 ; | |
7621 | char *kwnames[] = { | |
7622 | (char *) "self", NULL | |
7623 | }; | |
7624 | ||
7625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7628 | { |
7629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7630 | result = (int)(arg1)->GetMouseDwellTime(); | |
7631 | ||
7632 | wxPyEndAllowThreads(__tstate); | |
7633 | if (PyErr_Occurred()) SWIG_fail; | |
7634 | } | |
c370783e | 7635 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7636 | return resultobj; |
7637 | fail: | |
7638 | return NULL; | |
7639 | } | |
7640 | ||
7641 | ||
c370783e | 7642 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7643 | PyObject *resultobj; |
7644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7645 | int arg2 ; | |
7646 | bool arg3 ; | |
7647 | int result; | |
7648 | PyObject * obj0 = 0 ; | |
994141e6 | 7649 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7650 | PyObject * obj2 = 0 ; |
7651 | char *kwnames[] = { | |
7652 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7653 | }; | |
7654 | ||
994141e6 | 7655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7658 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7659 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7660 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7661 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7662 | { |
7663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7664 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
7665 | ||
7666 | wxPyEndAllowThreads(__tstate); | |
7667 | if (PyErr_Occurred()) SWIG_fail; | |
7668 | } | |
c370783e | 7669 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7670 | return resultobj; |
7671 | fail: | |
7672 | return NULL; | |
7673 | } | |
7674 | ||
7675 | ||
c370783e | 7676 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7677 | PyObject *resultobj; |
7678 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7679 | int arg2 ; | |
7680 | bool arg3 ; | |
7681 | int result; | |
7682 | PyObject * obj0 = 0 ; | |
994141e6 | 7683 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7684 | PyObject * obj2 = 0 ; |
7685 | char *kwnames[] = { | |
7686 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7687 | }; | |
7688 | ||
994141e6 | 7689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7692 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7693 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7694 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7695 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7696 | { |
7697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7698 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
7699 | ||
7700 | wxPyEndAllowThreads(__tstate); | |
7701 | if (PyErr_Occurred()) SWIG_fail; | |
7702 | } | |
c370783e | 7703 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7704 | return resultobj; |
7705 | fail: | |
7706 | return NULL; | |
7707 | } | |
7708 | ||
7709 | ||
c370783e | 7710 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7711 | PyObject *resultobj; |
7712 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7713 | int arg2 ; | |
7714 | PyObject * obj0 = 0 ; | |
994141e6 | 7715 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7716 | char *kwnames[] = { |
7717 | (char *) "self",(char *) "mode", NULL | |
7718 | }; | |
7719 | ||
994141e6 | 7720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7723 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7724 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7725 | { |
7726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7727 | (arg1)->SetWrapMode(arg2); | |
7728 | ||
7729 | wxPyEndAllowThreads(__tstate); | |
7730 | if (PyErr_Occurred()) SWIG_fail; | |
7731 | } | |
7732 | Py_INCREF(Py_None); resultobj = Py_None; | |
7733 | return resultobj; | |
7734 | fail: | |
7735 | return NULL; | |
7736 | } | |
7737 | ||
7738 | ||
c370783e | 7739 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7740 | PyObject *resultobj; |
7741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7742 | int result; | |
7743 | PyObject * obj0 = 0 ; | |
7744 | char *kwnames[] = { | |
7745 | (char *) "self", NULL | |
7746 | }; | |
7747 | ||
7748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7751 | { |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7753 | result = (int)(arg1)->GetWrapMode(); | |
7754 | ||
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
c370783e | 7758 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7759 | return resultobj; |
7760 | fail: | |
7761 | return NULL; | |
7762 | } | |
7763 | ||
7764 | ||
c370783e | 7765 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7766 | PyObject *resultobj; |
7767 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7768 | int arg2 ; | |
7769 | PyObject * obj0 = 0 ; | |
994141e6 | 7770 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7771 | char *kwnames[] = { |
7772 | (char *) "self",(char *) "mode", NULL | |
7773 | }; | |
7774 | ||
994141e6 | 7775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7778 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7779 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7780 | { |
7781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7782 | (arg1)->SetLayoutCache(arg2); | |
7783 | ||
7784 | wxPyEndAllowThreads(__tstate); | |
7785 | if (PyErr_Occurred()) SWIG_fail; | |
7786 | } | |
7787 | Py_INCREF(Py_None); resultobj = Py_None; | |
7788 | return resultobj; | |
7789 | fail: | |
7790 | return NULL; | |
7791 | } | |
7792 | ||
7793 | ||
c370783e | 7794 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7795 | PyObject *resultobj; |
7796 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7797 | int result; | |
7798 | PyObject * obj0 = 0 ; | |
7799 | char *kwnames[] = { | |
7800 | (char *) "self", NULL | |
7801 | }; | |
7802 | ||
7803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7806 | { |
7807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7808 | result = (int)(arg1)->GetLayoutCache(); | |
7809 | ||
7810 | wxPyEndAllowThreads(__tstate); | |
7811 | if (PyErr_Occurred()) SWIG_fail; | |
7812 | } | |
c370783e | 7813 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7814 | return resultobj; |
7815 | fail: | |
7816 | return NULL; | |
7817 | } | |
7818 | ||
7819 | ||
c370783e | 7820 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7821 | PyObject *resultobj; |
7822 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7823 | int arg2 ; | |
7824 | PyObject * obj0 = 0 ; | |
994141e6 | 7825 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7826 | char *kwnames[] = { |
7827 | (char *) "self",(char *) "pixelWidth", NULL | |
7828 | }; | |
7829 | ||
994141e6 | 7830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7833 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7834 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7835 | { |
7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7837 | (arg1)->SetScrollWidth(arg2); | |
7838 | ||
7839 | wxPyEndAllowThreads(__tstate); | |
7840 | if (PyErr_Occurred()) SWIG_fail; | |
7841 | } | |
7842 | Py_INCREF(Py_None); resultobj = Py_None; | |
7843 | return resultobj; | |
7844 | fail: | |
7845 | return NULL; | |
7846 | } | |
7847 | ||
7848 | ||
c370783e | 7849 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7850 | PyObject *resultobj; |
7851 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7852 | int result; | |
7853 | PyObject * obj0 = 0 ; | |
7854 | char *kwnames[] = { | |
7855 | (char *) "self", NULL | |
7856 | }; | |
7857 | ||
7858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7861 | { |
7862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7863 | result = (int)(arg1)->GetScrollWidth(); | |
7864 | ||
7865 | wxPyEndAllowThreads(__tstate); | |
7866 | if (PyErr_Occurred()) SWIG_fail; | |
7867 | } | |
c370783e | 7868 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7869 | return resultobj; |
7870 | fail: | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
c370783e | 7875 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7876 | PyObject *resultobj; |
7877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7878 | int arg2 ; | |
7879 | wxString *arg3 = 0 ; | |
7880 | int result; | |
b411df4a | 7881 | bool temp3 = false ; |
d14a1e28 | 7882 | PyObject * obj0 = 0 ; |
994141e6 | 7883 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7884 | PyObject * obj2 = 0 ; |
7885 | char *kwnames[] = { | |
7886 | (char *) "self",(char *) "style",(char *) "text", NULL | |
7887 | }; | |
7888 | ||
994141e6 | 7889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7892 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7893 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7894 | { |
7895 | arg3 = wxString_in_helper(obj2); | |
7896 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 7897 | temp3 = true; |
d14a1e28 RD |
7898 | } |
7899 | { | |
7900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7901 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
7902 | ||
7903 | wxPyEndAllowThreads(__tstate); | |
7904 | if (PyErr_Occurred()) SWIG_fail; | |
7905 | } | |
c370783e | 7906 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7907 | { |
7908 | if (temp3) | |
7909 | delete arg3; | |
7910 | } | |
7911 | return resultobj; | |
7912 | fail: | |
7913 | { | |
7914 | if (temp3) | |
7915 | delete arg3; | |
7916 | } | |
7917 | return NULL; | |
7918 | } | |
7919 | ||
7920 | ||
c370783e | 7921 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7922 | PyObject *resultobj; |
7923 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7924 | bool arg2 ; | |
7925 | PyObject * obj0 = 0 ; | |
7926 | PyObject * obj1 = 0 ; | |
7927 | char *kwnames[] = { | |
7928 | (char *) "self",(char *) "endAtLastLine", NULL | |
7929 | }; | |
7930 | ||
7931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7932 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7933 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7934 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 7935 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7936 | { |
7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7938 | (arg1)->SetEndAtLastLine(arg2); | |
7939 | ||
7940 | wxPyEndAllowThreads(__tstate); | |
7941 | if (PyErr_Occurred()) SWIG_fail; | |
7942 | } | |
7943 | Py_INCREF(Py_None); resultobj = Py_None; | |
7944 | return resultobj; | |
7945 | fail: | |
7946 | return NULL; | |
7947 | } | |
7948 | ||
7949 | ||
c370783e | 7950 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7951 | PyObject *resultobj; |
7952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7953 | int result; | |
7954 | PyObject * obj0 = 0 ; | |
7955 | char *kwnames[] = { | |
7956 | (char *) "self", NULL | |
7957 | }; | |
7958 | ||
7959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7962 | { |
7963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7964 | result = (int)(arg1)->GetEndAtLastLine(); | |
7965 | ||
7966 | wxPyEndAllowThreads(__tstate); | |
7967 | if (PyErr_Occurred()) SWIG_fail; | |
7968 | } | |
c370783e | 7969 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7970 | return resultobj; |
7971 | fail: | |
7972 | return NULL; | |
7973 | } | |
7974 | ||
7975 | ||
c370783e | 7976 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7977 | PyObject *resultobj; |
7978 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7979 | int arg2 ; | |
7980 | int result; | |
7981 | PyObject * obj0 = 0 ; | |
994141e6 | 7982 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7983 | char *kwnames[] = { |
7984 | (char *) "self",(char *) "line", NULL | |
7985 | }; | |
7986 | ||
994141e6 | 7987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7990 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7991 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7992 | { |
7993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7994 | result = (int)(arg1)->TextHeight(arg2); | |
7995 | ||
7996 | wxPyEndAllowThreads(__tstate); | |
7997 | if (PyErr_Occurred()) SWIG_fail; | |
7998 | } | |
c370783e | 7999 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8000 | return resultobj; |
8001 | fail: | |
8002 | return NULL; | |
8003 | } | |
8004 | ||
8005 | ||
c370783e | 8006 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8007 | PyObject *resultobj; |
8008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8009 | bool arg2 ; | |
8010 | PyObject * obj0 = 0 ; | |
8011 | PyObject * obj1 = 0 ; | |
8012 | char *kwnames[] = { | |
8013 | (char *) "self",(char *) "show", NULL | |
8014 | }; | |
8015 | ||
8016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8019 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8020 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8021 | { |
8022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8023 | (arg1)->SetUseVerticalScrollBar(arg2); | |
8024 | ||
8025 | wxPyEndAllowThreads(__tstate); | |
8026 | if (PyErr_Occurred()) SWIG_fail; | |
8027 | } | |
8028 | Py_INCREF(Py_None); resultobj = Py_None; | |
8029 | return resultobj; | |
8030 | fail: | |
8031 | return NULL; | |
8032 | } | |
8033 | ||
8034 | ||
c370783e | 8035 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8036 | PyObject *resultobj; |
8037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8038 | bool result; | |
8039 | PyObject * obj0 = 0 ; | |
8040 | char *kwnames[] = { | |
8041 | (char *) "self", NULL | |
8042 | }; | |
8043 | ||
8044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8047 | { |
8048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8049 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
8050 | ||
8051 | wxPyEndAllowThreads(__tstate); | |
8052 | if (PyErr_Occurred()) SWIG_fail; | |
8053 | } | |
4f89f6a3 RD |
8054 | { |
8055 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8056 | } | |
d14a1e28 RD |
8057 | return resultobj; |
8058 | fail: | |
8059 | return NULL; | |
8060 | } | |
8061 | ||
8062 | ||
c370783e | 8063 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8064 | PyObject *resultobj; |
8065 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8066 | int arg2 ; | |
8067 | wxString *arg3 = 0 ; | |
b411df4a | 8068 | bool temp3 = false ; |
d14a1e28 | 8069 | PyObject * obj0 = 0 ; |
994141e6 | 8070 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8071 | PyObject * obj2 = 0 ; |
8072 | char *kwnames[] = { | |
8073 | (char *) "self",(char *) "length",(char *) "text", NULL | |
8074 | }; | |
8075 | ||
994141e6 | 8076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8079 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8080 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8081 | { |
8082 | arg3 = wxString_in_helper(obj2); | |
8083 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 8084 | temp3 = true; |
d14a1e28 RD |
8085 | } |
8086 | { | |
8087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8088 | (arg1)->AppendText(arg2,(wxString const &)*arg3); | |
8089 | ||
8090 | wxPyEndAllowThreads(__tstate); | |
8091 | if (PyErr_Occurred()) SWIG_fail; | |
8092 | } | |
8093 | Py_INCREF(Py_None); resultobj = Py_None; | |
8094 | { | |
8095 | if (temp3) | |
8096 | delete arg3; | |
8097 | } | |
8098 | return resultobj; | |
8099 | fail: | |
8100 | { | |
8101 | if (temp3) | |
8102 | delete arg3; | |
8103 | } | |
8104 | return NULL; | |
8105 | } | |
8106 | ||
8107 | ||
c370783e | 8108 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8109 | PyObject *resultobj; |
8110 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8111 | bool result; | |
8112 | PyObject * obj0 = 0 ; | |
8113 | char *kwnames[] = { | |
8114 | (char *) "self", NULL | |
8115 | }; | |
8116 | ||
8117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8120 | { |
8121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8122 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
8123 | ||
8124 | wxPyEndAllowThreads(__tstate); | |
8125 | if (PyErr_Occurred()) SWIG_fail; | |
8126 | } | |
4f89f6a3 RD |
8127 | { |
8128 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8129 | } | |
d14a1e28 RD |
8130 | return resultobj; |
8131 | fail: | |
8132 | return NULL; | |
8133 | } | |
8134 | ||
8135 | ||
c370783e | 8136 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8137 | PyObject *resultobj; |
8138 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8139 | bool arg2 ; | |
8140 | PyObject * obj0 = 0 ; | |
8141 | PyObject * obj1 = 0 ; | |
8142 | char *kwnames[] = { | |
8143 | (char *) "self",(char *) "twoPhase", NULL | |
8144 | }; | |
8145 | ||
8146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8149 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8150 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8151 | { |
8152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8153 | (arg1)->SetTwoPhaseDraw(arg2); | |
8154 | ||
8155 | wxPyEndAllowThreads(__tstate); | |
8156 | if (PyErr_Occurred()) SWIG_fail; | |
8157 | } | |
8158 | Py_INCREF(Py_None); resultobj = Py_None; | |
8159 | return resultobj; | |
8160 | fail: | |
8161 | return NULL; | |
8162 | } | |
8163 | ||
8164 | ||
c370783e | 8165 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8166 | PyObject *resultobj; |
8167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8168 | PyObject * obj0 = 0 ; | |
8169 | char *kwnames[] = { | |
8170 | (char *) "self", NULL | |
8171 | }; | |
8172 | ||
8173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8176 | { |
8177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8178 | (arg1)->TargetFromSelection(); | |
8179 | ||
8180 | wxPyEndAllowThreads(__tstate); | |
8181 | if (PyErr_Occurred()) SWIG_fail; | |
8182 | } | |
8183 | Py_INCREF(Py_None); resultobj = Py_None; | |
8184 | return resultobj; | |
8185 | fail: | |
8186 | return NULL; | |
8187 | } | |
8188 | ||
8189 | ||
c370783e | 8190 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8191 | PyObject *resultobj; |
8192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8193 | PyObject * obj0 = 0 ; | |
8194 | char *kwnames[] = { | |
8195 | (char *) "self", NULL | |
8196 | }; | |
8197 | ||
8198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8201 | { |
8202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8203 | (arg1)->LinesJoin(); | |
8204 | ||
8205 | wxPyEndAllowThreads(__tstate); | |
8206 | if (PyErr_Occurred()) SWIG_fail; | |
8207 | } | |
8208 | Py_INCREF(Py_None); resultobj = Py_None; | |
8209 | return resultobj; | |
8210 | fail: | |
8211 | return NULL; | |
8212 | } | |
8213 | ||
8214 | ||
c370783e | 8215 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8216 | PyObject *resultobj; |
8217 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8218 | int arg2 ; | |
8219 | PyObject * obj0 = 0 ; | |
994141e6 | 8220 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8221 | char *kwnames[] = { |
8222 | (char *) "self",(char *) "pixelWidth", NULL | |
8223 | }; | |
8224 | ||
994141e6 | 8225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8226 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8227 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8228 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8229 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8230 | { |
8231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8232 | (arg1)->LinesSplit(arg2); | |
8233 | ||
8234 | wxPyEndAllowThreads(__tstate); | |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
8237 | Py_INCREF(Py_None); resultobj = Py_None; | |
8238 | return resultobj; | |
8239 | fail: | |
8240 | return NULL; | |
8241 | } | |
8242 | ||
8243 | ||
c370783e | 8244 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8245 | PyObject *resultobj; |
8246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8247 | bool arg2 ; | |
8248 | wxColour *arg3 = 0 ; | |
8249 | wxColour temp3 ; | |
8250 | PyObject * obj0 = 0 ; | |
8251 | PyObject * obj1 = 0 ; | |
8252 | PyObject * obj2 = 0 ; | |
8253 | char *kwnames[] = { | |
8254 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
8255 | }; | |
8256 | ||
8257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8260 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8261 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8262 | { |
8263 | arg3 = &temp3; | |
8264 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8265 | } | |
8266 | { | |
8267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8268 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
8269 | ||
8270 | wxPyEndAllowThreads(__tstate); | |
8271 | if (PyErr_Occurred()) SWIG_fail; | |
8272 | } | |
8273 | Py_INCREF(Py_None); resultobj = Py_None; | |
8274 | return resultobj; | |
8275 | fail: | |
8276 | return NULL; | |
8277 | } | |
8278 | ||
8279 | ||
c370783e | 8280 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8281 | PyObject *resultobj; |
8282 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8283 | bool arg2 ; | |
8284 | wxColour *arg3 = 0 ; | |
8285 | wxColour temp3 ; | |
8286 | PyObject * obj0 = 0 ; | |
8287 | PyObject * obj1 = 0 ; | |
8288 | PyObject * obj2 = 0 ; | |
8289 | char *kwnames[] = { | |
8290 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
8291 | }; | |
8292 | ||
15afbcd0 RD |
8293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8296 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8297 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8298 | { |
8299 | arg3 = &temp3; | |
8300 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8301 | } | |
8302 | { | |
8303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8304 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
8305 | ||
8306 | wxPyEndAllowThreads(__tstate); | |
8307 | if (PyErr_Occurred()) SWIG_fail; | |
8308 | } | |
8309 | Py_INCREF(Py_None); resultobj = Py_None; | |
8310 | return resultobj; | |
8311 | fail: | |
8312 | return NULL; | |
8313 | } | |
8314 | ||
8315 | ||
c370783e | 8316 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8317 | PyObject *resultobj; |
8318 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8319 | PyObject * obj0 = 0 ; | |
8320 | char *kwnames[] = { | |
8321 | (char *) "self", NULL | |
8322 | }; | |
8323 | ||
4276dc52 | 8324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8327 | { |
8328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8329 | (arg1)->LineDown(); |
d14a1e28 RD |
8330 | |
8331 | wxPyEndAllowThreads(__tstate); | |
8332 | if (PyErr_Occurred()) SWIG_fail; | |
8333 | } | |
8334 | Py_INCREF(Py_None); resultobj = Py_None; | |
8335 | return resultobj; | |
8336 | fail: | |
8337 | return NULL; | |
8338 | } | |
8339 | ||
8340 | ||
c370783e | 8341 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8342 | PyObject *resultobj; |
8343 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8344 | PyObject * obj0 = 0 ; | |
8345 | char *kwnames[] = { | |
8346 | (char *) "self", NULL | |
8347 | }; | |
8348 | ||
4276dc52 | 8349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8352 | { |
8353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8354 | (arg1)->LineDownExtend(); |
d14a1e28 RD |
8355 | |
8356 | wxPyEndAllowThreads(__tstate); | |
8357 | if (PyErr_Occurred()) SWIG_fail; | |
8358 | } | |
8359 | Py_INCREF(Py_None); resultobj = Py_None; | |
8360 | return resultobj; | |
8361 | fail: | |
8362 | return NULL; | |
8363 | } | |
8364 | ||
8365 | ||
c370783e | 8366 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8367 | PyObject *resultobj; |
8368 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8369 | PyObject * obj0 = 0 ; | |
8370 | char *kwnames[] = { | |
8371 | (char *) "self", NULL | |
8372 | }; | |
8373 | ||
4276dc52 | 8374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8377 | { |
8378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8379 | (arg1)->LineUp(); |
d14a1e28 RD |
8380 | |
8381 | wxPyEndAllowThreads(__tstate); | |
8382 | if (PyErr_Occurred()) SWIG_fail; | |
8383 | } | |
8384 | Py_INCREF(Py_None); resultobj = Py_None; | |
8385 | return resultobj; | |
8386 | fail: | |
8387 | return NULL; | |
8388 | } | |
8389 | ||
8390 | ||
c370783e | 8391 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8392 | PyObject *resultobj; |
8393 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8394 | PyObject * obj0 = 0 ; | |
8395 | char *kwnames[] = { | |
8396 | (char *) "self", NULL | |
8397 | }; | |
8398 | ||
4276dc52 | 8399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8402 | { |
8403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8404 | (arg1)->LineUpExtend(); |
d14a1e28 RD |
8405 | |
8406 | wxPyEndAllowThreads(__tstate); | |
8407 | if (PyErr_Occurred()) SWIG_fail; | |
8408 | } | |
8409 | Py_INCREF(Py_None); resultobj = Py_None; | |
8410 | return resultobj; | |
8411 | fail: | |
8412 | return NULL; | |
8413 | } | |
8414 | ||
8415 | ||
c370783e | 8416 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8417 | PyObject *resultobj; |
8418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8419 | PyObject * obj0 = 0 ; | |
8420 | char *kwnames[] = { | |
8421 | (char *) "self", NULL | |
8422 | }; | |
8423 | ||
4276dc52 | 8424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8427 | { |
8428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8429 | (arg1)->CharLeft(); |
d14a1e28 RD |
8430 | |
8431 | wxPyEndAllowThreads(__tstate); | |
8432 | if (PyErr_Occurred()) SWIG_fail; | |
8433 | } | |
8434 | Py_INCREF(Py_None); resultobj = Py_None; | |
8435 | return resultobj; | |
8436 | fail: | |
8437 | return NULL; | |
8438 | } | |
8439 | ||
8440 | ||
c370783e | 8441 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8442 | PyObject *resultobj; |
8443 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8444 | PyObject * obj0 = 0 ; | |
8445 | char *kwnames[] = { | |
8446 | (char *) "self", NULL | |
8447 | }; | |
8448 | ||
4276dc52 | 8449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8452 | { |
8453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8454 | (arg1)->CharLeftExtend(); |
d14a1e28 RD |
8455 | |
8456 | wxPyEndAllowThreads(__tstate); | |
8457 | if (PyErr_Occurred()) SWIG_fail; | |
8458 | } | |
8459 | Py_INCREF(Py_None); resultobj = Py_None; | |
8460 | return resultobj; | |
8461 | fail: | |
8462 | return NULL; | |
8463 | } | |
8464 | ||
8465 | ||
c370783e | 8466 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8467 | PyObject *resultobj; |
8468 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8469 | PyObject * obj0 = 0 ; | |
8470 | char *kwnames[] = { | |
8471 | (char *) "self", NULL | |
8472 | }; | |
8473 | ||
4276dc52 | 8474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8477 | { |
8478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8479 | (arg1)->CharRight(); |
d14a1e28 RD |
8480 | |
8481 | wxPyEndAllowThreads(__tstate); | |
8482 | if (PyErr_Occurred()) SWIG_fail; | |
8483 | } | |
8484 | Py_INCREF(Py_None); resultobj = Py_None; | |
8485 | return resultobj; | |
8486 | fail: | |
8487 | return NULL; | |
8488 | } | |
8489 | ||
8490 | ||
c370783e | 8491 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8492 | PyObject *resultobj; |
8493 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8494 | PyObject * obj0 = 0 ; |
8495 | char *kwnames[] = { | |
4276dc52 | 8496 | (char *) "self", NULL |
d14a1e28 RD |
8497 | }; |
8498 | ||
4276dc52 | 8499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8502 | { |
8503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8504 | (arg1)->CharRightExtend(); |
d14a1e28 RD |
8505 | |
8506 | wxPyEndAllowThreads(__tstate); | |
8507 | if (PyErr_Occurred()) SWIG_fail; | |
8508 | } | |
4276dc52 | 8509 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8510 | return resultobj; |
8511 | fail: | |
8512 | return NULL; | |
8513 | } | |
8514 | ||
8515 | ||
c370783e | 8516 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8517 | PyObject *resultobj; |
8518 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8519 | PyObject * obj0 = 0 ; |
8520 | char *kwnames[] = { | |
4276dc52 | 8521 | (char *) "self", NULL |
d14a1e28 RD |
8522 | }; |
8523 | ||
4276dc52 | 8524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8527 | { |
8528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8529 | (arg1)->WordLeft(); |
d14a1e28 RD |
8530 | |
8531 | wxPyEndAllowThreads(__tstate); | |
8532 | if (PyErr_Occurred()) SWIG_fail; | |
8533 | } | |
8534 | Py_INCREF(Py_None); resultobj = Py_None; | |
8535 | return resultobj; | |
8536 | fail: | |
8537 | return NULL; | |
8538 | } | |
8539 | ||
8540 | ||
c370783e | 8541 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8542 | PyObject *resultobj; |
8543 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8544 | PyObject * obj0 = 0 ; |
8545 | char *kwnames[] = { | |
4276dc52 | 8546 | (char *) "self", NULL |
d14a1e28 RD |
8547 | }; |
8548 | ||
4276dc52 | 8549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8552 | { |
8553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8554 | (arg1)->WordLeftExtend(); |
d14a1e28 RD |
8555 | |
8556 | wxPyEndAllowThreads(__tstate); | |
8557 | if (PyErr_Occurred()) SWIG_fail; | |
8558 | } | |
8559 | Py_INCREF(Py_None); resultobj = Py_None; | |
8560 | return resultobj; | |
8561 | fail: | |
8562 | return NULL; | |
8563 | } | |
8564 | ||
8565 | ||
c370783e | 8566 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8567 | PyObject *resultobj; |
8568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8569 | PyObject * obj0 = 0 ; |
8570 | char *kwnames[] = { | |
4276dc52 | 8571 | (char *) "self", NULL |
d14a1e28 RD |
8572 | }; |
8573 | ||
4276dc52 | 8574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8577 | { |
8578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8579 | (arg1)->WordRight(); |
d14a1e28 RD |
8580 | |
8581 | wxPyEndAllowThreads(__tstate); | |
8582 | if (PyErr_Occurred()) SWIG_fail; | |
8583 | } | |
4276dc52 | 8584 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8585 | return resultobj; |
8586 | fail: | |
8587 | return NULL; | |
8588 | } | |
8589 | ||
8590 | ||
c370783e | 8591 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8592 | PyObject *resultobj; |
8593 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8594 | PyObject * obj0 = 0 ; |
8595 | char *kwnames[] = { | |
8596 | (char *) "self", NULL | |
8597 | }; | |
8598 | ||
4276dc52 | 8599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8602 | { |
8603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8604 | (arg1)->WordRightExtend(); |
d14a1e28 RD |
8605 | |
8606 | wxPyEndAllowThreads(__tstate); | |
8607 | if (PyErr_Occurred()) SWIG_fail; | |
8608 | } | |
4276dc52 | 8609 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8610 | return resultobj; |
8611 | fail: | |
8612 | return NULL; | |
8613 | } | |
8614 | ||
8615 | ||
c370783e | 8616 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8617 | PyObject *resultobj; |
8618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8619 | PyObject * obj0 = 0 ; |
d14a1e28 | 8620 | char *kwnames[] = { |
4276dc52 | 8621 | (char *) "self", NULL |
d14a1e28 RD |
8622 | }; |
8623 | ||
4276dc52 | 8624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8627 | { |
8628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8629 | (arg1)->Home(); |
d14a1e28 RD |
8630 | |
8631 | wxPyEndAllowThreads(__tstate); | |
8632 | if (PyErr_Occurred()) SWIG_fail; | |
8633 | } | |
8634 | Py_INCREF(Py_None); resultobj = Py_None; | |
8635 | return resultobj; | |
8636 | fail: | |
8637 | return NULL; | |
8638 | } | |
8639 | ||
8640 | ||
c370783e | 8641 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8642 | PyObject *resultobj; |
8643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8644 | PyObject * obj0 = 0 ; |
8645 | char *kwnames[] = { | |
8646 | (char *) "self", NULL | |
8647 | }; | |
8648 | ||
4276dc52 | 8649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8652 | { |
8653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8654 | (arg1)->HomeExtend(); |
d14a1e28 RD |
8655 | |
8656 | wxPyEndAllowThreads(__tstate); | |
8657 | if (PyErr_Occurred()) SWIG_fail; | |
8658 | } | |
4276dc52 | 8659 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8660 | return resultobj; |
8661 | fail: | |
8662 | return NULL; | |
8663 | } | |
8664 | ||
8665 | ||
c370783e | 8666 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8667 | PyObject *resultobj; |
8668 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8669 | PyObject * obj0 = 0 ; |
d14a1e28 | 8670 | char *kwnames[] = { |
4276dc52 | 8671 | (char *) "self", NULL |
d14a1e28 RD |
8672 | }; |
8673 | ||
4276dc52 | 8674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8677 | { |
8678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8679 | (arg1)->LineEnd(); |
d14a1e28 RD |
8680 | |
8681 | wxPyEndAllowThreads(__tstate); | |
8682 | if (PyErr_Occurred()) SWIG_fail; | |
8683 | } | |
8684 | Py_INCREF(Py_None); resultobj = Py_None; | |
8685 | return resultobj; | |
8686 | fail: | |
8687 | return NULL; | |
8688 | } | |
8689 | ||
8690 | ||
c370783e | 8691 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8692 | PyObject *resultobj; |
8693 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8694 | PyObject * obj0 = 0 ; |
8695 | char *kwnames[] = { | |
4276dc52 | 8696 | (char *) "self", NULL |
d14a1e28 RD |
8697 | }; |
8698 | ||
4276dc52 | 8699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8702 | { |
8703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8704 | (arg1)->LineEndExtend(); |
d14a1e28 RD |
8705 | |
8706 | wxPyEndAllowThreads(__tstate); | |
8707 | if (PyErr_Occurred()) SWIG_fail; | |
8708 | } | |
8709 | Py_INCREF(Py_None); resultobj = Py_None; | |
8710 | return resultobj; | |
8711 | fail: | |
8712 | return NULL; | |
8713 | } | |
8714 | ||
8715 | ||
c370783e | 8716 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8717 | PyObject *resultobj; |
8718 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8719 | PyObject * obj0 = 0 ; |
8720 | char *kwnames[] = { | |
8721 | (char *) "self", NULL | |
8722 | }; | |
8723 | ||
4276dc52 | 8724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8727 | { |
8728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8729 | (arg1)->DocumentStart(); |
d14a1e28 RD |
8730 | |
8731 | wxPyEndAllowThreads(__tstate); | |
8732 | if (PyErr_Occurred()) SWIG_fail; | |
8733 | } | |
4276dc52 | 8734 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8735 | return resultobj; |
8736 | fail: | |
8737 | return NULL; | |
8738 | } | |
8739 | ||
8740 | ||
c370783e | 8741 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8742 | PyObject *resultobj; |
8743 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8744 | PyObject * obj0 = 0 ; |
8745 | char *kwnames[] = { | |
4276dc52 | 8746 | (char *) "self", NULL |
d14a1e28 RD |
8747 | }; |
8748 | ||
4276dc52 | 8749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8752 | { |
8753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8754 | (arg1)->DocumentStartExtend(); |
d14a1e28 RD |
8755 | |
8756 | wxPyEndAllowThreads(__tstate); | |
8757 | if (PyErr_Occurred()) SWIG_fail; | |
8758 | } | |
8759 | Py_INCREF(Py_None); resultobj = Py_None; | |
8760 | return resultobj; | |
8761 | fail: | |
8762 | return NULL; | |
8763 | } | |
8764 | ||
8765 | ||
c370783e | 8766 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8767 | PyObject *resultobj; |
8768 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8769 | PyObject * obj0 = 0 ; |
8770 | char *kwnames[] = { | |
8771 | (char *) "self", NULL | |
8772 | }; | |
8773 | ||
4276dc52 | 8774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8777 | { |
8778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8779 | (arg1)->DocumentEnd(); |
d14a1e28 RD |
8780 | |
8781 | wxPyEndAllowThreads(__tstate); | |
8782 | if (PyErr_Occurred()) SWIG_fail; | |
8783 | } | |
4276dc52 | 8784 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8785 | return resultobj; |
8786 | fail: | |
8787 | return NULL; | |
8788 | } | |
8789 | ||
8790 | ||
c370783e | 8791 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8792 | PyObject *resultobj; |
8793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8794 | PyObject * obj0 = 0 ; |
8795 | char *kwnames[] = { | |
4276dc52 | 8796 | (char *) "self", NULL |
d14a1e28 RD |
8797 | }; |
8798 | ||
4276dc52 | 8799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8800 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8801 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8802 | { |
8803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8804 | (arg1)->DocumentEndExtend(); |
d14a1e28 RD |
8805 | |
8806 | wxPyEndAllowThreads(__tstate); | |
8807 | if (PyErr_Occurred()) SWIG_fail; | |
8808 | } | |
8809 | Py_INCREF(Py_None); resultobj = Py_None; | |
8810 | return resultobj; | |
8811 | fail: | |
8812 | return NULL; | |
8813 | } | |
8814 | ||
8815 | ||
c370783e | 8816 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8817 | PyObject *resultobj; |
8818 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8819 | PyObject * obj0 = 0 ; |
8820 | char *kwnames[] = { | |
8821 | (char *) "self", NULL | |
8822 | }; | |
8823 | ||
4276dc52 | 8824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8827 | { |
8828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8829 | (arg1)->PageUp(); |
d14a1e28 RD |
8830 | |
8831 | wxPyEndAllowThreads(__tstate); | |
8832 | if (PyErr_Occurred()) SWIG_fail; | |
8833 | } | |
4276dc52 | 8834 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8835 | return resultobj; |
8836 | fail: | |
8837 | return NULL; | |
8838 | } | |
8839 | ||
8840 | ||
c370783e | 8841 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8842 | PyObject *resultobj; |
8843 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8844 | PyObject * obj0 = 0 ; |
d14a1e28 | 8845 | char *kwnames[] = { |
4276dc52 | 8846 | (char *) "self", NULL |
d14a1e28 RD |
8847 | }; |
8848 | ||
4276dc52 | 8849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8852 | { |
8853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8854 | (arg1)->PageUpExtend(); |
d14a1e28 RD |
8855 | |
8856 | wxPyEndAllowThreads(__tstate); | |
8857 | if (PyErr_Occurred()) SWIG_fail; | |
8858 | } | |
8859 | Py_INCREF(Py_None); resultobj = Py_None; | |
8860 | return resultobj; | |
8861 | fail: | |
8862 | return NULL; | |
8863 | } | |
8864 | ||
8865 | ||
c370783e | 8866 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8867 | PyObject *resultobj; |
8868 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8869 | PyObject * obj0 = 0 ; | |
8870 | char *kwnames[] = { | |
8871 | (char *) "self", NULL | |
8872 | }; | |
8873 | ||
4276dc52 | 8874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8877 | { |
8878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8879 | (arg1)->PageDown(); |
d14a1e28 RD |
8880 | |
8881 | wxPyEndAllowThreads(__tstate); | |
8882 | if (PyErr_Occurred()) SWIG_fail; | |
8883 | } | |
8884 | Py_INCREF(Py_None); resultobj = Py_None; | |
8885 | return resultobj; | |
8886 | fail: | |
8887 | return NULL; | |
8888 | } | |
8889 | ||
8890 | ||
c370783e | 8891 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8892 | PyObject *resultobj; |
8893 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8894 | PyObject * obj0 = 0 ; |
d14a1e28 | 8895 | char *kwnames[] = { |
4276dc52 | 8896 | (char *) "self", NULL |
d14a1e28 RD |
8897 | }; |
8898 | ||
4276dc52 | 8899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8902 | { |
8903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8904 | (arg1)->PageDownExtend(); |
d14a1e28 RD |
8905 | |
8906 | wxPyEndAllowThreads(__tstate); | |
8907 | if (PyErr_Occurred()) SWIG_fail; | |
8908 | } | |
4276dc52 | 8909 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8910 | return resultobj; |
8911 | fail: | |
d14a1e28 RD |
8912 | return NULL; |
8913 | } | |
8914 | ||
8915 | ||
c370783e | 8916 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8917 | PyObject *resultobj; |
8918 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8919 | PyObject * obj0 = 0 ; |
d14a1e28 | 8920 | char *kwnames[] = { |
4276dc52 | 8921 | (char *) "self", NULL |
d14a1e28 RD |
8922 | }; |
8923 | ||
4276dc52 | 8924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8927 | { |
8928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8929 | (arg1)->EditToggleOvertype(); |
d14a1e28 RD |
8930 | |
8931 | wxPyEndAllowThreads(__tstate); | |
8932 | if (PyErr_Occurred()) SWIG_fail; | |
8933 | } | |
4276dc52 | 8934 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8935 | return resultobj; |
8936 | fail: | |
d14a1e28 RD |
8937 | return NULL; |
8938 | } | |
8939 | ||
8940 | ||
c370783e | 8941 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8942 | PyObject *resultobj; |
8943 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8944 | PyObject * obj0 = 0 ; |
8945 | char *kwnames[] = { | |
8946 | (char *) "self", NULL | |
8947 | }; | |
8948 | ||
4276dc52 | 8949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8952 | { |
8953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8954 | (arg1)->Cancel(); |
d14a1e28 RD |
8955 | |
8956 | wxPyEndAllowThreads(__tstate); | |
8957 | if (PyErr_Occurred()) SWIG_fail; | |
8958 | } | |
4276dc52 | 8959 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8960 | return resultobj; |
8961 | fail: | |
8962 | return NULL; | |
8963 | } | |
8964 | ||
8965 | ||
c370783e | 8966 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8967 | PyObject *resultobj; |
8968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8969 | PyObject * obj0 = 0 ; |
d14a1e28 | 8970 | char *kwnames[] = { |
4276dc52 | 8971 | (char *) "self", NULL |
d14a1e28 RD |
8972 | }; |
8973 | ||
4276dc52 | 8974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8977 | { |
8978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8979 | (arg1)->DeleteBack(); |
d14a1e28 RD |
8980 | |
8981 | wxPyEndAllowThreads(__tstate); | |
8982 | if (PyErr_Occurred()) SWIG_fail; | |
8983 | } | |
8984 | Py_INCREF(Py_None); resultobj = Py_None; | |
8985 | return resultobj; | |
8986 | fail: | |
8987 | return NULL; | |
8988 | } | |
8989 | ||
8990 | ||
c370783e | 8991 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8992 | PyObject *resultobj; |
8993 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8994 | PyObject * obj0 = 0 ; |
8995 | char *kwnames[] = { | |
8996 | (char *) "self", NULL | |
8997 | }; | |
8998 | ||
4276dc52 | 8999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9000 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9001 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9002 | { |
9003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9004 | (arg1)->Tab(); |
d14a1e28 RD |
9005 | |
9006 | wxPyEndAllowThreads(__tstate); | |
9007 | if (PyErr_Occurred()) SWIG_fail; | |
9008 | } | |
4276dc52 | 9009 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9010 | return resultobj; |
9011 | fail: | |
9012 | return NULL; | |
9013 | } | |
9014 | ||
9015 | ||
c370783e | 9016 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9017 | PyObject *resultobj; |
9018 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9019 | PyObject * obj0 = 0 ; |
9020 | char *kwnames[] = { | |
4276dc52 | 9021 | (char *) "self", NULL |
d14a1e28 RD |
9022 | }; |
9023 | ||
4276dc52 | 9024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9027 | { |
9028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9029 | (arg1)->BackTab(); |
d14a1e28 RD |
9030 | |
9031 | wxPyEndAllowThreads(__tstate); | |
9032 | if (PyErr_Occurred()) SWIG_fail; | |
9033 | } | |
9034 | Py_INCREF(Py_None); resultobj = Py_None; | |
9035 | return resultobj; | |
9036 | fail: | |
9037 | return NULL; | |
9038 | } | |
9039 | ||
9040 | ||
c370783e | 9041 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9042 | PyObject *resultobj; |
9043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9044 | PyObject * obj0 = 0 ; |
9045 | char *kwnames[] = { | |
9046 | (char *) "self", NULL | |
9047 | }; | |
9048 | ||
4276dc52 | 9049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9052 | { |
9053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9054 | (arg1)->NewLine(); |
d14a1e28 RD |
9055 | |
9056 | wxPyEndAllowThreads(__tstate); | |
9057 | if (PyErr_Occurred()) SWIG_fail; | |
9058 | } | |
4276dc52 | 9059 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9060 | return resultobj; |
9061 | fail: | |
9062 | return NULL; | |
9063 | } | |
9064 | ||
9065 | ||
c370783e | 9066 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9067 | PyObject *resultobj; |
9068 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9069 | PyObject * obj0 = 0 ; |
9070 | char *kwnames[] = { | |
9071 | (char *) "self", NULL | |
9072 | }; | |
9073 | ||
4276dc52 | 9074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9077 | { |
9078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9079 | (arg1)->FormFeed(); |
d14a1e28 RD |
9080 | |
9081 | wxPyEndAllowThreads(__tstate); | |
9082 | if (PyErr_Occurred()) SWIG_fail; | |
9083 | } | |
4276dc52 | 9084 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9085 | return resultobj; |
9086 | fail: | |
9087 | return NULL; | |
9088 | } | |
9089 | ||
9090 | ||
c370783e | 9091 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9092 | PyObject *resultobj; |
9093 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9094 | PyObject * obj0 = 0 ; |
d14a1e28 | 9095 | char *kwnames[] = { |
4276dc52 | 9096 | (char *) "self", NULL |
d14a1e28 RD |
9097 | }; |
9098 | ||
4276dc52 | 9099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9102 | { |
9103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9104 | (arg1)->VCHome(); |
d14a1e28 RD |
9105 | |
9106 | wxPyEndAllowThreads(__tstate); | |
9107 | if (PyErr_Occurred()) SWIG_fail; | |
9108 | } | |
9109 | Py_INCREF(Py_None); resultobj = Py_None; | |
9110 | return resultobj; | |
9111 | fail: | |
9112 | return NULL; | |
9113 | } | |
9114 | ||
9115 | ||
c370783e | 9116 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9117 | PyObject *resultobj; |
9118 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9119 | PyObject * obj0 = 0 ; |
d14a1e28 | 9120 | char *kwnames[] = { |
4276dc52 | 9121 | (char *) "self", NULL |
d14a1e28 RD |
9122 | }; |
9123 | ||
4276dc52 | 9124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9127 | { |
9128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9129 | (arg1)->VCHomeExtend(); |
d14a1e28 RD |
9130 | |
9131 | wxPyEndAllowThreads(__tstate); | |
9132 | if (PyErr_Occurred()) SWIG_fail; | |
9133 | } | |
9134 | Py_INCREF(Py_None); resultobj = Py_None; | |
9135 | return resultobj; | |
9136 | fail: | |
9137 | return NULL; | |
9138 | } | |
9139 | ||
9140 | ||
c370783e | 9141 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9142 | PyObject *resultobj; |
9143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9144 | PyObject * obj0 = 0 ; |
9145 | char *kwnames[] = { | |
9146 | (char *) "self", NULL | |
9147 | }; | |
9148 | ||
4276dc52 | 9149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9152 | { |
9153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9154 | (arg1)->ZoomIn(); |
d14a1e28 RD |
9155 | |
9156 | wxPyEndAllowThreads(__tstate); | |
9157 | if (PyErr_Occurred()) SWIG_fail; | |
9158 | } | |
4276dc52 | 9159 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9160 | return resultobj; |
9161 | fail: | |
9162 | return NULL; | |
9163 | } | |
9164 | ||
9165 | ||
c370783e | 9166 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9167 | PyObject *resultobj; |
9168 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9169 | PyObject * obj0 = 0 ; |
d14a1e28 | 9170 | char *kwnames[] = { |
4276dc52 | 9171 | (char *) "self", NULL |
d14a1e28 RD |
9172 | }; |
9173 | ||
4276dc52 | 9174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9177 | { |
9178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9179 | (arg1)->ZoomOut(); |
d14a1e28 RD |
9180 | |
9181 | wxPyEndAllowThreads(__tstate); | |
9182 | if (PyErr_Occurred()) SWIG_fail; | |
9183 | } | |
9184 | Py_INCREF(Py_None); resultobj = Py_None; | |
9185 | return resultobj; | |
9186 | fail: | |
9187 | return NULL; | |
9188 | } | |
9189 | ||
9190 | ||
c370783e | 9191 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9192 | PyObject *resultobj; |
9193 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9194 | PyObject * obj0 = 0 ; |
9195 | char *kwnames[] = { | |
9196 | (char *) "self", NULL | |
9197 | }; | |
9198 | ||
4276dc52 | 9199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9202 | { |
9203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9204 | (arg1)->DelWordLeft(); |
d14a1e28 RD |
9205 | |
9206 | wxPyEndAllowThreads(__tstate); | |
9207 | if (PyErr_Occurred()) SWIG_fail; | |
9208 | } | |
4276dc52 | 9209 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9210 | return resultobj; |
9211 | fail: | |
9212 | return NULL; | |
9213 | } | |
9214 | ||
9215 | ||
c370783e | 9216 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9217 | PyObject *resultobj; |
9218 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9219 | PyObject * obj0 = 0 ; |
9220 | char *kwnames[] = { | |
4276dc52 | 9221 | (char *) "self", NULL |
d14a1e28 RD |
9222 | }; |
9223 | ||
4276dc52 | 9224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9227 | { |
9228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9229 | (arg1)->DelWordRight(); |
d14a1e28 RD |
9230 | |
9231 | wxPyEndAllowThreads(__tstate); | |
9232 | if (PyErr_Occurred()) SWIG_fail; | |
9233 | } | |
9234 | Py_INCREF(Py_None); resultobj = Py_None; | |
9235 | return resultobj; | |
9236 | fail: | |
9237 | return NULL; | |
9238 | } | |
9239 | ||
9240 | ||
c370783e | 9241 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9242 | PyObject *resultobj; |
9243 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9244 | PyObject * obj0 = 0 ; |
9245 | char *kwnames[] = { | |
9246 | (char *) "self", NULL | |
9247 | }; | |
9248 | ||
4276dc52 | 9249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9250 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9252 | { |
9253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9254 | (arg1)->LineCut(); |
d14a1e28 RD |
9255 | |
9256 | wxPyEndAllowThreads(__tstate); | |
9257 | if (PyErr_Occurred()) SWIG_fail; | |
9258 | } | |
4276dc52 | 9259 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9260 | return resultobj; |
9261 | fail: | |
9262 | return NULL; | |
9263 | } | |
9264 | ||
9265 | ||
c370783e | 9266 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9267 | PyObject *resultobj; |
9268 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9269 | PyObject * obj0 = 0 ; |
d14a1e28 | 9270 | char *kwnames[] = { |
4276dc52 | 9271 | (char *) "self", NULL |
d14a1e28 RD |
9272 | }; |
9273 | ||
4276dc52 | 9274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9277 | { |
9278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9279 | (arg1)->LineDelete(); |
d14a1e28 RD |
9280 | |
9281 | wxPyEndAllowThreads(__tstate); | |
9282 | if (PyErr_Occurred()) SWIG_fail; | |
9283 | } | |
9284 | Py_INCREF(Py_None); resultobj = Py_None; | |
9285 | return resultobj; | |
9286 | fail: | |
9287 | return NULL; | |
9288 | } | |
9289 | ||
9290 | ||
c370783e | 9291 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9292 | PyObject *resultobj; |
9293 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9294 | PyObject * obj0 = 0 ; |
9295 | char *kwnames[] = { | |
9296 | (char *) "self", NULL | |
9297 | }; | |
9298 | ||
4276dc52 | 9299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9302 | { |
9303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9304 | (arg1)->LineTranspose(); |
d14a1e28 RD |
9305 | |
9306 | wxPyEndAllowThreads(__tstate); | |
9307 | if (PyErr_Occurred()) SWIG_fail; | |
9308 | } | |
4276dc52 | 9309 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9310 | return resultobj; |
9311 | fail: | |
9312 | return NULL; | |
9313 | } | |
9314 | ||
9315 | ||
c370783e | 9316 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9317 | PyObject *resultobj; |
9318 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9319 | PyObject * obj0 = 0 ; |
9320 | char *kwnames[] = { | |
4276dc52 | 9321 | (char *) "self", NULL |
d14a1e28 RD |
9322 | }; |
9323 | ||
4276dc52 | 9324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9327 | { |
9328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9329 | (arg1)->LineDuplicate(); |
d14a1e28 RD |
9330 | |
9331 | wxPyEndAllowThreads(__tstate); | |
9332 | if (PyErr_Occurred()) SWIG_fail; | |
9333 | } | |
9334 | Py_INCREF(Py_None); resultobj = Py_None; | |
9335 | return resultobj; | |
9336 | fail: | |
9337 | return NULL; | |
9338 | } | |
9339 | ||
9340 | ||
c370783e | 9341 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9342 | PyObject *resultobj; |
9343 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9344 | PyObject * obj0 = 0 ; |
9345 | char *kwnames[] = { | |
9346 | (char *) "self", NULL | |
9347 | }; | |
9348 | ||
4276dc52 | 9349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9352 | { |
9353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9354 | (arg1)->LowerCase(); |
d14a1e28 RD |
9355 | |
9356 | wxPyEndAllowThreads(__tstate); | |
9357 | if (PyErr_Occurred()) SWIG_fail; | |
9358 | } | |
4276dc52 | 9359 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9360 | return resultobj; |
9361 | fail: | |
9362 | return NULL; | |
9363 | } | |
9364 | ||
9365 | ||
c370783e | 9366 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9367 | PyObject *resultobj; |
9368 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9369 | PyObject * obj0 = 0 ; |
9370 | char *kwnames[] = { | |
4276dc52 | 9371 | (char *) "self", NULL |
d14a1e28 RD |
9372 | }; |
9373 | ||
4276dc52 | 9374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9377 | { |
9378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9379 | (arg1)->UpperCase(); |
d14a1e28 RD |
9380 | |
9381 | wxPyEndAllowThreads(__tstate); | |
9382 | if (PyErr_Occurred()) SWIG_fail; | |
9383 | } | |
9384 | Py_INCREF(Py_None); resultobj = Py_None; | |
9385 | return resultobj; | |
9386 | fail: | |
9387 | return NULL; | |
9388 | } | |
9389 | ||
9390 | ||
c370783e | 9391 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9392 | PyObject *resultobj; |
9393 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9394 | PyObject * obj0 = 0 ; |
9395 | char *kwnames[] = { | |
9396 | (char *) "self", NULL | |
9397 | }; | |
9398 | ||
4276dc52 | 9399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9402 | { |
9403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9404 | (arg1)->LineScrollDown(); |
d14a1e28 RD |
9405 | |
9406 | wxPyEndAllowThreads(__tstate); | |
9407 | if (PyErr_Occurred()) SWIG_fail; | |
9408 | } | |
4276dc52 | 9409 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9410 | return resultobj; |
9411 | fail: | |
9412 | return NULL; | |
9413 | } | |
9414 | ||
9415 | ||
c370783e | 9416 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9417 | PyObject *resultobj; |
9418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9419 | PyObject * obj0 = 0 ; | |
9420 | char *kwnames[] = { | |
9421 | (char *) "self", NULL | |
9422 | }; | |
9423 | ||
4276dc52 | 9424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9427 | { |
9428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9429 | (arg1)->LineScrollUp(); |
d14a1e28 RD |
9430 | |
9431 | wxPyEndAllowThreads(__tstate); | |
9432 | if (PyErr_Occurred()) SWIG_fail; | |
9433 | } | |
9434 | Py_INCREF(Py_None); resultobj = Py_None; | |
9435 | return resultobj; | |
9436 | fail: | |
9437 | return NULL; | |
9438 | } | |
9439 | ||
9440 | ||
c370783e | 9441 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9442 | PyObject *resultobj; |
9443 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9444 | PyObject * obj0 = 0 ; | |
9445 | char *kwnames[] = { | |
9446 | (char *) "self", NULL | |
9447 | }; | |
9448 | ||
4276dc52 | 9449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9452 | { |
9453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9454 | (arg1)->DeleteBackNotLine(); |
d14a1e28 RD |
9455 | |
9456 | wxPyEndAllowThreads(__tstate); | |
9457 | if (PyErr_Occurred()) SWIG_fail; | |
9458 | } | |
9459 | Py_INCREF(Py_None); resultobj = Py_None; | |
9460 | return resultobj; | |
9461 | fail: | |
9462 | return NULL; | |
9463 | } | |
9464 | ||
9465 | ||
c370783e | 9466 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9467 | PyObject *resultobj; |
9468 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9469 | PyObject * obj0 = 0 ; | |
9470 | char *kwnames[] = { | |
9471 | (char *) "self", NULL | |
9472 | }; | |
9473 | ||
4276dc52 | 9474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9477 | { |
9478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9479 | (arg1)->HomeDisplay(); |
d14a1e28 RD |
9480 | |
9481 | wxPyEndAllowThreads(__tstate); | |
9482 | if (PyErr_Occurred()) SWIG_fail; | |
9483 | } | |
9484 | Py_INCREF(Py_None); resultobj = Py_None; | |
9485 | return resultobj; | |
9486 | fail: | |
9487 | return NULL; | |
9488 | } | |
9489 | ||
9490 | ||
c370783e | 9491 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9492 | PyObject *resultobj; |
9493 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9494 | PyObject * obj0 = 0 ; | |
9495 | char *kwnames[] = { | |
9496 | (char *) "self", NULL | |
9497 | }; | |
9498 | ||
4276dc52 | 9499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9502 | { |
9503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9504 | (arg1)->HomeDisplayExtend(); |
d14a1e28 RD |
9505 | |
9506 | wxPyEndAllowThreads(__tstate); | |
9507 | if (PyErr_Occurred()) SWIG_fail; | |
9508 | } | |
9509 | Py_INCREF(Py_None); resultobj = Py_None; | |
9510 | return resultobj; | |
9511 | fail: | |
9512 | return NULL; | |
9513 | } | |
9514 | ||
9515 | ||
c370783e | 9516 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9517 | PyObject *resultobj; |
9518 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9519 | PyObject * obj0 = 0 ; |
9520 | char *kwnames[] = { | |
4276dc52 | 9521 | (char *) "self", NULL |
d14a1e28 RD |
9522 | }; |
9523 | ||
4276dc52 | 9524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9527 | { |
9528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9529 | (arg1)->LineEndDisplay(); |
d14a1e28 RD |
9530 | |
9531 | wxPyEndAllowThreads(__tstate); | |
9532 | if (PyErr_Occurred()) SWIG_fail; | |
9533 | } | |
9534 | Py_INCREF(Py_None); resultobj = Py_None; | |
9535 | return resultobj; | |
9536 | fail: | |
9537 | return NULL; | |
9538 | } | |
9539 | ||
9540 | ||
c370783e | 9541 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9542 | PyObject *resultobj; |
9543 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9544 | PyObject * obj0 = 0 ; | |
9545 | char *kwnames[] = { | |
9546 | (char *) "self", NULL | |
9547 | }; | |
9548 | ||
4276dc52 | 9549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9552 | { |
9553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9554 | (arg1)->LineEndDisplayExtend(); |
d14a1e28 RD |
9555 | |
9556 | wxPyEndAllowThreads(__tstate); | |
9557 | if (PyErr_Occurred()) SWIG_fail; | |
9558 | } | |
9559 | Py_INCREF(Py_None); resultobj = Py_None; | |
9560 | return resultobj; | |
9561 | fail: | |
9562 | return NULL; | |
9563 | } | |
9564 | ||
9565 | ||
c370783e | 9566 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9567 | PyObject *resultobj; |
9568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9569 | PyObject * obj0 = 0 ; | |
9570 | char *kwnames[] = { | |
9571 | (char *) "self", NULL | |
9572 | }; | |
9573 | ||
4276dc52 | 9574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9577 | { |
9578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9579 | (arg1)->HomeWrap(); |
d14a1e28 RD |
9580 | |
9581 | wxPyEndAllowThreads(__tstate); | |
9582 | if (PyErr_Occurred()) SWIG_fail; | |
9583 | } | |
9584 | Py_INCREF(Py_None); resultobj = Py_None; | |
9585 | return resultobj; | |
9586 | fail: | |
9587 | return NULL; | |
9588 | } | |
9589 | ||
9590 | ||
c370783e | 9591 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9592 | PyObject *resultobj; |
9593 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9594 | PyObject * obj0 = 0 ; |
9595 | char *kwnames[] = { | |
4276dc52 | 9596 | (char *) "self", NULL |
d14a1e28 RD |
9597 | }; |
9598 | ||
4276dc52 | 9599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9602 | { |
9603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9604 | (arg1)->HomeWrapExtend(); |
d14a1e28 RD |
9605 | |
9606 | wxPyEndAllowThreads(__tstate); | |
9607 | if (PyErr_Occurred()) SWIG_fail; | |
9608 | } | |
9609 | Py_INCREF(Py_None); resultobj = Py_None; | |
9610 | return resultobj; | |
9611 | fail: | |
9612 | return NULL; | |
9613 | } | |
9614 | ||
9615 | ||
c370783e | 9616 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9617 | PyObject *resultobj; |
9618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9619 | PyObject * obj0 = 0 ; |
9620 | char *kwnames[] = { | |
9621 | (char *) "self", NULL | |
9622 | }; | |
9623 | ||
4276dc52 | 9624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9627 | { |
9628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9629 | (arg1)->LineEndWrap(); |
d14a1e28 RD |
9630 | |
9631 | wxPyEndAllowThreads(__tstate); | |
9632 | if (PyErr_Occurred()) SWIG_fail; | |
9633 | } | |
4276dc52 | 9634 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9635 | return resultobj; |
9636 | fail: | |
9637 | return NULL; | |
9638 | } | |
9639 | ||
9640 | ||
c370783e | 9641 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9642 | PyObject *resultobj; |
9643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9644 | PyObject * obj0 = 0 ; | |
9645 | char *kwnames[] = { | |
9646 | (char *) "self", NULL | |
9647 | }; | |
9648 | ||
4276dc52 | 9649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9652 | { |
9653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9654 | (arg1)->LineEndWrapExtend(); |
d14a1e28 RD |
9655 | |
9656 | wxPyEndAllowThreads(__tstate); | |
9657 | if (PyErr_Occurred()) SWIG_fail; | |
9658 | } | |
9659 | Py_INCREF(Py_None); resultobj = Py_None; | |
9660 | return resultobj; | |
9661 | fail: | |
9662 | return NULL; | |
9663 | } | |
9664 | ||
9665 | ||
c370783e | 9666 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9667 | PyObject *resultobj; |
9668 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9669 | PyObject * obj0 = 0 ; |
9670 | char *kwnames[] = { | |
4276dc52 | 9671 | (char *) "self", NULL |
d14a1e28 RD |
9672 | }; |
9673 | ||
4276dc52 | 9674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9677 | { |
9678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9679 | (arg1)->VCHomeWrap(); |
d14a1e28 RD |
9680 | |
9681 | wxPyEndAllowThreads(__tstate); | |
9682 | if (PyErr_Occurred()) SWIG_fail; | |
9683 | } | |
9684 | Py_INCREF(Py_None); resultobj = Py_None; | |
9685 | return resultobj; | |
9686 | fail: | |
9687 | return NULL; | |
9688 | } | |
9689 | ||
9690 | ||
c370783e | 9691 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9692 | PyObject *resultobj; |
9693 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9694 | PyObject * obj0 = 0 ; |
9695 | char *kwnames[] = { | |
4276dc52 | 9696 | (char *) "self", NULL |
d14a1e28 RD |
9697 | }; |
9698 | ||
4276dc52 | 9699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9702 | { |
9703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9704 | (arg1)->VCHomeWrapExtend(); |
d14a1e28 RD |
9705 | |
9706 | wxPyEndAllowThreads(__tstate); | |
9707 | if (PyErr_Occurred()) SWIG_fail; | |
9708 | } | |
9709 | Py_INCREF(Py_None); resultobj = Py_None; | |
9710 | return resultobj; | |
9711 | fail: | |
9712 | return NULL; | |
9713 | } | |
9714 | ||
9715 | ||
c370783e | 9716 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9717 | PyObject *resultobj; |
9718 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9719 | PyObject * obj0 = 0 ; |
9720 | char *kwnames[] = { | |
4276dc52 | 9721 | (char *) "self", NULL |
d14a1e28 RD |
9722 | }; |
9723 | ||
4276dc52 | 9724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9727 | { |
9728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9729 | (arg1)->LineCopy(); |
d14a1e28 RD |
9730 | |
9731 | wxPyEndAllowThreads(__tstate); | |
9732 | if (PyErr_Occurred()) SWIG_fail; | |
9733 | } | |
9734 | Py_INCREF(Py_None); resultobj = Py_None; | |
9735 | return resultobj; | |
9736 | fail: | |
9737 | return NULL; | |
9738 | } | |
9739 | ||
9740 | ||
c370783e | 9741 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9742 | PyObject *resultobj; |
9743 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9744 | PyObject * obj0 = 0 ; |
9745 | char *kwnames[] = { | |
9746 | (char *) "self", NULL | |
9747 | }; | |
9748 | ||
4276dc52 | 9749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9752 | { |
9753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9754 | (arg1)->MoveCaretInsideView(); |
d14a1e28 RD |
9755 | |
9756 | wxPyEndAllowThreads(__tstate); | |
9757 | if (PyErr_Occurred()) SWIG_fail; | |
9758 | } | |
4276dc52 | 9759 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9760 | return resultobj; |
9761 | fail: | |
9762 | return NULL; | |
9763 | } | |
9764 | ||
9765 | ||
c370783e | 9766 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9767 | PyObject *resultobj; |
9768 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9769 | int arg2 ; |
9770 | int result; | |
d14a1e28 RD |
9771 | PyObject * obj0 = 0 ; |
9772 | PyObject * obj1 = 0 ; | |
d14a1e28 | 9773 | char *kwnames[] = { |
4276dc52 | 9774 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
9775 | }; |
9776 | ||
4276dc52 | 9777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9778 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9779 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9780 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9781 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9782 | { |
9783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9784 | result = (int)(arg1)->LineLength(arg2); |
d14a1e28 RD |
9785 | |
9786 | wxPyEndAllowThreads(__tstate); | |
9787 | if (PyErr_Occurred()) SWIG_fail; | |
9788 | } | |
c370783e | 9789 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9790 | return resultobj; |
9791 | fail: | |
9792 | return NULL; | |
9793 | } | |
9794 | ||
9795 | ||
c370783e | 9796 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9797 | PyObject *resultobj; |
9798 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9799 | int arg2 ; |
9800 | int arg3 ; | |
d14a1e28 RD |
9801 | PyObject * obj0 = 0 ; |
9802 | PyObject * obj1 = 0 ; | |
9803 | PyObject * obj2 = 0 ; | |
9804 | char *kwnames[] = { | |
4276dc52 | 9805 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
d14a1e28 RD |
9806 | }; |
9807 | ||
4276dc52 | 9808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9811 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 9812 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 9813 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9814 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9815 | { |
9816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9817 | (arg1)->BraceHighlight(arg2,arg3); |
d14a1e28 RD |
9818 | |
9819 | wxPyEndAllowThreads(__tstate); | |
9820 | if (PyErr_Occurred()) SWIG_fail; | |
9821 | } | |
9822 | Py_INCREF(Py_None); resultobj = Py_None; | |
9823 | return resultobj; | |
9824 | fail: | |
9825 | return NULL; | |
9826 | } | |
9827 | ||
9828 | ||
c370783e | 9829 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9830 | PyObject *resultobj; |
9831 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9832 | int arg2 ; |
d14a1e28 RD |
9833 | PyObject * obj0 = 0 ; |
9834 | PyObject * obj1 = 0 ; | |
9835 | char *kwnames[] = { | |
4276dc52 | 9836 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
9837 | }; |
9838 | ||
4276dc52 | 9839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9842 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9843 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9844 | { |
9845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9846 | (arg1)->BraceBadLight(arg2); |
d14a1e28 RD |
9847 | |
9848 | wxPyEndAllowThreads(__tstate); | |
9849 | if (PyErr_Occurred()) SWIG_fail; | |
9850 | } | |
9851 | Py_INCREF(Py_None); resultobj = Py_None; | |
9852 | return resultobj; | |
9853 | fail: | |
9854 | return NULL; | |
9855 | } | |
9856 | ||
9857 | ||
c370783e | 9858 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
9859 | PyObject *resultobj; |
9860 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9861 | int arg2 ; |
9862 | int result; | |
96b3fa7c RD |
9863 | PyObject * obj0 = 0 ; |
9864 | PyObject * obj1 = 0 ; | |
9865 | char *kwnames[] = { | |
4276dc52 | 9866 | (char *) "self",(char *) "pos", NULL |
96b3fa7c RD |
9867 | }; |
9868 | ||
4276dc52 | 9869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9872 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9873 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
9874 | { |
9875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9876 | result = (int)(arg1)->BraceMatch(arg2); |
96b3fa7c RD |
9877 | |
9878 | wxPyEndAllowThreads(__tstate); | |
9879 | if (PyErr_Occurred()) SWIG_fail; | |
9880 | } | |
c370783e | 9881 | resultobj = SWIG_From_int((int)result); |
96b3fa7c RD |
9882 | return resultobj; |
9883 | fail: | |
9884 | return NULL; | |
9885 | } | |
9886 | ||
9887 | ||
c370783e | 9888 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9889 | PyObject *resultobj; |
9890 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9891 | bool result; |
d14a1e28 RD |
9892 | PyObject * obj0 = 0 ; |
9893 | char *kwnames[] = { | |
4276dc52 | 9894 | (char *) "self", NULL |
d14a1e28 RD |
9895 | }; |
9896 | ||
4276dc52 | 9897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9900 | { |
9901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9902 | result = (bool)(arg1)->GetViewEOL(); |
d14a1e28 RD |
9903 | |
9904 | wxPyEndAllowThreads(__tstate); | |
9905 | if (PyErr_Occurred()) SWIG_fail; | |
9906 | } | |
4f89f6a3 RD |
9907 | { |
9908 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9909 | } | |
d14a1e28 RD |
9910 | return resultobj; |
9911 | fail: | |
9912 | return NULL; | |
9913 | } | |
9914 | ||
9915 | ||
c370783e | 9916 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9917 | PyObject *resultobj; |
9918 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9919 | bool arg2 ; |
d14a1e28 | 9920 | PyObject * obj0 = 0 ; |
994141e6 | 9921 | PyObject * obj1 = 0 ; |
d14a1e28 | 9922 | char *kwnames[] = { |
4276dc52 | 9923 | (char *) "self",(char *) "visible", NULL |
d14a1e28 RD |
9924 | }; |
9925 | ||
4276dc52 | 9926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9929 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 9930 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9931 | { |
9932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9933 | (arg1)->SetViewEOL(arg2); |
d14a1e28 RD |
9934 | |
9935 | wxPyEndAllowThreads(__tstate); | |
9936 | if (PyErr_Occurred()) SWIG_fail; | |
9937 | } | |
4276dc52 | 9938 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9939 | return resultobj; |
9940 | fail: | |
9941 | return NULL; | |
9942 | } | |
9943 | ||
9944 | ||
c370783e | 9945 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9946 | PyObject *resultobj; |
9947 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9948 | void *result; |
9949 | PyObject * obj0 = 0 ; | |
9950 | char *kwnames[] = { | |
9951 | (char *) "self", NULL | |
9952 | }; | |
9953 | ||
9954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
9955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9957 | { | |
9958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9959 | result = (void *)(arg1)->GetDocPointer(); | |
9960 | ||
9961 | wxPyEndAllowThreads(__tstate); | |
9962 | if (PyErr_Occurred()) SWIG_fail; | |
9963 | } | |
9964 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
9965 | return resultobj; | |
9966 | fail: | |
9967 | return NULL; | |
9968 | } | |
9969 | ||
9970 | ||
c370783e | 9971 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
9972 | PyObject *resultobj; |
9973 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9974 | void *arg2 = (void *) 0 ; | |
d14a1e28 | 9975 | PyObject * obj0 = 0 ; |
994141e6 | 9976 | PyObject * obj1 = 0 ; |
d14a1e28 | 9977 | char *kwnames[] = { |
4276dc52 | 9978 | (char *) "self",(char *) "docPointer", NULL |
d14a1e28 RD |
9979 | }; |
9980 | ||
4276dc52 | 9981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 9984 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
9985 | { |
9986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9987 | (arg1)->SetDocPointer(arg2); |
d14a1e28 RD |
9988 | |
9989 | wxPyEndAllowThreads(__tstate); | |
9990 | if (PyErr_Occurred()) SWIG_fail; | |
9991 | } | |
9992 | Py_INCREF(Py_None); resultobj = Py_None; | |
9993 | return resultobj; | |
9994 | fail: | |
9995 | return NULL; | |
9996 | } | |
9997 | ||
9998 | ||
c370783e | 9999 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10000 | PyObject *resultobj; |
10001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10002 | int arg2 ; | |
d14a1e28 | 10003 | PyObject * obj0 = 0 ; |
994141e6 | 10004 | PyObject * obj1 = 0 ; |
d14a1e28 | 10005 | char *kwnames[] = { |
4276dc52 | 10006 | (char *) "self",(char *) "mask", NULL |
d14a1e28 RD |
10007 | }; |
10008 | ||
4276dc52 | 10009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10012 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10013 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10014 | { |
10015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10016 | (arg1)->SetModEventMask(arg2); |
d14a1e28 RD |
10017 | |
10018 | wxPyEndAllowThreads(__tstate); | |
10019 | if (PyErr_Occurred()) SWIG_fail; | |
10020 | } | |
10021 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
10022 | return resultobj; |
10023 | fail: | |
4276dc52 RD |
10024 | return NULL; |
10025 | } | |
10026 | ||
10027 | ||
c370783e | 10028 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10029 | PyObject *resultobj; |
10030 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10031 | int result; | |
10032 | PyObject * obj0 = 0 ; | |
10033 | char *kwnames[] = { | |
10034 | (char *) "self", NULL | |
10035 | }; | |
10036 | ||
10037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
10038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10040 | { |
4276dc52 RD |
10041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10042 | result = (int)(arg1)->GetEdgeColumn(); | |
10043 | ||
10044 | wxPyEndAllowThreads(__tstate); | |
10045 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 10046 | } |
c370783e | 10047 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10048 | return resultobj; |
10049 | fail: | |
d14a1e28 RD |
10050 | return NULL; |
10051 | } | |
10052 | ||
10053 | ||
c370783e | 10054 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10055 | PyObject *resultobj; |
10056 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10057 | int arg2 ; | |
10058 | PyObject * obj0 = 0 ; | |
10059 | PyObject * obj1 = 0 ; | |
10060 | char *kwnames[] = { | |
4276dc52 | 10061 | (char *) "self",(char *) "column", NULL |
96b3fa7c RD |
10062 | }; |
10063 | ||
4276dc52 | 10064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10067 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10068 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
10069 | { |
10070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10071 | (arg1)->SetEdgeColumn(arg2); |
96b3fa7c RD |
10072 | |
10073 | wxPyEndAllowThreads(__tstate); | |
10074 | if (PyErr_Occurred()) SWIG_fail; | |
10075 | } | |
10076 | Py_INCREF(Py_None); resultobj = Py_None; | |
10077 | return resultobj; | |
10078 | fail: | |
10079 | return NULL; | |
10080 | } | |
10081 | ||
10082 | ||
c370783e | 10083 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10084 | PyObject *resultobj; |
10085 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10086 | int result; | |
10087 | PyObject * obj0 = 0 ; | |
10088 | char *kwnames[] = { | |
10089 | (char *) "self", NULL | |
10090 | }; | |
10091 | ||
4276dc52 | 10092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
10093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
10095 | { |
10096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10097 | result = (int)(arg1)->GetEdgeMode(); |
96b3fa7c RD |
10098 | |
10099 | wxPyEndAllowThreads(__tstate); | |
10100 | if (PyErr_Occurred()) SWIG_fail; | |
10101 | } | |
c370783e | 10102 | resultobj = SWIG_From_int((int)result); |
96b3fa7c RD |
10103 | return resultobj; |
10104 | fail: | |
10105 | return NULL; | |
10106 | } | |
10107 | ||
10108 | ||
c370783e | 10109 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10110 | PyObject *resultobj; |
10111 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10112 | int arg2 ; | |
96b3fa7c RD |
10113 | PyObject * obj0 = 0 ; |
10114 | PyObject * obj1 = 0 ; | |
10115 | char *kwnames[] = { | |
4276dc52 | 10116 | (char *) "self",(char *) "mode", NULL |
96b3fa7c RD |
10117 | }; |
10118 | ||
4276dc52 | 10119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10122 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10123 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
10124 | { |
10125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10126 | (arg1)->SetEdgeMode(arg2); |
96b3fa7c RD |
10127 | |
10128 | wxPyEndAllowThreads(__tstate); | |
10129 | if (PyErr_Occurred()) SWIG_fail; | |
10130 | } | |
4276dc52 | 10131 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
10132 | return resultobj; |
10133 | fail: | |
10134 | return NULL; | |
10135 | } | |
10136 | ||
10137 | ||
c370783e | 10138 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10139 | PyObject *resultobj; |
10140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
10141 | wxColour result; |
10142 | PyObject * obj0 = 0 ; | |
10143 | char *kwnames[] = { | |
10144 | (char *) "self", NULL | |
10145 | }; | |
10146 | ||
10147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
10148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10150 | { | |
10151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10152 | result = (arg1)->GetEdgeColour(); | |
10153 | ||
10154 | wxPyEndAllowThreads(__tstate); | |
10155 | if (PyErr_Occurred()) SWIG_fail; | |
10156 | } | |
10157 | { | |
10158 | wxColour * resultptr; | |
10159 | resultptr = new wxColour((wxColour &) result); | |
10160 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
10161 | } | |
10162 | return resultobj; | |
10163 | fail: | |
10164 | return NULL; | |
10165 | } | |
10166 | ||
10167 | ||
c370783e | 10168 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10169 | PyObject *resultobj; |
10170 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10171 | wxColour *arg2 = 0 ; | |
10172 | wxColour temp2 ; | |
96b3fa7c RD |
10173 | PyObject * obj0 = 0 ; |
10174 | PyObject * obj1 = 0 ; | |
10175 | char *kwnames[] = { | |
4276dc52 | 10176 | (char *) "self",(char *) "edgeColour", NULL |
96b3fa7c RD |
10177 | }; |
10178 | ||
4276dc52 | 10179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 RD |
10182 | { |
10183 | arg2 = &temp2; | |
10184 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10185 | } | |
96b3fa7c RD |
10186 | { |
10187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10188 | (arg1)->SetEdgeColour((wxColour const &)*arg2); |
96b3fa7c RD |
10189 | |
10190 | wxPyEndAllowThreads(__tstate); | |
10191 | if (PyErr_Occurred()) SWIG_fail; | |
10192 | } | |
4276dc52 RD |
10193 | Py_INCREF(Py_None); resultobj = Py_None; |
10194 | return resultobj; | |
10195 | fail: | |
10196 | return NULL; | |
10197 | } | |
10198 | ||
10199 | ||
c370783e | 10200 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10201 | PyObject *resultobj; |
10202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10203 | PyObject * obj0 = 0 ; | |
10204 | char *kwnames[] = { | |
10205 | (char *) "self", NULL | |
10206 | }; | |
10207 | ||
10208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
10209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10211 | { | |
10212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10213 | (arg1)->SearchAnchor(); | |
10214 | ||
10215 | wxPyEndAllowThreads(__tstate); | |
10216 | if (PyErr_Occurred()) SWIG_fail; | |
10217 | } | |
10218 | Py_INCREF(Py_None); resultobj = Py_None; | |
10219 | return resultobj; | |
10220 | fail: | |
10221 | return NULL; | |
10222 | } | |
10223 | ||
10224 | ||
c370783e | 10225 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10226 | PyObject *resultobj; |
10227 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10228 | int arg2 ; | |
10229 | wxString *arg3 = 0 ; | |
10230 | int result; | |
b411df4a | 10231 | bool temp3 = false ; |
4276dc52 RD |
10232 | PyObject * obj0 = 0 ; |
10233 | PyObject * obj1 = 0 ; | |
10234 | PyObject * obj2 = 0 ; | |
10235 | char *kwnames[] = { | |
10236 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10237 | }; | |
10238 | ||
10239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10242 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10243 | if (PyErr_Occurred()) SWIG_fail; |
10244 | { | |
10245 | arg3 = wxString_in_helper(obj2); | |
10246 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 10247 | temp3 = true; |
4276dc52 RD |
10248 | } |
10249 | { | |
10250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10251 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
10252 | ||
10253 | wxPyEndAllowThreads(__tstate); | |
10254 | if (PyErr_Occurred()) SWIG_fail; | |
10255 | } | |
c370783e | 10256 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10257 | { |
10258 | if (temp3) | |
10259 | delete arg3; | |
10260 | } | |
10261 | return resultobj; | |
10262 | fail: | |
10263 | { | |
10264 | if (temp3) | |
10265 | delete arg3; | |
10266 | } | |
10267 | return NULL; | |
10268 | } | |
10269 | ||
10270 | ||
c370783e | 10271 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10272 | PyObject *resultobj; |
10273 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10274 | int arg2 ; | |
10275 | wxString *arg3 = 0 ; | |
10276 | int result; | |
b411df4a | 10277 | bool temp3 = false ; |
4276dc52 RD |
10278 | PyObject * obj0 = 0 ; |
10279 | PyObject * obj1 = 0 ; | |
10280 | PyObject * obj2 = 0 ; | |
10281 | char *kwnames[] = { | |
10282 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10283 | }; | |
10284 | ||
10285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10288 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10289 | if (PyErr_Occurred()) SWIG_fail; |
10290 | { | |
10291 | arg3 = wxString_in_helper(obj2); | |
10292 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 10293 | temp3 = true; |
4276dc52 RD |
10294 | } |
10295 | { | |
10296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10297 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
10298 | ||
10299 | wxPyEndAllowThreads(__tstate); | |
10300 | if (PyErr_Occurred()) SWIG_fail; | |
10301 | } | |
c370783e | 10302 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10303 | { |
10304 | if (temp3) | |
10305 | delete arg3; | |
10306 | } | |
10307 | return resultobj; | |
10308 | fail: | |
10309 | { | |
10310 | if (temp3) | |
10311 | delete arg3; | |
10312 | } | |
10313 | return NULL; | |
10314 | } | |
10315 | ||
10316 | ||
c370783e | 10317 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10318 | PyObject *resultobj; |
10319 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10320 | int result; | |
10321 | PyObject * obj0 = 0 ; | |
10322 | char *kwnames[] = { | |
10323 | (char *) "self", NULL | |
10324 | }; | |
10325 | ||
10326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
10327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10329 | { | |
10330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10331 | result = (int)(arg1)->LinesOnScreen(); | |
10332 | ||
10333 | wxPyEndAllowThreads(__tstate); | |
10334 | if (PyErr_Occurred()) SWIG_fail; | |
10335 | } | |
c370783e | 10336 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10337 | return resultobj; |
10338 | fail: | |
10339 | return NULL; | |
10340 | } | |
10341 | ||
10342 | ||
c370783e | 10343 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10344 | PyObject *resultobj; |
10345 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10346 | bool arg2 ; | |
10347 | PyObject * obj0 = 0 ; | |
10348 | PyObject * obj1 = 0 ; | |
10349 | char *kwnames[] = { | |
10350 | (char *) "self",(char *) "allowPopUp", NULL | |
10351 | }; | |
10352 | ||
10353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
10354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10356 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
10357 | if (PyErr_Occurred()) SWIG_fail; |
10358 | { | |
10359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10360 | (arg1)->UsePopUp(arg2); | |
10361 | ||
10362 | wxPyEndAllowThreads(__tstate); | |
10363 | if (PyErr_Occurred()) SWIG_fail; | |
10364 | } | |
10365 | Py_INCREF(Py_None); resultobj = Py_None; | |
10366 | return resultobj; | |
10367 | fail: | |
10368 | return NULL; | |
10369 | } | |
10370 | ||
10371 | ||
c370783e | 10372 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10373 | PyObject *resultobj; |
10374 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10375 | bool result; | |
10376 | PyObject * obj0 = 0 ; | |
10377 | char *kwnames[] = { | |
10378 | (char *) "self", NULL | |
10379 | }; | |
10380 | ||
10381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
10382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10384 | { | |
10385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10386 | result = (bool)(arg1)->SelectionIsRectangle(); | |
10387 | ||
10388 | wxPyEndAllowThreads(__tstate); | |
10389 | if (PyErr_Occurred()) SWIG_fail; | |
10390 | } | |
4f89f6a3 RD |
10391 | { |
10392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10393 | } | |
4276dc52 RD |
10394 | return resultobj; |
10395 | fail: | |
10396 | return NULL; | |
10397 | } | |
10398 | ||
10399 | ||
c370783e | 10400 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10401 | PyObject *resultobj; |
10402 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10403 | int arg2 ; | |
10404 | PyObject * obj0 = 0 ; | |
10405 | PyObject * obj1 = 0 ; | |
10406 | char *kwnames[] = { | |
10407 | (char *) "self",(char *) "zoom", NULL | |
10408 | }; | |
10409 | ||
10410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
10411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10413 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10414 | if (PyErr_Occurred()) SWIG_fail; |
10415 | { | |
10416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10417 | (arg1)->SetZoom(arg2); | |
10418 | ||
10419 | wxPyEndAllowThreads(__tstate); | |
10420 | if (PyErr_Occurred()) SWIG_fail; | |
10421 | } | |
10422 | Py_INCREF(Py_None); resultobj = Py_None; | |
10423 | return resultobj; | |
10424 | fail: | |
10425 | return NULL; | |
10426 | } | |
10427 | ||
10428 | ||
c370783e | 10429 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10430 | PyObject *resultobj; |
10431 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10432 | int result; | |
10433 | PyObject * obj0 = 0 ; | |
10434 | char *kwnames[] = { | |
10435 | (char *) "self", NULL | |
10436 | }; | |
10437 | ||
10438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
10439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10441 | { | |
10442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10443 | result = (int)(arg1)->GetZoom(); | |
10444 | ||
10445 | wxPyEndAllowThreads(__tstate); | |
10446 | if (PyErr_Occurred()) SWIG_fail; | |
10447 | } | |
c370783e | 10448 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10449 | return resultobj; |
10450 | fail: | |
10451 | return NULL; | |
10452 | } | |
10453 | ||
10454 | ||
c370783e | 10455 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10456 | PyObject *resultobj; |
10457 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10458 | void *result; | |
10459 | PyObject * obj0 = 0 ; | |
10460 | char *kwnames[] = { | |
10461 | (char *) "self", NULL | |
10462 | }; | |
10463 | ||
10464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
10465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10467 | { | |
10468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10469 | result = (void *)(arg1)->CreateDocument(); | |
10470 | ||
10471 | wxPyEndAllowThreads(__tstate); | |
10472 | if (PyErr_Occurred()) SWIG_fail; | |
10473 | } | |
10474 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
10475 | return resultobj; | |
10476 | fail: | |
10477 | return NULL; | |
10478 | } | |
10479 | ||
10480 | ||
c370783e | 10481 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10482 | PyObject *resultobj; |
10483 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10484 | void *arg2 = (void *) 0 ; | |
10485 | PyObject * obj0 = 0 ; | |
10486 | PyObject * obj1 = 0 ; | |
10487 | char *kwnames[] = { | |
10488 | (char *) "self",(char *) "docPointer", NULL | |
10489 | }; | |
10490 | ||
10491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
10492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10494 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10495 | { | |
10496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10497 | (arg1)->AddRefDocument(arg2); | |
10498 | ||
10499 | wxPyEndAllowThreads(__tstate); | |
10500 | if (PyErr_Occurred()) SWIG_fail; | |
10501 | } | |
10502 | Py_INCREF(Py_None); resultobj = Py_None; | |
10503 | return resultobj; | |
10504 | fail: | |
10505 | return NULL; | |
10506 | } | |
10507 | ||
10508 | ||
c370783e | 10509 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10510 | PyObject *resultobj; |
10511 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10512 | void *arg2 = (void *) 0 ; | |
10513 | PyObject * obj0 = 0 ; | |
10514 | PyObject * obj1 = 0 ; | |
10515 | char *kwnames[] = { | |
10516 | (char *) "self",(char *) "docPointer", NULL | |
10517 | }; | |
10518 | ||
10519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
10520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10522 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10523 | { | |
10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10525 | (arg1)->ReleaseDocument(arg2); | |
10526 | ||
10527 | wxPyEndAllowThreads(__tstate); | |
10528 | if (PyErr_Occurred()) SWIG_fail; | |
10529 | } | |
10530 | Py_INCREF(Py_None); resultobj = Py_None; | |
10531 | return resultobj; | |
10532 | fail: | |
10533 | return NULL; | |
10534 | } | |
10535 | ||
10536 | ||
c370783e | 10537 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10538 | PyObject *resultobj; |
10539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10540 | int result; | |
10541 | PyObject * obj0 = 0 ; | |
10542 | char *kwnames[] = { | |
10543 | (char *) "self", NULL | |
10544 | }; | |
10545 | ||
10546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
10547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10549 | { | |
10550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10551 | result = (int)(arg1)->GetModEventMask(); | |
10552 | ||
10553 | wxPyEndAllowThreads(__tstate); | |
10554 | if (PyErr_Occurred()) SWIG_fail; | |
10555 | } | |
c370783e | 10556 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10557 | return resultobj; |
10558 | fail: | |
10559 | return NULL; | |
10560 | } | |
10561 | ||
10562 | ||
c370783e | 10563 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10564 | PyObject *resultobj; |
10565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10566 | bool arg2 ; | |
10567 | PyObject * obj0 = 0 ; | |
10568 | PyObject * obj1 = 0 ; | |
10569 | char *kwnames[] = { | |
10570 | (char *) "self",(char *) "focus", NULL | |
10571 | }; | |
10572 | ||
10573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
10574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10576 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
10577 | if (PyErr_Occurred()) SWIG_fail; |
10578 | { | |
10579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10580 | (arg1)->SetSTCFocus(arg2); | |
10581 | ||
10582 | wxPyEndAllowThreads(__tstate); | |
10583 | if (PyErr_Occurred()) SWIG_fail; | |
10584 | } | |
10585 | Py_INCREF(Py_None); resultobj = Py_None; | |
10586 | return resultobj; | |
10587 | fail: | |
10588 | return NULL; | |
10589 | } | |
10590 | ||
10591 | ||
c370783e | 10592 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10593 | PyObject *resultobj; |
10594 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10595 | bool result; | |
10596 | PyObject * obj0 = 0 ; | |
10597 | char *kwnames[] = { | |
10598 | (char *) "self", NULL | |
10599 | }; | |
10600 | ||
10601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
10602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10604 | { | |
10605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10606 | result = (bool)(arg1)->GetSTCFocus(); | |
10607 | ||
10608 | wxPyEndAllowThreads(__tstate); | |
10609 | if (PyErr_Occurred()) SWIG_fail; | |
10610 | } | |
4f89f6a3 RD |
10611 | { |
10612 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10613 | } | |
4276dc52 RD |
10614 | return resultobj; |
10615 | fail: | |
10616 | return NULL; | |
10617 | } | |
10618 | ||
10619 | ||
c370783e | 10620 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10621 | PyObject *resultobj; |
10622 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10623 | int arg2 ; | |
10624 | PyObject * obj0 = 0 ; | |
10625 | PyObject * obj1 = 0 ; | |
10626 | char *kwnames[] = { | |
10627 | (char *) "self",(char *) "statusCode", NULL | |
10628 | }; | |
10629 | ||
10630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; | |
10631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10633 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10634 | if (PyErr_Occurred()) SWIG_fail; |
10635 | { | |
10636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10637 | (arg1)->SetStatus(arg2); | |
10638 | ||
10639 | wxPyEndAllowThreads(__tstate); | |
10640 | if (PyErr_Occurred()) SWIG_fail; | |
10641 | } | |
10642 | Py_INCREF(Py_None); resultobj = Py_None; | |
10643 | return resultobj; | |
10644 | fail: | |
10645 | return NULL; | |
10646 | } | |
10647 | ||
10648 | ||
c370783e | 10649 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10650 | PyObject *resultobj; |
10651 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10652 | int result; | |
10653 | PyObject * obj0 = 0 ; | |
10654 | char *kwnames[] = { | |
10655 | (char *) "self", NULL | |
10656 | }; | |
10657 | ||
10658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
10659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10661 | { | |
10662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10663 | result = (int)(arg1)->GetStatus(); | |
10664 | ||
10665 | wxPyEndAllowThreads(__tstate); | |
10666 | if (PyErr_Occurred()) SWIG_fail; | |
10667 | } | |
c370783e | 10668 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10669 | return resultobj; |
10670 | fail: | |
10671 | return NULL; | |
10672 | } | |
10673 | ||
10674 | ||
c370783e | 10675 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10676 | PyObject *resultobj; |
10677 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10678 | bool arg2 ; | |
10679 | PyObject * obj0 = 0 ; | |
10680 | PyObject * obj1 = 0 ; | |
10681 | char *kwnames[] = { | |
10682 | (char *) "self",(char *) "captures", NULL | |
10683 | }; | |
10684 | ||
10685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
10686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10688 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
10689 | if (PyErr_Occurred()) SWIG_fail; |
10690 | { | |
10691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10692 | (arg1)->SetMouseDownCaptures(arg2); | |
10693 | ||
10694 | wxPyEndAllowThreads(__tstate); | |
10695 | if (PyErr_Occurred()) SWIG_fail; | |
10696 | } | |
10697 | Py_INCREF(Py_None); resultobj = Py_None; | |
10698 | return resultobj; | |
10699 | fail: | |
10700 | return NULL; | |
10701 | } | |
10702 | ||
10703 | ||
c370783e | 10704 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10705 | PyObject *resultobj; |
10706 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10707 | bool result; | |
10708 | PyObject * obj0 = 0 ; | |
10709 | char *kwnames[] = { | |
10710 | (char *) "self", NULL | |
10711 | }; | |
10712 | ||
10713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
10714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10716 | { | |
10717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10718 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
10719 | ||
10720 | wxPyEndAllowThreads(__tstate); | |
10721 | if (PyErr_Occurred()) SWIG_fail; | |
10722 | } | |
4f89f6a3 RD |
10723 | { |
10724 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10725 | } | |
4276dc52 RD |
10726 | return resultobj; |
10727 | fail: | |
10728 | return NULL; | |
10729 | } | |
10730 | ||
10731 | ||
c370783e | 10732 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10733 | PyObject *resultobj; |
10734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10735 | int arg2 ; | |
10736 | PyObject * obj0 = 0 ; | |
10737 | PyObject * obj1 = 0 ; | |
10738 | char *kwnames[] = { | |
10739 | (char *) "self",(char *) "cursorType", NULL | |
10740 | }; | |
10741 | ||
10742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; | |
10743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10745 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10746 | if (PyErr_Occurred()) SWIG_fail; |
10747 | { | |
10748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10749 | (arg1)->SetSTCCursor(arg2); | |
10750 | ||
10751 | wxPyEndAllowThreads(__tstate); | |
10752 | if (PyErr_Occurred()) SWIG_fail; | |
10753 | } | |
10754 | Py_INCREF(Py_None); resultobj = Py_None; | |
10755 | return resultobj; | |
10756 | fail: | |
10757 | return NULL; | |
10758 | } | |
10759 | ||
10760 | ||
c370783e | 10761 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10762 | PyObject *resultobj; |
10763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10764 | int result; | |
10765 | PyObject * obj0 = 0 ; | |
10766 | char *kwnames[] = { | |
10767 | (char *) "self", NULL | |
10768 | }; | |
10769 | ||
10770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
10771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10773 | { | |
10774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10775 | result = (int)(arg1)->GetSTCCursor(); | |
10776 | ||
10777 | wxPyEndAllowThreads(__tstate); | |
10778 | if (PyErr_Occurred()) SWIG_fail; | |
10779 | } | |
c370783e | 10780 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10781 | return resultobj; |
10782 | fail: | |
10783 | return NULL; | |
10784 | } | |
10785 | ||
10786 | ||
c370783e | 10787 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10788 | PyObject *resultobj; |
10789 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10790 | int arg2 ; | |
10791 | PyObject * obj0 = 0 ; | |
10792 | PyObject * obj1 = 0 ; | |
10793 | char *kwnames[] = { | |
10794 | (char *) "self",(char *) "symbol", NULL | |
10795 | }; | |
10796 | ||
10797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; | |
10798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10800 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10801 | if (PyErr_Occurred()) SWIG_fail; |
10802 | { | |
10803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10804 | (arg1)->SetControlCharSymbol(arg2); | |
10805 | ||
10806 | wxPyEndAllowThreads(__tstate); | |
10807 | if (PyErr_Occurred()) SWIG_fail; | |
10808 | } | |
10809 | Py_INCREF(Py_None); resultobj = Py_None; | |
10810 | return resultobj; | |
10811 | fail: | |
10812 | return NULL; | |
10813 | } | |
10814 | ||
10815 | ||
c370783e | 10816 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10817 | PyObject *resultobj; |
10818 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10819 | int result; | |
10820 | PyObject * obj0 = 0 ; | |
10821 | char *kwnames[] = { | |
10822 | (char *) "self", NULL | |
10823 | }; | |
10824 | ||
10825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
10826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10828 | { | |
10829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10830 | result = (int)(arg1)->GetControlCharSymbol(); | |
10831 | ||
10832 | wxPyEndAllowThreads(__tstate); | |
10833 | if (PyErr_Occurred()) SWIG_fail; | |
10834 | } | |
c370783e | 10835 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10836 | return resultobj; |
10837 | fail: | |
10838 | return NULL; | |
10839 | } | |
10840 | ||
10841 | ||
c370783e | 10842 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10843 | PyObject *resultobj; |
10844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10845 | PyObject * obj0 = 0 ; | |
10846 | char *kwnames[] = { | |
10847 | (char *) "self", NULL | |
10848 | }; | |
10849 | ||
10850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
10851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10853 | { | |
10854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10855 | (arg1)->WordPartLeft(); | |
10856 | ||
10857 | wxPyEndAllowThreads(__tstate); | |
10858 | if (PyErr_Occurred()) SWIG_fail; | |
10859 | } | |
10860 | Py_INCREF(Py_None); resultobj = Py_None; | |
10861 | return resultobj; | |
10862 | fail: | |
10863 | return NULL; | |
10864 | } | |
10865 | ||
10866 | ||
c370783e | 10867 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10868 | PyObject *resultobj; |
10869 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10870 | PyObject * obj0 = 0 ; | |
10871 | char *kwnames[] = { | |
10872 | (char *) "self", NULL | |
10873 | }; | |
10874 | ||
10875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
10876 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10877 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10878 | { | |
10879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10880 | (arg1)->WordPartLeftExtend(); | |
10881 | ||
10882 | wxPyEndAllowThreads(__tstate); | |
10883 | if (PyErr_Occurred()) SWIG_fail; | |
10884 | } | |
10885 | Py_INCREF(Py_None); resultobj = Py_None; | |
10886 | return resultobj; | |
10887 | fail: | |
10888 | return NULL; | |
10889 | } | |
10890 | ||
10891 | ||
c370783e | 10892 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10893 | PyObject *resultobj; |
10894 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10895 | PyObject * obj0 = 0 ; | |
10896 | char *kwnames[] = { | |
10897 | (char *) "self", NULL | |
10898 | }; | |
10899 | ||
10900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
10901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10903 | { | |
10904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10905 | (arg1)->WordPartRight(); | |
10906 | ||
10907 | wxPyEndAllowThreads(__tstate); | |
10908 | if (PyErr_Occurred()) SWIG_fail; | |
10909 | } | |
10910 | Py_INCREF(Py_None); resultobj = Py_None; | |
10911 | return resultobj; | |
10912 | fail: | |
10913 | return NULL; | |
10914 | } | |
10915 | ||
10916 | ||
c370783e | 10917 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10918 | PyObject *resultobj; |
10919 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10920 | PyObject * obj0 = 0 ; | |
10921 | char *kwnames[] = { | |
10922 | (char *) "self", NULL | |
10923 | }; | |
10924 | ||
10925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
10926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10928 | { | |
10929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10930 | (arg1)->WordPartRightExtend(); | |
10931 | ||
10932 | wxPyEndAllowThreads(__tstate); | |
10933 | if (PyErr_Occurred()) SWIG_fail; | |
10934 | } | |
10935 | Py_INCREF(Py_None); resultobj = Py_None; | |
10936 | return resultobj; | |
10937 | fail: | |
10938 | return NULL; | |
10939 | } | |
10940 | ||
10941 | ||
c370783e | 10942 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10943 | PyObject *resultobj; |
10944 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10945 | int arg2 ; | |
10946 | int arg3 ; | |
10947 | PyObject * obj0 = 0 ; | |
10948 | PyObject * obj1 = 0 ; | |
10949 | PyObject * obj2 = 0 ; | |
10950 | char *kwnames[] = { | |
10951 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
10952 | }; | |
10953 | ||
10954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10957 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 10958 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 10959 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
10960 | if (PyErr_Occurred()) SWIG_fail; |
10961 | { | |
10962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10963 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
10964 | ||
10965 | wxPyEndAllowThreads(__tstate); | |
10966 | if (PyErr_Occurred()) SWIG_fail; | |
10967 | } | |
10968 | Py_INCREF(Py_None); resultobj = Py_None; | |
10969 | return resultobj; | |
10970 | fail: | |
10971 | return NULL; | |
10972 | } | |
10973 | ||
10974 | ||
c370783e | 10975 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10976 | PyObject *resultobj; |
10977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10978 | PyObject * obj0 = 0 ; | |
10979 | char *kwnames[] = { | |
10980 | (char *) "self", NULL | |
10981 | }; | |
10982 | ||
10983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; | |
10984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10986 | { | |
10987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10988 | (arg1)->DelLineLeft(); | |
10989 | ||
10990 | wxPyEndAllowThreads(__tstate); | |
10991 | if (PyErr_Occurred()) SWIG_fail; | |
10992 | } | |
10993 | Py_INCREF(Py_None); resultobj = Py_None; | |
10994 | return resultobj; | |
10995 | fail: | |
10996 | return NULL; | |
10997 | } | |
10998 | ||
10999 | ||
c370783e | 11000 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11001 | PyObject *resultobj; |
11002 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11003 | PyObject * obj0 = 0 ; | |
11004 | char *kwnames[] = { | |
11005 | (char *) "self", NULL | |
11006 | }; | |
11007 | ||
11008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
11009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11011 | { | |
11012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11013 | (arg1)->DelLineRight(); | |
11014 | ||
11015 | wxPyEndAllowThreads(__tstate); | |
11016 | if (PyErr_Occurred()) SWIG_fail; | |
11017 | } | |
11018 | Py_INCREF(Py_None); resultobj = Py_None; | |
11019 | return resultobj; | |
11020 | fail: | |
11021 | return NULL; | |
11022 | } | |
11023 | ||
11024 | ||
c370783e | 11025 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11026 | PyObject *resultobj; |
11027 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11028 | int arg2 ; | |
11029 | PyObject * obj0 = 0 ; | |
11030 | PyObject * obj1 = 0 ; | |
11031 | char *kwnames[] = { | |
11032 | (char *) "self",(char *) "newOffset", NULL | |
11033 | }; | |
11034 | ||
11035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; | |
11036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11038 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11039 | if (PyErr_Occurred()) SWIG_fail; |
11040 | { | |
11041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11042 | (arg1)->SetXOffset(arg2); | |
11043 | ||
11044 | wxPyEndAllowThreads(__tstate); | |
11045 | if (PyErr_Occurred()) SWIG_fail; | |
11046 | } | |
11047 | Py_INCREF(Py_None); resultobj = Py_None; | |
11048 | return resultobj; | |
11049 | fail: | |
11050 | return NULL; | |
11051 | } | |
11052 | ||
11053 | ||
c370783e | 11054 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11055 | PyObject *resultobj; |
11056 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11057 | int result; | |
11058 | PyObject * obj0 = 0 ; | |
11059 | char *kwnames[] = { | |
11060 | (char *) "self", NULL | |
11061 | }; | |
11062 | ||
11063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
11064 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11065 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11066 | { | |
11067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11068 | result = (int)(arg1)->GetXOffset(); | |
11069 | ||
11070 | wxPyEndAllowThreads(__tstate); | |
11071 | if (PyErr_Occurred()) SWIG_fail; | |
11072 | } | |
c370783e | 11073 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11074 | return resultobj; |
11075 | fail: | |
11076 | return NULL; | |
11077 | } | |
11078 | ||
11079 | ||
c370783e | 11080 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11081 | PyObject *resultobj; |
11082 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11083 | PyObject * obj0 = 0 ; | |
11084 | char *kwnames[] = { | |
11085 | (char *) "self", NULL | |
11086 | }; | |
11087 | ||
11088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
11089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11091 | { | |
11092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11093 | (arg1)->ChooseCaretX(); | |
11094 | ||
11095 | wxPyEndAllowThreads(__tstate); | |
11096 | if (PyErr_Occurred()) SWIG_fail; | |
11097 | } | |
11098 | Py_INCREF(Py_None); resultobj = Py_None; | |
11099 | return resultobj; | |
11100 | fail: | |
11101 | return NULL; | |
11102 | } | |
11103 | ||
11104 | ||
c370783e | 11105 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11106 | PyObject *resultobj; |
11107 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11108 | int arg2 ; | |
11109 | int arg3 ; | |
11110 | PyObject * obj0 = 0 ; | |
11111 | PyObject * obj1 = 0 ; | |
11112 | PyObject * obj2 = 0 ; | |
11113 | char *kwnames[] = { | |
11114 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11115 | }; | |
11116 | ||
11117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11120 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11121 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11122 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11123 | if (PyErr_Occurred()) SWIG_fail; |
11124 | { | |
11125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11126 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
11127 | ||
11128 | wxPyEndAllowThreads(__tstate); | |
11129 | if (PyErr_Occurred()) SWIG_fail; | |
11130 | } | |
11131 | Py_INCREF(Py_None); resultobj = Py_None; | |
11132 | return resultobj; | |
11133 | fail: | |
11134 | return NULL; | |
11135 | } | |
11136 | ||
11137 | ||
c370783e | 11138 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11139 | PyObject *resultobj; |
11140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11141 | int arg2 ; | |
11142 | int arg3 ; | |
11143 | PyObject * obj0 = 0 ; | |
11144 | PyObject * obj1 = 0 ; | |
11145 | PyObject * obj2 = 0 ; | |
11146 | char *kwnames[] = { | |
11147 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11148 | }; | |
11149 | ||
11150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11153 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11154 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11155 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11156 | if (PyErr_Occurred()) SWIG_fail; |
11157 | { | |
11158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11159 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
11160 | ||
11161 | wxPyEndAllowThreads(__tstate); | |
11162 | if (PyErr_Occurred()) SWIG_fail; | |
11163 | } | |
11164 | Py_INCREF(Py_None); resultobj = Py_None; | |
11165 | return resultobj; | |
11166 | fail: | |
11167 | return NULL; | |
11168 | } | |
11169 | ||
11170 | ||
c370783e | 11171 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11172 | PyObject *resultobj; |
11173 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11174 | int arg2 ; | |
11175 | PyObject * obj0 = 0 ; | |
11176 | PyObject * obj1 = 0 ; | |
11177 | char *kwnames[] = { | |
11178 | (char *) "self",(char *) "mode", NULL | |
11179 | }; | |
11180 | ||
11181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
11182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11184 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11185 | if (PyErr_Occurred()) SWIG_fail; |
11186 | { | |
11187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11188 | (arg1)->SetPrintWrapMode(arg2); | |
11189 | ||
11190 | wxPyEndAllowThreads(__tstate); | |
11191 | if (PyErr_Occurred()) SWIG_fail; | |
11192 | } | |
11193 | Py_INCREF(Py_None); resultobj = Py_None; | |
11194 | return resultobj; | |
11195 | fail: | |
11196 | return NULL; | |
11197 | } | |
11198 | ||
11199 | ||
c370783e | 11200 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11201 | PyObject *resultobj; |
11202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11203 | int result; | |
11204 | PyObject * obj0 = 0 ; | |
11205 | char *kwnames[] = { | |
11206 | (char *) "self", NULL | |
11207 | }; | |
11208 | ||
11209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
11210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11212 | { | |
11213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11214 | result = (int)(arg1)->GetPrintWrapMode(); | |
11215 | ||
11216 | wxPyEndAllowThreads(__tstate); | |
11217 | if (PyErr_Occurred()) SWIG_fail; | |
11218 | } | |
c370783e | 11219 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11220 | return resultobj; |
11221 | fail: | |
11222 | return NULL; | |
11223 | } | |
11224 | ||
11225 | ||
c370783e | 11226 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11227 | PyObject *resultobj; |
11228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11229 | bool arg2 ; | |
11230 | wxColour *arg3 = 0 ; | |
11231 | wxColour temp3 ; | |
11232 | PyObject * obj0 = 0 ; | |
11233 | PyObject * obj1 = 0 ; | |
11234 | PyObject * obj2 = 0 ; | |
11235 | char *kwnames[] = { | |
11236 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
11237 | }; | |
11238 | ||
11239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11242 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11243 | if (PyErr_Occurred()) SWIG_fail; |
11244 | { | |
11245 | arg3 = &temp3; | |
11246 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11247 | } | |
11248 | { | |
11249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11250 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
11251 | ||
11252 | wxPyEndAllowThreads(__tstate); | |
11253 | if (PyErr_Occurred()) SWIG_fail; | |
11254 | } | |
11255 | Py_INCREF(Py_None); resultobj = Py_None; | |
11256 | return resultobj; | |
11257 | fail: | |
11258 | return NULL; | |
11259 | } | |
11260 | ||
11261 | ||
c370783e | 11262 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11263 | PyObject *resultobj; |
11264 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11265 | bool arg2 ; | |
11266 | wxColour *arg3 = 0 ; | |
11267 | wxColour temp3 ; | |
11268 | PyObject * obj0 = 0 ; | |
11269 | PyObject * obj1 = 0 ; | |
11270 | PyObject * obj2 = 0 ; | |
11271 | char *kwnames[] = { | |
11272 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
11273 | }; | |
11274 | ||
11275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11278 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11279 | if (PyErr_Occurred()) SWIG_fail; |
11280 | { | |
11281 | arg3 = &temp3; | |
11282 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11283 | } | |
11284 | { | |
11285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11286 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
11287 | ||
11288 | wxPyEndAllowThreads(__tstate); | |
11289 | if (PyErr_Occurred()) SWIG_fail; | |
11290 | } | |
11291 | Py_INCREF(Py_None); resultobj = Py_None; | |
11292 | return resultobj; | |
11293 | fail: | |
11294 | return NULL; | |
11295 | } | |
11296 | ||
11297 | ||
c370783e | 11298 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11299 | PyObject *resultobj; |
11300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11301 | bool arg2 ; | |
11302 | PyObject * obj0 = 0 ; | |
11303 | PyObject * obj1 = 0 ; | |
11304 | char *kwnames[] = { | |
11305 | (char *) "self",(char *) "underline", NULL | |
11306 | }; | |
11307 | ||
11308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
11309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11311 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11312 | if (PyErr_Occurred()) SWIG_fail; |
11313 | { | |
11314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11315 | (arg1)->SetHotspotActiveUnderline(arg2); | |
11316 | ||
11317 | wxPyEndAllowThreads(__tstate); | |
11318 | if (PyErr_Occurred()) SWIG_fail; | |
11319 | } | |
11320 | Py_INCREF(Py_None); resultobj = Py_None; | |
11321 | return resultobj; | |
11322 | fail: | |
11323 | return NULL; | |
11324 | } | |
11325 | ||
11326 | ||
c370783e | 11327 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11328 | PyObject *resultobj; |
11329 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11330 | bool arg2 ; | |
11331 | PyObject * obj0 = 0 ; | |
11332 | PyObject * obj1 = 0 ; | |
11333 | char *kwnames[] = { | |
11334 | (char *) "self",(char *) "singleLine", NULL | |
11335 | }; | |
11336 | ||
11337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; | |
11338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11340 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11341 | if (PyErr_Occurred()) SWIG_fail; |
11342 | { | |
11343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11344 | (arg1)->SetHotspotSingleLine(arg2); | |
11345 | ||
11346 | wxPyEndAllowThreads(__tstate); | |
11347 | if (PyErr_Occurred()) SWIG_fail; | |
11348 | } | |
11349 | Py_INCREF(Py_None); resultobj = Py_None; | |
11350 | return resultobj; | |
11351 | fail: | |
11352 | return NULL; | |
11353 | } | |
11354 | ||
11355 | ||
c370783e | 11356 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11357 | PyObject *resultobj; |
11358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11359 | PyObject * obj0 = 0 ; | |
11360 | char *kwnames[] = { | |
11361 | (char *) "self", NULL | |
11362 | }; | |
11363 | ||
11364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; | |
11365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11367 | { | |
11368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11369 | (arg1)->ParaDown(); | |
11370 | ||
11371 | wxPyEndAllowThreads(__tstate); | |
11372 | if (PyErr_Occurred()) SWIG_fail; | |
11373 | } | |
11374 | Py_INCREF(Py_None); resultobj = Py_None; | |
11375 | return resultobj; | |
11376 | fail: | |
11377 | return NULL; | |
11378 | } | |
11379 | ||
11380 | ||
c370783e | 11381 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11382 | PyObject *resultobj; |
11383 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11384 | PyObject * obj0 = 0 ; | |
11385 | char *kwnames[] = { | |
11386 | (char *) "self", NULL | |
11387 | }; | |
11388 | ||
11389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; | |
11390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11392 | { | |
11393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11394 | (arg1)->ParaDownExtend(); | |
11395 | ||
11396 | wxPyEndAllowThreads(__tstate); | |
11397 | if (PyErr_Occurred()) SWIG_fail; | |
11398 | } | |
11399 | Py_INCREF(Py_None); resultobj = Py_None; | |
11400 | return resultobj; | |
11401 | fail: | |
11402 | return NULL; | |
11403 | } | |
11404 | ||
11405 | ||
c370783e | 11406 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11407 | PyObject *resultobj; |
11408 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11409 | PyObject * obj0 = 0 ; | |
11410 | char *kwnames[] = { | |
11411 | (char *) "self", NULL | |
11412 | }; | |
11413 | ||
11414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; | |
11415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11417 | { | |
11418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11419 | (arg1)->ParaUp(); | |
11420 | ||
11421 | wxPyEndAllowThreads(__tstate); | |
11422 | if (PyErr_Occurred()) SWIG_fail; | |
11423 | } | |
11424 | Py_INCREF(Py_None); resultobj = Py_None; | |
11425 | return resultobj; | |
11426 | fail: | |
11427 | return NULL; | |
11428 | } | |
11429 | ||
11430 | ||
c370783e | 11431 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11432 | PyObject *resultobj; |
11433 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11434 | PyObject * obj0 = 0 ; | |
11435 | char *kwnames[] = { | |
11436 | (char *) "self", NULL | |
11437 | }; | |
11438 | ||
11439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; | |
11440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11442 | { | |
11443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11444 | (arg1)->ParaUpExtend(); | |
11445 | ||
11446 | wxPyEndAllowThreads(__tstate); | |
11447 | if (PyErr_Occurred()) SWIG_fail; | |
11448 | } | |
11449 | Py_INCREF(Py_None); resultobj = Py_None; | |
11450 | return resultobj; | |
11451 | fail: | |
11452 | return NULL; | |
11453 | } | |
11454 | ||
11455 | ||
c370783e | 11456 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11457 | PyObject *resultobj; |
11458 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11459 | int arg2 ; | |
11460 | int result; | |
11461 | PyObject * obj0 = 0 ; | |
11462 | PyObject * obj1 = 0 ; | |
11463 | char *kwnames[] = { | |
11464 | (char *) "self",(char *) "pos", NULL | |
11465 | }; | |
11466 | ||
11467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; | |
11468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11470 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11471 | if (PyErr_Occurred()) SWIG_fail; |
11472 | { | |
11473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11474 | result = (int)(arg1)->PositionBefore(arg2); | |
11475 | ||
11476 | wxPyEndAllowThreads(__tstate); | |
11477 | if (PyErr_Occurred()) SWIG_fail; | |
11478 | } | |
c370783e | 11479 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11480 | return resultobj; |
11481 | fail: | |
11482 | return NULL; | |
11483 | } | |
11484 | ||
11485 | ||
c370783e | 11486 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11487 | PyObject *resultobj; |
11488 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11489 | int arg2 ; | |
11490 | int result; | |
11491 | PyObject * obj0 = 0 ; | |
11492 | PyObject * obj1 = 0 ; | |
11493 | char *kwnames[] = { | |
11494 | (char *) "self",(char *) "pos", NULL | |
11495 | }; | |
11496 | ||
11497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; | |
11498 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11499 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11500 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11501 | if (PyErr_Occurred()) SWIG_fail; |
11502 | { | |
11503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11504 | result = (int)(arg1)->PositionAfter(arg2); | |
11505 | ||
11506 | wxPyEndAllowThreads(__tstate); | |
11507 | if (PyErr_Occurred()) SWIG_fail; | |
11508 | } | |
c370783e | 11509 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11510 | return resultobj; |
11511 | fail: | |
11512 | return NULL; | |
11513 | } | |
11514 | ||
11515 | ||
c370783e | 11516 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11517 | PyObject *resultobj; |
11518 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11519 | int arg2 ; | |
11520 | int arg3 ; | |
11521 | PyObject * obj0 = 0 ; | |
11522 | PyObject * obj1 = 0 ; | |
11523 | PyObject * obj2 = 0 ; | |
11524 | char *kwnames[] = { | |
11525 | (char *) "self",(char *) "start",(char *) "end", NULL | |
11526 | }; | |
11527 | ||
11528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11531 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11532 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11533 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11534 | if (PyErr_Occurred()) SWIG_fail; |
11535 | { | |
11536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11537 | (arg1)->CopyRange(arg2,arg3); | |
11538 | ||
11539 | wxPyEndAllowThreads(__tstate); | |
11540 | if (PyErr_Occurred()) SWIG_fail; | |
11541 | } | |
11542 | Py_INCREF(Py_None); resultobj = Py_None; | |
11543 | return resultobj; | |
11544 | fail: | |
11545 | return NULL; | |
11546 | } | |
11547 | ||
11548 | ||
c370783e | 11549 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11550 | PyObject *resultobj; |
11551 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11552 | int arg2 ; | |
11553 | wxString *arg3 = 0 ; | |
b411df4a | 11554 | bool temp3 = false ; |
4276dc52 RD |
11555 | PyObject * obj0 = 0 ; |
11556 | PyObject * obj1 = 0 ; | |
11557 | PyObject * obj2 = 0 ; | |
11558 | char *kwnames[] = { | |
11559 | (char *) "self",(char *) "length",(char *) "text", NULL | |
11560 | }; | |
11561 | ||
11562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11565 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11566 | if (PyErr_Occurred()) SWIG_fail; |
11567 | { | |
11568 | arg3 = wxString_in_helper(obj2); | |
11569 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 11570 | temp3 = true; |
4276dc52 RD |
11571 | } |
11572 | { | |
11573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11574 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
11575 | ||
11576 | wxPyEndAllowThreads(__tstate); | |
11577 | if (PyErr_Occurred()) SWIG_fail; | |
11578 | } | |
11579 | Py_INCREF(Py_None); resultobj = Py_None; | |
11580 | { | |
11581 | if (temp3) | |
11582 | delete arg3; | |
11583 | } | |
11584 | return resultobj; | |
11585 | fail: | |
11586 | { | |
11587 | if (temp3) | |
11588 | delete arg3; | |
11589 | } | |
11590 | return NULL; | |
11591 | } | |
11592 | ||
11593 | ||
c370783e | 11594 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11595 | PyObject *resultobj; |
11596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11597 | int arg2 ; | |
11598 | PyObject * obj0 = 0 ; | |
11599 | PyObject * obj1 = 0 ; | |
11600 | char *kwnames[] = { | |
11601 | (char *) "self",(char *) "mode", NULL | |
11602 | }; | |
11603 | ||
11604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; | |
11605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11607 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11608 | if (PyErr_Occurred()) SWIG_fail; |
11609 | { | |
11610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11611 | (arg1)->SetSelectionMode(arg2); | |
11612 | ||
11613 | wxPyEndAllowThreads(__tstate); | |
11614 | if (PyErr_Occurred()) SWIG_fail; | |
11615 | } | |
11616 | Py_INCREF(Py_None); resultobj = Py_None; | |
11617 | return resultobj; | |
11618 | fail: | |
11619 | return NULL; | |
11620 | } | |
11621 | ||
11622 | ||
c370783e | 11623 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11624 | PyObject *resultobj; |
11625 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11626 | int result; | |
11627 | PyObject * obj0 = 0 ; | |
11628 | char *kwnames[] = { | |
11629 | (char *) "self", NULL | |
11630 | }; | |
11631 | ||
11632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; | |
11633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11635 | { | |
11636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11637 | result = (int)(arg1)->GetSelectionMode(); | |
11638 | ||
11639 | wxPyEndAllowThreads(__tstate); | |
11640 | if (PyErr_Occurred()) SWIG_fail; | |
11641 | } | |
c370783e | 11642 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11643 | return resultobj; |
11644 | fail: | |
11645 | return NULL; | |
11646 | } | |
11647 | ||
11648 | ||
c370783e | 11649 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11650 | PyObject *resultobj; |
11651 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11652 | int arg2 ; | |
11653 | int result; | |
11654 | PyObject * obj0 = 0 ; | |
11655 | PyObject * obj1 = 0 ; | |
11656 | char *kwnames[] = { | |
11657 | (char *) "self",(char *) "line", NULL | |
11658 | }; | |
11659 | ||
11660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; | |
11661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11663 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11664 | if (PyErr_Occurred()) SWIG_fail; |
11665 | { | |
11666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11667 | result = (int)(arg1)->GetLineSelStartPosition(arg2); | |
11668 | ||
11669 | wxPyEndAllowThreads(__tstate); | |
11670 | if (PyErr_Occurred()) SWIG_fail; | |
11671 | } | |
c370783e | 11672 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11673 | return resultobj; |
11674 | fail: | |
11675 | return NULL; | |
11676 | } | |
11677 | ||
11678 | ||
c370783e | 11679 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11680 | PyObject *resultobj; |
11681 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11682 | int arg2 ; | |
11683 | int result; | |
11684 | PyObject * obj0 = 0 ; | |
11685 | PyObject * obj1 = 0 ; | |
11686 | char *kwnames[] = { | |
11687 | (char *) "self",(char *) "line", NULL | |
11688 | }; | |
11689 | ||
11690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
11691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11693 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11694 | if (PyErr_Occurred()) SWIG_fail; |
11695 | { | |
11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11697 | result = (int)(arg1)->GetLineSelEndPosition(arg2); | |
11698 | ||
11699 | wxPyEndAllowThreads(__tstate); | |
11700 | if (PyErr_Occurred()) SWIG_fail; | |
11701 | } | |
c370783e | 11702 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11703 | return resultobj; |
11704 | fail: | |
11705 | return NULL; | |
11706 | } | |
11707 | ||
11708 | ||
c370783e | 11709 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11710 | PyObject *resultobj; |
11711 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11712 | PyObject * obj0 = 0 ; | |
11713 | char *kwnames[] = { | |
11714 | (char *) "self", NULL | |
11715 | }; | |
11716 | ||
11717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; | |
11718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11720 | { | |
11721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11722 | (arg1)->LineDownRectExtend(); | |
11723 | ||
11724 | wxPyEndAllowThreads(__tstate); | |
11725 | if (PyErr_Occurred()) SWIG_fail; | |
11726 | } | |
11727 | Py_INCREF(Py_None); resultobj = Py_None; | |
11728 | return resultobj; | |
11729 | fail: | |
11730 | return NULL; | |
11731 | } | |
11732 | ||
11733 | ||
c370783e | 11734 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11735 | PyObject *resultobj; |
11736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11737 | PyObject * obj0 = 0 ; | |
11738 | char *kwnames[] = { | |
11739 | (char *) "self", NULL | |
11740 | }; | |
11741 | ||
11742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; | |
11743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11745 | { | |
11746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11747 | (arg1)->LineUpRectExtend(); | |
11748 | ||
11749 | wxPyEndAllowThreads(__tstate); | |
11750 | if (PyErr_Occurred()) SWIG_fail; | |
11751 | } | |
11752 | Py_INCREF(Py_None); resultobj = Py_None; | |
11753 | return resultobj; | |
11754 | fail: | |
11755 | return NULL; | |
11756 | } | |
11757 | ||
11758 | ||
c370783e | 11759 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11760 | PyObject *resultobj; |
11761 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11762 | PyObject * obj0 = 0 ; | |
11763 | char *kwnames[] = { | |
11764 | (char *) "self", NULL | |
11765 | }; | |
11766 | ||
11767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; | |
11768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11770 | { | |
11771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11772 | (arg1)->CharLeftRectExtend(); | |
11773 | ||
11774 | wxPyEndAllowThreads(__tstate); | |
11775 | if (PyErr_Occurred()) SWIG_fail; | |
11776 | } | |
11777 | Py_INCREF(Py_None); resultobj = Py_None; | |
11778 | return resultobj; | |
11779 | fail: | |
11780 | return NULL; | |
11781 | } | |
11782 | ||
11783 | ||
c370783e | 11784 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11785 | PyObject *resultobj; |
11786 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11787 | PyObject * obj0 = 0 ; | |
11788 | char *kwnames[] = { | |
11789 | (char *) "self", NULL | |
11790 | }; | |
11791 | ||
11792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; | |
11793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11795 | { | |
11796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11797 | (arg1)->CharRightRectExtend(); | |
11798 | ||
11799 | wxPyEndAllowThreads(__tstate); | |
11800 | if (PyErr_Occurred()) SWIG_fail; | |
11801 | } | |
11802 | Py_INCREF(Py_None); resultobj = Py_None; | |
11803 | return resultobj; | |
11804 | fail: | |
11805 | return NULL; | |
11806 | } | |
11807 | ||
11808 | ||
c370783e | 11809 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11810 | PyObject *resultobj; |
11811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11812 | PyObject * obj0 = 0 ; | |
11813 | char *kwnames[] = { | |
11814 | (char *) "self", NULL | |
11815 | }; | |
11816 | ||
11817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; | |
11818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11820 | { | |
11821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11822 | (arg1)->HomeRectExtend(); | |
11823 | ||
11824 | wxPyEndAllowThreads(__tstate); | |
11825 | if (PyErr_Occurred()) SWIG_fail; | |
11826 | } | |
11827 | Py_INCREF(Py_None); resultobj = Py_None; | |
11828 | return resultobj; | |
11829 | fail: | |
11830 | return NULL; | |
11831 | } | |
11832 | ||
11833 | ||
c370783e | 11834 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11835 | PyObject *resultobj; |
11836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11837 | PyObject * obj0 = 0 ; | |
11838 | char *kwnames[] = { | |
11839 | (char *) "self", NULL | |
11840 | }; | |
11841 | ||
11842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; | |
11843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11845 | { | |
11846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11847 | (arg1)->VCHomeRectExtend(); | |
11848 | ||
11849 | wxPyEndAllowThreads(__tstate); | |
11850 | if (PyErr_Occurred()) SWIG_fail; | |
11851 | } | |
11852 | Py_INCREF(Py_None); resultobj = Py_None; | |
11853 | return resultobj; | |
11854 | fail: | |
11855 | return NULL; | |
11856 | } | |
11857 | ||
11858 | ||
c370783e | 11859 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11860 | PyObject *resultobj; |
11861 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11862 | PyObject * obj0 = 0 ; | |
11863 | char *kwnames[] = { | |
11864 | (char *) "self", NULL | |
11865 | }; | |
11866 | ||
11867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; | |
11868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11870 | { | |
11871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11872 | (arg1)->LineEndRectExtend(); | |
11873 | ||
11874 | wxPyEndAllowThreads(__tstate); | |
11875 | if (PyErr_Occurred()) SWIG_fail; | |
11876 | } | |
11877 | Py_INCREF(Py_None); resultobj = Py_None; | |
11878 | return resultobj; | |
11879 | fail: | |
11880 | return NULL; | |
11881 | } | |
11882 | ||
11883 | ||
c370783e | 11884 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11885 | PyObject *resultobj; |
11886 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11887 | PyObject * obj0 = 0 ; | |
11888 | char *kwnames[] = { | |
11889 | (char *) "self", NULL | |
11890 | }; | |
11891 | ||
11892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; | |
11893 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11894 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11895 | { | |
11896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11897 | (arg1)->PageUpRectExtend(); | |
11898 | ||
11899 | wxPyEndAllowThreads(__tstate); | |
11900 | if (PyErr_Occurred()) SWIG_fail; | |
11901 | } | |
11902 | Py_INCREF(Py_None); resultobj = Py_None; | |
11903 | return resultobj; | |
11904 | fail: | |
11905 | return NULL; | |
11906 | } | |
11907 | ||
11908 | ||
c370783e | 11909 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11910 | PyObject *resultobj; |
11911 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11912 | PyObject * obj0 = 0 ; | |
11913 | char *kwnames[] = { | |
11914 | (char *) "self", NULL | |
11915 | }; | |
11916 | ||
11917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; | |
11918 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11920 | { | |
11921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11922 | (arg1)->PageDownRectExtend(); | |
11923 | ||
11924 | wxPyEndAllowThreads(__tstate); | |
11925 | if (PyErr_Occurred()) SWIG_fail; | |
11926 | } | |
11927 | Py_INCREF(Py_None); resultobj = Py_None; | |
11928 | return resultobj; | |
11929 | fail: | |
11930 | return NULL; | |
11931 | } | |
11932 | ||
11933 | ||
c370783e | 11934 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11935 | PyObject *resultobj; |
11936 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11937 | PyObject * obj0 = 0 ; | |
11938 | char *kwnames[] = { | |
11939 | (char *) "self", NULL | |
11940 | }; | |
11941 | ||
11942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; | |
11943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11945 | { | |
11946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11947 | (arg1)->StutteredPageUp(); | |
11948 | ||
11949 | wxPyEndAllowThreads(__tstate); | |
11950 | if (PyErr_Occurred()) SWIG_fail; | |
11951 | } | |
11952 | Py_INCREF(Py_None); resultobj = Py_None; | |
11953 | return resultobj; | |
11954 | fail: | |
11955 | return NULL; | |
11956 | } | |
11957 | ||
11958 | ||
c370783e | 11959 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11960 | PyObject *resultobj; |
11961 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11962 | PyObject * obj0 = 0 ; | |
11963 | char *kwnames[] = { | |
11964 | (char *) "self", NULL | |
11965 | }; | |
11966 | ||
11967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; | |
11968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11970 | { | |
11971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11972 | (arg1)->StutteredPageUpExtend(); | |
11973 | ||
11974 | wxPyEndAllowThreads(__tstate); | |
11975 | if (PyErr_Occurred()) SWIG_fail; | |
11976 | } | |
11977 | Py_INCREF(Py_None); resultobj = Py_None; | |
11978 | return resultobj; | |
11979 | fail: | |
11980 | return NULL; | |
11981 | } | |
11982 | ||
11983 | ||
c370783e | 11984 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11985 | PyObject *resultobj; |
11986 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11987 | PyObject * obj0 = 0 ; | |
11988 | char *kwnames[] = { | |
11989 | (char *) "self", NULL | |
11990 | }; | |
11991 | ||
11992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; | |
11993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11995 | { | |
11996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11997 | (arg1)->StutteredPageDown(); | |
11998 | ||
11999 | wxPyEndAllowThreads(__tstate); | |
12000 | if (PyErr_Occurred()) SWIG_fail; | |
12001 | } | |
12002 | Py_INCREF(Py_None); resultobj = Py_None; | |
12003 | return resultobj; | |
12004 | fail: | |
12005 | return NULL; | |
12006 | } | |
12007 | ||
12008 | ||
c370783e | 12009 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12010 | PyObject *resultobj; |
12011 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12012 | PyObject * obj0 = 0 ; | |
12013 | char *kwnames[] = { | |
12014 | (char *) "self", NULL | |
12015 | }; | |
12016 | ||
12017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; | |
12018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12020 | { | |
12021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12022 | (arg1)->StutteredPageDownExtend(); | |
12023 | ||
12024 | wxPyEndAllowThreads(__tstate); | |
12025 | if (PyErr_Occurred()) SWIG_fail; | |
12026 | } | |
12027 | Py_INCREF(Py_None); resultobj = Py_None; | |
12028 | return resultobj; | |
12029 | fail: | |
12030 | return NULL; | |
12031 | } | |
12032 | ||
12033 | ||
c370783e | 12034 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12035 | PyObject *resultobj; |
12036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12037 | PyObject * obj0 = 0 ; | |
12038 | char *kwnames[] = { | |
12039 | (char *) "self", NULL | |
12040 | }; | |
12041 | ||
12042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; | |
12043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12045 | { | |
12046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12047 | (arg1)->WordLeftEnd(); | |
12048 | ||
12049 | wxPyEndAllowThreads(__tstate); | |
12050 | if (PyErr_Occurred()) SWIG_fail; | |
12051 | } | |
12052 | Py_INCREF(Py_None); resultobj = Py_None; | |
12053 | return resultobj; | |
12054 | fail: | |
12055 | return NULL; | |
12056 | } | |
12057 | ||
12058 | ||
c370783e | 12059 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12060 | PyObject *resultobj; |
12061 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12062 | PyObject * obj0 = 0 ; | |
12063 | char *kwnames[] = { | |
12064 | (char *) "self", NULL | |
12065 | }; | |
12066 | ||
12067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; | |
12068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12070 | { | |
12071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12072 | (arg1)->WordLeftEndExtend(); | |
12073 | ||
12074 | wxPyEndAllowThreads(__tstate); | |
12075 | if (PyErr_Occurred()) SWIG_fail; | |
12076 | } | |
12077 | Py_INCREF(Py_None); resultobj = Py_None; | |
12078 | return resultobj; | |
12079 | fail: | |
12080 | return NULL; | |
12081 | } | |
12082 | ||
12083 | ||
c370783e | 12084 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12085 | PyObject *resultobj; |
12086 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12087 | PyObject * obj0 = 0 ; | |
12088 | char *kwnames[] = { | |
12089 | (char *) "self", NULL | |
12090 | }; | |
12091 | ||
12092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; | |
12093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12095 | { | |
12096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12097 | (arg1)->WordRightEnd(); | |
12098 | ||
12099 | wxPyEndAllowThreads(__tstate); | |
12100 | if (PyErr_Occurred()) SWIG_fail; | |
12101 | } | |
12102 | Py_INCREF(Py_None); resultobj = Py_None; | |
12103 | return resultobj; | |
12104 | fail: | |
12105 | return NULL; | |
12106 | } | |
12107 | ||
12108 | ||
c370783e | 12109 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12110 | PyObject *resultobj; |
12111 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12112 | PyObject * obj0 = 0 ; | |
12113 | char *kwnames[] = { | |
12114 | (char *) "self", NULL | |
12115 | }; | |
12116 | ||
12117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; | |
12118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12120 | { | |
12121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12122 | (arg1)->WordRightEndExtend(); | |
12123 | ||
12124 | wxPyEndAllowThreads(__tstate); | |
12125 | if (PyErr_Occurred()) SWIG_fail; | |
12126 | } | |
12127 | Py_INCREF(Py_None); resultobj = Py_None; | |
96b3fa7c RD |
12128 | return resultobj; |
12129 | fail: | |
12130 | return NULL; | |
12131 | } | |
12132 | ||
12133 | ||
c370783e | 12134 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12135 | PyObject *resultobj; |
12136 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12137 | wxString *arg2 = 0 ; | |
b411df4a | 12138 | bool temp2 = false ; |
96b3fa7c RD |
12139 | PyObject * obj0 = 0 ; |
12140 | PyObject * obj1 = 0 ; | |
12141 | char *kwnames[] = { | |
12142 | (char *) "self",(char *) "characters", NULL | |
12143 | }; | |
12144 | ||
12145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12148 | { |
12149 | arg2 = wxString_in_helper(obj1); | |
12150 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12151 | temp2 = true; |
96b3fa7c RD |
12152 | } |
12153 | { | |
12154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12155 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); | |
12156 | ||
12157 | wxPyEndAllowThreads(__tstate); | |
12158 | if (PyErr_Occurred()) SWIG_fail; | |
12159 | } | |
12160 | Py_INCREF(Py_None); resultobj = Py_None; | |
12161 | { | |
12162 | if (temp2) | |
12163 | delete arg2; | |
12164 | } | |
12165 | return resultobj; | |
12166 | fail: | |
12167 | { | |
12168 | if (temp2) | |
12169 | delete arg2; | |
12170 | } | |
12171 | return NULL; | |
12172 | } | |
12173 | ||
12174 | ||
c370783e | 12175 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12176 | PyObject *resultobj; |
12177 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12178 | PyObject * obj0 = 0 ; | |
12179 | char *kwnames[] = { | |
12180 | (char *) "self", NULL | |
12181 | }; | |
12182 | ||
12183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12186 | { |
12187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12188 | (arg1)->SetCharsDefault(); | |
12189 | ||
12190 | wxPyEndAllowThreads(__tstate); | |
12191 | if (PyErr_Occurred()) SWIG_fail; | |
12192 | } | |
12193 | Py_INCREF(Py_None); resultobj = Py_None; | |
12194 | return resultobj; | |
12195 | fail: | |
12196 | return NULL; | |
12197 | } | |
12198 | ||
12199 | ||
c370783e | 12200 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12201 | PyObject *resultobj; |
12202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12203 | int result; | |
12204 | PyObject * obj0 = 0 ; | |
12205 | char *kwnames[] = { | |
12206 | (char *) "self", NULL | |
12207 | }; | |
12208 | ||
12209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12212 | { |
12213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12214 | result = (int)(arg1)->AutoCompGetCurrent(); | |
12215 | ||
12216 | wxPyEndAllowThreads(__tstate); | |
12217 | if (PyErr_Occurred()) SWIG_fail; | |
12218 | } | |
c370783e | 12219 | resultobj = SWIG_From_int((int)result); |
96b3fa7c RD |
12220 | return resultobj; |
12221 | fail: | |
12222 | return NULL; | |
12223 | } | |
12224 | ||
12225 | ||
c370783e | 12226 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12227 | PyObject *resultobj; |
12228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12229 | PyObject * obj0 = 0 ; | |
12230 | char *kwnames[] = { | |
12231 | (char *) "self", NULL | |
12232 | }; | |
12233 | ||
12234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12237 | { |
12238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12239 | (arg1)->StartRecord(); | |
12240 | ||
12241 | wxPyEndAllowThreads(__tstate); | |
12242 | if (PyErr_Occurred()) SWIG_fail; | |
12243 | } | |
12244 | Py_INCREF(Py_None); resultobj = Py_None; | |
12245 | return resultobj; | |
12246 | fail: | |
12247 | return NULL; | |
12248 | } | |
12249 | ||
12250 | ||
c370783e | 12251 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12252 | PyObject *resultobj; |
12253 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12254 | PyObject * obj0 = 0 ; | |
12255 | char *kwnames[] = { | |
12256 | (char *) "self", NULL | |
12257 | }; | |
12258 | ||
12259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12262 | { |
12263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12264 | (arg1)->StopRecord(); | |
12265 | ||
12266 | wxPyEndAllowThreads(__tstate); | |
12267 | if (PyErr_Occurred()) SWIG_fail; | |
12268 | } | |
12269 | Py_INCREF(Py_None); resultobj = Py_None; | |
12270 | return resultobj; | |
12271 | fail: | |
12272 | return NULL; | |
12273 | } | |
12274 | ||
12275 | ||
c370783e | 12276 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12277 | PyObject *resultobj; |
12278 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12279 | int arg2 ; | |
12280 | PyObject * obj0 = 0 ; | |
994141e6 | 12281 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12282 | char *kwnames[] = { |
12283 | (char *) "self",(char *) "lexer", NULL | |
12284 | }; | |
12285 | ||
994141e6 | 12286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12289 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12290 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12291 | { |
12292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12293 | (arg1)->SetLexer(arg2); | |
12294 | ||
12295 | wxPyEndAllowThreads(__tstate); | |
12296 | if (PyErr_Occurred()) SWIG_fail; | |
12297 | } | |
12298 | Py_INCREF(Py_None); resultobj = Py_None; | |
12299 | return resultobj; | |
12300 | fail: | |
12301 | return NULL; | |
12302 | } | |
12303 | ||
12304 | ||
c370783e | 12305 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12306 | PyObject *resultobj; |
12307 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12308 | int result; | |
12309 | PyObject * obj0 = 0 ; | |
12310 | char *kwnames[] = { | |
12311 | (char *) "self", NULL | |
12312 | }; | |
12313 | ||
12314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12317 | { |
12318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12319 | result = (int)(arg1)->GetLexer(); | |
12320 | ||
12321 | wxPyEndAllowThreads(__tstate); | |
12322 | if (PyErr_Occurred()) SWIG_fail; | |
12323 | } | |
c370783e | 12324 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
12325 | return resultobj; |
12326 | fail: | |
12327 | return NULL; | |
12328 | } | |
12329 | ||
12330 | ||
c370783e | 12331 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12332 | PyObject *resultobj; |
12333 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12334 | int arg2 ; | |
12335 | int arg3 ; | |
12336 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12337 | PyObject * obj1 = 0 ; |
12338 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12339 | char *kwnames[] = { |
12340 | (char *) "self",(char *) "start",(char *) "end", NULL | |
12341 | }; | |
12342 | ||
994141e6 | 12343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12346 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12347 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12348 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 12349 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12350 | { |
12351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12352 | (arg1)->Colourise(arg2,arg3); | |
12353 | ||
12354 | wxPyEndAllowThreads(__tstate); | |
12355 | if (PyErr_Occurred()) SWIG_fail; | |
12356 | } | |
12357 | Py_INCREF(Py_None); resultobj = Py_None; | |
12358 | return resultobj; | |
12359 | fail: | |
12360 | return NULL; | |
12361 | } | |
12362 | ||
12363 | ||
c370783e | 12364 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12365 | PyObject *resultobj; |
12366 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12367 | wxString *arg2 = 0 ; | |
12368 | wxString *arg3 = 0 ; | |
b411df4a RD |
12369 | bool temp2 = false ; |
12370 | bool temp3 = false ; | |
d14a1e28 RD |
12371 | PyObject * obj0 = 0 ; |
12372 | PyObject * obj1 = 0 ; | |
12373 | PyObject * obj2 = 0 ; | |
12374 | char *kwnames[] = { | |
12375 | (char *) "self",(char *) "key",(char *) "value", NULL | |
12376 | }; | |
12377 | ||
12378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
12379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12381 | { |
12382 | arg2 = wxString_in_helper(obj1); | |
12383 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12384 | temp2 = true; |
d14a1e28 RD |
12385 | } |
12386 | { | |
12387 | arg3 = wxString_in_helper(obj2); | |
12388 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12389 | temp3 = true; |
d14a1e28 RD |
12390 | } |
12391 | { | |
12392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12393 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
12394 | ||
12395 | wxPyEndAllowThreads(__tstate); | |
12396 | if (PyErr_Occurred()) SWIG_fail; | |
12397 | } | |
12398 | Py_INCREF(Py_None); resultobj = Py_None; | |
12399 | { | |
12400 | if (temp2) | |
12401 | delete arg2; | |
12402 | } | |
12403 | { | |
12404 | if (temp3) | |
12405 | delete arg3; | |
12406 | } | |
12407 | return resultobj; | |
12408 | fail: | |
12409 | { | |
12410 | if (temp2) | |
12411 | delete arg2; | |
12412 | } | |
12413 | { | |
12414 | if (temp3) | |
12415 | delete arg3; | |
12416 | } | |
12417 | return NULL; | |
12418 | } | |
12419 | ||
12420 | ||
c370783e | 12421 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12422 | PyObject *resultobj; |
12423 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12424 | int arg2 ; | |
12425 | wxString *arg3 = 0 ; | |
b411df4a | 12426 | bool temp3 = false ; |
d14a1e28 | 12427 | PyObject * obj0 = 0 ; |
994141e6 | 12428 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12429 | PyObject * obj2 = 0 ; |
12430 | char *kwnames[] = { | |
12431 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
12432 | }; | |
12433 | ||
994141e6 | 12434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12437 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12438 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12439 | { |
12440 | arg3 = wxString_in_helper(obj2); | |
12441 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12442 | temp3 = true; |
d14a1e28 RD |
12443 | } |
12444 | { | |
12445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12446 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
12447 | ||
12448 | wxPyEndAllowThreads(__tstate); | |
12449 | if (PyErr_Occurred()) SWIG_fail; | |
12450 | } | |
12451 | Py_INCREF(Py_None); resultobj = Py_None; | |
12452 | { | |
12453 | if (temp3) | |
12454 | delete arg3; | |
12455 | } | |
12456 | return resultobj; | |
12457 | fail: | |
12458 | { | |
12459 | if (temp3) | |
12460 | delete arg3; | |
12461 | } | |
12462 | return NULL; | |
12463 | } | |
12464 | ||
12465 | ||
c370783e | 12466 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12467 | PyObject *resultobj; |
12468 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12469 | wxString *arg2 = 0 ; | |
b411df4a | 12470 | bool temp2 = false ; |
d14a1e28 RD |
12471 | PyObject * obj0 = 0 ; |
12472 | PyObject * obj1 = 0 ; | |
12473 | char *kwnames[] = { | |
12474 | (char *) "self",(char *) "language", NULL | |
12475 | }; | |
12476 | ||
12477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12480 | { |
12481 | arg2 = wxString_in_helper(obj1); | |
12482 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12483 | temp2 = true; |
d14a1e28 RD |
12484 | } |
12485 | { | |
12486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12487 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
12488 | ||
12489 | wxPyEndAllowThreads(__tstate); | |
12490 | if (PyErr_Occurred()) SWIG_fail; | |
12491 | } | |
12492 | Py_INCREF(Py_None); resultobj = Py_None; | |
12493 | { | |
12494 | if (temp2) | |
12495 | delete arg2; | |
12496 | } | |
12497 | return resultobj; | |
12498 | fail: | |
12499 | { | |
12500 | if (temp2) | |
12501 | delete arg2; | |
12502 | } | |
12503 | return NULL; | |
12504 | } | |
12505 | ||
12506 | ||
c370783e | 12507 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12508 | PyObject *resultobj; |
12509 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12510 | int result; | |
12511 | PyObject * obj0 = 0 ; | |
12512 | char *kwnames[] = { | |
12513 | (char *) "self", NULL | |
12514 | }; | |
12515 | ||
12516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12519 | { |
12520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12521 | result = (int)(arg1)->GetCurrentLine(); | |
12522 | ||
12523 | wxPyEndAllowThreads(__tstate); | |
12524 | if (PyErr_Occurred()) SWIG_fail; | |
12525 | } | |
c370783e | 12526 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
12527 | return resultobj; |
12528 | fail: | |
12529 | return NULL; | |
12530 | } | |
12531 | ||
12532 | ||
c370783e | 12533 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12534 | PyObject *resultobj; |
12535 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12536 | int arg2 ; | |
12537 | wxString *arg3 = 0 ; | |
b411df4a | 12538 | bool temp3 = false ; |
d14a1e28 | 12539 | PyObject * obj0 = 0 ; |
994141e6 | 12540 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12541 | PyObject * obj2 = 0 ; |
12542 | char *kwnames[] = { | |
12543 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
12544 | }; | |
12545 | ||
994141e6 | 12546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12549 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12550 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12551 | { |
12552 | arg3 = wxString_in_helper(obj2); | |
12553 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12554 | temp3 = true; |
d14a1e28 RD |
12555 | } |
12556 | { | |
12557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12558 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
12559 | ||
12560 | wxPyEndAllowThreads(__tstate); | |
12561 | if (PyErr_Occurred()) SWIG_fail; | |
12562 | } | |
12563 | Py_INCREF(Py_None); resultobj = Py_None; | |
12564 | { | |
12565 | if (temp3) | |
12566 | delete arg3; | |
12567 | } | |
12568 | return resultobj; | |
12569 | fail: | |
12570 | { | |
12571 | if (temp3) | |
12572 | delete arg3; | |
12573 | } | |
12574 | return NULL; | |
12575 | } | |
12576 | ||
12577 | ||
c370783e | 12578 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12579 | PyObject *resultobj; |
12580 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12581 | int arg2 ; | |
12582 | wxFont *arg3 = 0 ; | |
12583 | PyObject * obj0 = 0 ; | |
994141e6 | 12584 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12585 | PyObject * obj2 = 0 ; |
12586 | char *kwnames[] = { | |
12587 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
12588 | }; | |
12589 | ||
994141e6 | 12590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12593 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 RD |
12594 | if (PyErr_Occurred()) SWIG_fail; |
12595 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, | |
12596 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12597 | SWIG_fail; | |
d14a1e28 | 12598 | if (arg3 == NULL) { |
15afbcd0 RD |
12599 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12600 | SWIG_fail; | |
d14a1e28 RD |
12601 | } |
12602 | { | |
12603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12604 | (arg1)->StyleSetFont(arg2,*arg3); | |
12605 | ||
12606 | wxPyEndAllowThreads(__tstate); | |
12607 | if (PyErr_Occurred()) SWIG_fail; | |
12608 | } | |
12609 | Py_INCREF(Py_None); resultobj = Py_None; | |
12610 | return resultobj; | |
12611 | fail: | |
12612 | return NULL; | |
12613 | } | |
12614 | ||
12615 | ||
c370783e | 12616 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12617 | PyObject *resultobj; |
12618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12619 | int arg2 ; | |
12620 | int arg3 ; | |
12621 | wxString *arg4 = 0 ; | |
12622 | bool arg5 ; | |
12623 | bool arg6 ; | |
12624 | bool arg7 ; | |
b411df4a | 12625 | bool temp4 = false ; |
d14a1e28 | 12626 | PyObject * obj0 = 0 ; |
994141e6 RD |
12627 | PyObject * obj1 = 0 ; |
12628 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12629 | PyObject * obj3 = 0 ; |
12630 | PyObject * obj4 = 0 ; | |
12631 | PyObject * obj5 = 0 ; | |
12632 | PyObject * obj6 = 0 ; | |
12633 | char *kwnames[] = { | |
12634 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL | |
12635 | }; | |
12636 | ||
994141e6 | 12637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
12638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12640 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12641 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12642 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 12643 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12644 | { |
12645 | arg4 = wxString_in_helper(obj3); | |
12646 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 12647 | temp4 = true; |
d14a1e28 | 12648 | } |
c370783e | 12649 | arg5 = (bool)SWIG_As_bool(obj4); |
15afbcd0 | 12650 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12651 | arg6 = (bool)SWIG_As_bool(obj5); |
15afbcd0 | 12652 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12653 | arg7 = (bool)SWIG_As_bool(obj6); |
15afbcd0 | 12654 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12655 | { |
12656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12657 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
12658 | ||
12659 | wxPyEndAllowThreads(__tstate); | |
12660 | if (PyErr_Occurred()) SWIG_fail; | |
12661 | } | |
12662 | Py_INCREF(Py_None); resultobj = Py_None; | |
12663 | { | |
12664 | if (temp4) | |
12665 | delete arg4; | |
12666 | } | |
12667 | return resultobj; | |
12668 | fail: | |
12669 | { | |
12670 | if (temp4) | |
12671 | delete arg4; | |
12672 | } | |
12673 | return NULL; | |
12674 | } | |
12675 | ||
12676 | ||
c370783e | 12677 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12678 | PyObject *resultobj; |
12679 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12680 | int arg2 ; | |
12681 | PyObject * obj0 = 0 ; | |
994141e6 | 12682 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12683 | char *kwnames[] = { |
12684 | (char *) "self",(char *) "cmd", NULL | |
12685 | }; | |
12686 | ||
994141e6 | 12687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12690 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12691 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12692 | { |
12693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12694 | (arg1)->CmdKeyExecute(arg2); | |
12695 | ||
12696 | wxPyEndAllowThreads(__tstate); | |
12697 | if (PyErr_Occurred()) SWIG_fail; | |
12698 | } | |
12699 | Py_INCREF(Py_None); resultobj = Py_None; | |
12700 | return resultobj; | |
12701 | fail: | |
12702 | return NULL; | |
12703 | } | |
12704 | ||
12705 | ||
c370783e | 12706 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12707 | PyObject *resultobj; |
12708 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12709 | int arg2 ; | |
12710 | int arg3 ; | |
12711 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12712 | PyObject * obj1 = 0 ; |
12713 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12714 | char *kwnames[] = { |
12715 | (char *) "self",(char *) "left",(char *) "right", NULL | |
12716 | }; | |
12717 | ||
994141e6 | 12718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12719 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12720 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12721 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12722 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12723 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 12724 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12725 | { |
12726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12727 | (arg1)->SetMargins(arg2,arg3); | |
12728 | ||
12729 | wxPyEndAllowThreads(__tstate); | |
12730 | if (PyErr_Occurred()) SWIG_fail; | |
12731 | } | |
12732 | Py_INCREF(Py_None); resultobj = Py_None; | |
12733 | return resultobj; | |
12734 | fail: | |
12735 | return NULL; | |
12736 | } | |
12737 | ||
12738 | ||
c370783e | 12739 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12740 | PyObject *resultobj; |
12741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12742 | int *arg2 = (int *) 0 ; | |
12743 | int *arg3 = (int *) 0 ; | |
12744 | int temp2 ; | |
c370783e | 12745 | int res2 = 0 ; |
d14a1e28 | 12746 | int temp3 ; |
c370783e | 12747 | int res3 = 0 ; |
d14a1e28 RD |
12748 | PyObject * obj0 = 0 ; |
12749 | char *kwnames[] = { | |
12750 | (char *) "self", NULL | |
12751 | }; | |
12752 | ||
c370783e RD |
12753 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
12754 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 12755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
12756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12758 | { |
12759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12760 | (arg1)->GetSelection(arg2,arg3); | |
12761 | ||
12762 | wxPyEndAllowThreads(__tstate); | |
12763 | if (PyErr_Occurred()) SWIG_fail; | |
12764 | } | |
12765 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
12766 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
12767 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
12768 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
12769 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
12770 | return resultobj; |
12771 | fail: | |
12772 | return NULL; | |
12773 | } | |
12774 | ||
12775 | ||
c370783e | 12776 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12777 | PyObject *resultobj; |
12778 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12779 | int arg2 ; | |
12780 | wxPoint result; | |
12781 | PyObject * obj0 = 0 ; | |
994141e6 | 12782 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12783 | char *kwnames[] = { |
12784 | (char *) "self",(char *) "pos", NULL | |
12785 | }; | |
12786 | ||
994141e6 | 12787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12790 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12791 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12792 | { |
12793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12794 | result = (arg1)->PointFromPosition(arg2); | |
12795 | ||
12796 | wxPyEndAllowThreads(__tstate); | |
12797 | if (PyErr_Occurred()) SWIG_fail; | |
12798 | } | |
12799 | { | |
12800 | wxPoint * resultptr; | |
12801 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 12802 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
12803 | } |
12804 | return resultobj; | |
12805 | fail: | |
12806 | return NULL; | |
12807 | } | |
12808 | ||
12809 | ||
c370783e | 12810 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12811 | PyObject *resultobj; |
12812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12813 | int arg2 ; | |
12814 | PyObject * obj0 = 0 ; | |
994141e6 | 12815 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12816 | char *kwnames[] = { |
12817 | (char *) "self",(char *) "line", NULL | |
12818 | }; | |
12819 | ||
994141e6 | 12820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12823 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12824 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12825 | { |
12826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12827 | (arg1)->ScrollToLine(arg2); | |
12828 | ||
12829 | wxPyEndAllowThreads(__tstate); | |
12830 | if (PyErr_Occurred()) SWIG_fail; | |
12831 | } | |
12832 | Py_INCREF(Py_None); resultobj = Py_None; | |
12833 | return resultobj; | |
12834 | fail: | |
12835 | return NULL; | |
12836 | } | |
12837 | ||
12838 | ||
c370783e | 12839 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12840 | PyObject *resultobj; |
12841 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12842 | int arg2 ; | |
12843 | PyObject * obj0 = 0 ; | |
994141e6 | 12844 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12845 | char *kwnames[] = { |
12846 | (char *) "self",(char *) "column", NULL | |
12847 | }; | |
12848 | ||
994141e6 | 12849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12852 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12853 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12854 | { |
12855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12856 | (arg1)->ScrollToColumn(arg2); | |
12857 | ||
12858 | wxPyEndAllowThreads(__tstate); | |
12859 | if (PyErr_Occurred()) SWIG_fail; | |
12860 | } | |
12861 | Py_INCREF(Py_None); resultobj = Py_None; | |
12862 | return resultobj; | |
12863 | fail: | |
12864 | return NULL; | |
12865 | } | |
12866 | ||
12867 | ||
c370783e | 12868 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12869 | PyObject *resultobj; |
12870 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12871 | int arg2 ; | |
12872 | long arg3 = (long) 0 ; | |
12873 | long arg4 = (long) 0 ; | |
12874 | long result; | |
12875 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12876 | PyObject * obj1 = 0 ; |
12877 | PyObject * obj2 = 0 ; | |
12878 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
12879 | char *kwnames[] = { |
12880 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
12881 | }; | |
12882 | ||
994141e6 | 12883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
12884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12886 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12887 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12888 | if (obj2) { |
c370783e | 12889 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 12890 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
12891 | } |
12892 | if (obj3) { | |
c370783e | 12893 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 12894 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12895 | } |
d14a1e28 RD |
12896 | { |
12897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12898 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
12899 | ||
12900 | wxPyEndAllowThreads(__tstate); | |
12901 | if (PyErr_Occurred()) SWIG_fail; | |
12902 | } | |
c370783e | 12903 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
12904 | return resultobj; |
12905 | fail: | |
12906 | return NULL; | |
12907 | } | |
12908 | ||
12909 | ||
c370783e | 12910 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12911 | PyObject *resultobj; |
12912 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12913 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
12914 | PyObject * obj0 = 0 ; | |
12915 | PyObject * obj1 = 0 ; | |
12916 | char *kwnames[] = { | |
12917 | (char *) "self",(char *) "bar", NULL | |
12918 | }; | |
12919 | ||
12920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12923 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
12924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12925 | { |
12926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12927 | (arg1)->SetVScrollBar(arg2); | |
12928 | ||
12929 | wxPyEndAllowThreads(__tstate); | |
12930 | if (PyErr_Occurred()) SWIG_fail; | |
12931 | } | |
12932 | Py_INCREF(Py_None); resultobj = Py_None; | |
12933 | return resultobj; | |
12934 | fail: | |
12935 | return NULL; | |
12936 | } | |
12937 | ||
12938 | ||
c370783e | 12939 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12940 | PyObject *resultobj; |
12941 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12942 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
12943 | PyObject * obj0 = 0 ; | |
12944 | PyObject * obj1 = 0 ; | |
12945 | char *kwnames[] = { | |
12946 | (char *) "self",(char *) "bar", NULL | |
12947 | }; | |
12948 | ||
12949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12952 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
12953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12954 | { |
12955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12956 | (arg1)->SetHScrollBar(arg2); | |
12957 | ||
12958 | wxPyEndAllowThreads(__tstate); | |
12959 | if (PyErr_Occurred()) SWIG_fail; | |
12960 | } | |
12961 | Py_INCREF(Py_None); resultobj = Py_None; | |
12962 | return resultobj; | |
12963 | fail: | |
12964 | return NULL; | |
12965 | } | |
12966 | ||
12967 | ||
c370783e | 12968 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12969 | PyObject *resultobj; |
12970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12971 | bool result; | |
12972 | PyObject * obj0 = 0 ; | |
12973 | char *kwnames[] = { | |
12974 | (char *) "self", NULL | |
12975 | }; | |
12976 | ||
12977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12980 | { |
12981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12982 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
12983 | ||
12984 | wxPyEndAllowThreads(__tstate); | |
12985 | if (PyErr_Occurred()) SWIG_fail; | |
12986 | } | |
4f89f6a3 RD |
12987 | { |
12988 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12989 | } | |
d14a1e28 RD |
12990 | return resultobj; |
12991 | fail: | |
12992 | return NULL; | |
12993 | } | |
12994 | ||
12995 | ||
c370783e | 12996 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12997 | PyObject *resultobj; |
12998 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12999 | bool arg2 ; | |
13000 | PyObject * obj0 = 0 ; | |
13001 | PyObject * obj1 = 0 ; | |
13002 | char *kwnames[] = { | |
13003 | (char *) "self",(char *) "val", NULL | |
13004 | }; | |
13005 | ||
13006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13009 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13010 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13011 | { |
13012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13013 | (arg1)->SetLastKeydownProcessed(arg2); | |
13014 | ||
13015 | wxPyEndAllowThreads(__tstate); | |
13016 | if (PyErr_Occurred()) SWIG_fail; | |
13017 | } | |
13018 | Py_INCREF(Py_None); resultobj = Py_None; | |
13019 | return resultobj; | |
13020 | fail: | |
13021 | return NULL; | |
13022 | } | |
13023 | ||
13024 | ||
c370783e | 13025 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13026 | PyObject *resultobj; |
13027 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13028 | wxString *arg2 = 0 ; | |
13029 | bool result; | |
b411df4a | 13030 | bool temp2 = false ; |
d14a1e28 RD |
13031 | PyObject * obj0 = 0 ; |
13032 | PyObject * obj1 = 0 ; | |
13033 | char *kwnames[] = { | |
13034 | (char *) "self",(char *) "filename", NULL | |
13035 | }; | |
13036 | ||
13037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13040 | { |
13041 | arg2 = wxString_in_helper(obj1); | |
13042 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13043 | temp2 = true; |
d14a1e28 RD |
13044 | } |
13045 | { | |
13046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13047 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
13048 | ||
13049 | wxPyEndAllowThreads(__tstate); | |
13050 | if (PyErr_Occurred()) SWIG_fail; | |
13051 | } | |
4f89f6a3 RD |
13052 | { |
13053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13054 | } | |
d14a1e28 RD |
13055 | { |
13056 | if (temp2) | |
13057 | delete arg2; | |
13058 | } | |
13059 | return resultobj; | |
13060 | fail: | |
13061 | { | |
13062 | if (temp2) | |
13063 | delete arg2; | |
13064 | } | |
13065 | return NULL; | |
13066 | } | |
13067 | ||
13068 | ||
c370783e | 13069 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13070 | PyObject *resultobj; |
13071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13072 | wxString *arg2 = 0 ; | |
13073 | bool result; | |
b411df4a | 13074 | bool temp2 = false ; |
d14a1e28 RD |
13075 | PyObject * obj0 = 0 ; |
13076 | PyObject * obj1 = 0 ; | |
13077 | char *kwnames[] = { | |
13078 | (char *) "self",(char *) "filename", NULL | |
13079 | }; | |
13080 | ||
13081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13084 | { |
13085 | arg2 = wxString_in_helper(obj1); | |
13086 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13087 | temp2 = true; |
d14a1e28 RD |
13088 | } |
13089 | { | |
13090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13091 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
13092 | ||
13093 | wxPyEndAllowThreads(__tstate); | |
13094 | if (PyErr_Occurred()) SWIG_fail; | |
13095 | } | |
4f89f6a3 RD |
13096 | { |
13097 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13098 | } | |
d14a1e28 RD |
13099 | { |
13100 | if (temp2) | |
13101 | delete arg2; | |
13102 | } | |
13103 | return resultobj; | |
13104 | fail: | |
13105 | { | |
13106 | if (temp2) | |
13107 | delete arg2; | |
13108 | } | |
13109 | return NULL; | |
13110 | } | |
13111 | ||
13112 | ||
c370783e | 13113 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13114 | PyObject *resultobj; |
13115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
e811c8ce RD |
13116 | int arg2 ; |
13117 | int arg3 ; | |
96b3fa7c RD |
13118 | int arg4 ; |
13119 | int result; | |
d14a1e28 | 13120 | PyObject * obj0 = 0 ; |
994141e6 RD |
13121 | PyObject * obj1 = 0 ; |
13122 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13123 | PyObject * obj3 = 0 ; |
13124 | char *kwnames[] = { | |
13125 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
13126 | }; | |
13127 | ||
994141e6 | 13128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13131 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13132 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13133 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 13134 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13135 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 13136 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13137 | { |
13138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 13139 | result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); |
d14a1e28 RD |
13140 | |
13141 | wxPyEndAllowThreads(__tstate); | |
13142 | if (PyErr_Occurred()) SWIG_fail; | |
13143 | } | |
c370783e | 13144 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
13145 | return resultobj; |
13146 | fail: | |
13147 | return NULL; | |
13148 | } | |
13149 | ||
13150 | ||
c370783e | 13151 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13152 | PyObject *resultobj; |
13153 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13154 | long arg2 ; | |
13155 | long arg3 ; | |
13156 | wxString *arg4 = 0 ; | |
13157 | bool result; | |
b411df4a | 13158 | bool temp4 = false ; |
d14a1e28 | 13159 | PyObject * obj0 = 0 ; |
994141e6 RD |
13160 | PyObject * obj1 = 0 ; |
13161 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13162 | PyObject * obj3 = 0 ; |
13163 | char *kwnames[] = { | |
13164 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
13165 | }; | |
13166 | ||
994141e6 | 13167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13168 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13169 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13170 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 13171 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13172 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 13173 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13174 | { |
13175 | arg4 = wxString_in_helper(obj3); | |
13176 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 13177 | temp4 = true; |
d14a1e28 RD |
13178 | } |
13179 | { | |
13180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13181 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
13182 | ||
13183 | wxPyEndAllowThreads(__tstate); | |
13184 | if (PyErr_Occurred()) SWIG_fail; | |
13185 | } | |
4f89f6a3 RD |
13186 | { |
13187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13188 | } | |
d14a1e28 RD |
13189 | { |
13190 | if (temp4) | |
13191 | delete arg4; | |
13192 | } | |
13193 | return resultobj; | |
13194 | fail: | |
13195 | { | |
13196 | if (temp4) | |
13197 | delete arg4; | |
13198 | } | |
13199 | return NULL; | |
13200 | } | |
13201 | ||
13202 | ||
c370783e | 13203 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
13204 | PyObject *resultobj; |
13205 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13206 | bool arg2 ; | |
13207 | PyObject * obj0 = 0 ; | |
13208 | PyObject * obj1 = 0 ; | |
13209 | char *kwnames[] = { | |
13210 | (char *) "self",(char *) "useAA", NULL | |
13211 | }; | |
13212 | ||
13213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13216 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13217 | if (PyErr_Occurred()) SWIG_fail; |
db914595 RD |
13218 | { |
13219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13220 | (arg1)->SetUseAntiAliasing(arg2); | |
13221 | ||
13222 | wxPyEndAllowThreads(__tstate); | |
13223 | if (PyErr_Occurred()) SWIG_fail; | |
13224 | } | |
13225 | Py_INCREF(Py_None); resultobj = Py_None; | |
13226 | return resultobj; | |
13227 | fail: | |
13228 | return NULL; | |
13229 | } | |
13230 | ||
13231 | ||
c370783e | 13232 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
13233 | PyObject *resultobj; |
13234 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13235 | bool result; | |
13236 | PyObject * obj0 = 0 ; | |
13237 | char *kwnames[] = { | |
13238 | (char *) "self", NULL | |
13239 | }; | |
13240 | ||
13241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
13244 | { |
13245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13246 | result = (bool)(arg1)->GetUseAntiAliasing(); | |
13247 | ||
13248 | wxPyEndAllowThreads(__tstate); | |
13249 | if (PyErr_Occurred()) SWIG_fail; | |
13250 | } | |
4f89f6a3 RD |
13251 | { |
13252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13253 | } | |
db914595 RD |
13254 | return resultobj; |
13255 | fail: | |
13256 | return NULL; | |
13257 | } | |
13258 | ||
13259 | ||
c370783e | 13260 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13261 | PyObject *obj; |
13262 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13263 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
13264 | Py_INCREF(obj); | |
13265 | return Py_BuildValue((char *)""); | |
13266 | } | |
c370783e | 13267 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13268 | PyObject *resultobj; |
13269 | wxEventType arg1 = (wxEventType) 0 ; | |
13270 | int arg2 = (int) 0 ; | |
13271 | wxStyledTextEvent *result; | |
994141e6 RD |
13272 | PyObject * obj0 = 0 ; |
13273 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13274 | char *kwnames[] = { |
13275 | (char *) "commandType",(char *) "id", NULL | |
13276 | }; | |
13277 | ||
994141e6 RD |
13278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
13279 | if (obj0) { | |
c370783e | 13280 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 | 13281 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
13282 | } |
13283 | if (obj1) { | |
c370783e | 13284 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13285 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13286 | } |
d14a1e28 RD |
13287 | { |
13288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13289 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
13290 | ||
13291 | wxPyEndAllowThreads(__tstate); | |
13292 | if (PyErr_Occurred()) SWIG_fail; | |
13293 | } | |
15afbcd0 | 13294 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
d14a1e28 RD |
13295 | return resultobj; |
13296 | fail: | |
13297 | return NULL; | |
13298 | } | |
13299 | ||
13300 | ||
c370783e | 13301 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13302 | PyObject *resultobj; |
13303 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13304 | PyObject * obj0 = 0 ; | |
13305 | char *kwnames[] = { | |
13306 | (char *) "self", NULL | |
13307 | }; | |
13308 | ||
13309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13312 | { |
13313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13314 | delete arg1; | |
13315 | ||
13316 | wxPyEndAllowThreads(__tstate); | |
13317 | if (PyErr_Occurred()) SWIG_fail; | |
13318 | } | |
13319 | Py_INCREF(Py_None); resultobj = Py_None; | |
13320 | return resultobj; | |
13321 | fail: | |
13322 | return NULL; | |
13323 | } | |
13324 | ||
13325 | ||
c370783e | 13326 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13327 | PyObject *resultobj; |
13328 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13329 | int arg2 ; | |
13330 | PyObject * obj0 = 0 ; | |
994141e6 | 13331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13332 | char *kwnames[] = { |
13333 | (char *) "self",(char *) "pos", NULL | |
13334 | }; | |
13335 | ||
994141e6 | 13336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13339 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13340 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13341 | { |
13342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13343 | (arg1)->SetPosition(arg2); | |
13344 | ||
13345 | wxPyEndAllowThreads(__tstate); | |
13346 | if (PyErr_Occurred()) SWIG_fail; | |
13347 | } | |
13348 | Py_INCREF(Py_None); resultobj = Py_None; | |
13349 | return resultobj; | |
13350 | fail: | |
13351 | return NULL; | |
13352 | } | |
13353 | ||
13354 | ||
c370783e | 13355 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13356 | PyObject *resultobj; |
13357 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13358 | int arg2 ; | |
13359 | PyObject * obj0 = 0 ; | |
994141e6 | 13360 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13361 | char *kwnames[] = { |
13362 | (char *) "self",(char *) "k", NULL | |
13363 | }; | |
13364 | ||
994141e6 | 13365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13368 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13369 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13370 | { |
13371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13372 | (arg1)->SetKey(arg2); | |
13373 | ||
13374 | wxPyEndAllowThreads(__tstate); | |
13375 | if (PyErr_Occurred()) SWIG_fail; | |
13376 | } | |
13377 | Py_INCREF(Py_None); resultobj = Py_None; | |
13378 | return resultobj; | |
13379 | fail: | |
13380 | return NULL; | |
13381 | } | |
13382 | ||
13383 | ||
c370783e | 13384 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13385 | PyObject *resultobj; |
13386 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13387 | int arg2 ; | |
13388 | PyObject * obj0 = 0 ; | |
994141e6 | 13389 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13390 | char *kwnames[] = { |
13391 | (char *) "self",(char *) "m", NULL | |
13392 | }; | |
13393 | ||
994141e6 | 13394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13397 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13398 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13399 | { |
13400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13401 | (arg1)->SetModifiers(arg2); | |
13402 | ||
13403 | wxPyEndAllowThreads(__tstate); | |
13404 | if (PyErr_Occurred()) SWIG_fail; | |
13405 | } | |
13406 | Py_INCREF(Py_None); resultobj = Py_None; | |
13407 | return resultobj; | |
13408 | fail: | |
13409 | return NULL; | |
13410 | } | |
13411 | ||
13412 | ||
c370783e | 13413 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13414 | PyObject *resultobj; |
13415 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13416 | int arg2 ; | |
13417 | PyObject * obj0 = 0 ; | |
994141e6 | 13418 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13419 | char *kwnames[] = { |
13420 | (char *) "self",(char *) "t", NULL | |
13421 | }; | |
13422 | ||
994141e6 | 13423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13426 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13427 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13428 | { |
13429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13430 | (arg1)->SetModificationType(arg2); | |
13431 | ||
13432 | wxPyEndAllowThreads(__tstate); | |
13433 | if (PyErr_Occurred()) SWIG_fail; | |
13434 | } | |
13435 | Py_INCREF(Py_None); resultobj = Py_None; | |
13436 | return resultobj; | |
13437 | fail: | |
13438 | return NULL; | |
13439 | } | |
13440 | ||
13441 | ||
c370783e | 13442 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13443 | PyObject *resultobj; |
13444 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13445 | wxString *arg2 = 0 ; | |
b411df4a | 13446 | bool temp2 = false ; |
d14a1e28 RD |
13447 | PyObject * obj0 = 0 ; |
13448 | PyObject * obj1 = 0 ; | |
13449 | char *kwnames[] = { | |
13450 | (char *) "self",(char *) "t", NULL | |
13451 | }; | |
13452 | ||
13453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13456 | { |
13457 | arg2 = wxString_in_helper(obj1); | |
13458 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13459 | temp2 = true; |
d14a1e28 RD |
13460 | } |
13461 | { | |
13462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13463 | (arg1)->SetText((wxString const &)*arg2); | |
13464 | ||
13465 | wxPyEndAllowThreads(__tstate); | |
13466 | if (PyErr_Occurred()) SWIG_fail; | |
13467 | } | |
13468 | Py_INCREF(Py_None); resultobj = Py_None; | |
13469 | { | |
13470 | if (temp2) | |
13471 | delete arg2; | |
13472 | } | |
13473 | return resultobj; | |
13474 | fail: | |
13475 | { | |
13476 | if (temp2) | |
13477 | delete arg2; | |
13478 | } | |
13479 | return NULL; | |
13480 | } | |
13481 | ||
13482 | ||
c370783e | 13483 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13484 | PyObject *resultobj; |
13485 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13486 | int arg2 ; | |
13487 | PyObject * obj0 = 0 ; | |
994141e6 | 13488 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13489 | char *kwnames[] = { |
13490 | (char *) "self",(char *) "len", NULL | |
13491 | }; | |
13492 | ||
994141e6 | 13493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13496 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13497 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13498 | { |
13499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13500 | (arg1)->SetLength(arg2); | |
13501 | ||
13502 | wxPyEndAllowThreads(__tstate); | |
13503 | if (PyErr_Occurred()) SWIG_fail; | |
13504 | } | |
13505 | Py_INCREF(Py_None); resultobj = Py_None; | |
13506 | return resultobj; | |
13507 | fail: | |
13508 | return NULL; | |
13509 | } | |
13510 | ||
13511 | ||
c370783e | 13512 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13513 | PyObject *resultobj; |
13514 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13515 | int arg2 ; | |
13516 | PyObject * obj0 = 0 ; | |
994141e6 | 13517 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13518 | char *kwnames[] = { |
13519 | (char *) "self",(char *) "num", NULL | |
13520 | }; | |
13521 | ||
994141e6 | 13522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13525 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13526 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13527 | { |
13528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13529 | (arg1)->SetLinesAdded(arg2); | |
13530 | ||
13531 | wxPyEndAllowThreads(__tstate); | |
13532 | if (PyErr_Occurred()) SWIG_fail; | |
13533 | } | |
13534 | Py_INCREF(Py_None); resultobj = Py_None; | |
13535 | return resultobj; | |
13536 | fail: | |
13537 | return NULL; | |
13538 | } | |
13539 | ||
13540 | ||
c370783e | 13541 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13542 | PyObject *resultobj; |
13543 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13544 | int arg2 ; | |
13545 | PyObject * obj0 = 0 ; | |
994141e6 | 13546 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13547 | char *kwnames[] = { |
13548 | (char *) "self",(char *) "val", NULL | |
13549 | }; | |
13550 | ||
994141e6 | 13551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13554 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13555 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13556 | { |
13557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13558 | (arg1)->SetLine(arg2); | |
13559 | ||
13560 | wxPyEndAllowThreads(__tstate); | |
13561 | if (PyErr_Occurred()) SWIG_fail; | |
13562 | } | |
13563 | Py_INCREF(Py_None); resultobj = Py_None; | |
13564 | return resultobj; | |
13565 | fail: | |
13566 | return NULL; | |
13567 | } | |
13568 | ||
13569 | ||
c370783e | 13570 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13571 | PyObject *resultobj; |
13572 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13573 | int arg2 ; | |
13574 | PyObject * obj0 = 0 ; | |
994141e6 | 13575 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13576 | char *kwnames[] = { |
13577 | (char *) "self",(char *) "val", NULL | |
13578 | }; | |
13579 | ||
994141e6 | 13580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13581 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13583 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13584 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13585 | { |
13586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13587 | (arg1)->SetFoldLevelNow(arg2); | |
13588 | ||
13589 | wxPyEndAllowThreads(__tstate); | |
13590 | if (PyErr_Occurred()) SWIG_fail; | |
13591 | } | |
13592 | Py_INCREF(Py_None); resultobj = Py_None; | |
13593 | return resultobj; | |
13594 | fail: | |
13595 | return NULL; | |
13596 | } | |
13597 | ||
13598 | ||
c370783e | 13599 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13600 | PyObject *resultobj; |
13601 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13602 | int arg2 ; | |
13603 | PyObject * obj0 = 0 ; | |
994141e6 | 13604 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13605 | char *kwnames[] = { |
13606 | (char *) "self",(char *) "val", NULL | |
13607 | }; | |
13608 | ||
994141e6 | 13609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13612 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13613 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13614 | { |
13615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13616 | (arg1)->SetFoldLevelPrev(arg2); | |
13617 | ||
13618 | wxPyEndAllowThreads(__tstate); | |
13619 | if (PyErr_Occurred()) SWIG_fail; | |
13620 | } | |
13621 | Py_INCREF(Py_None); resultobj = Py_None; | |
13622 | return resultobj; | |
13623 | fail: | |
13624 | return NULL; | |
13625 | } | |
13626 | ||
13627 | ||
c370783e | 13628 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13629 | PyObject *resultobj; |
13630 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13631 | int arg2 ; | |
13632 | PyObject * obj0 = 0 ; | |
994141e6 | 13633 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13634 | char *kwnames[] = { |
13635 | (char *) "self",(char *) "val", NULL | |
13636 | }; | |
13637 | ||
994141e6 | 13638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13641 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13642 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13643 | { |
13644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13645 | (arg1)->SetMargin(arg2); | |
13646 | ||
13647 | wxPyEndAllowThreads(__tstate); | |
13648 | if (PyErr_Occurred()) SWIG_fail; | |
13649 | } | |
13650 | Py_INCREF(Py_None); resultobj = Py_None; | |
13651 | return resultobj; | |
13652 | fail: | |
13653 | return NULL; | |
13654 | } | |
13655 | ||
13656 | ||
c370783e | 13657 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13658 | PyObject *resultobj; |
13659 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13660 | int arg2 ; | |
13661 | PyObject * obj0 = 0 ; | |
994141e6 | 13662 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13663 | char *kwnames[] = { |
13664 | (char *) "self",(char *) "val", NULL | |
13665 | }; | |
13666 | ||
994141e6 | 13667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13670 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13671 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13672 | { |
13673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13674 | (arg1)->SetMessage(arg2); | |
13675 | ||
13676 | wxPyEndAllowThreads(__tstate); | |
13677 | if (PyErr_Occurred()) SWIG_fail; | |
13678 | } | |
13679 | Py_INCREF(Py_None); resultobj = Py_None; | |
13680 | return resultobj; | |
13681 | fail: | |
13682 | return NULL; | |
13683 | } | |
13684 | ||
13685 | ||
c370783e | 13686 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13687 | PyObject *resultobj; |
13688 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13689 | int arg2 ; | |
13690 | PyObject * obj0 = 0 ; | |
994141e6 | 13691 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13692 | char *kwnames[] = { |
13693 | (char *) "self",(char *) "val", NULL | |
13694 | }; | |
13695 | ||
994141e6 | 13696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13699 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13700 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13701 | { |
13702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13703 | (arg1)->SetWParam(arg2); | |
13704 | ||
13705 | wxPyEndAllowThreads(__tstate); | |
13706 | if (PyErr_Occurred()) SWIG_fail; | |
13707 | } | |
13708 | Py_INCREF(Py_None); resultobj = Py_None; | |
13709 | return resultobj; | |
13710 | fail: | |
13711 | return NULL; | |
13712 | } | |
13713 | ||
13714 | ||
c370783e | 13715 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13716 | PyObject *resultobj; |
13717 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13718 | int arg2 ; | |
13719 | PyObject * obj0 = 0 ; | |
994141e6 | 13720 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13721 | char *kwnames[] = { |
13722 | (char *) "self",(char *) "val", NULL | |
13723 | }; | |
13724 | ||
994141e6 | 13725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13726 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13727 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13728 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13729 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13730 | { |
13731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13732 | (arg1)->SetLParam(arg2); | |
13733 | ||
13734 | wxPyEndAllowThreads(__tstate); | |
13735 | if (PyErr_Occurred()) SWIG_fail; | |
13736 | } | |
13737 | Py_INCREF(Py_None); resultobj = Py_None; | |
13738 | return resultobj; | |
13739 | fail: | |
13740 | return NULL; | |
13741 | } | |
13742 | ||
13743 | ||
c370783e | 13744 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13745 | PyObject *resultobj; |
13746 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13747 | int arg2 ; | |
13748 | PyObject * obj0 = 0 ; | |
994141e6 | 13749 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13750 | char *kwnames[] = { |
13751 | (char *) "self",(char *) "val", NULL | |
13752 | }; | |
13753 | ||
994141e6 | 13754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13757 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13758 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13759 | { |
13760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13761 | (arg1)->SetListType(arg2); | |
13762 | ||
13763 | wxPyEndAllowThreads(__tstate); | |
13764 | if (PyErr_Occurred()) SWIG_fail; | |
13765 | } | |
13766 | Py_INCREF(Py_None); resultobj = Py_None; | |
13767 | return resultobj; | |
13768 | fail: | |
13769 | return NULL; | |
13770 | } | |
13771 | ||
13772 | ||
c370783e | 13773 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13774 | PyObject *resultobj; |
13775 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13776 | int arg2 ; | |
13777 | PyObject * obj0 = 0 ; | |
994141e6 | 13778 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13779 | char *kwnames[] = { |
13780 | (char *) "self",(char *) "val", NULL | |
13781 | }; | |
13782 | ||
994141e6 | 13783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13786 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13787 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13788 | { |
13789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13790 | (arg1)->SetX(arg2); | |
13791 | ||
13792 | wxPyEndAllowThreads(__tstate); | |
13793 | if (PyErr_Occurred()) SWIG_fail; | |
13794 | } | |
13795 | Py_INCREF(Py_None); resultobj = Py_None; | |
13796 | return resultobj; | |
13797 | fail: | |
13798 | return NULL; | |
13799 | } | |
13800 | ||
13801 | ||
c370783e | 13802 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13803 | PyObject *resultobj; |
13804 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13805 | int arg2 ; | |
13806 | PyObject * obj0 = 0 ; | |
994141e6 | 13807 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13808 | char *kwnames[] = { |
13809 | (char *) "self",(char *) "val", NULL | |
13810 | }; | |
13811 | ||
994141e6 | 13812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13815 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13816 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13817 | { |
13818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13819 | (arg1)->SetY(arg2); | |
13820 | ||
13821 | wxPyEndAllowThreads(__tstate); | |
13822 | if (PyErr_Occurred()) SWIG_fail; | |
13823 | } | |
13824 | Py_INCREF(Py_None); resultobj = Py_None; | |
13825 | return resultobj; | |
13826 | fail: | |
13827 | return NULL; | |
13828 | } | |
13829 | ||
13830 | ||
c370783e | 13831 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13832 | PyObject *resultobj; |
13833 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13834 | wxString *arg2 = 0 ; | |
b411df4a | 13835 | bool temp2 = false ; |
d14a1e28 RD |
13836 | PyObject * obj0 = 0 ; |
13837 | PyObject * obj1 = 0 ; | |
13838 | char *kwnames[] = { | |
13839 | (char *) "self",(char *) "val", NULL | |
13840 | }; | |
13841 | ||
13842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13845 | { |
13846 | arg2 = wxString_in_helper(obj1); | |
13847 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13848 | temp2 = true; |
d14a1e28 RD |
13849 | } |
13850 | { | |
13851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13852 | (arg1)->SetDragText((wxString const &)*arg2); | |
13853 | ||
13854 | wxPyEndAllowThreads(__tstate); | |
13855 | if (PyErr_Occurred()) SWIG_fail; | |
13856 | } | |
13857 | Py_INCREF(Py_None); resultobj = Py_None; | |
13858 | { | |
13859 | if (temp2) | |
13860 | delete arg2; | |
13861 | } | |
13862 | return resultobj; | |
13863 | fail: | |
13864 | { | |
13865 | if (temp2) | |
13866 | delete arg2; | |
13867 | } | |
13868 | return NULL; | |
13869 | } | |
13870 | ||
13871 | ||
c370783e | 13872 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13873 | PyObject *resultobj; |
13874 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13875 | bool arg2 ; | |
13876 | PyObject * obj0 = 0 ; | |
13877 | PyObject * obj1 = 0 ; | |
13878 | char *kwnames[] = { | |
13879 | (char *) "self",(char *) "val", NULL | |
13880 | }; | |
13881 | ||
13882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13885 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13886 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13887 | { |
13888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13889 | (arg1)->SetDragAllowMove(arg2); | |
13890 | ||
13891 | wxPyEndAllowThreads(__tstate); | |
13892 | if (PyErr_Occurred()) SWIG_fail; | |
13893 | } | |
13894 | Py_INCREF(Py_None); resultobj = Py_None; | |
13895 | return resultobj; | |
13896 | fail: | |
13897 | return NULL; | |
13898 | } | |
13899 | ||
13900 | ||
c370783e | 13901 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13902 | PyObject *resultobj; |
13903 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
96b3fa7c | 13904 | int arg2 ; |
d14a1e28 RD |
13905 | PyObject * obj0 = 0 ; |
13906 | PyObject * obj1 = 0 ; | |
13907 | char *kwnames[] = { | |
13908 | (char *) "self",(char *) "val", NULL | |
13909 | }; | |
13910 | ||
13911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13914 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13915 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13916 | { |
13917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 13918 | (arg1)->SetDragResult((wxDragResult )arg2); |
d14a1e28 RD |
13919 | |
13920 | wxPyEndAllowThreads(__tstate); | |
13921 | if (PyErr_Occurred()) SWIG_fail; | |
13922 | } | |
13923 | Py_INCREF(Py_None); resultobj = Py_None; | |
13924 | return resultobj; | |
13925 | fail: | |
13926 | return NULL; | |
13927 | } | |
13928 | ||
13929 | ||
c370783e | 13930 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13931 | PyObject *resultobj; |
13932 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13933 | int result; | |
13934 | PyObject * obj0 = 0 ; | |
13935 | char *kwnames[] = { | |
13936 | (char *) "self", NULL | |
13937 | }; | |
13938 | ||
13939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13942 | { |
13943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13944 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
13945 | ||
13946 | wxPyEndAllowThreads(__tstate); | |
13947 | if (PyErr_Occurred()) SWIG_fail; | |
13948 | } | |
c370783e | 13949 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
13950 | return resultobj; |
13951 | fail: | |
13952 | return NULL; | |
13953 | } | |
13954 | ||
13955 | ||
c370783e | 13956 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13957 | PyObject *resultobj; |
13958 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13959 | int result; | |
13960 | PyObject * obj0 = 0 ; | |
13961 | char *kwnames[] = { | |
13962 | (char *) "self", NULL | |
13963 | }; | |
13964 | ||
13965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13968 | { |
13969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13970 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
13971 | ||
13972 | wxPyEndAllowThreads(__tstate); | |
13973 | if (PyErr_Occurred()) SWIG_fail; | |
13974 | } | |
c370783e | 13975 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
13976 | return resultobj; |
13977 | fail: | |
13978 | return NULL; | |
13979 | } | |
13980 | ||
13981 | ||
c370783e | 13982 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13983 | PyObject *resultobj; |
13984 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13985 | int result; | |
13986 | PyObject * obj0 = 0 ; | |
13987 | char *kwnames[] = { | |
13988 | (char *) "self", NULL | |
13989 | }; | |
13990 | ||
13991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13994 | { |
13995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13996 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
13997 | ||
13998 | wxPyEndAllowThreads(__tstate); | |
13999 | if (PyErr_Occurred()) SWIG_fail; | |
14000 | } | |
c370783e | 14001 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14002 | return resultobj; |
14003 | fail: | |
14004 | return NULL; | |
14005 | } | |
14006 | ||
14007 | ||
c370783e | 14008 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14009 | PyObject *resultobj; |
14010 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14011 | int result; | |
14012 | PyObject * obj0 = 0 ; | |
14013 | char *kwnames[] = { | |
14014 | (char *) "self", NULL | |
14015 | }; | |
14016 | ||
14017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14020 | { |
14021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14022 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
14023 | ||
14024 | wxPyEndAllowThreads(__tstate); | |
14025 | if (PyErr_Occurred()) SWIG_fail; | |
14026 | } | |
c370783e | 14027 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14028 | return resultobj; |
14029 | fail: | |
14030 | return NULL; | |
14031 | } | |
14032 | ||
14033 | ||
c370783e | 14034 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14035 | PyObject *resultobj; |
14036 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14037 | wxString result; | |
14038 | PyObject * obj0 = 0 ; | |
14039 | char *kwnames[] = { | |
14040 | (char *) "self", NULL | |
14041 | }; | |
14042 | ||
14043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14046 | { |
14047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14048 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
14049 | ||
14050 | wxPyEndAllowThreads(__tstate); | |
14051 | if (PyErr_Occurred()) SWIG_fail; | |
14052 | } | |
14053 | { | |
14054 | #if wxUSE_UNICODE | |
14055 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14056 | #else | |
14057 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14058 | #endif | |
14059 | } | |
14060 | return resultobj; | |
14061 | fail: | |
14062 | return NULL; | |
14063 | } | |
14064 | ||
14065 | ||
c370783e | 14066 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14067 | PyObject *resultobj; |
14068 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14069 | int result; | |
14070 | PyObject * obj0 = 0 ; | |
14071 | char *kwnames[] = { | |
14072 | (char *) "self", NULL | |
14073 | }; | |
14074 | ||
14075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14078 | { |
14079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14080 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
14081 | ||
14082 | wxPyEndAllowThreads(__tstate); | |
14083 | if (PyErr_Occurred()) SWIG_fail; | |
14084 | } | |
c370783e | 14085 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14086 | return resultobj; |
14087 | fail: | |
14088 | return NULL; | |
14089 | } | |
14090 | ||
14091 | ||
c370783e | 14092 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14093 | PyObject *resultobj; |
14094 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14095 | int result; | |
14096 | PyObject * obj0 = 0 ; | |
14097 | char *kwnames[] = { | |
14098 | (char *) "self", NULL | |
14099 | }; | |
14100 | ||
14101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14104 | { |
14105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14106 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
14107 | ||
14108 | wxPyEndAllowThreads(__tstate); | |
14109 | if (PyErr_Occurred()) SWIG_fail; | |
14110 | } | |
c370783e | 14111 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14112 | return resultobj; |
14113 | fail: | |
14114 | return NULL; | |
14115 | } | |
14116 | ||
14117 | ||
c370783e | 14118 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14119 | PyObject *resultobj; |
14120 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14121 | int result; | |
14122 | PyObject * obj0 = 0 ; | |
14123 | char *kwnames[] = { | |
14124 | (char *) "self", NULL | |
14125 | }; | |
14126 | ||
14127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14130 | { |
14131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14132 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
14133 | ||
14134 | wxPyEndAllowThreads(__tstate); | |
14135 | if (PyErr_Occurred()) SWIG_fail; | |
14136 | } | |
c370783e | 14137 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14138 | return resultobj; |
14139 | fail: | |
14140 | return NULL; | |
14141 | } | |
14142 | ||
14143 | ||
c370783e | 14144 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14145 | PyObject *resultobj; |
14146 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14147 | int result; | |
14148 | PyObject * obj0 = 0 ; | |
14149 | char *kwnames[] = { | |
14150 | (char *) "self", NULL | |
14151 | }; | |
14152 | ||
14153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14156 | { |
14157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14158 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
14159 | ||
14160 | wxPyEndAllowThreads(__tstate); | |
14161 | if (PyErr_Occurred()) SWIG_fail; | |
14162 | } | |
c370783e | 14163 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14164 | return resultobj; |
14165 | fail: | |
14166 | return NULL; | |
14167 | } | |
14168 | ||
14169 | ||
c370783e | 14170 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14171 | PyObject *resultobj; |
14172 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14173 | int result; | |
14174 | PyObject * obj0 = 0 ; | |
14175 | char *kwnames[] = { | |
14176 | (char *) "self", NULL | |
14177 | }; | |
14178 | ||
14179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14182 | { |
14183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14184 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
14185 | ||
14186 | wxPyEndAllowThreads(__tstate); | |
14187 | if (PyErr_Occurred()) SWIG_fail; | |
14188 | } | |
c370783e | 14189 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14190 | return resultobj; |
14191 | fail: | |
14192 | return NULL; | |
14193 | } | |
14194 | ||
14195 | ||
c370783e | 14196 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14197 | PyObject *resultobj; |
14198 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14199 | int result; | |
14200 | PyObject * obj0 = 0 ; | |
14201 | char *kwnames[] = { | |
14202 | (char *) "self", NULL | |
14203 | }; | |
14204 | ||
14205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14208 | { |
14209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14210 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
14211 | ||
14212 | wxPyEndAllowThreads(__tstate); | |
14213 | if (PyErr_Occurred()) SWIG_fail; | |
14214 | } | |
c370783e | 14215 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14216 | return resultobj; |
14217 | fail: | |
14218 | return NULL; | |
14219 | } | |
14220 | ||
14221 | ||
c370783e | 14222 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14223 | PyObject *resultobj; |
14224 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14225 | int result; | |
14226 | PyObject * obj0 = 0 ; | |
14227 | char *kwnames[] = { | |
14228 | (char *) "self", NULL | |
14229 | }; | |
14230 | ||
14231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14234 | { |
14235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14236 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
14237 | ||
14238 | wxPyEndAllowThreads(__tstate); | |
14239 | if (PyErr_Occurred()) SWIG_fail; | |
14240 | } | |
c370783e | 14241 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14242 | return resultobj; |
14243 | fail: | |
14244 | return NULL; | |
14245 | } | |
14246 | ||
14247 | ||
c370783e | 14248 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14249 | PyObject *resultobj; |
14250 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14251 | int result; | |
14252 | PyObject * obj0 = 0 ; | |
14253 | char *kwnames[] = { | |
14254 | (char *) "self", NULL | |
14255 | }; | |
14256 | ||
14257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14260 | { |
14261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14262 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
14263 | ||
14264 | wxPyEndAllowThreads(__tstate); | |
14265 | if (PyErr_Occurred()) SWIG_fail; | |
14266 | } | |
c370783e | 14267 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14268 | return resultobj; |
14269 | fail: | |
14270 | return NULL; | |
14271 | } | |
14272 | ||
14273 | ||
c370783e | 14274 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14275 | PyObject *resultobj; |
14276 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14277 | int result; | |
14278 | PyObject * obj0 = 0 ; | |
14279 | char *kwnames[] = { | |
14280 | (char *) "self", NULL | |
14281 | }; | |
14282 | ||
14283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14286 | { |
14287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14288 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
14289 | ||
14290 | wxPyEndAllowThreads(__tstate); | |
14291 | if (PyErr_Occurred()) SWIG_fail; | |
14292 | } | |
c370783e | 14293 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14294 | return resultobj; |
14295 | fail: | |
14296 | return NULL; | |
14297 | } | |
14298 | ||
14299 | ||
c370783e | 14300 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14301 | PyObject *resultobj; |
14302 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14303 | int result; | |
14304 | PyObject * obj0 = 0 ; | |
14305 | char *kwnames[] = { | |
14306 | (char *) "self", NULL | |
14307 | }; | |
14308 | ||
14309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14312 | { |
14313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14314 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
14315 | ||
14316 | wxPyEndAllowThreads(__tstate); | |
14317 | if (PyErr_Occurred()) SWIG_fail; | |
14318 | } | |
c370783e | 14319 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14320 | return resultobj; |
14321 | fail: | |
14322 | return NULL; | |
14323 | } | |
14324 | ||
14325 | ||
c370783e | 14326 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14327 | PyObject *resultobj; |
14328 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14329 | int result; | |
14330 | PyObject * obj0 = 0 ; | |
14331 | char *kwnames[] = { | |
14332 | (char *) "self", NULL | |
14333 | }; | |
14334 | ||
14335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14338 | { |
14339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14340 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
14341 | ||
14342 | wxPyEndAllowThreads(__tstate); | |
14343 | if (PyErr_Occurred()) SWIG_fail; | |
14344 | } | |
c370783e | 14345 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14346 | return resultobj; |
14347 | fail: | |
14348 | return NULL; | |
14349 | } | |
14350 | ||
14351 | ||
c370783e | 14352 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14353 | PyObject *resultobj; |
14354 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14355 | int result; | |
14356 | PyObject * obj0 = 0 ; | |
14357 | char *kwnames[] = { | |
14358 | (char *) "self", NULL | |
14359 | }; | |
14360 | ||
14361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14364 | { |
14365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14366 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
14367 | ||
14368 | wxPyEndAllowThreads(__tstate); | |
14369 | if (PyErr_Occurred()) SWIG_fail; | |
14370 | } | |
c370783e | 14371 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14372 | return resultobj; |
14373 | fail: | |
14374 | return NULL; | |
14375 | } | |
14376 | ||
14377 | ||
c370783e | 14378 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14379 | PyObject *resultobj; |
14380 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14381 | wxString result; | |
14382 | PyObject * obj0 = 0 ; | |
14383 | char *kwnames[] = { | |
14384 | (char *) "self", NULL | |
14385 | }; | |
14386 | ||
14387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14390 | { |
14391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14392 | result = (arg1)->GetDragText(); | |
14393 | ||
14394 | wxPyEndAllowThreads(__tstate); | |
14395 | if (PyErr_Occurred()) SWIG_fail; | |
14396 | } | |
14397 | { | |
14398 | #if wxUSE_UNICODE | |
14399 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14400 | #else | |
14401 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14402 | #endif | |
14403 | } | |
14404 | return resultobj; | |
14405 | fail: | |
14406 | return NULL; | |
14407 | } | |
14408 | ||
14409 | ||
c370783e | 14410 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14411 | PyObject *resultobj; |
14412 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14413 | bool result; | |
14414 | PyObject * obj0 = 0 ; | |
14415 | char *kwnames[] = { | |
14416 | (char *) "self", NULL | |
14417 | }; | |
14418 | ||
14419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14422 | { |
14423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14424 | result = (bool)(arg1)->GetDragAllowMove(); | |
14425 | ||
14426 | wxPyEndAllowThreads(__tstate); | |
14427 | if (PyErr_Occurred()) SWIG_fail; | |
14428 | } | |
4f89f6a3 RD |
14429 | { |
14430 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14431 | } | |
d14a1e28 RD |
14432 | return resultobj; |
14433 | fail: | |
14434 | return NULL; | |
14435 | } | |
14436 | ||
14437 | ||
c370783e | 14438 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14439 | PyObject *resultobj; |
14440 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
96b3fa7c | 14441 | int result; |
d14a1e28 RD |
14442 | PyObject * obj0 = 0 ; |
14443 | char *kwnames[] = { | |
14444 | (char *) "self", NULL | |
14445 | }; | |
14446 | ||
14447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14450 | { |
14451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 14452 | result = (int)(arg1)->GetDragResult(); |
d14a1e28 RD |
14453 | |
14454 | wxPyEndAllowThreads(__tstate); | |
14455 | if (PyErr_Occurred()) SWIG_fail; | |
14456 | } | |
c370783e | 14457 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14458 | return resultobj; |
14459 | fail: | |
14460 | return NULL; | |
14461 | } | |
14462 | ||
14463 | ||
c370783e | 14464 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14465 | PyObject *resultobj; |
14466 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14467 | bool result; | |
14468 | PyObject * obj0 = 0 ; | |
14469 | char *kwnames[] = { | |
14470 | (char *) "self", NULL | |
14471 | }; | |
14472 | ||
14473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14476 | { |
14477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14478 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
14479 | ||
14480 | wxPyEndAllowThreads(__tstate); | |
14481 | if (PyErr_Occurred()) SWIG_fail; | |
14482 | } | |
4f89f6a3 RD |
14483 | { |
14484 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14485 | } | |
d14a1e28 RD |
14486 | return resultobj; |
14487 | fail: | |
14488 | return NULL; | |
14489 | } | |
14490 | ||
14491 | ||
c370783e | 14492 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14493 | PyObject *resultobj; |
14494 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14495 | bool result; | |
14496 | PyObject * obj0 = 0 ; | |
14497 | char *kwnames[] = { | |
14498 | (char *) "self", NULL | |
14499 | }; | |
14500 | ||
14501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14504 | { |
14505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14506 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
14507 | ||
14508 | wxPyEndAllowThreads(__tstate); | |
14509 | if (PyErr_Occurred()) SWIG_fail; | |
14510 | } | |
4f89f6a3 RD |
14511 | { |
14512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14513 | } | |
d14a1e28 RD |
14514 | return resultobj; |
14515 | fail: | |
14516 | return NULL; | |
14517 | } | |
14518 | ||
14519 | ||
c370783e | 14520 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14521 | PyObject *resultobj; |
14522 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14523 | bool result; | |
14524 | PyObject * obj0 = 0 ; | |
14525 | char *kwnames[] = { | |
14526 | (char *) "self", NULL | |
14527 | }; | |
14528 | ||
14529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14532 | { |
14533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14534 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
14535 | ||
14536 | wxPyEndAllowThreads(__tstate); | |
14537 | if (PyErr_Occurred()) SWIG_fail; | |
14538 | } | |
4f89f6a3 RD |
14539 | { |
14540 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14541 | } | |
d14a1e28 RD |
14542 | return resultobj; |
14543 | fail: | |
14544 | return NULL; | |
14545 | } | |
14546 | ||
14547 | ||
c370783e | 14548 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14549 | PyObject *resultobj; |
14550 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14551 | wxEvent *result; | |
14552 | PyObject * obj0 = 0 ; | |
14553 | char *kwnames[] = { | |
14554 | (char *) "self", NULL | |
14555 | }; | |
14556 | ||
14557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14560 | { |
14561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14562 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
14563 | ||
14564 | wxPyEndAllowThreads(__tstate); | |
14565 | if (PyErr_Occurred()) SWIG_fail; | |
14566 | } | |
15afbcd0 | 14567 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); |
d14a1e28 RD |
14568 | return resultobj; |
14569 | fail: | |
14570 | return NULL; | |
14571 | } | |
14572 | ||
14573 | ||
c370783e | 14574 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14575 | PyObject *obj; |
14576 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14577 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
14578 | Py_INCREF(obj); | |
14579 | return Py_BuildValue((char *)""); | |
14580 | } | |
14581 | static PyMethodDef SwigMethods[] = { | |
c370783e RD |
14582 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL }, |
14583 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14584 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14585 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14586 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14587 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14588 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14589 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14590 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14591 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14592 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14593 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14594 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14595 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14596 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14597 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14598 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14599 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14600 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14601 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14602 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14603 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14604 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14605 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14606 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14607 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14608 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14609 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14610 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14611 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14612 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14613 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14614 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14615 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14616 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14617 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14618 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14619 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14620 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14621 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14622 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14623 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14624 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14625 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14626 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14627 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14628 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14629 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14630 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14631 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14632 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14633 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14634 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14635 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14636 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14637 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14638 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14639 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14640 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14641 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14642 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14643 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14644 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14645 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14646 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14647 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14648 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14649 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14650 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14651 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14652 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14653 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14654 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14655 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14656 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14657 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14658 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14659 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14660 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14661 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14662 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14663 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14664 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14665 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14666 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14667 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14668 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14669 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14670 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14671 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14672 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14673 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14674 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14675 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14676 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14677 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14678 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14679 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14680 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14681 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14682 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14683 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14684 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14685 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14686 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14687 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14688 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14689 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14690 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14691 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14692 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14693 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14694 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14695 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14696 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14697 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14698 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14699 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14700 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14701 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14702 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14703 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14704 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14705 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14706 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14707 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14708 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14709 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14710 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14711 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14712 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14713 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14714 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14715 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14716 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14717 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14718 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14719 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14720 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14721 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14722 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14723 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14724 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14725 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14726 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14727 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14728 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14729 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14730 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14731 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14732 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14733 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14734 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14735 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14736 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14737 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14738 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14739 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14740 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14741 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14742 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14743 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14744 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14745 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14746 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14747 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14748 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14749 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14750 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14751 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14752 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14753 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14754 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14755 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14756 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14757 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14758 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14759 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14760 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14761 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14762 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14763 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14764 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14765 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14766 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14767 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14768 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14769 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14770 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14771 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14772 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14773 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14774 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14775 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14776 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14777 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14778 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14779 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14780 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14781 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14782 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14783 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14784 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14785 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14786 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14787 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14788 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14789 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14790 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14791 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14792 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14793 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14794 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14795 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14796 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14797 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14798 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14799 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14800 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14801 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14802 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14803 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14804 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14805 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14806 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14807 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14808 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14809 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14810 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14811 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14812 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14813 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14814 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14815 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14816 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14817 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14818 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14819 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14820 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14821 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14822 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14823 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14824 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14825 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14826 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14827 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14828 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14829 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14830 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14831 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14832 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14833 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14834 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14835 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14836 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14837 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14838 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14839 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14840 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14841 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14842 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14843 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14844 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14845 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14846 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14847 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14848 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14849 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14850 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14851 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14852 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14853 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14854 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14855 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14856 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14857 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14858 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14859 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14860 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14861 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14862 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14863 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14864 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14865 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14866 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14867 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14868 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14869 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14870 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14871 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14872 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14873 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14874 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14875 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14876 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14877 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14878 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14879 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14880 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14881 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14882 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14883 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14884 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14885 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14886 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14887 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14888 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14889 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14890 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14891 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14892 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14893 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14894 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14895 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14896 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14897 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14898 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14899 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14900 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14901 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14902 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14903 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14904 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14905 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14906 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14907 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14908 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14909 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14910 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14911 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14912 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14913 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14914 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14915 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14916 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14917 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14918 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14919 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14920 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14921 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14922 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14923 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14924 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14925 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14926 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14927 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14928 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14929 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14930 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14931 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14932 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14933 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14934 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14935 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14936 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14937 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14938 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14939 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14940 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14941 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14942 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14943 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14944 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14945 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14946 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14947 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14948 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14949 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14950 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14951 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14952 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14953 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14954 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14955 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14956 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14957 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14958 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14959 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14960 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14961 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14962 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14963 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14964 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14965 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14966 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14967 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14968 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14969 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14970 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14971 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14972 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14973 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14974 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14975 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14976 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14977 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14978 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14979 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14980 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14981 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14982 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14983 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14984 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14985 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14986 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14987 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14988 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14989 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14990 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14991 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14992 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14993 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14994 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14995 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14996 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14997 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14998 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14999 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15000 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15001 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15002 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15003 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15004 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL }, | |
15005 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15006 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15007 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15008 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15009 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15010 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15011 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15012 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15013 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15014 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15015 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15016 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15017 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15018 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15019 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15020 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15021 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15022 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15023 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15024 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15025 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15026 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15027 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15028 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15029 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15030 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15031 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15032 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15033 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15034 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15035 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15036 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15037 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15038 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15039 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15040 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15041 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15042 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15043 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15044 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15045 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15046 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15047 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15048 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15049 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15050 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15051 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL }, | |
15052 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
15053 | }; |
15054 | ||
15055 | ||
15056 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
15057 | ||
15058 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
15059 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
15060 | } | |
15061 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
15062 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
15063 | } | |
15064 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
15065 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
15066 | } | |
15067 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
15068 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
15069 | } | |
15070 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
15071 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
15072 | } | |
15073 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
15074 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15075 | } | |
15076 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
15077 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
15078 | } | |
15079 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
15080 | return (void *)((wxObject *) ((wxSizer *) x)); | |
15081 | } | |
15082 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
15083 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15084 | } | |
96b3fa7c RD |
15085 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { |
15086 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
15087 | } | |
d14a1e28 RD |
15088 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
15089 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15090 | } | |
15091 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
15092 | return (void *)((wxObject *) ((wxEvent *) x)); | |
15093 | } | |
15094 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
15095 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15096 | } | |
15097 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
15098 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
15099 | } | |
15100 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
15101 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
15102 | } | |
d14a1e28 RD |
15103 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
15104 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
15105 | } | |
15106 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15107 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15108 | } | |
0df68c9f RD |
15109 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { |
15110 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15111 | } | |
d14a1e28 RD |
15112 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
15113 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15114 | } | |
15115 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
15116 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15117 | } | |
15118 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
15119 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15120 | } | |
15121 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
15122 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15123 | } | |
15124 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
15125 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
15126 | } | |
15127 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
15128 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
15129 | } | |
96b3fa7c RD |
15130 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { |
15131 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
15132 | } | |
d14a1e28 RD |
15133 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
15134 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
15135 | } | |
96b3fa7c RD |
15136 | static void *_p_wxClipboardTo_p_wxObject(void *x) { |
15137 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
15138 | } | |
d14a1e28 RD |
15139 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
15140 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
15141 | } | |
15142 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
15143 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15144 | } | |
15145 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15146 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15147 | } | |
15148 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
15149 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15150 | } | |
15151 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
15152 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
15153 | } | |
96b3fa7c RD |
15154 | static void *_p_wxToolTipTo_p_wxObject(void *x) { |
15155 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
15156 | } | |
d14a1e28 RD |
15157 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
15158 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
15159 | } | |
15160 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
15161 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
15162 | } | |
15163 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
15164 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15165 | } | |
15166 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
15167 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15168 | } | |
15169 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
15170 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
15171 | } | |
15172 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
15173 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
15174 | } | |
15175 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
15176 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
15177 | } | |
15178 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
15179 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
15180 | } | |
15181 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
15182 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
15183 | } | |
15184 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
15185 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
15186 | } | |
15187 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
15188 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
15189 | } | |
15190 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
15191 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
15192 | } | |
15193 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
15194 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
15195 | } | |
15196 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
15197 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
15198 | } | |
15199 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
15200 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
15201 | } | |
15202 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
15203 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
15204 | } | |
15205 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
15206 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
15207 | } | |
15208 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
15209 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
15210 | } | |
15211 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
15212 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
15213 | } | |
15214 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
15215 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
15216 | } | |
15217 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
15218 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
15219 | } | |
15220 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
15221 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
15222 | } | |
0df68c9f RD |
15223 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
15224 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
15225 | } | |
d14a1e28 RD |
15226 | static void *_p_wxImageTo_p_wxObject(void *x) { |
15227 | return (void *)((wxObject *) ((wxImage *) x)); | |
15228 | } | |
15229 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
15230 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
15231 | } | |
96b3fa7c RD |
15232 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { |
15233 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
15234 | } | |
15235 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
15236 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
15237 | } | |
d14a1e28 RD |
15238 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
15239 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15240 | } | |
15241 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
15242 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15243 | } | |
15244 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
15245 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
15246 | } | |
15247 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
15248 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
15249 | } | |
15250 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
15251 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
15252 | } | |
15253 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
15254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
15255 | } | |
96b3fa7c RD |
15256 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { |
15257 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
15258 | } | |
d14a1e28 RD |
15259 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
15260 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
15261 | } | |
15262 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
15263 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15264 | } | |
15265 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
15266 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
15267 | } | |
15268 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
15269 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
15270 | } | |
15271 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
15272 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
15273 | } | |
15274 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
15275 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
15276 | } | |
15277 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
15278 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
15279 | } | |
96b3fa7c RD |
15280 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { |
15281 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
15282 | } | |
d14a1e28 RD |
15283 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
15284 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15285 | } | |
15286 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
15287 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
15288 | } | |
15289 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
15290 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
15291 | } | |
15292 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
15293 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
15294 | } | |
15295 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
15296 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15297 | } | |
96b3fa7c RD |
15298 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { |
15299 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
15300 | } | |
d14a1e28 RD |
15301 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
15302 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15303 | } | |
15304 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
15305 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
15306 | } | |
15307 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
15308 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
15309 | } | |
96b3fa7c RD |
15310 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { |
15311 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
15312 | } | |
d14a1e28 RD |
15313 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
15314 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15315 | } | |
15316 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15317 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15318 | } | |
15319 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
15320 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
15321 | } | |
15322 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15323 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15324 | } | |
15325 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
15326 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15327 | } | |
15328 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
15329 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
15330 | } | |
15331 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
15332 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15333 | } | |
15334 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
15335 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15336 | } | |
15337 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
15338 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15339 | } | |
15340 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
15341 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15342 | } | |
15343 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
15344 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15345 | } | |
15346 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
15347 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15348 | } | |
15349 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
15350 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15351 | } | |
15352 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
15353 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
15354 | } | |
15355 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
15356 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
15357 | } | |
15358 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
15359 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15360 | } | |
15361 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
15362 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
15363 | } | |
96b3fa7c RD |
15364 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { |
15365 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
15366 | } | |
d14a1e28 RD |
15367 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { |
15368 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15369 | } | |
15370 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
15371 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
15372 | } | |
15373 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
15374 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
15375 | } | |
15376 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
15377 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
15378 | } | |
15379 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
15380 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
15381 | } | |
96b3fa7c RD |
15382 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { |
15383 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
15384 | } | |
d14a1e28 RD |
15385 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { |
15386 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15387 | } | |
15388 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
15389 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
15390 | } | |
15391 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
15392 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15393 | } | |
15394 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15395 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15396 | } | |
15397 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15398 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15399 | } | |
15400 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15401 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15402 | } | |
15403 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15404 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15405 | } | |
15406 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15407 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15408 | } | |
96b3fa7c RD |
15409 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { |
15410 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
15411 | } | |
d14a1e28 RD |
15412 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
15413 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15414 | } | |
15415 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15416 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15417 | } | |
15418 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
15419 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15420 | } | |
15421 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15422 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15423 | } | |
96b3fa7c RD |
15424 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { |
15425 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
15426 | } | |
d14a1e28 RD |
15427 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15428 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15429 | } | |
15430 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15431 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15432 | } | |
15433 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15434 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15435 | } | |
15436 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15437 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15438 | } | |
15439 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15440 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15441 | } | |
15442 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15443 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15444 | } | |
15445 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15446 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15447 | } | |
15448 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15449 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15450 | } | |
15451 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
15452 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15453 | } | |
15454 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15455 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15456 | } | |
15457 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
15458 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15459 | } | |
15460 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
15461 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15462 | } | |
15463 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15464 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15465 | } | |
15466 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15467 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15468 | } | |
15469 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15470 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15471 | } | |
15472 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15473 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15474 | } | |
15475 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15476 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15477 | } | |
15478 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15479 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15480 | } | |
15481 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15482 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15483 | } | |
96b3fa7c RD |
15484 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { |
15485 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
15486 | } | |
d14a1e28 RD |
15487 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
15488 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15489 | } | |
15490 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15491 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15492 | } | |
15493 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15494 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15495 | } | |
15496 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15497 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15498 | } | |
15499 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15500 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15501 | } | |
15502 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15503 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15504 | } | |
15505 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15506 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15507 | } | |
15afbcd0 RD |
15508 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15509 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15510 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15511 | static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15512 | static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15513 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15514 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15515 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15516 | static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15517 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15518 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15519 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15520 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15521 | static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15522 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15523 | static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15524 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15525 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15526 | static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d14a1e28 RD |
15527 | |
15528 | static swig_type_info *swig_types_initial[] = { | |
15529 | _swigt__p_wxRect, | |
15530 | _swigt__p_wxColour, | |
15531 | _swigt__p_wxObject, | |
15532 | _swigt__p_wxScrollBar, | |
15533 | _swigt__p_wxStyledTextEvent, | |
15534 | _swigt__p_wxWindow, | |
15535 | _swigt__p_wxCommandEvent, | |
15536 | _swigt__p_wxBitmap, | |
15537 | _swigt__p_void, | |
15538 | _swigt__p_wxPoint, | |
15539 | _swigt__p_wxDC, | |
4d5c3d91 | 15540 | _swigt__p_char, |
d14a1e28 RD |
15541 | _swigt__p_wxEvtHandler, |
15542 | _swigt__p_wxStyledTextCtrl, | |
15543 | _swigt__p_wxFont, | |
15544 | _swigt__p_wxControl, | |
15545 | _swigt__p_wxEvent, | |
15546 | _swigt__p_int, | |
15547 | _swigt__p_wxMemoryBuffer, | |
15548 | 0 | |
15549 | }; | |
15550 | ||
15551 | ||
15552 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
15553 | ||
15554 | static swig_const_info swig_const_table[] = { | |
c370783e | 15555 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
15556 | |
15557 | #ifdef __cplusplus | |
15558 | } | |
15559 | #endif | |
15560 | ||
15561 | #ifdef __cplusplus | |
15562 | extern "C" | |
15563 | #endif | |
15564 | SWIGEXPORT(void) SWIG_init(void) { | |
15565 | static PyObject *SWIG_globals = 0; | |
15566 | static int typeinit = 0; | |
15567 | PyObject *m, *d; | |
15568 | int i; | |
15569 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
15570 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
15571 | d = PyModule_GetDict(m); | |
15572 | ||
15573 | if (!typeinit) { | |
15574 | for (i = 0; swig_types_initial[i]; i++) { | |
15575 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
15576 | } | |
15577 | typeinit = 1; | |
15578 | } | |
15579 | SWIG_InstallConstants(d,swig_const_table); | |
15580 | ||
b2dc1044 RD |
15581 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
15582 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
c370783e RD |
15583 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)1)); |
15584 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)1)); | |
15585 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)-1)); | |
15586 | PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)2000)); | |
15587 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)3000)); | |
15588 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)4000)); | |
15589 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)0)); | |
15590 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)1)); | |
15591 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)2)); | |
15592 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)0)); | |
15593 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)1)); | |
15594 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)2)); | |
15595 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)65001)); | |
15596 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)1)); | |
15597 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)31)); | |
15598 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)0)); | |
15599 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)1)); | |
15600 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)2)); | |
15601 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)3)); | |
15602 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)4)); | |
15603 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)5)); | |
15604 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)6)); | |
15605 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)7)); | |
15606 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)8)); | |
15607 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)9)); | |
15608 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)10)); | |
15609 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)11)); | |
15610 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)12)); | |
15611 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)13)); | |
15612 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)14)); | |
15613 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)15)); | |
15614 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)16)); | |
15615 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)17)); | |
15616 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)18)); | |
15617 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)19)); | |
15618 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)20)); | |
15619 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)21)); | |
15620 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)22)); | |
15621 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)23)); | |
15622 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)24)); | |
15623 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)25)); | |
15624 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)10000)); | |
15625 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)25)); | |
15626 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)26)); | |
15627 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)27)); | |
15628 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)28)); | |
15629 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)29)); | |
15630 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)30)); | |
15631 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)31)); | |
15632 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)0xFE000000)); | |
15633 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)0)); | |
15634 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)1)); | |
15635 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)32)); | |
15636 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)33)); | |
15637 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)34)); | |
15638 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)35)); | |
15639 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)36)); | |
15640 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)37)); | |
15641 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)39)); | |
15642 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)127)); | |
15643 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)0)); | |
15644 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)1)); | |
15645 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)186)); | |
15646 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)136)); | |
15647 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)238)); | |
15648 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)134)); | |
15649 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)161)); | |
15650 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)129)); | |
15651 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)77)); | |
15652 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)255)); | |
15653 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)204)); | |
15654 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)128)); | |
15655 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)2)); | |
15656 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)162)); | |
15657 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)130)); | |
15658 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)177)); | |
15659 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)178)); | |
15660 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)163)); | |
15661 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)222)); | |
15662 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)0)); | |
15663 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)1)); | |
15664 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)2)); | |
15665 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)7)); | |
15666 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)0)); | |
15667 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)1)); | |
15668 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)2)); | |
15669 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)3)); | |
15670 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)4)); | |
15671 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)5)); | |
15672 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)6)); | |
15673 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)0x20)); | |
15674 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)0x40)); | |
15675 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)0x80)); | |
15676 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)0xE0)); | |
15677 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)0)); | |
15678 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)1)); | |
15679 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)2)); | |
15680 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)3)); | |
15681 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)4)); | |
15682 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)2)); | |
15683 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)4)); | |
15684 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)0x00100000)); | |
15685 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)0x00200000)); | |
15686 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)0x00400000)); | |
15687 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)0x400)); | |
15688 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)0x1000)); | |
15689 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)0x2000)); | |
15690 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)0x4000)); | |
15691 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)0x8000)); | |
15692 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)0x10000)); | |
15693 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)0x20000)); | |
15694 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)0x0FFF)); | |
15695 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)0x0002)); | |
15696 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)0x0004)); | |
15697 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)0x0008)); | |
15698 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)0x0010)); | |
15699 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)0x0040)); | |
15700 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)0x0001)); | |
15701 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)10000000)); | |
15702 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)0)); | |
15703 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)1)); | |
15704 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)0)); | |
15705 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)1)); | |
15706 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)2)); | |
15707 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)3)); | |
15708 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)0)); | |
15709 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)1)); | |
15710 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)2)); | |
15711 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)-1)); | |
15712 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)4)); | |
15713 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)0x01)); | |
15714 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)0x04)); | |
15715 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)0x01)); | |
15716 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)0x04)); | |
15717 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)0x10)); | |
15718 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)0x08)); | |
15719 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)0)); | |
15720 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)1)); | |
15721 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)2)); | |
15722 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)8)); | |
15723 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)0x1)); | |
15724 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)0x2)); | |
15725 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)0x4)); | |
15726 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)0x8)); | |
15727 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)0x10)); | |
15728 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)0x20)); | |
15729 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)0x40)); | |
15730 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)0x100)); | |
15731 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)0x200)); | |
15732 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)0x400)); | |
15733 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)0x800)); | |
15734 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)0xF77)); | |
15735 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)300)); | |
15736 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)301)); | |
15737 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)302)); | |
15738 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)303)); | |
15739 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)304)); | |
15740 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)305)); | |
15741 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)306)); | |
15742 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)307)); | |
15743 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)308)); | |
15744 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)309)); | |
15745 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)7)); | |
15746 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)8)); | |
15747 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)9)); | |
15748 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)13)); | |
15749 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)310)); | |
15750 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)311)); | |
15751 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)312)); | |
15752 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)1)); | |
15753 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)2)); | |
15754 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)4)); | |
15755 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)0)); | |
15756 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)1)); | |
15757 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)2)); | |
15758 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)3)); | |
15759 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)4)); | |
15760 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)5)); | |
15761 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)6)); | |
15762 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)7)); | |
15763 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)8)); | |
15764 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)9)); | |
15765 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)10)); | |
15766 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)11)); | |
15767 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)12)); | |
15768 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)13)); | |
15769 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)14)); | |
15770 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)15)); | |
15771 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)16)); | |
15772 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)17)); | |
15773 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)18)); | |
15774 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)19)); | |
15775 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)20)); | |
15776 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)21)); | |
15777 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)22)); | |
15778 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)23)); | |
15779 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)24)); | |
15780 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)25)); | |
15781 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)26)); | |
15782 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)27)); | |
15783 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)28)); | |
15784 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)29)); | |
15785 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)30)); | |
15786 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)31)); | |
15787 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)32)); | |
15788 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)33)); | |
15789 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)34)); | |
15790 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)35)); | |
15791 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)36)); | |
15792 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)37)); | |
15793 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)38)); | |
15794 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)39)); | |
15795 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)40)); | |
15796 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)41)); | |
15797 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)42)); | |
15798 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)43)); | |
15799 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)44)); | |
15800 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)45)); | |
15801 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)46)); | |
15802 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)47)); | |
15803 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)48)); | |
15804 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)49)); | |
15805 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)50)); | |
15806 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)51)); | |
15807 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)52)); | |
15808 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)53)); | |
15809 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)54)); | |
15810 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)1000)); | |
15811 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)0)); | |
15812 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)1)); | |
15813 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)2)); | |
15814 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)3)); | |
15815 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)4)); | |
15816 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)5)); | |
15817 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)6)); | |
15818 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)7)); | |
15819 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)8)); | |
15820 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)9)); | |
15821 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)10)); | |
15822 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)11)); | |
15823 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)12)); | |
15824 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)13)); | |
15825 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)0)); | |
15826 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)1)); | |
15827 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)2)); | |
15828 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)3)); | |
15829 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)4)); | |
15830 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)5)); | |
15831 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)6)); | |
15832 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)7)); | |
15833 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)8)); | |
15834 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)9)); | |
15835 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)10)); | |
15836 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)11)); | |
15837 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)12)); | |
15838 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)13)); | |
15839 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)14)); | |
15840 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)15)); | |
15841 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)16)); | |
15842 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)17)); | |
15843 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)18)); | |
15844 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)19)); | |
15845 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)0)); | |
15846 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)1)); | |
15847 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)2)); | |
15848 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)3)); | |
15849 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)4)); | |
15850 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)5)); | |
15851 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)6)); | |
15852 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)7)); | |
15853 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)8)); | |
15854 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)9)); | |
15855 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)10)); | |
15856 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)11)); | |
15857 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)12)); | |
15858 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)13)); | |
15859 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)14)); | |
15860 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)15)); | |
15861 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)16)); | |
15862 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)17)); | |
15863 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)18)); | |
15864 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)19)); | |
15865 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)20)); | |
15866 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)21)); | |
15867 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)22)); | |
15868 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)23)); | |
15869 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)24)); | |
15870 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)25)); | |
15871 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)26)); | |
15872 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)27)); | |
15873 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)28)); | |
15874 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)29)); | |
15875 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)30)); | |
15876 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)31)); | |
15877 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)40)); | |
15878 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)41)); | |
15879 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)42)); | |
15880 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)43)); | |
15881 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)44)); | |
15882 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)45)); | |
15883 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)46)); | |
15884 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)47)); | |
15885 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)48)); | |
15886 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)49)); | |
15887 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)50)); | |
15888 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)51)); | |
15889 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)52)); | |
15890 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)55)); | |
15891 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)56)); | |
15892 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)57)); | |
15893 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)58)); | |
15894 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)59)); | |
15895 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)60)); | |
15896 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)61)); | |
15897 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)62)); | |
15898 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)63)); | |
15899 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)64)); | |
15900 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)65)); | |
15901 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)66)); | |
15902 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)67)); | |
15903 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)70)); | |
15904 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)71)); | |
15905 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)72)); | |
15906 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)73)); | |
15907 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)74)); | |
15908 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)75)); | |
15909 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)76)); | |
15910 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)77)); | |
15911 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)80)); | |
15912 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)81)); | |
15913 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)82)); | |
15914 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)83)); | |
15915 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)84)); | |
15916 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)85)); | |
15917 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)86)); | |
15918 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)87)); | |
15919 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)90)); | |
15920 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)91)); | |
15921 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)92)); | |
15922 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)93)); | |
15923 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)94)); | |
15924 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)95)); | |
15925 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)96)); | |
15926 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)97)); | |
15927 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)98)); | |
15928 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)99)); | |
15929 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)100)); | |
15930 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)101)); | |
15931 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)102)); | |
15932 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)105)); | |
15933 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)106)); | |
15934 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)107)); | |
15935 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)108)); | |
15936 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)109)); | |
15937 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)110)); | |
15938 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)111)); | |
15939 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)112)); | |
15940 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)113)); | |
15941 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)114)); | |
15942 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)115)); | |
15943 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)116)); | |
15944 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)117)); | |
15945 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)118)); | |
15946 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)119)); | |
15947 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)120)); | |
15948 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)121)); | |
15949 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)122)); | |
15950 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)123)); | |
15951 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)124)); | |
15952 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)125)); | |
15953 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)126)); | |
15954 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)127)); | |
15955 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)0)); | |
15956 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)1)); | |
15957 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)2)); | |
15958 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)3)); | |
15959 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)4)); | |
15960 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)5)); | |
15961 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)6)); | |
15962 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)7)); | |
15963 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)8)); | |
15964 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)9)); | |
15965 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)10)); | |
15966 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)11)); | |
15967 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)12)); | |
15968 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)13)); | |
15969 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)14)); | |
15970 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)15)); | |
15971 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)17)); | |
15972 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)18)); | |
15973 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)19)); | |
15974 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)20)); | |
15975 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)21)); | |
15976 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)22)); | |
15977 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)23)); | |
15978 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)24)); | |
15979 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)25)); | |
15980 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)26)); | |
15981 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)27)); | |
15982 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)28)); | |
15983 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)29)); | |
15984 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)30)); | |
15985 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)0)); | |
15986 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)1)); | |
15987 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)2)); | |
15988 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)3)); | |
15989 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)4)); | |
15990 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)5)); | |
15991 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)6)); | |
15992 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)7)); | |
15993 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)8)); | |
15994 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)9)); | |
15995 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)10)); | |
15996 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)11)); | |
15997 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)12)); | |
15998 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)0)); | |
15999 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)1)); | |
16000 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)2)); | |
16001 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)3)); | |
16002 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)4)); | |
16003 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)0)); | |
16004 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)1)); | |
16005 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)2)); | |
16006 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)3)); | |
16007 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)4)); | |
16008 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)0)); | |
16009 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)1)); | |
16010 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)2)); | |
16011 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)3)); | |
16012 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)4)); | |
16013 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)5)); | |
16014 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)6)); | |
16015 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)7)); | |
16016 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)8)); | |
16017 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)9)); | |
16018 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)10)); | |
16019 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)11)); | |
16020 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)12)); | |
16021 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)13)); | |
16022 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)14)); | |
16023 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)15)); | |
16024 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)16)); | |
16025 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)17)); | |
16026 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)18)); | |
16027 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)19)); | |
16028 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)0)); | |
16029 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)1)); | |
16030 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)2)); | |
16031 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)3)); | |
16032 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)4)); | |
16033 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)5)); | |
16034 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)6)); | |
16035 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)7)); | |
16036 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)8)); | |
16037 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)9)); | |
16038 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)10)); | |
16039 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)11)); | |
16040 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)12)); | |
16041 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)13)); | |
16042 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)14)); | |
16043 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)15)); | |
16044 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)16)); | |
16045 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)17)); | |
16046 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)18)); | |
16047 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)0)); | |
16048 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)1)); | |
16049 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)2)); | |
16050 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)3)); | |
16051 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)4)); | |
16052 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)5)); | |
16053 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)6)); | |
16054 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)7)); | |
16055 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)0)); | |
16056 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)1)); | |
16057 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)2)); | |
16058 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)3)); | |
16059 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)4)); | |
16060 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)5)); | |
16061 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)9)); | |
16062 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)0)); | |
16063 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)1)); | |
16064 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)2)); | |
16065 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)3)); | |
16066 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)4)); | |
16067 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)5)); | |
16068 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)6)); | |
16069 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)0)); | |
16070 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)1)); | |
16071 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)2)); | |
16072 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)3)); | |
16073 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)4)); | |
16074 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)5)); | |
16075 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)6)); | |
16076 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)7)); | |
16077 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)8)); | |
16078 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)9)); | |
16079 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)0)); | |
16080 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)1)); | |
16081 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)2)); | |
16082 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)3)); | |
16083 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)6)); | |
16084 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)7)); | |
16085 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)8)); | |
16086 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)9)); | |
16087 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)10)); | |
16088 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)11)); | |
16089 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)12)); | |
16090 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)13)); | |
16091 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)14)); | |
16092 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)15)); | |
16093 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)16)); | |
16094 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)0)); | |
16095 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)1)); | |
16096 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)2)); | |
16097 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)3)); | |
16098 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)4)); | |
16099 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)5)); | |
16100 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)6)); | |
16101 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)7)); | |
16102 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)8)); | |
16103 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)9)); | |
16104 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)10)); | |
16105 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)11)); | |
16106 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)0)); | |
16107 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)1)); | |
16108 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)2)); | |
16109 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)3)); | |
16110 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)4)); | |
16111 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)5)); | |
16112 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)6)); | |
16113 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)7)); | |
16114 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)8)); | |
16115 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)9)); | |
16116 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)10)); | |
16117 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)0)); | |
16118 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)1)); | |
16119 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)2)); | |
16120 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)3)); | |
16121 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)6)); | |
16122 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)8)); | |
16123 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)9)); | |
16124 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)10)); | |
16125 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)0)); | |
16126 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)1)); | |
16127 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)2)); | |
16128 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)3)); | |
16129 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)4)); | |
16130 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)5)); | |
16131 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)6)); | |
16132 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)7)); | |
16133 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)8)); | |
16134 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)0)); | |
16135 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)1)); | |
16136 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)2)); | |
16137 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)3)); | |
16138 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)4)); | |
16139 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)5)); | |
16140 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)6)); | |
16141 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)7)); | |
16142 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)8)); | |
16143 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)9)); | |
16144 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)10)); | |
16145 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)0)); | |
16146 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)1)); | |
16147 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)2)); | |
16148 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)3)); | |
16149 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)4)); | |
16150 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)5)); | |
16151 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)6)); | |
16152 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)7)); | |
16153 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)8)); | |
16154 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)9)); | |
16155 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)10)); | |
16156 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)11)); | |
16157 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)0)); | |
16158 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)1)); | |
16159 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)2)); | |
16160 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)3)); | |
16161 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)4)); | |
16162 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)5)); | |
16163 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)6)); | |
16164 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)7)); | |
16165 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)8)); | |
16166 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)0)); | |
16167 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)1)); | |
16168 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)2)); | |
16169 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)3)); | |
16170 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)4)); | |
16171 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)5)); | |
16172 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)6)); | |
16173 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)7)); | |
16174 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)8)); | |
16175 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)9)); | |
16176 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)10)); | |
16177 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)11)); | |
16178 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)12)); | |
16179 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)13)); | |
16180 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)14)); | |
16181 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)15)); | |
16182 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)0)); | |
16183 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)1)); | |
16184 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)2)); | |
16185 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)3)); | |
16186 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)4)); | |
16187 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)5)); | |
16188 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)6)); | |
16189 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)7)); | |
16190 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)8)); | |
16191 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)9)); | |
16192 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)10)); | |
16193 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)11)); | |
16194 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)12)); | |
16195 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)13)); | |
16196 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)14)); | |
16197 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)0)); | |
16198 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)1)); | |
16199 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)2)); | |
16200 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)3)); | |
16201 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)4)); | |
16202 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)5)); | |
16203 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)6)); | |
16204 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)7)); | |
16205 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)8)); | |
16206 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)9)); | |
16207 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)10)); | |
16208 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)11)); | |
16209 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)12)); | |
16210 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)13)); | |
16211 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)14)); | |
16212 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)0)); | |
16213 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)1)); | |
16214 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)2)); | |
16215 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)3)); | |
16216 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)4)); | |
16217 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)5)); | |
16218 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)6)); | |
16219 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)7)); | |
16220 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)8)); | |
16221 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)9)); | |
16222 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)10)); | |
16223 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)11)); | |
16224 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)12)); | |
16225 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)13)); | |
16226 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)14)); | |
16227 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)0)); | |
16228 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)1)); | |
16229 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)2)); | |
16230 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)3)); | |
16231 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)4)); | |
16232 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)5)); | |
16233 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)6)); | |
16234 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)7)); | |
16235 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)8)); | |
16236 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)9)); | |
16237 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)10)); | |
16238 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)11)); | |
16239 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)12)); | |
16240 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)13)); | |
16241 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)14)); | |
16242 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)15)); | |
16243 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)16)); | |
16244 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)0)); | |
16245 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)1)); | |
16246 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)2)); | |
16247 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)3)); | |
16248 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)4)); | |
16249 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)5)); | |
16250 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)6)); | |
16251 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)7)); | |
16252 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)8)); | |
16253 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)9)); | |
16254 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)10)); | |
16255 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)0)); | |
16256 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)1)); | |
16257 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)2)); | |
16258 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)3)); | |
16259 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)4)); | |
16260 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)5)); | |
16261 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)6)); | |
16262 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)7)); | |
16263 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)8)); | |
16264 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)9)); | |
16265 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)10)); | |
16266 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)11)); | |
16267 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)0)); | |
16268 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)1)); | |
16269 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)2)); | |
16270 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)3)); | |
16271 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)4)); | |
16272 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)5)); | |
16273 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)6)); | |
16274 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)7)); | |
16275 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)8)); | |
16276 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)9)); | |
16277 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)10)); | |
16278 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)11)); | |
16279 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)12)); | |
16280 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)13)); | |
16281 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)14)); | |
16282 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)15)); | |
16283 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)0)); | |
16284 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)1)); | |
16285 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)2)); | |
16286 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)3)); | |
16287 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)4)); | |
16288 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)5)); | |
16289 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)6)); | |
16290 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)7)); | |
16291 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)8)); | |
16292 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)9)); | |
16293 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)10)); | |
16294 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)11)); | |
16295 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)12)); | |
16296 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)13)); | |
16297 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)0)); | |
16298 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)1)); | |
16299 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)2)); | |
16300 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)3)); | |
16301 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)4)); | |
16302 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)5)); | |
16303 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)6)); | |
16304 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)7)); | |
16305 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)8)); | |
16306 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)9)); | |
16307 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)10)); | |
16308 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)11)); | |
16309 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)12)); | |
16310 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)13)); | |
16311 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)14)); | |
16312 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)15)); | |
16313 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)16)); | |
16314 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)17)); | |
16315 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)0)); | |
16316 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)1)); | |
16317 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)2)); | |
16318 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)3)); | |
16319 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)4)); | |
16320 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)5)); | |
16321 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)6)); | |
16322 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)7)); | |
16323 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)8)); | |
16324 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)9)); | |
16325 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)10)); | |
16326 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)11)); | |
16327 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)12)); | |
16328 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)13)); | |
16329 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)14)); | |
16330 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)0)); | |
16331 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)1)); | |
16332 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)2)); | |
16333 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)3)); | |
16334 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)4)); | |
16335 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)5)); | |
16336 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)6)); | |
16337 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)0)); | |
16338 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)1)); | |
16339 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)2)); | |
16340 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)3)); | |
16341 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)4)); | |
16342 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)5)); | |
16343 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)6)); | |
16344 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)7)); | |
16345 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)8)); | |
16346 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)0)); | |
16347 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)1)); | |
16348 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)2)); | |
16349 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)3)); | |
16350 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)4)); | |
16351 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)5)); | |
16352 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)0)); | |
16353 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)1)); | |
16354 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)2)); | |
16355 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)3)); | |
16356 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)4)); | |
16357 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)5)); | |
16358 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)6)); | |
16359 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)0)); | |
16360 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)1)); | |
16361 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)2)); | |
16362 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)3)); | |
16363 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)4)); | |
16364 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)5)); | |
16365 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)6)); | |
16366 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)7)); | |
16367 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)8)); | |
16368 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)9)); | |
16369 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)10)); | |
16370 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)11)); | |
16371 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)12)); | |
16372 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)13)); | |
16373 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)31)); | |
16374 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)2011)); | |
16375 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)2013)); | |
16376 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)2176)); | |
16377 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)2177)); | |
16378 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)2178)); | |
16379 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)2179)); | |
16380 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)2180)); | |
16381 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)2300)); | |
16382 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)2301)); | |
16383 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)2302)); | |
16384 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)2303)); | |
16385 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)2304)); | |
16386 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)2305)); | |
16387 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)2306)); | |
16388 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)2307)); | |
16389 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)2308)); | |
16390 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)2309)); | |
16391 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)2310)); | |
16392 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)2311)); | |
16393 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)2312)); | |
16394 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)2313)); | |
16395 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)2314)); | |
16396 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)2315)); | |
16397 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)2316)); | |
16398 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)2317)); | |
16399 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)2318)); | |
16400 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)2319)); | |
16401 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)2320)); | |
16402 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)2321)); | |
16403 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)2322)); | |
16404 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)2323)); | |
16405 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)2324)); | |
16406 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)2325)); | |
16407 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)2326)); | |
16408 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)2327)); | |
16409 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)2328)); | |
16410 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)2329)); | |
16411 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)2330)); | |
16412 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)2331)); | |
16413 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)2332)); | |
16414 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)2333)); | |
16415 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)2334)); | |
16416 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)2335)); | |
16417 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)2336)); | |
16418 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)2337)); | |
16419 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)2338)); | |
16420 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)2339)); | |
16421 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)2404)); | |
16422 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)2340)); | |
16423 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)2341)); | |
16424 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)2342)); | |
16425 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)2343)); | |
16426 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)2344)); | |
16427 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)2345)); | |
16428 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)2346)); | |
16429 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)2347)); | |
16430 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)2348)); | |
16431 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)2349)); | |
16432 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)2450)); | |
16433 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)2451)); | |
16434 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)2452)); | |
16435 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)2453)); | |
16436 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)2454)); | |
16437 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)2455)); | |
16438 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)2390)); | |
16439 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)2391)); | |
16440 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)2392)); | |
16441 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)2393)); | |
16442 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)2395)); | |
16443 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)2396)); | |
16444 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)2413)); | |
16445 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)2414)); | |
16446 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)2415)); | |
16447 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)2416)); | |
16448 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)2426)); | |
16449 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)2427)); | |
16450 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)2428)); | |
16451 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)2429)); | |
16452 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)2430)); | |
16453 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)2431)); | |
16454 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)2432)); | |
16455 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)2433)); | |
16456 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)2434)); | |
16457 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)2435)); | |
16458 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)2436)); | |
16459 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)2437)); | |
16460 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)2438)); | |
16461 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)2439)); | |
16462 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)2440)); | |
16463 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)2441)); | |
16464 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)2442)); | |
16465 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)wxEVT_STC_CHANGE)); | |
16466 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)wxEVT_STC_STYLENEEDED)); | |
16467 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)wxEVT_STC_CHARADDED)); | |
16468 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)wxEVT_STC_SAVEPOINTREACHED)); | |
16469 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)wxEVT_STC_SAVEPOINTLEFT)); | |
16470 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)wxEVT_STC_ROMODIFYATTEMPT)); | |
16471 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)wxEVT_STC_KEY)); | |
16472 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)wxEVT_STC_DOUBLECLICK)); | |
16473 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)wxEVT_STC_UPDATEUI)); | |
16474 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)wxEVT_STC_MODIFIED)); | |
16475 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)wxEVT_STC_MACRORECORD)); | |
16476 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)wxEVT_STC_MARGINCLICK)); | |
16477 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)wxEVT_STC_NEEDSHOWN)); | |
16478 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)wxEVT_STC_PAINTED)); | |
16479 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)wxEVT_STC_USERLISTSELECTION)); | |
16480 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)wxEVT_STC_URIDROPPED)); | |
16481 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)wxEVT_STC_DWELLSTART)); | |
16482 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)wxEVT_STC_DWELLEND)); | |
16483 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)wxEVT_STC_START_DRAG)); | |
16484 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)wxEVT_STC_DRAG_OVER)); | |
16485 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)wxEVT_STC_DO_DROP)); | |
16486 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)wxEVT_STC_ZOOM)); | |
16487 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)wxEVT_STC_HOTSPOT_CLICK)); | |
16488 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)wxEVT_STC_HOTSPOT_DCLICK)); | |
16489 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)wxEVT_STC_CALLTIP_CLICK)); | |
d14a1e28 RD |
16490 | |
16491 | ||
16492 | } | |
16493 |