]>
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 | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
c9c7117a RD |
48 | #define SWIG_PackData SWIG_Python_PackData |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
d14a1e28 RD |
51 | |
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
cc6dd355 RD |
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
d14a1e28 | 82 | #else |
cc6dd355 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
cc6dd355 | 90 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
91 | #endif |
92 | ||
d14a1e28 RD |
93 | #ifdef __cplusplus |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
cc6dd355 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
cc6dd355 | 104 | void *clientdata; |
d14a1e28 RD |
105 | swig_dycast_func dcast; |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
120 | |
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | #endif | |
125 | ||
126 | /*********************************************************************** | |
127 | * pyrun.swg for wxPython | |
128 | * | |
129 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
130 | * but not the runtime functions themselves. This helps keep the | |
131 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
132 | * anyway. | |
133 | * | |
134 | ************************************************************************/ | |
135 | ||
d14a1e28 RD |
136 | #include "Python.h" |
137 | ||
138 | #ifdef __cplusplus | |
139 | extern "C" { | |
140 | #endif | |
141 | ||
142 | #define SWIG_PY_INT 1 | |
143 | #define SWIG_PY_FLOAT 2 | |
144 | #define SWIG_PY_STRING 3 | |
145 | #define SWIG_PY_POINTER 4 | |
146 | #define SWIG_PY_BINARY 5 | |
147 | ||
148 | /* Flags for pointer conversion */ | |
149 | ||
150 | #define SWIG_POINTER_EXCEPTION 0x1 | |
151 | #define SWIG_POINTER_DISOWN 0x2 | |
152 | ||
153 | /* Exception handling in wrappers */ | |
154 | #define SWIG_fail goto fail | |
155 | ||
156 | /* Constant information structure */ | |
157 | typedef struct swig_const_info { | |
158 | int type; | |
159 | char *name; | |
160 | long lvalue; | |
161 | double dvalue; | |
162 | void *pvalue; | |
163 | swig_type_info **ptype; | |
164 | } swig_const_info; | |
165 | ||
d14a1e28 RD |
166 | /* Common SWIG API */ |
167 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
168 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
169 | #define SWIG_NewPointerObj(p, type, flags) \ | |
170 | SWIG_Python_NewPointerObj(p, type, flags) | |
171 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
172 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 173 | |
d14a1e28 RD |
174 | /* Python-specific SWIG API */ |
175 | #define SWIG_newvarlink() \ | |
176 | SWIG_Python_newvarlink() | |
177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
178 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
179 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
180 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
181 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
182 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
183 | #define SWIG_InstallConstants(d, constants) \ | |
184 | SWIG_Python_InstallConstants(d, constants) | |
185 | ||
994141e6 | 186 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 187 | |
cc6dd355 RD |
188 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
189 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
190 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
191 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
192 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
193 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
194 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
195 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 196 | |
d14a1e28 RD |
197 | |
198 | /* Contract support */ | |
199 | ||
9d1d5697 | 200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 201 | |
d14a1e28 RD |
202 | #ifdef __cplusplus |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
d14a1e28 RD |
207 | /* -------- TYPES TABLE (BEGIN) -------- */ |
208 | ||
209 | #define SWIGTYPE_p_wxRect swig_types[0] | |
210 | #define SWIGTYPE_p_wxColour swig_types[1] | |
211 | #define SWIGTYPE_p_wxObject swig_types[2] | |
212 | #define SWIGTYPE_p_wxScrollBar swig_types[3] | |
213 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[4] | |
214 | #define SWIGTYPE_p_wxWindow swig_types[5] | |
215 | #define SWIGTYPE_p_wxCommandEvent swig_types[6] | |
216 | #define SWIGTYPE_p_wxBitmap swig_types[7] | |
217 | #define SWIGTYPE_p_void swig_types[8] | |
218 | #define SWIGTYPE_p_wxPoint swig_types[9] | |
4d5c3d91 RD |
219 | #define SWIGTYPE_p_wxDC swig_types[10] |
220 | #define SWIGTYPE_p_char swig_types[11] | |
96b3fa7c RD |
221 | #define SWIGTYPE_p_wxEvtHandler swig_types[12] |
222 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[13] | |
223 | #define SWIGTYPE_p_wxFont swig_types[14] | |
224 | #define SWIGTYPE_p_wxControl swig_types[15] | |
225 | #define SWIGTYPE_p_wxEvent swig_types[16] | |
226 | #define SWIGTYPE_p_int swig_types[17] | |
227 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[18] | |
228 | static swig_type_info *swig_types[20]; | |
d14a1e28 RD |
229 | |
230 | /* -------- TYPES TABLE (END) -------- */ | |
231 | ||
232 | ||
233 | /*----------------------------------------------- | |
234 | @(target):= _stc.so | |
235 | ------------------------------------------------*/ | |
236 | #define SWIG_init init_stc | |
237 | ||
238 | #define SWIG_name "_stc" | |
239 | ||
15afbcd0 | 240 | /* Auxiliar swig macros */ |
994141e6 | 241 | |
994141e6 | 242 | #ifdef __cplusplus |
15afbcd0 | 243 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 244 | #define SWIGSTATIC(a) static a |
15afbcd0 RD |
245 | #define swig_new_array(type, size) (new type[(size)]) |
246 | #define swig_delete_array(cptr) delete[] cptr | |
247 | #define swig_const_cast(type,a) const_cast<type>(a) | |
248 | #define swig_static_cast(type,a) static_cast<type>(a) | |
249 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
994141e6 | 250 | |
994141e6 | 251 | #ifdef HAVE_NUMERIC_CAST |
15afbcd0 | 252 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
994141e6 | 253 | #else |
15afbcd0 | 254 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
994141e6 RD |
255 | #endif |
256 | ||
15afbcd0 RD |
257 | #else /* C case */ |
258 | ||
259 | #define SWIGSTATICINLINE(a) static a | |
260 | #define SWIGSTATIC(a) static a | |
261 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
262 | #define swig_delete_array(cptr) free((char*)cptr) | |
263 | #define swig_const_cast(type,a) (type)(a) | |
264 | #define swig_static_cast(type,a) (type)(a) | |
265 | #define swig_reinterpret_cast(type,a) (type)(a) | |
266 | #define swig_numeric_cast(type,a) (type)(a) | |
267 | ||
268 | #endif /* __cplusplus */ | |
994141e6 RD |
269 | |
270 | ||
15afbcd0 RD |
271 | #define SWIG_FromSignedChar PyInt_FromLong |
272 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
273 | #define SWIG_FromShort PyInt_FromLong | |
274 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
275 | #define SWIG_FromInt PyInt_FromLong | |
276 | #define SWIG_FromLong PyInt_FromLong | |
277 | #define SWIG_FromFloat PyFloat_FromDouble | |
278 | #define SWIG_FromDouble PyFloat_FromDouble | |
279 | #define SWIG_FromFloat PyFloat_FromDouble | |
280 | #define SWIG_FromDouble PyFloat_FromDouble | |
994141e6 RD |
281 | |
282 | ||
d14a1e28 RD |
283 | #include "wx/wxPython/wxPython.h" |
284 | #include "wx/wxPython/pyclasses.h" | |
285 | #include <wx/stc/stc.h> | |
286 | ||
d14a1e28 | 287 | |
b2dc1044 | 288 | static const wxString wxPySTCNameStr(wxSTCNameStr); |
d14a1e28 | 289 | |
15afbcd0 RD |
290 | #include <limits.h> |
291 | ||
292 | ||
293 | SWIGSTATICINLINE(long) | |
294 | SWIG_CheckLongInRange(long value, const char* type, | |
295 | long min_value, long max_value) | |
296 | { | |
297 | if (!PyErr_Occurred()) { | |
298 | if (value < min_value) { | |
299 | PyObject *err = | |
300 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
301 | value, type, min_value); | |
302 | ||
303 | PyErr_SetObject(PyExc_OverflowError, err); | |
304 | Py_DECREF(err); | |
305 | } else if (value > max_value) { | |
306 | PyObject *err = | |
307 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
308 | value, type, max_value); | |
309 | PyErr_SetObject(PyExc_OverflowError, err); | |
310 | Py_DECREF(err); | |
311 | } | |
312 | } | |
313 | return value; | |
314 | } | |
315 | ||
316 | ||
317 | SWIGSTATICINLINE(long) | |
318 | SWIG_AsLong(PyObject * obj) | |
319 | { | |
69223c70 RD |
320 | if (PyNumber_Check(obj)) |
321 | return PyInt_AsLong(obj); | |
322 | else { | |
323 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
324 | obj->ob_type->tp_name); | |
325 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
326 | Py_DECREF(errmsg); | |
327 | return 0; | |
328 | } | |
15afbcd0 RD |
329 | } |
330 | ||
331 | ||
332 | #if INT_MAX != LONG_MAX | |
333 | SWIGSTATICINLINE(int) | |
334 | SWIG_AsInt(PyObject *obj) | |
994141e6 | 335 | { |
15afbcd0 RD |
336 | return swig_numeric_cast(int, |
337 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
338 | "int", INT_MIN, INT_MAX)); | |
994141e6 | 339 | } |
15afbcd0 RD |
340 | #else |
341 | #define SWIG_AsInt SWIG_AsLong | |
342 | #endif | |
994141e6 RD |
343 | |
344 | ||
15afbcd0 RD |
345 | SWIGSTATICINLINE(int) |
346 | SWIG_CheckInt(PyObject* obj) | |
994141e6 | 347 | { |
15afbcd0 RD |
348 | SWIG_AsInt(obj); |
349 | if (PyErr_Occurred()) { | |
350 | PyErr_Clear(); | |
351 | return 0; | |
352 | } else { | |
353 | return 1; | |
354 | } | |
355 | } | |
356 | ||
357 | ||
358 | SWIGSTATICINLINE(int) | |
359 | SWIG_CheckLong(PyObject* obj) | |
360 | { | |
361 | SWIG_AsLong(obj); | |
362 | if (PyErr_Occurred()) { | |
363 | PyErr_Clear(); | |
364 | return 0; | |
365 | } else { | |
366 | return 1; | |
367 | } | |
994141e6 RD |
368 | } |
369 | ||
370 | ||
15afbcd0 RD |
371 | SWIGSTATICINLINE(bool) |
372 | SWIG_AsBool(PyObject *obj) | |
994141e6 RD |
373 | { |
374 | return PyObject_IsTrue(obj) ? true : false; | |
375 | } | |
376 | ||
377 | ||
15afbcd0 RD |
378 | SWIGSTATICINLINE(int) |
379 | SWIG_CheckBool(PyObject* obj) | |
380 | { | |
381 | SWIG_AsBool(obj); | |
382 | if (PyErr_Occurred()) { | |
383 | PyErr_Clear(); | |
384 | return 0; | |
385 | } else { | |
386 | return 1; | |
387 | } | |
388 | } | |
389 | ||
390 | ||
d14a1e28 RD |
391 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
392 | PyObject* o2; | |
393 | PyObject* o3; | |
394 | ||
395 | if (!target) { | |
396 | target = o; | |
397 | } else if (target == Py_None) { | |
398 | Py_DECREF(Py_None); | |
399 | target = o; | |
400 | } else { | |
401 | if (!PyTuple_Check(target)) { | |
402 | o2 = target; | |
403 | target = PyTuple_New(1); | |
404 | PyTuple_SetItem(target, 0, o2); | |
405 | } | |
406 | o3 = PyTuple_New(1); | |
407 | PyTuple_SetItem(o3, 0, o); | |
408 | ||
409 | o2 = target; | |
410 | target = PySequence_Concat(o2, o3); | |
411 | Py_DECREF(o2); | |
412 | Py_DECREF(o3); | |
413 | } | |
414 | return target; | |
415 | } | |
416 | ||
15afbcd0 RD |
417 | |
418 | /* returns '1' if the input is a raw char*, '0' if is a PyString */ | |
419 | SWIGSTATIC(int) | |
420 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size) | |
421 | { | |
422 | static swig_type_info* pchar_info = 0; | |
423 | int psize = 0; | |
424 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
425 | ||
426 | if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) { | |
427 | PyErr_Clear(); | |
428 | PyString_AsStringAndSize(obj, cptr, &psize); | |
429 | if (PyErr_Occurred()) { | |
430 | PyErr_Clear(); | |
431 | PyErr_SetString(PyExc_TypeError,"a string is expected"); | |
432 | } | |
433 | if (size) *size = psize; | |
434 | return 0; | |
435 | } else { | |
436 | if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0; | |
437 | return 1; | |
438 | } | |
439 | } | |
440 | ||
441 | ||
442 | SWIGSTATICINLINE(char* ) | |
443 | SWIG_AsCharPtr(PyObject *obj) | |
444 | { | |
445 | char* cptr; | |
446 | SWIG_AsCharPtrAndSize(obj, &cptr, 0); | |
447 | if (PyErr_Occurred()) { | |
448 | PyErr_Clear(); | |
449 | PyErr_SetString(PyExc_TypeError, "a char* is expected"); | |
450 | } | |
451 | return cptr; | |
452 | } | |
453 | ||
d14a1e28 RD |
454 | #ifdef __cplusplus |
455 | extern "C" { | |
456 | #endif | |
a95a7133 | 457 | static int _wrap_STCNameStr_set(PyObject *_val) { |
b2dc1044 RD |
458 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); |
459 | return 1; | |
460 | } | |
461 | ||
462 | ||
463 | static PyObject *_wrap_STCNameStr_get() { | |
464 | PyObject *pyobj; | |
465 | ||
466 | { | |
467 | #if wxUSE_UNICODE | |
468 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
469 | #else | |
470 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
471 | #endif | |
472 | } | |
473 | return pyobj; | |
474 | } | |
475 | ||
476 | ||
a95a7133 | 477 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
478 | PyObject *resultobj; |
479 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 480 | int arg2 ; |
d14a1e28 RD |
481 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
482 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
483 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
484 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
485 | long arg5 = (long) 0 ; | |
486 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
487 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
488 | wxStyledTextCtrl *result; | |
489 | wxPoint temp3 ; | |
490 | wxSize temp4 ; | |
e811c8ce | 491 | bool temp6 = False ; |
d14a1e28 | 492 | PyObject * obj0 = 0 ; |
994141e6 | 493 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
494 | PyObject * obj2 = 0 ; |
495 | PyObject * obj3 = 0 ; | |
994141e6 | 496 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
497 | PyObject * obj5 = 0 ; |
498 | char *kwnames[] = { | |
499 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
500 | }; | |
501 | ||
994141e6 | 502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
505 | arg2 = (int) SWIG_AsInt(obj1); | |
506 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
507 | if (obj2) { |
508 | { | |
509 | arg3 = &temp3; | |
510 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
511 | } | |
512 | } | |
513 | if (obj3) { | |
514 | { | |
515 | arg4 = &temp4; | |
516 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
517 | } | |
518 | } | |
994141e6 | 519 | if (obj4) { |
15afbcd0 RD |
520 | arg5 = (long) SWIG_AsLong(obj4); |
521 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 522 | } |
d14a1e28 RD |
523 | if (obj5) { |
524 | { | |
525 | arg6 = wxString_in_helper(obj5); | |
526 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 527 | temp6 = True; |
d14a1e28 RD |
528 | } |
529 | } | |
530 | { | |
531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
532 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
533 | ||
534 | wxPyEndAllowThreads(__tstate); | |
535 | if (PyErr_Occurred()) SWIG_fail; | |
536 | } | |
15afbcd0 | 537 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
538 | { |
539 | if (temp6) | |
540 | delete arg6; | |
541 | } | |
542 | return resultobj; | |
543 | fail: | |
544 | { | |
545 | if (temp6) | |
546 | delete arg6; | |
547 | } | |
548 | return NULL; | |
549 | } | |
550 | ||
551 | ||
a95a7133 | 552 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
553 | PyObject *resultobj; |
554 | wxStyledTextCtrl *result; | |
555 | char *kwnames[] = { | |
556 | NULL | |
557 | }; | |
558 | ||
559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
560 | { | |
561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
562 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
563 | ||
564 | wxPyEndAllowThreads(__tstate); | |
565 | if (PyErr_Occurred()) SWIG_fail; | |
566 | } | |
15afbcd0 | 567 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
568 | return resultobj; |
569 | fail: | |
570 | return NULL; | |
571 | } | |
572 | ||
573 | ||
a95a7133 | 574 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
575 | PyObject *resultobj; |
576 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
577 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 578 | int arg3 ; |
d14a1e28 RD |
579 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
580 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
581 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
582 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
583 | long arg6 = (long) 0 ; | |
584 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
585 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
586 | wxPoint temp4 ; | |
587 | wxSize temp5 ; | |
e811c8ce | 588 | bool temp7 = False ; |
d14a1e28 RD |
589 | PyObject * obj0 = 0 ; |
590 | PyObject * obj1 = 0 ; | |
994141e6 | 591 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
592 | PyObject * obj3 = 0 ; |
593 | PyObject * obj4 = 0 ; | |
994141e6 | 594 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
595 | PyObject * obj6 = 0 ; |
596 | char *kwnames[] = { | |
597 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
598 | }; | |
599 | ||
994141e6 | 600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
603 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
605 | arg3 = (int) SWIG_AsInt(obj2); | |
606 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
607 | if (obj3) { |
608 | { | |
609 | arg4 = &temp4; | |
610 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
611 | } | |
612 | } | |
613 | if (obj4) { | |
614 | { | |
615 | arg5 = &temp5; | |
616 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
617 | } | |
618 | } | |
994141e6 | 619 | if (obj5) { |
15afbcd0 RD |
620 | arg6 = (long) SWIG_AsLong(obj5); |
621 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 622 | } |
d14a1e28 RD |
623 | if (obj6) { |
624 | { | |
625 | arg7 = wxString_in_helper(obj6); | |
626 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 627 | temp7 = True; |
d14a1e28 RD |
628 | } |
629 | } | |
630 | { | |
631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
632 | (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
633 | ||
634 | wxPyEndAllowThreads(__tstate); | |
635 | if (PyErr_Occurred()) SWIG_fail; | |
636 | } | |
637 | Py_INCREF(Py_None); resultobj = Py_None; | |
638 | { | |
639 | if (temp7) | |
640 | delete arg7; | |
641 | } | |
642 | return resultobj; | |
643 | fail: | |
644 | { | |
645 | if (temp7) | |
646 | delete arg7; | |
647 | } | |
648 | return NULL; | |
649 | } | |
650 | ||
651 | ||
a95a7133 | 652 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
653 | PyObject *resultobj; |
654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
655 | wxString *arg2 = 0 ; | |
e811c8ce | 656 | bool temp2 = False ; |
d14a1e28 RD |
657 | PyObject * obj0 = 0 ; |
658 | PyObject * obj1 = 0 ; | |
659 | char *kwnames[] = { | |
660 | (char *) "self",(char *) "text", NULL | |
661 | }; | |
662 | ||
663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
666 | { |
667 | arg2 = wxString_in_helper(obj1); | |
668 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 669 | temp2 = True; |
d14a1e28 RD |
670 | } |
671 | { | |
672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
673 | (arg1)->AddText((wxString const &)*arg2); | |
674 | ||
675 | wxPyEndAllowThreads(__tstate); | |
676 | if (PyErr_Occurred()) SWIG_fail; | |
677 | } | |
678 | Py_INCREF(Py_None); resultobj = Py_None; | |
679 | { | |
680 | if (temp2) | |
681 | delete arg2; | |
682 | } | |
683 | return resultobj; | |
684 | fail: | |
685 | { | |
686 | if (temp2) | |
687 | delete arg2; | |
688 | } | |
689 | return NULL; | |
690 | } | |
691 | ||
692 | ||
a95a7133 | 693 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
694 | PyObject *resultobj; |
695 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
696 | wxMemoryBuffer *arg2 = 0 ; | |
3adfb63b | 697 | bool temp2 = False ; |
d14a1e28 RD |
698 | PyObject * obj0 = 0 ; |
699 | PyObject * obj1 = 0 ; | |
700 | char *kwnames[] = { | |
701 | (char *) "self",(char *) "data", NULL | |
702 | }; | |
703 | ||
704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3adfb63b RD |
707 | { |
708 | if (!PyString_Check(obj1)) { | |
709 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
710 | SWIG_fail; | |
711 | } | |
712 | char* str = PyString_AS_STRING(obj1); | |
713 | int len = PyString_GET_SIZE(obj1); | |
714 | arg2 = new wxMemoryBuffer(len); | |
715 | temp2 = True; | |
716 | memcpy(arg2->GetData(), str, len); | |
0346c964 | 717 | arg2->SetDataLen(len); |
d14a1e28 RD |
718 | } |
719 | { | |
720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
721 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
722 | ||
723 | wxPyEndAllowThreads(__tstate); | |
724 | if (PyErr_Occurred()) SWIG_fail; | |
725 | } | |
726 | Py_INCREF(Py_None); resultobj = Py_None; | |
3adfb63b RD |
727 | { |
728 | if (temp2) delete arg2; | |
729 | } | |
d14a1e28 RD |
730 | return resultobj; |
731 | fail: | |
3adfb63b RD |
732 | { |
733 | if (temp2) delete arg2; | |
734 | } | |
d14a1e28 RD |
735 | return NULL; |
736 | } | |
737 | ||
738 | ||
a95a7133 | 739 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
740 | PyObject *resultobj; |
741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
742 | int arg2 ; | |
743 | wxString *arg3 = 0 ; | |
e811c8ce | 744 | bool temp3 = False ; |
d14a1e28 | 745 | PyObject * obj0 = 0 ; |
994141e6 | 746 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
747 | PyObject * obj2 = 0 ; |
748 | char *kwnames[] = { | |
749 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
750 | }; | |
751 | ||
994141e6 | 752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
755 | arg2 = (int) SWIG_AsInt(obj1); | |
756 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
757 | { |
758 | arg3 = wxString_in_helper(obj2); | |
759 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 760 | temp3 = True; |
d14a1e28 RD |
761 | } |
762 | { | |
763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
764 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
765 | ||
766 | wxPyEndAllowThreads(__tstate); | |
767 | if (PyErr_Occurred()) SWIG_fail; | |
768 | } | |
769 | Py_INCREF(Py_None); resultobj = Py_None; | |
770 | { | |
771 | if (temp3) | |
772 | delete arg3; | |
773 | } | |
774 | return resultobj; | |
775 | fail: | |
776 | { | |
777 | if (temp3) | |
778 | delete arg3; | |
779 | } | |
780 | return NULL; | |
781 | } | |
782 | ||
783 | ||
a95a7133 | 784 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
785 | PyObject *resultobj; |
786 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
787 | PyObject * obj0 = 0 ; | |
788 | char *kwnames[] = { | |
789 | (char *) "self", NULL | |
790 | }; | |
791 | ||
792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
795 | { |
796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
797 | (arg1)->ClearAll(); | |
798 | ||
799 | wxPyEndAllowThreads(__tstate); | |
800 | if (PyErr_Occurred()) SWIG_fail; | |
801 | } | |
802 | Py_INCREF(Py_None); resultobj = Py_None; | |
803 | return resultobj; | |
804 | fail: | |
805 | return NULL; | |
806 | } | |
807 | ||
808 | ||
a95a7133 | 809 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
810 | PyObject *resultobj; |
811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
812 | PyObject * obj0 = 0 ; | |
813 | char *kwnames[] = { | |
814 | (char *) "self", NULL | |
815 | }; | |
816 | ||
817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
820 | { |
821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
822 | (arg1)->ClearDocumentStyle(); | |
823 | ||
824 | wxPyEndAllowThreads(__tstate); | |
825 | if (PyErr_Occurred()) SWIG_fail; | |
826 | } | |
827 | Py_INCREF(Py_None); resultobj = Py_None; | |
828 | return resultobj; | |
829 | fail: | |
830 | return NULL; | |
831 | } | |
832 | ||
833 | ||
a95a7133 | 834 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
835 | PyObject *resultobj; |
836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
837 | int result; | |
838 | PyObject * obj0 = 0 ; | |
839 | char *kwnames[] = { | |
840 | (char *) "self", NULL | |
841 | }; | |
842 | ||
843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
846 | { |
847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
848 | result = (int)(arg1)->GetLength(); | |
849 | ||
850 | wxPyEndAllowThreads(__tstate); | |
851 | if (PyErr_Occurred()) SWIG_fail; | |
852 | } | |
15afbcd0 | 853 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
854 | return resultobj; |
855 | fail: | |
856 | return NULL; | |
857 | } | |
858 | ||
859 | ||
a95a7133 | 860 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
861 | PyObject *resultobj; |
862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
863 | int arg2 ; | |
864 | int result; | |
865 | PyObject * obj0 = 0 ; | |
994141e6 | 866 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
867 | char *kwnames[] = { |
868 | (char *) "self",(char *) "pos", NULL | |
869 | }; | |
870 | ||
994141e6 | 871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
874 | arg2 = (int) SWIG_AsInt(obj1); | |
875 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
876 | { |
877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
878 | result = (int)(arg1)->GetCharAt(arg2); | |
879 | ||
880 | wxPyEndAllowThreads(__tstate); | |
881 | if (PyErr_Occurred()) SWIG_fail; | |
882 | } | |
15afbcd0 | 883 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
884 | return resultobj; |
885 | fail: | |
886 | return NULL; | |
887 | } | |
888 | ||
889 | ||
a95a7133 | 890 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
891 | PyObject *resultobj; |
892 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
893 | int result; | |
894 | PyObject * obj0 = 0 ; | |
895 | char *kwnames[] = { | |
896 | (char *) "self", NULL | |
897 | }; | |
898 | ||
899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
902 | { |
903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
904 | result = (int)(arg1)->GetCurrentPos(); | |
905 | ||
906 | wxPyEndAllowThreads(__tstate); | |
907 | if (PyErr_Occurred()) SWIG_fail; | |
908 | } | |
15afbcd0 | 909 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
910 | return resultobj; |
911 | fail: | |
912 | return NULL; | |
913 | } | |
914 | ||
915 | ||
a95a7133 | 916 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
917 | PyObject *resultobj; |
918 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
919 | int result; | |
920 | PyObject * obj0 = 0 ; | |
921 | char *kwnames[] = { | |
922 | (char *) "self", NULL | |
923 | }; | |
924 | ||
925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
928 | { |
929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
930 | result = (int)(arg1)->GetAnchor(); | |
931 | ||
932 | wxPyEndAllowThreads(__tstate); | |
933 | if (PyErr_Occurred()) SWIG_fail; | |
934 | } | |
15afbcd0 | 935 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
936 | return resultobj; |
937 | fail: | |
938 | return NULL; | |
939 | } | |
940 | ||
941 | ||
a95a7133 | 942 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
943 | PyObject *resultobj; |
944 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
945 | int arg2 ; | |
946 | int result; | |
947 | PyObject * obj0 = 0 ; | |
994141e6 | 948 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
949 | char *kwnames[] = { |
950 | (char *) "self",(char *) "pos", NULL | |
951 | }; | |
952 | ||
994141e6 | 953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
956 | arg2 = (int) SWIG_AsInt(obj1); | |
957 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
958 | { |
959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
960 | result = (int)(arg1)->GetStyleAt(arg2); | |
961 | ||
962 | wxPyEndAllowThreads(__tstate); | |
963 | if (PyErr_Occurred()) SWIG_fail; | |
964 | } | |
15afbcd0 | 965 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
966 | return resultobj; |
967 | fail: | |
968 | return NULL; | |
969 | } | |
970 | ||
971 | ||
a95a7133 | 972 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
973 | PyObject *resultobj; |
974 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
975 | PyObject * obj0 = 0 ; | |
976 | char *kwnames[] = { | |
977 | (char *) "self", NULL | |
978 | }; | |
979 | ||
980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
983 | { |
984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
985 | (arg1)->Redo(); | |
986 | ||
987 | wxPyEndAllowThreads(__tstate); | |
988 | if (PyErr_Occurred()) SWIG_fail; | |
989 | } | |
990 | Py_INCREF(Py_None); resultobj = Py_None; | |
991 | return resultobj; | |
992 | fail: | |
993 | return NULL; | |
994 | } | |
995 | ||
996 | ||
a95a7133 | 997 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
998 | PyObject *resultobj; |
999 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1000 | bool arg2 ; | |
1001 | PyObject * obj0 = 0 ; | |
1002 | PyObject * obj1 = 0 ; | |
1003 | char *kwnames[] = { | |
1004 | (char *) "self",(char *) "collectUndo", NULL | |
1005 | }; | |
1006 | ||
1007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1010 | arg2 = (bool) SWIG_AsBool(obj1); | |
1011 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1012 | { |
1013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1014 | (arg1)->SetUndoCollection(arg2); | |
1015 | ||
1016 | wxPyEndAllowThreads(__tstate); | |
1017 | if (PyErr_Occurred()) SWIG_fail; | |
1018 | } | |
1019 | Py_INCREF(Py_None); resultobj = Py_None; | |
1020 | return resultobj; | |
1021 | fail: | |
1022 | return NULL; | |
1023 | } | |
1024 | ||
1025 | ||
a95a7133 | 1026 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1027 | PyObject *resultobj; |
1028 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1029 | PyObject * obj0 = 0 ; | |
1030 | char *kwnames[] = { | |
1031 | (char *) "self", NULL | |
1032 | }; | |
1033 | ||
1034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1037 | { |
1038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1039 | (arg1)->SelectAll(); | |
1040 | ||
1041 | wxPyEndAllowThreads(__tstate); | |
1042 | if (PyErr_Occurred()) SWIG_fail; | |
1043 | } | |
1044 | Py_INCREF(Py_None); resultobj = Py_None; | |
1045 | return resultobj; | |
1046 | fail: | |
1047 | return NULL; | |
1048 | } | |
1049 | ||
1050 | ||
a95a7133 | 1051 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1052 | PyObject *resultobj; |
1053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1054 | PyObject * obj0 = 0 ; | |
1055 | char *kwnames[] = { | |
1056 | (char *) "self", NULL | |
1057 | }; | |
1058 | ||
1059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1062 | { |
1063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1064 | (arg1)->SetSavePoint(); | |
1065 | ||
1066 | wxPyEndAllowThreads(__tstate); | |
1067 | if (PyErr_Occurred()) SWIG_fail; | |
1068 | } | |
1069 | Py_INCREF(Py_None); resultobj = Py_None; | |
1070 | return resultobj; | |
1071 | fail: | |
1072 | return NULL; | |
1073 | } | |
1074 | ||
1075 | ||
a95a7133 | 1076 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1077 | PyObject *resultobj; |
1078 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1079 | int arg2 ; | |
1080 | int arg3 ; | |
1081 | wxMemoryBuffer result; | |
1082 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1083 | PyObject * obj1 = 0 ; |
1084 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1085 | char *kwnames[] = { |
1086 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
1087 | }; | |
1088 | ||
994141e6 | 1089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1092 | arg2 = (int) SWIG_AsInt(obj1); | |
1093 | if (PyErr_Occurred()) SWIG_fail; | |
1094 | arg3 = (int) SWIG_AsInt(obj2); | |
1095 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1096 | { |
1097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1098 | result = (arg1)->GetStyledText(arg2,arg3); | |
1099 | ||
1100 | wxPyEndAllowThreads(__tstate); | |
1101 | if (PyErr_Occurred()) SWIG_fail; | |
1102 | } | |
1103 | { | |
3adfb63b | 1104 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); |
d14a1e28 RD |
1105 | } |
1106 | return resultobj; | |
1107 | fail: | |
1108 | return NULL; | |
1109 | } | |
1110 | ||
1111 | ||
a95a7133 | 1112 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1113 | PyObject *resultobj; |
1114 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1115 | bool result; | |
1116 | PyObject * obj0 = 0 ; | |
1117 | char *kwnames[] = { | |
1118 | (char *) "self", NULL | |
1119 | }; | |
1120 | ||
1121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1124 | { |
1125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1126 | result = (bool)(arg1)->CanRedo(); | |
1127 | ||
1128 | wxPyEndAllowThreads(__tstate); | |
1129 | if (PyErr_Occurred()) SWIG_fail; | |
1130 | } | |
4f89f6a3 RD |
1131 | { |
1132 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1133 | } | |
d14a1e28 RD |
1134 | return resultobj; |
1135 | fail: | |
1136 | return NULL; | |
1137 | } | |
1138 | ||
1139 | ||
a95a7133 | 1140 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1141 | PyObject *resultobj; |
1142 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1143 | int arg2 ; | |
1144 | int result; | |
1145 | PyObject * obj0 = 0 ; | |
994141e6 | 1146 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1147 | char *kwnames[] = { |
1148 | (char *) "self",(char *) "handle", NULL | |
1149 | }; | |
1150 | ||
994141e6 | 1151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1154 | arg2 = (int) SWIG_AsInt(obj1); | |
1155 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1156 | { |
1157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1158 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
1159 | ||
1160 | wxPyEndAllowThreads(__tstate); | |
1161 | if (PyErr_Occurred()) SWIG_fail; | |
1162 | } | |
15afbcd0 | 1163 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1164 | return resultobj; |
1165 | fail: | |
1166 | return NULL; | |
1167 | } | |
1168 | ||
1169 | ||
a95a7133 | 1170 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1171 | PyObject *resultobj; |
1172 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1173 | int arg2 ; | |
1174 | PyObject * obj0 = 0 ; | |
994141e6 | 1175 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1176 | char *kwnames[] = { |
1177 | (char *) "self",(char *) "handle", NULL | |
1178 | }; | |
1179 | ||
994141e6 | 1180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1183 | arg2 = (int) SWIG_AsInt(obj1); | |
1184 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1185 | { |
1186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1187 | (arg1)->MarkerDeleteHandle(arg2); | |
1188 | ||
1189 | wxPyEndAllowThreads(__tstate); | |
1190 | if (PyErr_Occurred()) SWIG_fail; | |
1191 | } | |
1192 | Py_INCREF(Py_None); resultobj = Py_None; | |
1193 | return resultobj; | |
1194 | fail: | |
1195 | return NULL; | |
1196 | } | |
1197 | ||
1198 | ||
a95a7133 | 1199 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1200 | PyObject *resultobj; |
1201 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1202 | bool result; | |
1203 | PyObject * obj0 = 0 ; | |
1204 | char *kwnames[] = { | |
1205 | (char *) "self", NULL | |
1206 | }; | |
1207 | ||
1208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1211 | { |
1212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1213 | result = (bool)(arg1)->GetUndoCollection(); | |
1214 | ||
1215 | wxPyEndAllowThreads(__tstate); | |
1216 | if (PyErr_Occurred()) SWIG_fail; | |
1217 | } | |
4f89f6a3 RD |
1218 | { |
1219 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1220 | } | |
d14a1e28 RD |
1221 | return resultobj; |
1222 | fail: | |
1223 | return NULL; | |
1224 | } | |
1225 | ||
1226 | ||
a95a7133 | 1227 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1228 | PyObject *resultobj; |
1229 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1230 | int result; | |
1231 | PyObject * obj0 = 0 ; | |
1232 | char *kwnames[] = { | |
1233 | (char *) "self", NULL | |
1234 | }; | |
1235 | ||
1236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1239 | { |
1240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1241 | result = (int)(arg1)->GetViewWhiteSpace(); | |
1242 | ||
1243 | wxPyEndAllowThreads(__tstate); | |
1244 | if (PyErr_Occurred()) SWIG_fail; | |
1245 | } | |
15afbcd0 | 1246 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1247 | return resultobj; |
1248 | fail: | |
1249 | return NULL; | |
1250 | } | |
1251 | ||
1252 | ||
a95a7133 | 1253 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1254 | PyObject *resultobj; |
1255 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1256 | int arg2 ; | |
1257 | PyObject * obj0 = 0 ; | |
994141e6 | 1258 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1259 | char *kwnames[] = { |
1260 | (char *) "self",(char *) "viewWS", NULL | |
1261 | }; | |
1262 | ||
994141e6 | 1263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1266 | arg2 = (int) SWIG_AsInt(obj1); | |
1267 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1268 | { |
1269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1270 | (arg1)->SetViewWhiteSpace(arg2); | |
1271 | ||
1272 | wxPyEndAllowThreads(__tstate); | |
1273 | if (PyErr_Occurred()) SWIG_fail; | |
1274 | } | |
1275 | Py_INCREF(Py_None); resultobj = Py_None; | |
1276 | return resultobj; | |
1277 | fail: | |
1278 | return NULL; | |
1279 | } | |
1280 | ||
1281 | ||
a95a7133 | 1282 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1283 | PyObject *resultobj; |
1284 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1285 | wxPoint arg2 ; | |
1286 | int result; | |
1287 | wxPoint *argp2 ; | |
1288 | PyObject * obj0 = 0 ; | |
1289 | PyObject * obj1 = 0 ; | |
1290 | char *kwnames[] = { | |
1291 | (char *) "self",(char *) "pt", NULL | |
1292 | }; | |
1293 | ||
1294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1295 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1296 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1297 | if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint, | |
1298 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1299 | arg2 = *argp2; | |
d14a1e28 RD |
1300 | { |
1301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1302 | result = (int)(arg1)->PositionFromPoint(arg2); | |
1303 | ||
1304 | wxPyEndAllowThreads(__tstate); | |
1305 | if (PyErr_Occurred()) SWIG_fail; | |
1306 | } | |
15afbcd0 | 1307 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1308 | return resultobj; |
1309 | fail: | |
1310 | return NULL; | |
1311 | } | |
1312 | ||
1313 | ||
a95a7133 | 1314 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1315 | PyObject *resultobj; |
1316 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1317 | int arg2 ; | |
1318 | int arg3 ; | |
1319 | int result; | |
1320 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1321 | PyObject * obj1 = 0 ; |
1322 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1323 | char *kwnames[] = { |
1324 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1325 | }; | |
1326 | ||
994141e6 | 1327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1328 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1330 | arg2 = (int) SWIG_AsInt(obj1); | |
1331 | if (PyErr_Occurred()) SWIG_fail; | |
1332 | arg3 = (int) SWIG_AsInt(obj2); | |
1333 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1334 | { |
1335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1336 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
1337 | ||
1338 | wxPyEndAllowThreads(__tstate); | |
1339 | if (PyErr_Occurred()) SWIG_fail; | |
1340 | } | |
15afbcd0 | 1341 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1342 | return resultobj; |
1343 | fail: | |
1344 | return NULL; | |
1345 | } | |
1346 | ||
1347 | ||
a95a7133 | 1348 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1349 | PyObject *resultobj; |
1350 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1351 | int arg2 ; | |
1352 | PyObject * obj0 = 0 ; | |
994141e6 | 1353 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1354 | char *kwnames[] = { |
1355 | (char *) "self",(char *) "line", NULL | |
1356 | }; | |
1357 | ||
994141e6 | 1358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1361 | arg2 = (int) SWIG_AsInt(obj1); | |
1362 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1363 | { |
1364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1365 | (arg1)->GotoLine(arg2); | |
1366 | ||
1367 | wxPyEndAllowThreads(__tstate); | |
1368 | if (PyErr_Occurred()) SWIG_fail; | |
1369 | } | |
1370 | Py_INCREF(Py_None); resultobj = Py_None; | |
1371 | return resultobj; | |
1372 | fail: | |
1373 | return NULL; | |
1374 | } | |
1375 | ||
1376 | ||
a95a7133 | 1377 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1378 | PyObject *resultobj; |
1379 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1380 | int arg2 ; | |
1381 | PyObject * obj0 = 0 ; | |
994141e6 | 1382 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1383 | char *kwnames[] = { |
1384 | (char *) "self",(char *) "pos", NULL | |
1385 | }; | |
1386 | ||
994141e6 | 1387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1390 | arg2 = (int) SWIG_AsInt(obj1); | |
1391 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1392 | { |
1393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1394 | (arg1)->GotoPos(arg2); | |
1395 | ||
1396 | wxPyEndAllowThreads(__tstate); | |
1397 | if (PyErr_Occurred()) SWIG_fail; | |
1398 | } | |
1399 | Py_INCREF(Py_None); resultobj = Py_None; | |
1400 | return resultobj; | |
1401 | fail: | |
1402 | return NULL; | |
1403 | } | |
1404 | ||
1405 | ||
a95a7133 | 1406 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1407 | PyObject *resultobj; |
1408 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1409 | int arg2 ; | |
1410 | PyObject * obj0 = 0 ; | |
994141e6 | 1411 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1412 | char *kwnames[] = { |
1413 | (char *) "self",(char *) "posAnchor", NULL | |
1414 | }; | |
1415 | ||
994141e6 | 1416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1419 | arg2 = (int) SWIG_AsInt(obj1); | |
1420 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1421 | { |
1422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1423 | (arg1)->SetAnchor(arg2); | |
1424 | ||
1425 | wxPyEndAllowThreads(__tstate); | |
1426 | if (PyErr_Occurred()) SWIG_fail; | |
1427 | } | |
1428 | Py_INCREF(Py_None); resultobj = Py_None; | |
1429 | return resultobj; | |
1430 | fail: | |
1431 | return NULL; | |
1432 | } | |
1433 | ||
1434 | ||
a95a7133 | 1435 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1436 | PyObject *resultobj; |
1437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1438 | int *arg2 = (int *) 0 ; | |
1439 | wxString result; | |
1440 | int temp2 ; | |
1441 | PyObject * obj0 = 0 ; | |
1442 | char *kwnames[] = { | |
1443 | (char *) "self", NULL | |
1444 | }; | |
1445 | ||
1446 | arg2 = &temp2; | |
1447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1450 | { |
1451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1452 | result = (arg1)->GetCurLine(arg2); | |
1453 | ||
1454 | wxPyEndAllowThreads(__tstate); | |
1455 | if (PyErr_Occurred()) SWIG_fail; | |
1456 | } | |
1457 | { | |
1458 | #if wxUSE_UNICODE | |
1459 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1460 | #else | |
1461 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1462 | #endif | |
1463 | } | |
1464 | { | |
1465 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1466 | resultobj = t_output_helper(resultobj,o); | |
1467 | } | |
1468 | return resultobj; | |
1469 | fail: | |
1470 | return NULL; | |
1471 | } | |
1472 | ||
1473 | ||
a95a7133 | 1474 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1475 | PyObject *resultobj; |
1476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1477 | int result; | |
1478 | PyObject * obj0 = 0 ; | |
1479 | char *kwnames[] = { | |
1480 | (char *) "self", NULL | |
1481 | }; | |
1482 | ||
1483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1486 | { |
1487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1488 | result = (int)(arg1)->GetEndStyled(); | |
1489 | ||
1490 | wxPyEndAllowThreads(__tstate); | |
1491 | if (PyErr_Occurred()) SWIG_fail; | |
1492 | } | |
15afbcd0 | 1493 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1494 | return resultobj; |
1495 | fail: | |
1496 | return NULL; | |
1497 | } | |
1498 | ||
1499 | ||
a95a7133 | 1500 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1501 | PyObject *resultobj; |
1502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1503 | int arg2 ; | |
1504 | PyObject * obj0 = 0 ; | |
994141e6 | 1505 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1506 | char *kwnames[] = { |
1507 | (char *) "self",(char *) "eolMode", NULL | |
1508 | }; | |
1509 | ||
994141e6 | 1510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1511 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1512 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1513 | arg2 = (int) SWIG_AsInt(obj1); | |
1514 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1515 | { |
1516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1517 | (arg1)->ConvertEOLs(arg2); | |
1518 | ||
1519 | wxPyEndAllowThreads(__tstate); | |
1520 | if (PyErr_Occurred()) SWIG_fail; | |
1521 | } | |
1522 | Py_INCREF(Py_None); resultobj = Py_None; | |
1523 | return resultobj; | |
1524 | fail: | |
1525 | return NULL; | |
1526 | } | |
1527 | ||
1528 | ||
a95a7133 | 1529 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1530 | PyObject *resultobj; |
1531 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1532 | int result; | |
1533 | PyObject * obj0 = 0 ; | |
1534 | char *kwnames[] = { | |
1535 | (char *) "self", NULL | |
1536 | }; | |
1537 | ||
1538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1541 | { |
1542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1543 | result = (int)(arg1)->GetEOLMode(); | |
1544 | ||
1545 | wxPyEndAllowThreads(__tstate); | |
1546 | if (PyErr_Occurred()) SWIG_fail; | |
1547 | } | |
15afbcd0 | 1548 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1549 | return resultobj; |
1550 | fail: | |
1551 | return NULL; | |
1552 | } | |
1553 | ||
1554 | ||
a95a7133 | 1555 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1556 | PyObject *resultobj; |
1557 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1558 | int arg2 ; | |
1559 | PyObject * obj0 = 0 ; | |
994141e6 | 1560 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1561 | char *kwnames[] = { |
1562 | (char *) "self",(char *) "eolMode", NULL | |
1563 | }; | |
1564 | ||
994141e6 | 1565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1568 | arg2 = (int) SWIG_AsInt(obj1); | |
1569 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1570 | { |
1571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1572 | (arg1)->SetEOLMode(arg2); | |
1573 | ||
1574 | wxPyEndAllowThreads(__tstate); | |
1575 | if (PyErr_Occurred()) SWIG_fail; | |
1576 | } | |
1577 | Py_INCREF(Py_None); resultobj = Py_None; | |
1578 | return resultobj; | |
1579 | fail: | |
1580 | return NULL; | |
1581 | } | |
1582 | ||
1583 | ||
a95a7133 | 1584 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1585 | PyObject *resultobj; |
1586 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1587 | int arg2 ; | |
1588 | int arg3 ; | |
1589 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1590 | PyObject * obj1 = 0 ; |
1591 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1592 | char *kwnames[] = { |
1593 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
1594 | }; | |
1595 | ||
994141e6 | 1596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1599 | arg2 = (int) SWIG_AsInt(obj1); | |
1600 | if (PyErr_Occurred()) SWIG_fail; | |
1601 | arg3 = (int) SWIG_AsInt(obj2); | |
1602 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1603 | { |
1604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1605 | (arg1)->StartStyling(arg2,arg3); | |
1606 | ||
1607 | wxPyEndAllowThreads(__tstate); | |
1608 | if (PyErr_Occurred()) SWIG_fail; | |
1609 | } | |
1610 | Py_INCREF(Py_None); resultobj = Py_None; | |
1611 | return resultobj; | |
1612 | fail: | |
1613 | return NULL; | |
1614 | } | |
1615 | ||
1616 | ||
a95a7133 | 1617 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1618 | PyObject *resultobj; |
1619 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1620 | int arg2 ; | |
1621 | int arg3 ; | |
1622 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1623 | PyObject * obj1 = 0 ; |
1624 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1625 | char *kwnames[] = { |
1626 | (char *) "self",(char *) "length",(char *) "style", NULL | |
1627 | }; | |
1628 | ||
994141e6 | 1629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1632 | arg2 = (int) SWIG_AsInt(obj1); | |
1633 | if (PyErr_Occurred()) SWIG_fail; | |
1634 | arg3 = (int) SWIG_AsInt(obj2); | |
1635 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1636 | { |
1637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1638 | (arg1)->SetStyling(arg2,arg3); | |
1639 | ||
1640 | wxPyEndAllowThreads(__tstate); | |
1641 | if (PyErr_Occurred()) SWIG_fail; | |
1642 | } | |
1643 | Py_INCREF(Py_None); resultobj = Py_None; | |
1644 | return resultobj; | |
1645 | fail: | |
1646 | return NULL; | |
1647 | } | |
1648 | ||
1649 | ||
a95a7133 | 1650 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1651 | PyObject *resultobj; |
1652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1653 | bool result; | |
1654 | PyObject * obj0 = 0 ; | |
1655 | char *kwnames[] = { | |
1656 | (char *) "self", NULL | |
1657 | }; | |
1658 | ||
1659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1662 | { |
1663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1664 | result = (bool)(arg1)->GetBufferedDraw(); | |
1665 | ||
1666 | wxPyEndAllowThreads(__tstate); | |
1667 | if (PyErr_Occurred()) SWIG_fail; | |
1668 | } | |
4f89f6a3 RD |
1669 | { |
1670 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1671 | } | |
d14a1e28 RD |
1672 | return resultobj; |
1673 | fail: | |
1674 | return NULL; | |
1675 | } | |
1676 | ||
1677 | ||
a95a7133 | 1678 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1679 | PyObject *resultobj; |
1680 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1681 | bool arg2 ; | |
1682 | PyObject * obj0 = 0 ; | |
1683 | PyObject * obj1 = 0 ; | |
1684 | char *kwnames[] = { | |
1685 | (char *) "self",(char *) "buffered", NULL | |
1686 | }; | |
1687 | ||
1688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1691 | arg2 = (bool) SWIG_AsBool(obj1); | |
1692 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1693 | { |
1694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1695 | (arg1)->SetBufferedDraw(arg2); | |
1696 | ||
1697 | wxPyEndAllowThreads(__tstate); | |
1698 | if (PyErr_Occurred()) SWIG_fail; | |
1699 | } | |
1700 | Py_INCREF(Py_None); resultobj = Py_None; | |
1701 | return resultobj; | |
1702 | fail: | |
1703 | return NULL; | |
1704 | } | |
1705 | ||
1706 | ||
a95a7133 | 1707 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1708 | PyObject *resultobj; |
1709 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1710 | int arg2 ; | |
1711 | PyObject * obj0 = 0 ; | |
994141e6 | 1712 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1713 | char *kwnames[] = { |
1714 | (char *) "self",(char *) "tabWidth", NULL | |
1715 | }; | |
1716 | ||
994141e6 | 1717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1720 | arg2 = (int) SWIG_AsInt(obj1); | |
1721 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1722 | { |
1723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1724 | (arg1)->SetTabWidth(arg2); | |
1725 | ||
1726 | wxPyEndAllowThreads(__tstate); | |
1727 | if (PyErr_Occurred()) SWIG_fail; | |
1728 | } | |
1729 | Py_INCREF(Py_None); resultobj = Py_None; | |
1730 | return resultobj; | |
1731 | fail: | |
1732 | return NULL; | |
1733 | } | |
1734 | ||
1735 | ||
a95a7133 | 1736 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1737 | PyObject *resultobj; |
1738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1739 | int result; | |
1740 | PyObject * obj0 = 0 ; | |
1741 | char *kwnames[] = { | |
1742 | (char *) "self", NULL | |
1743 | }; | |
1744 | ||
1745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1748 | { |
1749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1750 | result = (int)(arg1)->GetTabWidth(); | |
1751 | ||
1752 | wxPyEndAllowThreads(__tstate); | |
1753 | if (PyErr_Occurred()) SWIG_fail; | |
1754 | } | |
15afbcd0 | 1755 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1756 | return resultobj; |
1757 | fail: | |
1758 | return NULL; | |
1759 | } | |
1760 | ||
1761 | ||
a95a7133 | 1762 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1763 | PyObject *resultobj; |
1764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1765 | int arg2 ; | |
1766 | PyObject * obj0 = 0 ; | |
994141e6 | 1767 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1768 | char *kwnames[] = { |
1769 | (char *) "self",(char *) "codePage", NULL | |
1770 | }; | |
1771 | ||
994141e6 | 1772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1775 | arg2 = (int) SWIG_AsInt(obj1); | |
1776 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1777 | { |
1778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1779 | (arg1)->SetCodePage(arg2); | |
1780 | ||
1781 | wxPyEndAllowThreads(__tstate); | |
1782 | if (PyErr_Occurred()) SWIG_fail; | |
1783 | } | |
1784 | Py_INCREF(Py_None); resultobj = Py_None; | |
1785 | return resultobj; | |
1786 | fail: | |
1787 | return NULL; | |
1788 | } | |
1789 | ||
1790 | ||
a95a7133 | 1791 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1792 | PyObject *resultobj; |
1793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1794 | int arg2 ; | |
1795 | int arg3 ; | |
1796 | wxColour const &arg4_defvalue = wxNullColour ; | |
1797 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
1798 | wxColour const &arg5_defvalue = wxNullColour ; | |
1799 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
1800 | wxColour temp4 ; | |
1801 | wxColour temp5 ; | |
1802 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1803 | PyObject * obj1 = 0 ; |
1804 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1805 | PyObject * obj3 = 0 ; |
1806 | PyObject * obj4 = 0 ; | |
1807 | char *kwnames[] = { | |
1808 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
1809 | }; | |
1810 | ||
994141e6 | 1811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
1812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1814 | arg2 = (int) SWIG_AsInt(obj1); | |
1815 | if (PyErr_Occurred()) SWIG_fail; | |
1816 | arg3 = (int) SWIG_AsInt(obj2); | |
1817 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1818 | if (obj3) { |
1819 | { | |
1820 | arg4 = &temp4; | |
1821 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
1822 | } | |
1823 | } | |
1824 | if (obj4) { | |
1825 | { | |
1826 | arg5 = &temp5; | |
1827 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
1828 | } | |
1829 | } | |
1830 | { | |
1831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1832 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
1833 | ||
1834 | wxPyEndAllowThreads(__tstate); | |
1835 | if (PyErr_Occurred()) SWIG_fail; | |
1836 | } | |
1837 | Py_INCREF(Py_None); resultobj = Py_None; | |
1838 | return resultobj; | |
1839 | fail: | |
1840 | return NULL; | |
1841 | } | |
1842 | ||
1843 | ||
a95a7133 | 1844 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1845 | PyObject *resultobj; |
1846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1847 | int arg2 ; | |
1848 | wxColour *arg3 = 0 ; | |
1849 | wxColour temp3 ; | |
1850 | PyObject * obj0 = 0 ; | |
994141e6 | 1851 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1852 | PyObject * obj2 = 0 ; |
1853 | char *kwnames[] = { | |
1854 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
1855 | }; | |
1856 | ||
994141e6 | 1857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1860 | arg2 = (int) SWIG_AsInt(obj1); | |
1861 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1862 | { |
1863 | arg3 = &temp3; | |
1864 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1865 | } | |
1866 | { | |
1867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1868 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
1869 | ||
1870 | wxPyEndAllowThreads(__tstate); | |
1871 | if (PyErr_Occurred()) SWIG_fail; | |
1872 | } | |
1873 | Py_INCREF(Py_None); resultobj = Py_None; | |
1874 | return resultobj; | |
1875 | fail: | |
1876 | return NULL; | |
1877 | } | |
1878 | ||
1879 | ||
a95a7133 | 1880 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1881 | PyObject *resultobj; |
1882 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1883 | int arg2 ; | |
1884 | wxColour *arg3 = 0 ; | |
1885 | wxColour temp3 ; | |
1886 | PyObject * obj0 = 0 ; | |
994141e6 | 1887 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1888 | PyObject * obj2 = 0 ; |
1889 | char *kwnames[] = { | |
1890 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
1891 | }; | |
1892 | ||
994141e6 | 1893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1894 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1896 | arg2 = (int) SWIG_AsInt(obj1); | |
1897 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1898 | { |
1899 | arg3 = &temp3; | |
1900 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1901 | } | |
1902 | { | |
1903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1904 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
1905 | ||
1906 | wxPyEndAllowThreads(__tstate); | |
1907 | if (PyErr_Occurred()) SWIG_fail; | |
1908 | } | |
1909 | Py_INCREF(Py_None); resultobj = Py_None; | |
1910 | return resultobj; | |
1911 | fail: | |
1912 | return NULL; | |
1913 | } | |
1914 | ||
1915 | ||
a95a7133 | 1916 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1917 | PyObject *resultobj; |
1918 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1919 | int arg2 ; | |
1920 | int arg3 ; | |
1921 | int result; | |
1922 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1923 | PyObject * obj1 = 0 ; |
1924 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1925 | char *kwnames[] = { |
1926 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
1927 | }; | |
1928 | ||
994141e6 | 1929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1932 | arg2 = (int) SWIG_AsInt(obj1); | |
1933 | if (PyErr_Occurred()) SWIG_fail; | |
1934 | arg3 = (int) SWIG_AsInt(obj2); | |
1935 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1936 | { |
1937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1938 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
1939 | ||
1940 | wxPyEndAllowThreads(__tstate); | |
1941 | if (PyErr_Occurred()) SWIG_fail; | |
1942 | } | |
15afbcd0 | 1943 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1944 | return resultobj; |
1945 | fail: | |
1946 | return NULL; | |
1947 | } | |
1948 | ||
1949 | ||
a95a7133 | 1950 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1951 | PyObject *resultobj; |
1952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1953 | int arg2 ; | |
1954 | int arg3 ; | |
1955 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1956 | PyObject * obj1 = 0 ; |
1957 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1958 | char *kwnames[] = { |
1959 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
1960 | }; | |
1961 | ||
994141e6 | 1962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1965 | arg2 = (int) SWIG_AsInt(obj1); | |
1966 | if (PyErr_Occurred()) SWIG_fail; | |
1967 | arg3 = (int) SWIG_AsInt(obj2); | |
1968 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1969 | { |
1970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1971 | (arg1)->MarkerDelete(arg2,arg3); | |
1972 | ||
1973 | wxPyEndAllowThreads(__tstate); | |
1974 | if (PyErr_Occurred()) SWIG_fail; | |
1975 | } | |
1976 | Py_INCREF(Py_None); resultobj = Py_None; | |
1977 | return resultobj; | |
1978 | fail: | |
1979 | return NULL; | |
1980 | } | |
1981 | ||
1982 | ||
a95a7133 | 1983 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1984 | PyObject *resultobj; |
1985 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1986 | int arg2 ; | |
1987 | PyObject * obj0 = 0 ; | |
994141e6 | 1988 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1989 | char *kwnames[] = { |
1990 | (char *) "self",(char *) "markerNumber", NULL | |
1991 | }; | |
1992 | ||
994141e6 | 1993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1996 | arg2 = (int) SWIG_AsInt(obj1); | |
1997 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1998 | { |
1999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2000 | (arg1)->MarkerDeleteAll(arg2); | |
2001 | ||
2002 | wxPyEndAllowThreads(__tstate); | |
2003 | if (PyErr_Occurred()) SWIG_fail; | |
2004 | } | |
2005 | Py_INCREF(Py_None); resultobj = Py_None; | |
2006 | return resultobj; | |
2007 | fail: | |
2008 | return NULL; | |
2009 | } | |
2010 | ||
2011 | ||
a95a7133 | 2012 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2013 | PyObject *resultobj; |
2014 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2015 | int arg2 ; | |
2016 | int result; | |
2017 | PyObject * obj0 = 0 ; | |
994141e6 | 2018 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2019 | char *kwnames[] = { |
2020 | (char *) "self",(char *) "line", NULL | |
2021 | }; | |
2022 | ||
994141e6 | 2023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2026 | arg2 = (int) SWIG_AsInt(obj1); | |
2027 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2028 | { |
2029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2030 | result = (int)(arg1)->MarkerGet(arg2); | |
2031 | ||
2032 | wxPyEndAllowThreads(__tstate); | |
2033 | if (PyErr_Occurred()) SWIG_fail; | |
2034 | } | |
15afbcd0 | 2035 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2036 | return resultobj; |
2037 | fail: | |
2038 | return NULL; | |
2039 | } | |
2040 | ||
2041 | ||
a95a7133 | 2042 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2043 | PyObject *resultobj; |
2044 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2045 | int arg2 ; | |
2046 | int arg3 ; | |
2047 | int result; | |
2048 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2049 | PyObject * obj1 = 0 ; |
2050 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2051 | char *kwnames[] = { |
2052 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2053 | }; | |
2054 | ||
994141e6 | 2055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2058 | arg2 = (int) SWIG_AsInt(obj1); | |
2059 | if (PyErr_Occurred()) SWIG_fail; | |
2060 | arg3 = (int) SWIG_AsInt(obj2); | |
2061 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2062 | { |
2063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2064 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
2065 | ||
2066 | wxPyEndAllowThreads(__tstate); | |
2067 | if (PyErr_Occurred()) SWIG_fail; | |
2068 | } | |
15afbcd0 | 2069 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2070 | return resultobj; |
2071 | fail: | |
2072 | return NULL; | |
2073 | } | |
2074 | ||
2075 | ||
a95a7133 | 2076 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2077 | PyObject *resultobj; |
2078 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2079 | int arg2 ; | |
2080 | int arg3 ; | |
2081 | int result; | |
2082 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2083 | PyObject * obj1 = 0 ; |
2084 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2085 | char *kwnames[] = { |
2086 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2087 | }; | |
2088 | ||
994141e6 | 2089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2092 | arg2 = (int) SWIG_AsInt(obj1); | |
2093 | if (PyErr_Occurred()) SWIG_fail; | |
2094 | arg3 = (int) SWIG_AsInt(obj2); | |
2095 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2096 | { |
2097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2098 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
2099 | ||
2100 | wxPyEndAllowThreads(__tstate); | |
2101 | if (PyErr_Occurred()) SWIG_fail; | |
2102 | } | |
15afbcd0 | 2103 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2104 | return resultobj; |
2105 | fail: | |
2106 | return NULL; | |
2107 | } | |
2108 | ||
2109 | ||
a95a7133 | 2110 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2111 | PyObject *resultobj; |
2112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2113 | int arg2 ; | |
2114 | wxBitmap *arg3 = 0 ; | |
2115 | PyObject * obj0 = 0 ; | |
994141e6 | 2116 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2117 | PyObject * obj2 = 0 ; |
2118 | char *kwnames[] = { | |
2119 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
2120 | }; | |
2121 | ||
994141e6 | 2122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2125 | arg2 = (int) SWIG_AsInt(obj1); | |
2126 | if (PyErr_Occurred()) SWIG_fail; | |
2127 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
2128 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2129 | SWIG_fail; | |
d14a1e28 | 2130 | if (arg3 == NULL) { |
15afbcd0 RD |
2131 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2132 | SWIG_fail; | |
d14a1e28 RD |
2133 | } |
2134 | { | |
2135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2136 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
2137 | ||
2138 | wxPyEndAllowThreads(__tstate); | |
2139 | if (PyErr_Occurred()) SWIG_fail; | |
2140 | } | |
2141 | Py_INCREF(Py_None); resultobj = Py_None; | |
2142 | return resultobj; | |
2143 | fail: | |
2144 | return NULL; | |
2145 | } | |
2146 | ||
2147 | ||
a95a7133 | 2148 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2149 | PyObject *resultobj; |
2150 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2151 | int arg2 ; | |
2152 | int arg3 ; | |
2153 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2154 | PyObject * obj1 = 0 ; |
2155 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2156 | char *kwnames[] = { |
2157 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
2158 | }; | |
2159 | ||
994141e6 | 2160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2163 | arg2 = (int) SWIG_AsInt(obj1); | |
2164 | if (PyErr_Occurred()) SWIG_fail; | |
2165 | arg3 = (int) SWIG_AsInt(obj2); | |
2166 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2167 | { |
2168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2169 | (arg1)->SetMarginType(arg2,arg3); | |
2170 | ||
2171 | wxPyEndAllowThreads(__tstate); | |
2172 | if (PyErr_Occurred()) SWIG_fail; | |
2173 | } | |
2174 | Py_INCREF(Py_None); resultobj = Py_None; | |
2175 | return resultobj; | |
2176 | fail: | |
2177 | return NULL; | |
2178 | } | |
2179 | ||
2180 | ||
a95a7133 | 2181 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2182 | PyObject *resultobj; |
2183 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2184 | int arg2 ; | |
2185 | int result; | |
2186 | PyObject * obj0 = 0 ; | |
994141e6 | 2187 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2188 | char *kwnames[] = { |
2189 | (char *) "self",(char *) "margin", NULL | |
2190 | }; | |
2191 | ||
994141e6 | 2192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2195 | arg2 = (int) SWIG_AsInt(obj1); | |
2196 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2197 | { |
2198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2199 | result = (int)(arg1)->GetMarginType(arg2); | |
2200 | ||
2201 | wxPyEndAllowThreads(__tstate); | |
2202 | if (PyErr_Occurred()) SWIG_fail; | |
2203 | } | |
15afbcd0 | 2204 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2205 | return resultobj; |
2206 | fail: | |
2207 | return NULL; | |
2208 | } | |
2209 | ||
2210 | ||
a95a7133 | 2211 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2212 | PyObject *resultobj; |
2213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2214 | int arg2 ; | |
2215 | int arg3 ; | |
2216 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2217 | PyObject * obj1 = 0 ; |
2218 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2219 | char *kwnames[] = { |
2220 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
2221 | }; | |
2222 | ||
994141e6 | 2223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2226 | arg2 = (int) SWIG_AsInt(obj1); | |
2227 | if (PyErr_Occurred()) SWIG_fail; | |
2228 | arg3 = (int) SWIG_AsInt(obj2); | |
2229 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2230 | { |
2231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2232 | (arg1)->SetMarginWidth(arg2,arg3); | |
2233 | ||
2234 | wxPyEndAllowThreads(__tstate); | |
2235 | if (PyErr_Occurred()) SWIG_fail; | |
2236 | } | |
2237 | Py_INCREF(Py_None); resultobj = Py_None; | |
2238 | return resultobj; | |
2239 | fail: | |
2240 | return NULL; | |
2241 | } | |
2242 | ||
2243 | ||
a95a7133 | 2244 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2245 | PyObject *resultobj; |
2246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2247 | int arg2 ; | |
2248 | int result; | |
2249 | PyObject * obj0 = 0 ; | |
994141e6 | 2250 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2251 | char *kwnames[] = { |
2252 | (char *) "self",(char *) "margin", NULL | |
2253 | }; | |
2254 | ||
994141e6 | 2255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2258 | arg2 = (int) SWIG_AsInt(obj1); | |
2259 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2260 | { |
2261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2262 | result = (int)(arg1)->GetMarginWidth(arg2); | |
2263 | ||
2264 | wxPyEndAllowThreads(__tstate); | |
2265 | if (PyErr_Occurred()) SWIG_fail; | |
2266 | } | |
15afbcd0 | 2267 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2268 | return resultobj; |
2269 | fail: | |
2270 | return NULL; | |
2271 | } | |
2272 | ||
2273 | ||
a95a7133 | 2274 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2275 | PyObject *resultobj; |
2276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2277 | int arg2 ; | |
2278 | int arg3 ; | |
2279 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2280 | PyObject * obj1 = 0 ; |
2281 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2282 | char *kwnames[] = { |
2283 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
2284 | }; | |
2285 | ||
994141e6 | 2286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2289 | arg2 = (int) SWIG_AsInt(obj1); | |
2290 | if (PyErr_Occurred()) SWIG_fail; | |
2291 | arg3 = (int) SWIG_AsInt(obj2); | |
2292 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2293 | { |
2294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2295 | (arg1)->SetMarginMask(arg2,arg3); | |
2296 | ||
2297 | wxPyEndAllowThreads(__tstate); | |
2298 | if (PyErr_Occurred()) SWIG_fail; | |
2299 | } | |
2300 | Py_INCREF(Py_None); resultobj = Py_None; | |
2301 | return resultobj; | |
2302 | fail: | |
2303 | return NULL; | |
2304 | } | |
2305 | ||
2306 | ||
a95a7133 | 2307 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2308 | PyObject *resultobj; |
2309 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2310 | int arg2 ; | |
2311 | int result; | |
2312 | PyObject * obj0 = 0 ; | |
994141e6 | 2313 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2314 | char *kwnames[] = { |
2315 | (char *) "self",(char *) "margin", NULL | |
2316 | }; | |
2317 | ||
994141e6 | 2318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2321 | arg2 = (int) SWIG_AsInt(obj1); | |
2322 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2323 | { |
2324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2325 | result = (int)(arg1)->GetMarginMask(arg2); | |
2326 | ||
2327 | wxPyEndAllowThreads(__tstate); | |
2328 | if (PyErr_Occurred()) SWIG_fail; | |
2329 | } | |
15afbcd0 | 2330 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2331 | return resultobj; |
2332 | fail: | |
2333 | return NULL; | |
2334 | } | |
2335 | ||
2336 | ||
a95a7133 | 2337 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2338 | PyObject *resultobj; |
2339 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2340 | int arg2 ; | |
2341 | bool arg3 ; | |
2342 | PyObject * obj0 = 0 ; | |
994141e6 | 2343 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2344 | PyObject * obj2 = 0 ; |
2345 | char *kwnames[] = { | |
2346 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
2347 | }; | |
2348 | ||
994141e6 | 2349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2352 | arg2 = (int) SWIG_AsInt(obj1); | |
2353 | if (PyErr_Occurred()) SWIG_fail; | |
2354 | arg3 = (bool) SWIG_AsBool(obj2); | |
2355 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2356 | { |
2357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2358 | (arg1)->SetMarginSensitive(arg2,arg3); | |
2359 | ||
2360 | wxPyEndAllowThreads(__tstate); | |
2361 | if (PyErr_Occurred()) SWIG_fail; | |
2362 | } | |
2363 | Py_INCREF(Py_None); resultobj = Py_None; | |
2364 | return resultobj; | |
2365 | fail: | |
2366 | return NULL; | |
2367 | } | |
2368 | ||
2369 | ||
a95a7133 | 2370 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2371 | PyObject *resultobj; |
2372 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2373 | int arg2 ; | |
2374 | bool result; | |
2375 | PyObject * obj0 = 0 ; | |
994141e6 | 2376 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2377 | char *kwnames[] = { |
2378 | (char *) "self",(char *) "margin", NULL | |
2379 | }; | |
2380 | ||
994141e6 | 2381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2384 | arg2 = (int) SWIG_AsInt(obj1); | |
2385 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2386 | { |
2387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2388 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
2389 | ||
2390 | wxPyEndAllowThreads(__tstate); | |
2391 | if (PyErr_Occurred()) SWIG_fail; | |
2392 | } | |
4f89f6a3 RD |
2393 | { |
2394 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2395 | } | |
d14a1e28 RD |
2396 | return resultobj; |
2397 | fail: | |
2398 | return NULL; | |
2399 | } | |
2400 | ||
2401 | ||
a95a7133 | 2402 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2403 | PyObject *resultobj; |
2404 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2405 | PyObject * obj0 = 0 ; | |
2406 | char *kwnames[] = { | |
2407 | (char *) "self", NULL | |
2408 | }; | |
2409 | ||
2410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2413 | { |
2414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2415 | (arg1)->StyleClearAll(); | |
2416 | ||
2417 | wxPyEndAllowThreads(__tstate); | |
2418 | if (PyErr_Occurred()) SWIG_fail; | |
2419 | } | |
2420 | Py_INCREF(Py_None); resultobj = Py_None; | |
2421 | return resultobj; | |
2422 | fail: | |
2423 | return NULL; | |
2424 | } | |
2425 | ||
2426 | ||
a95a7133 | 2427 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2428 | PyObject *resultobj; |
2429 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2430 | int arg2 ; | |
2431 | wxColour *arg3 = 0 ; | |
2432 | wxColour temp3 ; | |
2433 | PyObject * obj0 = 0 ; | |
994141e6 | 2434 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2435 | PyObject * obj2 = 0 ; |
2436 | char *kwnames[] = { | |
2437 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
2438 | }; | |
2439 | ||
994141e6 | 2440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2443 | arg2 = (int) SWIG_AsInt(obj1); | |
2444 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2445 | { |
2446 | arg3 = &temp3; | |
2447 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2448 | } | |
2449 | { | |
2450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2451 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
2452 | ||
2453 | wxPyEndAllowThreads(__tstate); | |
2454 | if (PyErr_Occurred()) SWIG_fail; | |
2455 | } | |
2456 | Py_INCREF(Py_None); resultobj = Py_None; | |
2457 | return resultobj; | |
2458 | fail: | |
2459 | return NULL; | |
2460 | } | |
2461 | ||
2462 | ||
a95a7133 | 2463 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2464 | PyObject *resultobj; |
2465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2466 | int arg2 ; | |
2467 | wxColour *arg3 = 0 ; | |
2468 | wxColour temp3 ; | |
2469 | PyObject * obj0 = 0 ; | |
994141e6 | 2470 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2471 | PyObject * obj2 = 0 ; |
2472 | char *kwnames[] = { | |
2473 | (char *) "self",(char *) "style",(char *) "back", NULL | |
2474 | }; | |
2475 | ||
994141e6 | 2476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2479 | arg2 = (int) SWIG_AsInt(obj1); | |
2480 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2481 | { |
2482 | arg3 = &temp3; | |
2483 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2484 | } | |
2485 | { | |
2486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2487 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
2488 | ||
2489 | wxPyEndAllowThreads(__tstate); | |
2490 | if (PyErr_Occurred()) SWIG_fail; | |
2491 | } | |
2492 | Py_INCREF(Py_None); resultobj = Py_None; | |
2493 | return resultobj; | |
2494 | fail: | |
2495 | return NULL; | |
2496 | } | |
2497 | ||
2498 | ||
a95a7133 | 2499 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2500 | PyObject *resultobj; |
2501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2502 | int arg2 ; | |
2503 | bool arg3 ; | |
2504 | PyObject * obj0 = 0 ; | |
994141e6 | 2505 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2506 | PyObject * obj2 = 0 ; |
2507 | char *kwnames[] = { | |
2508 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
2509 | }; | |
2510 | ||
994141e6 | 2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2514 | arg2 = (int) SWIG_AsInt(obj1); | |
2515 | if (PyErr_Occurred()) SWIG_fail; | |
2516 | arg3 = (bool) SWIG_AsBool(obj2); | |
2517 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2518 | { |
2519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2520 | (arg1)->StyleSetBold(arg2,arg3); | |
2521 | ||
2522 | wxPyEndAllowThreads(__tstate); | |
2523 | if (PyErr_Occurred()) SWIG_fail; | |
2524 | } | |
2525 | Py_INCREF(Py_None); resultobj = Py_None; | |
2526 | return resultobj; | |
2527 | fail: | |
2528 | return NULL; | |
2529 | } | |
2530 | ||
2531 | ||
a95a7133 | 2532 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2533 | PyObject *resultobj; |
2534 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2535 | int arg2 ; | |
2536 | bool arg3 ; | |
2537 | PyObject * obj0 = 0 ; | |
994141e6 | 2538 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2539 | PyObject * obj2 = 0 ; |
2540 | char *kwnames[] = { | |
2541 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
2542 | }; | |
2543 | ||
994141e6 | 2544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2547 | arg2 = (int) SWIG_AsInt(obj1); | |
2548 | if (PyErr_Occurred()) SWIG_fail; | |
2549 | arg3 = (bool) SWIG_AsBool(obj2); | |
2550 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2551 | { |
2552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2553 | (arg1)->StyleSetItalic(arg2,arg3); | |
2554 | ||
2555 | wxPyEndAllowThreads(__tstate); | |
2556 | if (PyErr_Occurred()) SWIG_fail; | |
2557 | } | |
2558 | Py_INCREF(Py_None); resultobj = Py_None; | |
2559 | return resultobj; | |
2560 | fail: | |
2561 | return NULL; | |
2562 | } | |
2563 | ||
2564 | ||
a95a7133 | 2565 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2566 | PyObject *resultobj; |
2567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2568 | int arg2 ; | |
2569 | int arg3 ; | |
2570 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2571 | PyObject * obj1 = 0 ; |
2572 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2573 | char *kwnames[] = { |
2574 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
2575 | }; | |
2576 | ||
994141e6 | 2577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2580 | arg2 = (int) SWIG_AsInt(obj1); | |
2581 | if (PyErr_Occurred()) SWIG_fail; | |
2582 | arg3 = (int) SWIG_AsInt(obj2); | |
2583 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2584 | { |
2585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2586 | (arg1)->StyleSetSize(arg2,arg3); | |
2587 | ||
2588 | wxPyEndAllowThreads(__tstate); | |
2589 | if (PyErr_Occurred()) SWIG_fail; | |
2590 | } | |
2591 | Py_INCREF(Py_None); resultobj = Py_None; | |
2592 | return resultobj; | |
2593 | fail: | |
2594 | return NULL; | |
2595 | } | |
2596 | ||
2597 | ||
a95a7133 | 2598 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2599 | PyObject *resultobj; |
2600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2601 | int arg2 ; | |
2602 | wxString *arg3 = 0 ; | |
e811c8ce | 2603 | bool temp3 = False ; |
d14a1e28 | 2604 | PyObject * obj0 = 0 ; |
994141e6 | 2605 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2606 | PyObject * obj2 = 0 ; |
2607 | char *kwnames[] = { | |
2608 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
2609 | }; | |
2610 | ||
994141e6 | 2611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2614 | arg2 = (int) SWIG_AsInt(obj1); | |
2615 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2616 | { |
2617 | arg3 = wxString_in_helper(obj2); | |
2618 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2619 | temp3 = True; |
d14a1e28 RD |
2620 | } |
2621 | { | |
2622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2623 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
2624 | ||
2625 | wxPyEndAllowThreads(__tstate); | |
2626 | if (PyErr_Occurred()) SWIG_fail; | |
2627 | } | |
2628 | Py_INCREF(Py_None); resultobj = Py_None; | |
2629 | { | |
2630 | if (temp3) | |
2631 | delete arg3; | |
2632 | } | |
2633 | return resultobj; | |
2634 | fail: | |
2635 | { | |
2636 | if (temp3) | |
2637 | delete arg3; | |
2638 | } | |
2639 | return NULL; | |
2640 | } | |
2641 | ||
2642 | ||
a95a7133 | 2643 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2644 | PyObject *resultobj; |
2645 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2646 | int arg2 ; | |
2647 | bool arg3 ; | |
2648 | PyObject * obj0 = 0 ; | |
994141e6 | 2649 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2650 | PyObject * obj2 = 0 ; |
2651 | char *kwnames[] = { | |
2652 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
2653 | }; | |
2654 | ||
994141e6 | 2655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2658 | arg2 = (int) SWIG_AsInt(obj1); | |
2659 | if (PyErr_Occurred()) SWIG_fail; | |
2660 | arg3 = (bool) SWIG_AsBool(obj2); | |
2661 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2662 | { |
2663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2664 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
2665 | ||
2666 | wxPyEndAllowThreads(__tstate); | |
2667 | if (PyErr_Occurred()) SWIG_fail; | |
2668 | } | |
2669 | Py_INCREF(Py_None); resultobj = Py_None; | |
2670 | return resultobj; | |
2671 | fail: | |
2672 | return NULL; | |
2673 | } | |
2674 | ||
2675 | ||
a95a7133 | 2676 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2677 | PyObject *resultobj; |
2678 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2679 | PyObject * obj0 = 0 ; | |
2680 | char *kwnames[] = { | |
2681 | (char *) "self", NULL | |
2682 | }; | |
2683 | ||
2684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2687 | { |
2688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2689 | (arg1)->StyleResetDefault(); | |
2690 | ||
2691 | wxPyEndAllowThreads(__tstate); | |
2692 | if (PyErr_Occurred()) SWIG_fail; | |
2693 | } | |
2694 | Py_INCREF(Py_None); resultobj = Py_None; | |
2695 | return resultobj; | |
2696 | fail: | |
2697 | return NULL; | |
2698 | } | |
2699 | ||
2700 | ||
a95a7133 | 2701 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2702 | PyObject *resultobj; |
2703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2704 | int arg2 ; | |
2705 | bool arg3 ; | |
2706 | PyObject * obj0 = 0 ; | |
994141e6 | 2707 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2708 | PyObject * obj2 = 0 ; |
2709 | char *kwnames[] = { | |
2710 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
2711 | }; | |
2712 | ||
994141e6 | 2713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2716 | arg2 = (int) SWIG_AsInt(obj1); | |
2717 | if (PyErr_Occurred()) SWIG_fail; | |
2718 | arg3 = (bool) SWIG_AsBool(obj2); | |
2719 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2720 | { |
2721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2722 | (arg1)->StyleSetUnderline(arg2,arg3); | |
2723 | ||
2724 | wxPyEndAllowThreads(__tstate); | |
2725 | if (PyErr_Occurred()) SWIG_fail; | |
2726 | } | |
2727 | Py_INCREF(Py_None); resultobj = Py_None; | |
2728 | return resultobj; | |
2729 | fail: | |
2730 | return NULL; | |
2731 | } | |
2732 | ||
2733 | ||
a95a7133 | 2734 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2735 | PyObject *resultobj; |
2736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2737 | int arg2 ; | |
2738 | int arg3 ; | |
2739 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2740 | PyObject * obj1 = 0 ; |
2741 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2742 | char *kwnames[] = { |
2743 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
2744 | }; | |
2745 | ||
994141e6 | 2746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2749 | arg2 = (int) SWIG_AsInt(obj1); | |
2750 | if (PyErr_Occurred()) SWIG_fail; | |
2751 | arg3 = (int) SWIG_AsInt(obj2); | |
2752 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2753 | { |
2754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2755 | (arg1)->StyleSetCase(arg2,arg3); | |
2756 | ||
2757 | wxPyEndAllowThreads(__tstate); | |
2758 | if (PyErr_Occurred()) SWIG_fail; | |
2759 | } | |
2760 | Py_INCREF(Py_None); resultobj = Py_None; | |
2761 | return resultobj; | |
2762 | fail: | |
2763 | return NULL; | |
2764 | } | |
2765 | ||
2766 | ||
a95a7133 | 2767 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2768 | PyObject *resultobj; |
2769 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2770 | int arg2 ; | |
2771 | int arg3 ; | |
2772 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2773 | PyObject * obj1 = 0 ; |
2774 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2775 | char *kwnames[] = { |
2776 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
2777 | }; | |
2778 | ||
994141e6 | 2779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2780 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2781 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2782 | arg2 = (int) SWIG_AsInt(obj1); | |
2783 | if (PyErr_Occurred()) SWIG_fail; | |
2784 | arg3 = (int) SWIG_AsInt(obj2); | |
2785 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2786 | { |
2787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2788 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
2789 | ||
2790 | wxPyEndAllowThreads(__tstate); | |
2791 | if (PyErr_Occurred()) SWIG_fail; | |
2792 | } | |
2793 | Py_INCREF(Py_None); resultobj = Py_None; | |
2794 | return resultobj; | |
2795 | fail: | |
2796 | return NULL; | |
2797 | } | |
2798 | ||
2799 | ||
a95a7133 | 2800 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2801 | PyObject *resultobj; |
2802 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2803 | int arg2 ; | |
2804 | bool arg3 ; | |
2805 | PyObject * obj0 = 0 ; | |
994141e6 | 2806 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2807 | PyObject * obj2 = 0 ; |
2808 | char *kwnames[] = { | |
2809 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
2810 | }; | |
2811 | ||
994141e6 | 2812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2815 | arg2 = (int) SWIG_AsInt(obj1); | |
2816 | if (PyErr_Occurred()) SWIG_fail; | |
2817 | arg3 = (bool) SWIG_AsBool(obj2); | |
2818 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2819 | { |
2820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2821 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
2822 | ||
2823 | wxPyEndAllowThreads(__tstate); | |
2824 | if (PyErr_Occurred()) SWIG_fail; | |
2825 | } | |
2826 | Py_INCREF(Py_None); resultobj = Py_None; | |
2827 | return resultobj; | |
2828 | fail: | |
2829 | return NULL; | |
2830 | } | |
2831 | ||
2832 | ||
a95a7133 | 2833 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2834 | PyObject *resultobj; |
2835 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2836 | bool arg2 ; | |
2837 | wxColour *arg3 = 0 ; | |
2838 | wxColour temp3 ; | |
2839 | PyObject * obj0 = 0 ; | |
2840 | PyObject * obj1 = 0 ; | |
2841 | PyObject * obj2 = 0 ; | |
2842 | char *kwnames[] = { | |
2843 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
2844 | }; | |
2845 | ||
2846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2849 | arg2 = (bool) SWIG_AsBool(obj1); | |
2850 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2851 | { |
2852 | arg3 = &temp3; | |
2853 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2854 | } | |
2855 | { | |
2856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2857 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
2858 | ||
2859 | wxPyEndAllowThreads(__tstate); | |
2860 | if (PyErr_Occurred()) SWIG_fail; | |
2861 | } | |
2862 | Py_INCREF(Py_None); resultobj = Py_None; | |
2863 | return resultobj; | |
2864 | fail: | |
2865 | return NULL; | |
2866 | } | |
2867 | ||
2868 | ||
a95a7133 | 2869 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2870 | PyObject *resultobj; |
2871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2872 | bool arg2 ; | |
2873 | wxColour *arg3 = 0 ; | |
2874 | wxColour temp3 ; | |
2875 | PyObject * obj0 = 0 ; | |
2876 | PyObject * obj1 = 0 ; | |
2877 | PyObject * obj2 = 0 ; | |
2878 | char *kwnames[] = { | |
2879 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
2880 | }; | |
2881 | ||
2882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2885 | arg2 = (bool) SWIG_AsBool(obj1); | |
2886 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2887 | { |
2888 | arg3 = &temp3; | |
2889 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2890 | } | |
2891 | { | |
2892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2893 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
2894 | ||
2895 | wxPyEndAllowThreads(__tstate); | |
2896 | if (PyErr_Occurred()) SWIG_fail; | |
2897 | } | |
2898 | Py_INCREF(Py_None); resultobj = Py_None; | |
2899 | return resultobj; | |
2900 | fail: | |
2901 | return NULL; | |
2902 | } | |
2903 | ||
2904 | ||
a95a7133 | 2905 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2906 | PyObject *resultobj; |
2907 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2908 | wxColour *arg2 = 0 ; | |
2909 | wxColour temp2 ; | |
2910 | PyObject * obj0 = 0 ; | |
2911 | PyObject * obj1 = 0 ; | |
2912 | char *kwnames[] = { | |
2913 | (char *) "self",(char *) "fore", NULL | |
2914 | }; | |
2915 | ||
2916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2919 | { |
2920 | arg2 = &temp2; | |
2921 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2922 | } | |
2923 | { | |
2924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2925 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
2926 | ||
2927 | wxPyEndAllowThreads(__tstate); | |
2928 | if (PyErr_Occurred()) SWIG_fail; | |
2929 | } | |
2930 | Py_INCREF(Py_None); resultobj = Py_None; | |
2931 | return resultobj; | |
2932 | fail: | |
2933 | return NULL; | |
2934 | } | |
2935 | ||
2936 | ||
a95a7133 | 2937 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2938 | PyObject *resultobj; |
2939 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2940 | int arg2 ; | |
2941 | int arg3 ; | |
2942 | int arg4 ; | |
2943 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2944 | PyObject * obj1 = 0 ; |
2945 | PyObject * obj2 = 0 ; | |
2946 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
2947 | char *kwnames[] = { |
2948 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
2949 | }; | |
2950 | ||
994141e6 | 2951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
2952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2954 | arg2 = (int) SWIG_AsInt(obj1); | |
2955 | if (PyErr_Occurred()) SWIG_fail; | |
2956 | arg3 = (int) SWIG_AsInt(obj2); | |
2957 | if (PyErr_Occurred()) SWIG_fail; | |
2958 | arg4 = (int) SWIG_AsInt(obj3); | |
2959 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2960 | { |
2961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2962 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
2963 | ||
2964 | wxPyEndAllowThreads(__tstate); | |
2965 | if (PyErr_Occurred()) SWIG_fail; | |
2966 | } | |
2967 | Py_INCREF(Py_None); resultobj = Py_None; | |
2968 | return resultobj; | |
2969 | fail: | |
2970 | return NULL; | |
2971 | } | |
2972 | ||
2973 | ||
a95a7133 | 2974 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2975 | PyObject *resultobj; |
2976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2977 | int arg2 ; | |
2978 | int arg3 ; | |
2979 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2980 | PyObject * obj1 = 0 ; |
2981 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2982 | char *kwnames[] = { |
2983 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
2984 | }; | |
2985 | ||
994141e6 | 2986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2989 | arg2 = (int) SWIG_AsInt(obj1); | |
2990 | if (PyErr_Occurred()) SWIG_fail; | |
2991 | arg3 = (int) SWIG_AsInt(obj2); | |
2992 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2993 | { |
2994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2995 | (arg1)->CmdKeyClear(arg2,arg3); | |
2996 | ||
2997 | wxPyEndAllowThreads(__tstate); | |
2998 | if (PyErr_Occurred()) SWIG_fail; | |
2999 | } | |
3000 | Py_INCREF(Py_None); resultobj = Py_None; | |
3001 | return resultobj; | |
3002 | fail: | |
3003 | return NULL; | |
3004 | } | |
3005 | ||
3006 | ||
a95a7133 | 3007 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3008 | PyObject *resultobj; |
3009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3010 | PyObject * obj0 = 0 ; | |
3011 | char *kwnames[] = { | |
3012 | (char *) "self", NULL | |
3013 | }; | |
3014 | ||
3015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3018 | { |
3019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3020 | (arg1)->CmdKeyClearAll(); | |
3021 | ||
3022 | wxPyEndAllowThreads(__tstate); | |
3023 | if (PyErr_Occurred()) SWIG_fail; | |
3024 | } | |
3025 | Py_INCREF(Py_None); resultobj = Py_None; | |
3026 | return resultobj; | |
3027 | fail: | |
3028 | return NULL; | |
3029 | } | |
3030 | ||
3031 | ||
a95a7133 | 3032 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3033 | PyObject *resultobj; |
3034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3035 | int arg2 ; | |
3036 | char *arg3 ; | |
3037 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3038 | PyObject * obj1 = 0 ; |
3039 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3040 | char *kwnames[] = { |
3041 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
3042 | }; | |
3043 | ||
994141e6 | 3044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3047 | arg2 = (int) SWIG_AsInt(obj1); | |
3048 | if (PyErr_Occurred()) SWIG_fail; | |
3049 | arg3 = SWIG_AsCharPtr(obj2); | |
3050 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3051 | { |
3052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3053 | (arg1)->SetStyleBytes(arg2,arg3); | |
3054 | ||
3055 | wxPyEndAllowThreads(__tstate); | |
3056 | if (PyErr_Occurred()) SWIG_fail; | |
3057 | } | |
3058 | Py_INCREF(Py_None); resultobj = Py_None; | |
3059 | return resultobj; | |
3060 | fail: | |
3061 | return NULL; | |
3062 | } | |
3063 | ||
3064 | ||
a95a7133 | 3065 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3066 | PyObject *resultobj; |
3067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3068 | int arg2 ; | |
3069 | bool arg3 ; | |
3070 | PyObject * obj0 = 0 ; | |
994141e6 | 3071 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3072 | PyObject * obj2 = 0 ; |
3073 | char *kwnames[] = { | |
3074 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
3075 | }; | |
3076 | ||
994141e6 | 3077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3080 | arg2 = (int) SWIG_AsInt(obj1); | |
3081 | if (PyErr_Occurred()) SWIG_fail; | |
3082 | arg3 = (bool) SWIG_AsBool(obj2); | |
3083 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3084 | { |
3085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3086 | (arg1)->StyleSetVisible(arg2,arg3); | |
3087 | ||
3088 | wxPyEndAllowThreads(__tstate); | |
3089 | if (PyErr_Occurred()) SWIG_fail; | |
3090 | } | |
3091 | Py_INCREF(Py_None); resultobj = Py_None; | |
3092 | return resultobj; | |
3093 | fail: | |
3094 | return NULL; | |
3095 | } | |
3096 | ||
3097 | ||
a95a7133 | 3098 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3099 | PyObject *resultobj; |
3100 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3101 | int result; | |
3102 | PyObject * obj0 = 0 ; | |
3103 | char *kwnames[] = { | |
3104 | (char *) "self", NULL | |
3105 | }; | |
3106 | ||
3107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3110 | { |
3111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3112 | result = (int)(arg1)->GetCaretPeriod(); | |
3113 | ||
3114 | wxPyEndAllowThreads(__tstate); | |
3115 | if (PyErr_Occurred()) SWIG_fail; | |
3116 | } | |
15afbcd0 | 3117 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3118 | return resultobj; |
3119 | fail: | |
3120 | return NULL; | |
3121 | } | |
3122 | ||
3123 | ||
a95a7133 | 3124 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3125 | PyObject *resultobj; |
3126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3127 | int arg2 ; | |
3128 | PyObject * obj0 = 0 ; | |
994141e6 | 3129 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3130 | char *kwnames[] = { |
3131 | (char *) "self",(char *) "periodMilliseconds", NULL | |
3132 | }; | |
3133 | ||
994141e6 | 3134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3137 | arg2 = (int) SWIG_AsInt(obj1); | |
3138 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3139 | { |
3140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3141 | (arg1)->SetCaretPeriod(arg2); | |
3142 | ||
3143 | wxPyEndAllowThreads(__tstate); | |
3144 | if (PyErr_Occurred()) SWIG_fail; | |
3145 | } | |
3146 | Py_INCREF(Py_None); resultobj = Py_None; | |
3147 | return resultobj; | |
3148 | fail: | |
3149 | return NULL; | |
3150 | } | |
3151 | ||
3152 | ||
a95a7133 | 3153 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3154 | PyObject *resultobj; |
3155 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3156 | wxString *arg2 = 0 ; | |
e811c8ce | 3157 | bool temp2 = False ; |
d14a1e28 RD |
3158 | PyObject * obj0 = 0 ; |
3159 | PyObject * obj1 = 0 ; | |
3160 | char *kwnames[] = { | |
3161 | (char *) "self",(char *) "characters", NULL | |
3162 | }; | |
3163 | ||
3164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3167 | { |
3168 | arg2 = wxString_in_helper(obj1); | |
3169 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3170 | temp2 = True; |
d14a1e28 RD |
3171 | } |
3172 | { | |
3173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3174 | (arg1)->SetWordChars((wxString const &)*arg2); | |
3175 | ||
3176 | wxPyEndAllowThreads(__tstate); | |
3177 | if (PyErr_Occurred()) SWIG_fail; | |
3178 | } | |
3179 | Py_INCREF(Py_None); resultobj = Py_None; | |
3180 | { | |
3181 | if (temp2) | |
3182 | delete arg2; | |
3183 | } | |
3184 | return resultobj; | |
3185 | fail: | |
3186 | { | |
3187 | if (temp2) | |
3188 | delete arg2; | |
3189 | } | |
3190 | return NULL; | |
3191 | } | |
3192 | ||
3193 | ||
a95a7133 | 3194 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3195 | PyObject *resultobj; |
3196 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3197 | PyObject * obj0 = 0 ; | |
3198 | char *kwnames[] = { | |
3199 | (char *) "self", NULL | |
3200 | }; | |
3201 | ||
3202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3205 | { |
3206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3207 | (arg1)->BeginUndoAction(); | |
3208 | ||
3209 | wxPyEndAllowThreads(__tstate); | |
3210 | if (PyErr_Occurred()) SWIG_fail; | |
3211 | } | |
3212 | Py_INCREF(Py_None); resultobj = Py_None; | |
3213 | return resultobj; | |
3214 | fail: | |
3215 | return NULL; | |
3216 | } | |
3217 | ||
3218 | ||
a95a7133 | 3219 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3220 | PyObject *resultobj; |
3221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3222 | PyObject * obj0 = 0 ; | |
3223 | char *kwnames[] = { | |
3224 | (char *) "self", NULL | |
3225 | }; | |
3226 | ||
3227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3230 | { |
3231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3232 | (arg1)->EndUndoAction(); | |
3233 | ||
3234 | wxPyEndAllowThreads(__tstate); | |
3235 | if (PyErr_Occurred()) SWIG_fail; | |
3236 | } | |
3237 | Py_INCREF(Py_None); resultobj = Py_None; | |
3238 | return resultobj; | |
3239 | fail: | |
3240 | return NULL; | |
3241 | } | |
3242 | ||
3243 | ||
a95a7133 | 3244 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3245 | PyObject *resultobj; |
3246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3247 | int arg2 ; | |
3248 | int arg3 ; | |
3249 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3250 | PyObject * obj1 = 0 ; |
3251 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3252 | char *kwnames[] = { |
3253 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
3254 | }; | |
3255 | ||
994141e6 | 3256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3259 | arg2 = (int) SWIG_AsInt(obj1); | |
3260 | if (PyErr_Occurred()) SWIG_fail; | |
3261 | arg3 = (int) SWIG_AsInt(obj2); | |
3262 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3263 | { |
3264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3265 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
3266 | ||
3267 | wxPyEndAllowThreads(__tstate); | |
3268 | if (PyErr_Occurred()) SWIG_fail; | |
3269 | } | |
3270 | Py_INCREF(Py_None); resultobj = Py_None; | |
3271 | return resultobj; | |
3272 | fail: | |
3273 | return NULL; | |
3274 | } | |
3275 | ||
3276 | ||
a95a7133 | 3277 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3278 | PyObject *resultobj; |
3279 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3280 | int arg2 ; | |
3281 | int result; | |
3282 | PyObject * obj0 = 0 ; | |
994141e6 | 3283 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3284 | char *kwnames[] = { |
3285 | (char *) "self",(char *) "indic", NULL | |
3286 | }; | |
3287 | ||
994141e6 | 3288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3291 | arg2 = (int) SWIG_AsInt(obj1); | |
3292 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3293 | { |
3294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3295 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
3296 | ||
3297 | wxPyEndAllowThreads(__tstate); | |
3298 | if (PyErr_Occurred()) SWIG_fail; | |
3299 | } | |
15afbcd0 | 3300 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3301 | return resultobj; |
3302 | fail: | |
3303 | return NULL; | |
3304 | } | |
3305 | ||
3306 | ||
a95a7133 | 3307 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3308 | PyObject *resultobj; |
3309 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3310 | int arg2 ; | |
3311 | wxColour *arg3 = 0 ; | |
3312 | wxColour temp3 ; | |
3313 | PyObject * obj0 = 0 ; | |
994141e6 | 3314 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3315 | PyObject * obj2 = 0 ; |
3316 | char *kwnames[] = { | |
3317 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
3318 | }; | |
3319 | ||
994141e6 | 3320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3321 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3322 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3323 | arg2 = (int) SWIG_AsInt(obj1); | |
3324 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3325 | { |
3326 | arg3 = &temp3; | |
3327 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3328 | } | |
3329 | { | |
3330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3331 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
3332 | ||
3333 | wxPyEndAllowThreads(__tstate); | |
3334 | if (PyErr_Occurred()) SWIG_fail; | |
3335 | } | |
3336 | Py_INCREF(Py_None); resultobj = Py_None; | |
3337 | return resultobj; | |
3338 | fail: | |
3339 | return NULL; | |
3340 | } | |
3341 | ||
3342 | ||
a95a7133 | 3343 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3344 | PyObject *resultobj; |
3345 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3346 | int arg2 ; | |
3347 | wxColour result; | |
3348 | PyObject * obj0 = 0 ; | |
994141e6 | 3349 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3350 | char *kwnames[] = { |
3351 | (char *) "self",(char *) "indic", NULL | |
3352 | }; | |
3353 | ||
994141e6 | 3354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3355 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3356 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3357 | arg2 = (int) SWIG_AsInt(obj1); | |
3358 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3359 | { |
3360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3361 | result = (arg1)->IndicatorGetForeground(arg2); | |
3362 | ||
3363 | wxPyEndAllowThreads(__tstate); | |
3364 | if (PyErr_Occurred()) SWIG_fail; | |
3365 | } | |
3366 | { | |
3367 | wxColour * resultptr; | |
3368 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 3369 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3370 | } |
3371 | return resultobj; | |
3372 | fail: | |
3373 | return NULL; | |
3374 | } | |
3375 | ||
3376 | ||
a95a7133 | 3377 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3378 | PyObject *resultobj; |
3379 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3380 | bool arg2 ; | |
3381 | wxColour *arg3 = 0 ; | |
3382 | wxColour temp3 ; | |
3383 | PyObject * obj0 = 0 ; | |
3384 | PyObject * obj1 = 0 ; | |
3385 | PyObject * obj2 = 0 ; | |
3386 | char *kwnames[] = { | |
3387 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
3388 | }; | |
3389 | ||
3390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3393 | arg2 = (bool) SWIG_AsBool(obj1); | |
3394 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3395 | { |
3396 | arg3 = &temp3; | |
3397 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3398 | } | |
3399 | { | |
3400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3401 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
3402 | ||
3403 | wxPyEndAllowThreads(__tstate); | |
3404 | if (PyErr_Occurred()) SWIG_fail; | |
3405 | } | |
3406 | Py_INCREF(Py_None); resultobj = Py_None; | |
3407 | return resultobj; | |
3408 | fail: | |
3409 | return NULL; | |
3410 | } | |
3411 | ||
3412 | ||
a95a7133 | 3413 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3414 | PyObject *resultobj; |
3415 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3416 | bool arg2 ; | |
3417 | wxColour *arg3 = 0 ; | |
3418 | wxColour temp3 ; | |
3419 | PyObject * obj0 = 0 ; | |
3420 | PyObject * obj1 = 0 ; | |
3421 | PyObject * obj2 = 0 ; | |
3422 | char *kwnames[] = { | |
3423 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
3424 | }; | |
3425 | ||
3426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3429 | arg2 = (bool) SWIG_AsBool(obj1); | |
3430 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3431 | { |
3432 | arg3 = &temp3; | |
3433 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3434 | } | |
3435 | { | |
3436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3437 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
3438 | ||
3439 | wxPyEndAllowThreads(__tstate); | |
3440 | if (PyErr_Occurred()) SWIG_fail; | |
3441 | } | |
3442 | Py_INCREF(Py_None); resultobj = Py_None; | |
3443 | return resultobj; | |
3444 | fail: | |
3445 | return NULL; | |
3446 | } | |
3447 | ||
3448 | ||
a95a7133 | 3449 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3450 | PyObject *resultobj; |
3451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3452 | int arg2 ; | |
3453 | PyObject * obj0 = 0 ; | |
994141e6 | 3454 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3455 | char *kwnames[] = { |
3456 | (char *) "self",(char *) "bits", NULL | |
3457 | }; | |
3458 | ||
994141e6 | 3459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3462 | arg2 = (int) SWIG_AsInt(obj1); | |
3463 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3464 | { |
3465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3466 | (arg1)->SetStyleBits(arg2); | |
3467 | ||
3468 | wxPyEndAllowThreads(__tstate); | |
3469 | if (PyErr_Occurred()) SWIG_fail; | |
3470 | } | |
3471 | Py_INCREF(Py_None); resultobj = Py_None; | |
3472 | return resultobj; | |
3473 | fail: | |
3474 | return NULL; | |
3475 | } | |
3476 | ||
3477 | ||
a95a7133 | 3478 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3479 | PyObject *resultobj; |
3480 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3481 | int result; | |
3482 | PyObject * obj0 = 0 ; | |
3483 | char *kwnames[] = { | |
3484 | (char *) "self", NULL | |
3485 | }; | |
3486 | ||
3487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3490 | { |
3491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3492 | result = (int)(arg1)->GetStyleBits(); | |
3493 | ||
3494 | wxPyEndAllowThreads(__tstate); | |
3495 | if (PyErr_Occurred()) SWIG_fail; | |
3496 | } | |
15afbcd0 | 3497 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3498 | return resultobj; |
3499 | fail: | |
3500 | return NULL; | |
3501 | } | |
3502 | ||
3503 | ||
a95a7133 | 3504 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3505 | PyObject *resultobj; |
3506 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3507 | int arg2 ; | |
3508 | int arg3 ; | |
3509 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3510 | PyObject * obj1 = 0 ; |
3511 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3512 | char *kwnames[] = { |
3513 | (char *) "self",(char *) "line",(char *) "state", NULL | |
3514 | }; | |
3515 | ||
994141e6 | 3516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3519 | arg2 = (int) SWIG_AsInt(obj1); | |
3520 | if (PyErr_Occurred()) SWIG_fail; | |
3521 | arg3 = (int) SWIG_AsInt(obj2); | |
3522 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3523 | { |
3524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3525 | (arg1)->SetLineState(arg2,arg3); | |
3526 | ||
3527 | wxPyEndAllowThreads(__tstate); | |
3528 | if (PyErr_Occurred()) SWIG_fail; | |
3529 | } | |
3530 | Py_INCREF(Py_None); resultobj = Py_None; | |
3531 | return resultobj; | |
3532 | fail: | |
3533 | return NULL; | |
3534 | } | |
3535 | ||
3536 | ||
a95a7133 | 3537 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3538 | PyObject *resultobj; |
3539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3540 | int arg2 ; | |
3541 | int result; | |
3542 | PyObject * obj0 = 0 ; | |
994141e6 | 3543 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3544 | char *kwnames[] = { |
3545 | (char *) "self",(char *) "line", NULL | |
3546 | }; | |
3547 | ||
994141e6 | 3548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3551 | arg2 = (int) SWIG_AsInt(obj1); | |
3552 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3553 | { |
3554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3555 | result = (int)(arg1)->GetLineState(arg2); | |
3556 | ||
3557 | wxPyEndAllowThreads(__tstate); | |
3558 | if (PyErr_Occurred()) SWIG_fail; | |
3559 | } | |
15afbcd0 | 3560 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3561 | return resultobj; |
3562 | fail: | |
3563 | return NULL; | |
3564 | } | |
3565 | ||
3566 | ||
a95a7133 | 3567 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3568 | PyObject *resultobj; |
3569 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3570 | int result; | |
3571 | PyObject * obj0 = 0 ; | |
3572 | char *kwnames[] = { | |
3573 | (char *) "self", NULL | |
3574 | }; | |
3575 | ||
3576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3579 | { |
3580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3581 | result = (int)(arg1)->GetMaxLineState(); | |
3582 | ||
3583 | wxPyEndAllowThreads(__tstate); | |
3584 | if (PyErr_Occurred()) SWIG_fail; | |
3585 | } | |
15afbcd0 | 3586 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3587 | return resultobj; |
3588 | fail: | |
3589 | return NULL; | |
3590 | } | |
3591 | ||
3592 | ||
a95a7133 | 3593 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3594 | PyObject *resultobj; |
3595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3596 | bool result; | |
3597 | PyObject * obj0 = 0 ; | |
3598 | char *kwnames[] = { | |
3599 | (char *) "self", NULL | |
3600 | }; | |
3601 | ||
3602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3605 | { |
3606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3607 | result = (bool)(arg1)->GetCaretLineVisible(); | |
3608 | ||
3609 | wxPyEndAllowThreads(__tstate); | |
3610 | if (PyErr_Occurred()) SWIG_fail; | |
3611 | } | |
4f89f6a3 RD |
3612 | { |
3613 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3614 | } | |
d14a1e28 RD |
3615 | return resultobj; |
3616 | fail: | |
3617 | return NULL; | |
3618 | } | |
3619 | ||
3620 | ||
a95a7133 | 3621 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3622 | PyObject *resultobj; |
3623 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3624 | bool arg2 ; | |
3625 | PyObject * obj0 = 0 ; | |
3626 | PyObject * obj1 = 0 ; | |
3627 | char *kwnames[] = { | |
3628 | (char *) "self",(char *) "show", NULL | |
3629 | }; | |
3630 | ||
3631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3632 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3634 | arg2 = (bool) SWIG_AsBool(obj1); | |
3635 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3636 | { |
3637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3638 | (arg1)->SetCaretLineVisible(arg2); | |
3639 | ||
3640 | wxPyEndAllowThreads(__tstate); | |
3641 | if (PyErr_Occurred()) SWIG_fail; | |
3642 | } | |
3643 | Py_INCREF(Py_None); resultobj = Py_None; | |
3644 | return resultobj; | |
3645 | fail: | |
3646 | return NULL; | |
3647 | } | |
3648 | ||
3649 | ||
a95a7133 | 3650 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3651 | PyObject *resultobj; |
3652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3653 | wxColour result; | |
3654 | PyObject * obj0 = 0 ; | |
3655 | char *kwnames[] = { | |
3656 | (char *) "self", NULL | |
3657 | }; | |
3658 | ||
3659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3662 | { |
3663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3664 | result = (arg1)->GetCaretLineBack(); | |
3665 | ||
3666 | wxPyEndAllowThreads(__tstate); | |
3667 | if (PyErr_Occurred()) SWIG_fail; | |
3668 | } | |
3669 | { | |
3670 | wxColour * resultptr; | |
3671 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 3672 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3673 | } |
3674 | return resultobj; | |
3675 | fail: | |
3676 | return NULL; | |
3677 | } | |
3678 | ||
3679 | ||
a95a7133 | 3680 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3681 | PyObject *resultobj; |
3682 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3683 | wxColour *arg2 = 0 ; | |
3684 | wxColour temp2 ; | |
3685 | PyObject * obj0 = 0 ; | |
3686 | PyObject * obj1 = 0 ; | |
3687 | char *kwnames[] = { | |
3688 | (char *) "self",(char *) "back", NULL | |
3689 | }; | |
3690 | ||
3691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3694 | { |
3695 | arg2 = &temp2; | |
3696 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3697 | } | |
3698 | { | |
3699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3700 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
3701 | ||
3702 | wxPyEndAllowThreads(__tstate); | |
3703 | if (PyErr_Occurred()) SWIG_fail; | |
3704 | } | |
3705 | Py_INCREF(Py_None); resultobj = Py_None; | |
3706 | return resultobj; | |
3707 | fail: | |
3708 | return NULL; | |
3709 | } | |
3710 | ||
3711 | ||
a95a7133 | 3712 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3713 | PyObject *resultobj; |
3714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3715 | int arg2 ; | |
3716 | bool arg3 ; | |
3717 | PyObject * obj0 = 0 ; | |
994141e6 | 3718 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3719 | PyObject * obj2 = 0 ; |
3720 | char *kwnames[] = { | |
3721 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
3722 | }; | |
3723 | ||
994141e6 | 3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3727 | arg2 = (int) SWIG_AsInt(obj1); | |
3728 | if (PyErr_Occurred()) SWIG_fail; | |
3729 | arg3 = (bool) SWIG_AsBool(obj2); | |
3730 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3731 | { |
3732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3733 | (arg1)->StyleSetChangeable(arg2,arg3); | |
3734 | ||
3735 | wxPyEndAllowThreads(__tstate); | |
3736 | if (PyErr_Occurred()) SWIG_fail; | |
3737 | } | |
3738 | Py_INCREF(Py_None); resultobj = Py_None; | |
3739 | return resultobj; | |
3740 | fail: | |
3741 | return NULL; | |
3742 | } | |
3743 | ||
3744 | ||
a95a7133 | 3745 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3746 | PyObject *resultobj; |
3747 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3748 | int arg2 ; | |
3749 | wxString *arg3 = 0 ; | |
e811c8ce | 3750 | bool temp3 = False ; |
d14a1e28 | 3751 | PyObject * obj0 = 0 ; |
994141e6 | 3752 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3753 | PyObject * obj2 = 0 ; |
3754 | char *kwnames[] = { | |
3755 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
3756 | }; | |
3757 | ||
994141e6 | 3758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3761 | arg2 = (int) SWIG_AsInt(obj1); | |
3762 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3763 | { |
3764 | arg3 = wxString_in_helper(obj2); | |
3765 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3766 | temp3 = True; |
d14a1e28 RD |
3767 | } |
3768 | { | |
3769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3770 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
3771 | ||
3772 | wxPyEndAllowThreads(__tstate); | |
3773 | if (PyErr_Occurred()) SWIG_fail; | |
3774 | } | |
3775 | Py_INCREF(Py_None); resultobj = Py_None; | |
3776 | { | |
3777 | if (temp3) | |
3778 | delete arg3; | |
3779 | } | |
3780 | return resultobj; | |
3781 | fail: | |
3782 | { | |
3783 | if (temp3) | |
3784 | delete arg3; | |
3785 | } | |
3786 | return NULL; | |
3787 | } | |
3788 | ||
3789 | ||
a95a7133 | 3790 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3791 | PyObject *resultobj; |
3792 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3793 | PyObject * obj0 = 0 ; | |
3794 | char *kwnames[] = { | |
3795 | (char *) "self", NULL | |
3796 | }; | |
3797 | ||
3798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3801 | { |
3802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3803 | (arg1)->AutoCompCancel(); | |
3804 | ||
3805 | wxPyEndAllowThreads(__tstate); | |
3806 | if (PyErr_Occurred()) SWIG_fail; | |
3807 | } | |
3808 | Py_INCREF(Py_None); resultobj = Py_None; | |
3809 | return resultobj; | |
3810 | fail: | |
3811 | return NULL; | |
3812 | } | |
3813 | ||
3814 | ||
a95a7133 | 3815 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3816 | PyObject *resultobj; |
3817 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3818 | bool result; | |
3819 | PyObject * obj0 = 0 ; | |
3820 | char *kwnames[] = { | |
3821 | (char *) "self", NULL | |
3822 | }; | |
3823 | ||
3824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3827 | { |
3828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3829 | result = (bool)(arg1)->AutoCompActive(); | |
3830 | ||
3831 | wxPyEndAllowThreads(__tstate); | |
3832 | if (PyErr_Occurred()) SWIG_fail; | |
3833 | } | |
4f89f6a3 RD |
3834 | { |
3835 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3836 | } | |
d14a1e28 RD |
3837 | return resultobj; |
3838 | fail: | |
3839 | return NULL; | |
3840 | } | |
3841 | ||
3842 | ||
a95a7133 | 3843 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3844 | PyObject *resultobj; |
3845 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3846 | int result; | |
3847 | PyObject * obj0 = 0 ; | |
3848 | char *kwnames[] = { | |
3849 | (char *) "self", NULL | |
3850 | }; | |
3851 | ||
3852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3855 | { |
3856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3857 | result = (int)(arg1)->AutoCompPosStart(); | |
3858 | ||
3859 | wxPyEndAllowThreads(__tstate); | |
3860 | if (PyErr_Occurred()) SWIG_fail; | |
3861 | } | |
15afbcd0 | 3862 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3863 | return resultobj; |
3864 | fail: | |
3865 | return NULL; | |
3866 | } | |
3867 | ||
3868 | ||
a95a7133 | 3869 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3870 | PyObject *resultobj; |
3871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3872 | PyObject * obj0 = 0 ; | |
3873 | char *kwnames[] = { | |
3874 | (char *) "self", NULL | |
3875 | }; | |
3876 | ||
3877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3880 | { |
3881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3882 | (arg1)->AutoCompComplete(); | |
3883 | ||
3884 | wxPyEndAllowThreads(__tstate); | |
3885 | if (PyErr_Occurred()) SWIG_fail; | |
3886 | } | |
3887 | Py_INCREF(Py_None); resultobj = Py_None; | |
3888 | return resultobj; | |
3889 | fail: | |
3890 | return NULL; | |
3891 | } | |
3892 | ||
3893 | ||
a95a7133 | 3894 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3895 | PyObject *resultobj; |
3896 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3897 | wxString *arg2 = 0 ; | |
e811c8ce | 3898 | bool temp2 = False ; |
d14a1e28 RD |
3899 | PyObject * obj0 = 0 ; |
3900 | PyObject * obj1 = 0 ; | |
3901 | char *kwnames[] = { | |
3902 | (char *) "self",(char *) "characterSet", NULL | |
3903 | }; | |
3904 | ||
3905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3908 | { |
3909 | arg2 = wxString_in_helper(obj1); | |
3910 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3911 | temp2 = True; |
d14a1e28 RD |
3912 | } |
3913 | { | |
3914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3915 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
3916 | ||
3917 | wxPyEndAllowThreads(__tstate); | |
3918 | if (PyErr_Occurred()) SWIG_fail; | |
3919 | } | |
3920 | Py_INCREF(Py_None); resultobj = Py_None; | |
3921 | { | |
3922 | if (temp2) | |
3923 | delete arg2; | |
3924 | } | |
3925 | return resultobj; | |
3926 | fail: | |
3927 | { | |
3928 | if (temp2) | |
3929 | delete arg2; | |
3930 | } | |
3931 | return NULL; | |
3932 | } | |
3933 | ||
3934 | ||
a95a7133 | 3935 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3936 | PyObject *resultobj; |
3937 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3938 | int arg2 ; | |
3939 | PyObject * obj0 = 0 ; | |
994141e6 | 3940 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3941 | char *kwnames[] = { |
3942 | (char *) "self",(char *) "separatorCharacter", NULL | |
3943 | }; | |
3944 | ||
994141e6 | 3945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3946 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3947 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3948 | arg2 = (int) SWIG_AsInt(obj1); | |
3949 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3950 | { |
3951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3952 | (arg1)->AutoCompSetSeparator(arg2); | |
3953 | ||
3954 | wxPyEndAllowThreads(__tstate); | |
3955 | if (PyErr_Occurred()) SWIG_fail; | |
3956 | } | |
3957 | Py_INCREF(Py_None); resultobj = Py_None; | |
3958 | return resultobj; | |
3959 | fail: | |
3960 | return NULL; | |
3961 | } | |
3962 | ||
3963 | ||
a95a7133 | 3964 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3965 | PyObject *resultobj; |
3966 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3967 | int result; | |
3968 | PyObject * obj0 = 0 ; | |
3969 | char *kwnames[] = { | |
3970 | (char *) "self", NULL | |
3971 | }; | |
3972 | ||
3973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3976 | { |
3977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3978 | result = (int)(arg1)->AutoCompGetSeparator(); | |
3979 | ||
3980 | wxPyEndAllowThreads(__tstate); | |
3981 | if (PyErr_Occurred()) SWIG_fail; | |
3982 | } | |
15afbcd0 | 3983 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3984 | return resultobj; |
3985 | fail: | |
3986 | return NULL; | |
3987 | } | |
3988 | ||
3989 | ||
a95a7133 | 3990 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3991 | PyObject *resultobj; |
3992 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3993 | wxString *arg2 = 0 ; | |
e811c8ce | 3994 | bool temp2 = False ; |
d14a1e28 RD |
3995 | PyObject * obj0 = 0 ; |
3996 | PyObject * obj1 = 0 ; | |
3997 | char *kwnames[] = { | |
3998 | (char *) "self",(char *) "text", NULL | |
3999 | }; | |
4000 | ||
4001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4004 | { |
4005 | arg2 = wxString_in_helper(obj1); | |
4006 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4007 | temp2 = True; |
d14a1e28 RD |
4008 | } |
4009 | { | |
4010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4011 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
4012 | ||
4013 | wxPyEndAllowThreads(__tstate); | |
4014 | if (PyErr_Occurred()) SWIG_fail; | |
4015 | } | |
4016 | Py_INCREF(Py_None); resultobj = Py_None; | |
4017 | { | |
4018 | if (temp2) | |
4019 | delete arg2; | |
4020 | } | |
4021 | return resultobj; | |
4022 | fail: | |
4023 | { | |
4024 | if (temp2) | |
4025 | delete arg2; | |
4026 | } | |
4027 | return NULL; | |
4028 | } | |
4029 | ||
4030 | ||
a95a7133 | 4031 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4032 | PyObject *resultobj; |
4033 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4034 | bool arg2 ; | |
4035 | PyObject * obj0 = 0 ; | |
4036 | PyObject * obj1 = 0 ; | |
4037 | char *kwnames[] = { | |
4038 | (char *) "self",(char *) "cancel", NULL | |
4039 | }; | |
4040 | ||
4041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4044 | arg2 = (bool) SWIG_AsBool(obj1); | |
4045 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4046 | { |
4047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4048 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
4049 | ||
4050 | wxPyEndAllowThreads(__tstate); | |
4051 | if (PyErr_Occurred()) SWIG_fail; | |
4052 | } | |
4053 | Py_INCREF(Py_None); resultobj = Py_None; | |
4054 | return resultobj; | |
4055 | fail: | |
4056 | return NULL; | |
4057 | } | |
4058 | ||
4059 | ||
a95a7133 | 4060 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4061 | PyObject *resultobj; |
4062 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4063 | bool result; | |
4064 | PyObject * obj0 = 0 ; | |
4065 | char *kwnames[] = { | |
4066 | (char *) "self", NULL | |
4067 | }; | |
4068 | ||
4069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4072 | { |
4073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4074 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
4075 | ||
4076 | wxPyEndAllowThreads(__tstate); | |
4077 | if (PyErr_Occurred()) SWIG_fail; | |
4078 | } | |
4f89f6a3 RD |
4079 | { |
4080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4081 | } | |
d14a1e28 RD |
4082 | return resultobj; |
4083 | fail: | |
4084 | return NULL; | |
4085 | } | |
4086 | ||
4087 | ||
a95a7133 | 4088 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4089 | PyObject *resultobj; |
4090 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4091 | wxString *arg2 = 0 ; | |
e811c8ce | 4092 | bool temp2 = False ; |
d14a1e28 RD |
4093 | PyObject * obj0 = 0 ; |
4094 | PyObject * obj1 = 0 ; | |
4095 | char *kwnames[] = { | |
4096 | (char *) "self",(char *) "characterSet", NULL | |
4097 | }; | |
4098 | ||
4099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4102 | { |
4103 | arg2 = wxString_in_helper(obj1); | |
4104 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4105 | temp2 = True; |
d14a1e28 RD |
4106 | } |
4107 | { | |
4108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4109 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
4110 | ||
4111 | wxPyEndAllowThreads(__tstate); | |
4112 | if (PyErr_Occurred()) SWIG_fail; | |
4113 | } | |
4114 | Py_INCREF(Py_None); resultobj = Py_None; | |
4115 | { | |
4116 | if (temp2) | |
4117 | delete arg2; | |
4118 | } | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | { | |
4122 | if (temp2) | |
4123 | delete arg2; | |
4124 | } | |
4125 | return NULL; | |
4126 | } | |
4127 | ||
4128 | ||
a95a7133 | 4129 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4130 | PyObject *resultobj; |
4131 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4132 | bool arg2 ; | |
4133 | PyObject * obj0 = 0 ; | |
4134 | PyObject * obj1 = 0 ; | |
4135 | char *kwnames[] = { | |
4136 | (char *) "self",(char *) "chooseSingle", NULL | |
4137 | }; | |
4138 | ||
4139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4142 | arg2 = (bool) SWIG_AsBool(obj1); | |
4143 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4144 | { |
4145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4146 | (arg1)->AutoCompSetChooseSingle(arg2); | |
4147 | ||
4148 | wxPyEndAllowThreads(__tstate); | |
4149 | if (PyErr_Occurred()) SWIG_fail; | |
4150 | } | |
4151 | Py_INCREF(Py_None); resultobj = Py_None; | |
4152 | return resultobj; | |
4153 | fail: | |
4154 | return NULL; | |
4155 | } | |
4156 | ||
4157 | ||
a95a7133 | 4158 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4159 | PyObject *resultobj; |
4160 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4161 | bool result; | |
4162 | PyObject * obj0 = 0 ; | |
4163 | char *kwnames[] = { | |
4164 | (char *) "self", NULL | |
4165 | }; | |
4166 | ||
4167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4168 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4169 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4170 | { |
4171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4172 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
4173 | ||
4174 | wxPyEndAllowThreads(__tstate); | |
4175 | if (PyErr_Occurred()) SWIG_fail; | |
4176 | } | |
4f89f6a3 RD |
4177 | { |
4178 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4179 | } | |
d14a1e28 RD |
4180 | return resultobj; |
4181 | fail: | |
4182 | return NULL; | |
4183 | } | |
4184 | ||
4185 | ||
a95a7133 | 4186 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4187 | PyObject *resultobj; |
4188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4189 | bool arg2 ; | |
4190 | PyObject * obj0 = 0 ; | |
4191 | PyObject * obj1 = 0 ; | |
4192 | char *kwnames[] = { | |
4193 | (char *) "self",(char *) "ignoreCase", NULL | |
4194 | }; | |
4195 | ||
4196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",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; | |
4199 | arg2 = (bool) SWIG_AsBool(obj1); | |
4200 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4201 | { |
4202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4203 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
4204 | ||
4205 | wxPyEndAllowThreads(__tstate); | |
4206 | if (PyErr_Occurred()) SWIG_fail; | |
4207 | } | |
4208 | Py_INCREF(Py_None); resultobj = Py_None; | |
4209 | return resultobj; | |
4210 | fail: | |
4211 | return NULL; | |
4212 | } | |
4213 | ||
4214 | ||
a95a7133 | 4215 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4216 | PyObject *resultobj; |
4217 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4218 | bool result; | |
4219 | PyObject * obj0 = 0 ; | |
4220 | char *kwnames[] = { | |
4221 | (char *) "self", NULL | |
4222 | }; | |
4223 | ||
4224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4227 | { |
4228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4229 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
4230 | ||
4231 | wxPyEndAllowThreads(__tstate); | |
4232 | if (PyErr_Occurred()) SWIG_fail; | |
4233 | } | |
4f89f6a3 RD |
4234 | { |
4235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4236 | } | |
d14a1e28 RD |
4237 | return resultobj; |
4238 | fail: | |
4239 | return NULL; | |
4240 | } | |
4241 | ||
4242 | ||
a95a7133 | 4243 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4244 | PyObject *resultobj; |
4245 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4246 | int arg2 ; | |
4247 | wxString *arg3 = 0 ; | |
e811c8ce | 4248 | bool temp3 = False ; |
d14a1e28 | 4249 | PyObject * obj0 = 0 ; |
994141e6 | 4250 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4251 | PyObject * obj2 = 0 ; |
4252 | char *kwnames[] = { | |
4253 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
4254 | }; | |
4255 | ||
994141e6 | 4256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4259 | arg2 = (int) SWIG_AsInt(obj1); | |
4260 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4261 | { |
4262 | arg3 = wxString_in_helper(obj2); | |
4263 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4264 | temp3 = True; |
d14a1e28 RD |
4265 | } |
4266 | { | |
4267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4268 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
4269 | ||
4270 | wxPyEndAllowThreads(__tstate); | |
4271 | if (PyErr_Occurred()) SWIG_fail; | |
4272 | } | |
4273 | Py_INCREF(Py_None); resultobj = Py_None; | |
4274 | { | |
4275 | if (temp3) | |
4276 | delete arg3; | |
4277 | } | |
4278 | return resultobj; | |
4279 | fail: | |
4280 | { | |
4281 | if (temp3) | |
4282 | delete arg3; | |
4283 | } | |
4284 | return NULL; | |
4285 | } | |
4286 | ||
4287 | ||
a95a7133 | 4288 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4289 | PyObject *resultobj; |
4290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4291 | bool arg2 ; | |
4292 | PyObject * obj0 = 0 ; | |
4293 | PyObject * obj1 = 0 ; | |
4294 | char *kwnames[] = { | |
4295 | (char *) "self",(char *) "autoHide", NULL | |
4296 | }; | |
4297 | ||
4298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4299 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4300 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4301 | arg2 = (bool) SWIG_AsBool(obj1); | |
4302 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4303 | { |
4304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4305 | (arg1)->AutoCompSetAutoHide(arg2); | |
4306 | ||
4307 | wxPyEndAllowThreads(__tstate); | |
4308 | if (PyErr_Occurred()) SWIG_fail; | |
4309 | } | |
4310 | Py_INCREF(Py_None); resultobj = Py_None; | |
4311 | return resultobj; | |
4312 | fail: | |
4313 | return NULL; | |
4314 | } | |
4315 | ||
4316 | ||
a95a7133 | 4317 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4318 | PyObject *resultobj; |
4319 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4320 | bool result; | |
4321 | PyObject * obj0 = 0 ; | |
4322 | char *kwnames[] = { | |
4323 | (char *) "self", NULL | |
4324 | }; | |
4325 | ||
4326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4329 | { |
4330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4331 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
4332 | ||
4333 | wxPyEndAllowThreads(__tstate); | |
4334 | if (PyErr_Occurred()) SWIG_fail; | |
4335 | } | |
4f89f6a3 RD |
4336 | { |
4337 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4338 | } | |
d14a1e28 RD |
4339 | return resultobj; |
4340 | fail: | |
4341 | return NULL; | |
4342 | } | |
4343 | ||
4344 | ||
a95a7133 | 4345 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4346 | PyObject *resultobj; |
4347 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4348 | bool arg2 ; | |
4349 | PyObject * obj0 = 0 ; | |
4350 | PyObject * obj1 = 0 ; | |
4351 | char *kwnames[] = { | |
4352 | (char *) "self",(char *) "dropRestOfWord", NULL | |
4353 | }; | |
4354 | ||
4355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4358 | arg2 = (bool) SWIG_AsBool(obj1); | |
4359 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4360 | { |
4361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4362 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
4363 | ||
4364 | wxPyEndAllowThreads(__tstate); | |
4365 | if (PyErr_Occurred()) SWIG_fail; | |
4366 | } | |
4367 | Py_INCREF(Py_None); resultobj = Py_None; | |
4368 | return resultobj; | |
4369 | fail: | |
4370 | return NULL; | |
4371 | } | |
4372 | ||
4373 | ||
a95a7133 | 4374 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4375 | PyObject *resultobj; |
4376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4377 | bool result; | |
4378 | PyObject * obj0 = 0 ; | |
4379 | char *kwnames[] = { | |
4380 | (char *) "self", NULL | |
4381 | }; | |
4382 | ||
4383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4386 | { |
4387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4388 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
4389 | ||
4390 | wxPyEndAllowThreads(__tstate); | |
4391 | if (PyErr_Occurred()) SWIG_fail; | |
4392 | } | |
4f89f6a3 RD |
4393 | { |
4394 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4395 | } | |
d14a1e28 RD |
4396 | return resultobj; |
4397 | fail: | |
4398 | return NULL; | |
4399 | } | |
4400 | ||
4401 | ||
a95a7133 | 4402 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4403 | PyObject *resultobj; |
4404 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4405 | int arg2 ; | |
4406 | wxBitmap *arg3 = 0 ; | |
4407 | PyObject * obj0 = 0 ; | |
994141e6 | 4408 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4409 | PyObject * obj2 = 0 ; |
4410 | char *kwnames[] = { | |
4411 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
4412 | }; | |
4413 | ||
994141e6 | 4414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4417 | arg2 = (int) SWIG_AsInt(obj1); | |
4418 | if (PyErr_Occurred()) SWIG_fail; | |
4419 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
4420 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4421 | SWIG_fail; | |
d14a1e28 | 4422 | if (arg3 == NULL) { |
15afbcd0 RD |
4423 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4424 | SWIG_fail; | |
d14a1e28 RD |
4425 | } |
4426 | { | |
4427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4428 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
4429 | ||
4430 | wxPyEndAllowThreads(__tstate); | |
4431 | if (PyErr_Occurred()) SWIG_fail; | |
4432 | } | |
4433 | Py_INCREF(Py_None); resultobj = Py_None; | |
4434 | return resultobj; | |
4435 | fail: | |
4436 | return NULL; | |
4437 | } | |
4438 | ||
4439 | ||
a95a7133 | 4440 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4441 | PyObject *resultobj; |
4442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4443 | PyObject * obj0 = 0 ; | |
4444 | char *kwnames[] = { | |
4445 | (char *) "self", NULL | |
4446 | }; | |
4447 | ||
4448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4449 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4451 | { |
4452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4453 | (arg1)->ClearRegisteredImages(); | |
4454 | ||
4455 | wxPyEndAllowThreads(__tstate); | |
4456 | if (PyErr_Occurred()) SWIG_fail; | |
4457 | } | |
4458 | Py_INCREF(Py_None); resultobj = Py_None; | |
4459 | return resultobj; | |
4460 | fail: | |
4461 | return NULL; | |
4462 | } | |
4463 | ||
4464 | ||
a95a7133 | 4465 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4466 | PyObject *resultobj; |
4467 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4468 | int result; | |
4469 | PyObject * obj0 = 0 ; | |
4470 | char *kwnames[] = { | |
4471 | (char *) "self", NULL | |
4472 | }; | |
4473 | ||
4474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4477 | { |
4478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4479 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
4480 | ||
4481 | wxPyEndAllowThreads(__tstate); | |
4482 | if (PyErr_Occurred()) SWIG_fail; | |
4483 | } | |
15afbcd0 | 4484 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4485 | return resultobj; |
4486 | fail: | |
4487 | return NULL; | |
4488 | } | |
4489 | ||
4490 | ||
a95a7133 | 4491 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4492 | PyObject *resultobj; |
4493 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4494 | int arg2 ; | |
4495 | PyObject * obj0 = 0 ; | |
994141e6 | 4496 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4497 | char *kwnames[] = { |
4498 | (char *) "self",(char *) "separatorCharacter", NULL | |
4499 | }; | |
4500 | ||
994141e6 | 4501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4504 | arg2 = (int) SWIG_AsInt(obj1); | |
4505 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4506 | { |
4507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4508 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
4509 | ||
4510 | wxPyEndAllowThreads(__tstate); | |
4511 | if (PyErr_Occurred()) SWIG_fail; | |
4512 | } | |
4513 | Py_INCREF(Py_None); resultobj = Py_None; | |
4514 | return resultobj; | |
4515 | fail: | |
4516 | return NULL; | |
4517 | } | |
4518 | ||
4519 | ||
a95a7133 | 4520 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4521 | PyObject *resultobj; |
4522 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4523 | int arg2 ; | |
4524 | PyObject * obj0 = 0 ; | |
994141e6 | 4525 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4526 | char *kwnames[] = { |
4527 | (char *) "self",(char *) "indentSize", NULL | |
4528 | }; | |
4529 | ||
994141e6 | 4530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4533 | arg2 = (int) SWIG_AsInt(obj1); | |
4534 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4535 | { |
4536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4537 | (arg1)->SetIndent(arg2); | |
4538 | ||
4539 | wxPyEndAllowThreads(__tstate); | |
4540 | if (PyErr_Occurred()) SWIG_fail; | |
4541 | } | |
4542 | Py_INCREF(Py_None); resultobj = Py_None; | |
4543 | return resultobj; | |
4544 | fail: | |
4545 | return NULL; | |
4546 | } | |
4547 | ||
4548 | ||
a95a7133 | 4549 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4550 | PyObject *resultobj; |
4551 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4552 | int result; | |
4553 | PyObject * obj0 = 0 ; | |
4554 | char *kwnames[] = { | |
4555 | (char *) "self", NULL | |
4556 | }; | |
4557 | ||
4558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4561 | { |
4562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4563 | result = (int)(arg1)->GetIndent(); | |
4564 | ||
4565 | wxPyEndAllowThreads(__tstate); | |
4566 | if (PyErr_Occurred()) SWIG_fail; | |
4567 | } | |
15afbcd0 | 4568 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4569 | return resultobj; |
4570 | fail: | |
4571 | return NULL; | |
4572 | } | |
4573 | ||
4574 | ||
a95a7133 | 4575 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4576 | PyObject *resultobj; |
4577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4578 | bool arg2 ; | |
4579 | PyObject * obj0 = 0 ; | |
4580 | PyObject * obj1 = 0 ; | |
4581 | char *kwnames[] = { | |
4582 | (char *) "self",(char *) "useTabs", NULL | |
4583 | }; | |
4584 | ||
4585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4588 | arg2 = (bool) SWIG_AsBool(obj1); | |
4589 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4590 | { |
4591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4592 | (arg1)->SetUseTabs(arg2); | |
4593 | ||
4594 | wxPyEndAllowThreads(__tstate); | |
4595 | if (PyErr_Occurred()) SWIG_fail; | |
4596 | } | |
4597 | Py_INCREF(Py_None); resultobj = Py_None; | |
4598 | return resultobj; | |
4599 | fail: | |
4600 | return NULL; | |
4601 | } | |
4602 | ||
4603 | ||
a95a7133 | 4604 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4605 | PyObject *resultobj; |
4606 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4607 | bool result; | |
4608 | PyObject * obj0 = 0 ; | |
4609 | char *kwnames[] = { | |
4610 | (char *) "self", NULL | |
4611 | }; | |
4612 | ||
4613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4616 | { |
4617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4618 | result = (bool)(arg1)->GetUseTabs(); | |
4619 | ||
4620 | wxPyEndAllowThreads(__tstate); | |
4621 | if (PyErr_Occurred()) SWIG_fail; | |
4622 | } | |
4f89f6a3 RD |
4623 | { |
4624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4625 | } | |
d14a1e28 RD |
4626 | return resultobj; |
4627 | fail: | |
4628 | return NULL; | |
4629 | } | |
4630 | ||
4631 | ||
a95a7133 | 4632 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4633 | PyObject *resultobj; |
4634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4635 | int arg2 ; | |
4636 | int arg3 ; | |
4637 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4638 | PyObject * obj1 = 0 ; |
4639 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4640 | char *kwnames[] = { |
4641 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
4642 | }; | |
4643 | ||
994141e6 | 4644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4647 | arg2 = (int) SWIG_AsInt(obj1); | |
4648 | if (PyErr_Occurred()) SWIG_fail; | |
4649 | arg3 = (int) SWIG_AsInt(obj2); | |
4650 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4651 | { |
4652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4653 | (arg1)->SetLineIndentation(arg2,arg3); | |
4654 | ||
4655 | wxPyEndAllowThreads(__tstate); | |
4656 | if (PyErr_Occurred()) SWIG_fail; | |
4657 | } | |
4658 | Py_INCREF(Py_None); resultobj = Py_None; | |
4659 | return resultobj; | |
4660 | fail: | |
4661 | return NULL; | |
4662 | } | |
4663 | ||
4664 | ||
a95a7133 | 4665 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4666 | PyObject *resultobj; |
4667 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4668 | int arg2 ; | |
4669 | int result; | |
4670 | PyObject * obj0 = 0 ; | |
994141e6 | 4671 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4672 | char *kwnames[] = { |
4673 | (char *) "self",(char *) "line", NULL | |
4674 | }; | |
4675 | ||
994141e6 | 4676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4677 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4679 | arg2 = (int) SWIG_AsInt(obj1); | |
4680 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4681 | { |
4682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4683 | result = (int)(arg1)->GetLineIndentation(arg2); | |
4684 | ||
4685 | wxPyEndAllowThreads(__tstate); | |
4686 | if (PyErr_Occurred()) SWIG_fail; | |
4687 | } | |
15afbcd0 | 4688 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4689 | return resultobj; |
4690 | fail: | |
4691 | return NULL; | |
4692 | } | |
4693 | ||
4694 | ||
a95a7133 | 4695 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4696 | PyObject *resultobj; |
4697 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4698 | int arg2 ; | |
4699 | int result; | |
4700 | PyObject * obj0 = 0 ; | |
994141e6 | 4701 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4702 | char *kwnames[] = { |
4703 | (char *) "self",(char *) "line", NULL | |
4704 | }; | |
4705 | ||
994141e6 | 4706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4707 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4709 | arg2 = (int) SWIG_AsInt(obj1); | |
4710 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4711 | { |
4712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4713 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
4714 | ||
4715 | wxPyEndAllowThreads(__tstate); | |
4716 | if (PyErr_Occurred()) SWIG_fail; | |
4717 | } | |
15afbcd0 | 4718 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4719 | return resultobj; |
4720 | fail: | |
4721 | return NULL; | |
4722 | } | |
4723 | ||
4724 | ||
a95a7133 | 4725 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4726 | PyObject *resultobj; |
4727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4728 | int arg2 ; | |
4729 | int result; | |
4730 | PyObject * obj0 = 0 ; | |
994141e6 | 4731 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4732 | char *kwnames[] = { |
4733 | (char *) "self",(char *) "pos", NULL | |
4734 | }; | |
4735 | ||
994141e6 | 4736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4739 | arg2 = (int) SWIG_AsInt(obj1); | |
4740 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4741 | { |
4742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4743 | result = (int)(arg1)->GetColumn(arg2); | |
4744 | ||
4745 | wxPyEndAllowThreads(__tstate); | |
4746 | if (PyErr_Occurred()) SWIG_fail; | |
4747 | } | |
15afbcd0 | 4748 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4749 | return resultobj; |
4750 | fail: | |
4751 | return NULL; | |
4752 | } | |
4753 | ||
4754 | ||
a95a7133 | 4755 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4756 | PyObject *resultobj; |
4757 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4758 | bool arg2 ; | |
4759 | PyObject * obj0 = 0 ; | |
4760 | PyObject * obj1 = 0 ; | |
4761 | char *kwnames[] = { | |
4762 | (char *) "self",(char *) "show", NULL | |
4763 | }; | |
4764 | ||
4765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4768 | arg2 = (bool) SWIG_AsBool(obj1); | |
4769 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4770 | { |
4771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4772 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
4773 | ||
4774 | wxPyEndAllowThreads(__tstate); | |
4775 | if (PyErr_Occurred()) SWIG_fail; | |
4776 | } | |
4777 | Py_INCREF(Py_None); resultobj = Py_None; | |
4778 | return resultobj; | |
4779 | fail: | |
4780 | return NULL; | |
4781 | } | |
4782 | ||
4783 | ||
a95a7133 | 4784 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4785 | PyObject *resultobj; |
4786 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4787 | bool result; | |
4788 | PyObject * obj0 = 0 ; | |
4789 | char *kwnames[] = { | |
4790 | (char *) "self", NULL | |
4791 | }; | |
4792 | ||
4793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4796 | { |
4797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4798 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
4799 | ||
4800 | wxPyEndAllowThreads(__tstate); | |
4801 | if (PyErr_Occurred()) SWIG_fail; | |
4802 | } | |
4f89f6a3 RD |
4803 | { |
4804 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4805 | } | |
d14a1e28 RD |
4806 | return resultobj; |
4807 | fail: | |
4808 | return NULL; | |
4809 | } | |
4810 | ||
4811 | ||
a95a7133 | 4812 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4813 | PyObject *resultobj; |
4814 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4815 | bool arg2 ; | |
4816 | PyObject * obj0 = 0 ; | |
4817 | PyObject * obj1 = 0 ; | |
4818 | char *kwnames[] = { | |
4819 | (char *) "self",(char *) "show", NULL | |
4820 | }; | |
4821 | ||
4822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4825 | arg2 = (bool) SWIG_AsBool(obj1); | |
4826 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4827 | { |
4828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4829 | (arg1)->SetIndentationGuides(arg2); | |
4830 | ||
4831 | wxPyEndAllowThreads(__tstate); | |
4832 | if (PyErr_Occurred()) SWIG_fail; | |
4833 | } | |
4834 | Py_INCREF(Py_None); resultobj = Py_None; | |
4835 | return resultobj; | |
4836 | fail: | |
4837 | return NULL; | |
4838 | } | |
4839 | ||
4840 | ||
a95a7133 | 4841 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4842 | PyObject *resultobj; |
4843 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4844 | bool result; | |
4845 | PyObject * obj0 = 0 ; | |
4846 | char *kwnames[] = { | |
4847 | (char *) "self", NULL | |
4848 | }; | |
4849 | ||
4850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4853 | { |
4854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4855 | result = (bool)(arg1)->GetIndentationGuides(); | |
4856 | ||
4857 | wxPyEndAllowThreads(__tstate); | |
4858 | if (PyErr_Occurred()) SWIG_fail; | |
4859 | } | |
4f89f6a3 RD |
4860 | { |
4861 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4862 | } | |
d14a1e28 RD |
4863 | return resultobj; |
4864 | fail: | |
4865 | return NULL; | |
4866 | } | |
4867 | ||
4868 | ||
a95a7133 | 4869 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4870 | PyObject *resultobj; |
4871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4872 | int arg2 ; | |
4873 | PyObject * obj0 = 0 ; | |
994141e6 | 4874 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4875 | char *kwnames[] = { |
4876 | (char *) "self",(char *) "column", NULL | |
4877 | }; | |
4878 | ||
994141e6 | 4879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4882 | arg2 = (int) SWIG_AsInt(obj1); | |
4883 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4884 | { |
4885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4886 | (arg1)->SetHighlightGuide(arg2); | |
4887 | ||
4888 | wxPyEndAllowThreads(__tstate); | |
4889 | if (PyErr_Occurred()) SWIG_fail; | |
4890 | } | |
4891 | Py_INCREF(Py_None); resultobj = Py_None; | |
4892 | return resultobj; | |
4893 | fail: | |
4894 | return NULL; | |
4895 | } | |
4896 | ||
4897 | ||
a95a7133 | 4898 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4899 | PyObject *resultobj; |
4900 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4901 | int result; | |
4902 | PyObject * obj0 = 0 ; | |
4903 | char *kwnames[] = { | |
4904 | (char *) "self", NULL | |
4905 | }; | |
4906 | ||
4907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4910 | { |
4911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4912 | result = (int)(arg1)->GetHighlightGuide(); | |
4913 | ||
4914 | wxPyEndAllowThreads(__tstate); | |
4915 | if (PyErr_Occurred()) SWIG_fail; | |
4916 | } | |
15afbcd0 | 4917 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4918 | return resultobj; |
4919 | fail: | |
4920 | return NULL; | |
4921 | } | |
4922 | ||
4923 | ||
a95a7133 | 4924 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4925 | PyObject *resultobj; |
4926 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4927 | int arg2 ; | |
4928 | int result; | |
4929 | PyObject * obj0 = 0 ; | |
994141e6 | 4930 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4931 | char *kwnames[] = { |
4932 | (char *) "self",(char *) "line", NULL | |
4933 | }; | |
4934 | ||
994141e6 | 4935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4938 | arg2 = (int) SWIG_AsInt(obj1); | |
4939 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4940 | { |
4941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4942 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
4943 | ||
4944 | wxPyEndAllowThreads(__tstate); | |
4945 | if (PyErr_Occurred()) SWIG_fail; | |
4946 | } | |
15afbcd0 | 4947 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4948 | return resultobj; |
4949 | fail: | |
4950 | return NULL; | |
4951 | } | |
4952 | ||
4953 | ||
a95a7133 | 4954 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4955 | PyObject *resultobj; |
4956 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4957 | int result; | |
4958 | PyObject * obj0 = 0 ; | |
4959 | char *kwnames[] = { | |
4960 | (char *) "self", NULL | |
4961 | }; | |
4962 | ||
4963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4966 | { |
4967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4968 | result = (int)(arg1)->GetCodePage(); | |
4969 | ||
4970 | wxPyEndAllowThreads(__tstate); | |
4971 | if (PyErr_Occurred()) SWIG_fail; | |
4972 | } | |
15afbcd0 | 4973 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4974 | return resultobj; |
4975 | fail: | |
4976 | return NULL; | |
4977 | } | |
4978 | ||
4979 | ||
a95a7133 | 4980 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4981 | PyObject *resultobj; |
4982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4983 | wxColour result; | |
4984 | PyObject * obj0 = 0 ; | |
4985 | char *kwnames[] = { | |
4986 | (char *) "self", NULL | |
4987 | }; | |
4988 | ||
4989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4992 | { |
4993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4994 | result = (arg1)->GetCaretForeground(); | |
4995 | ||
4996 | wxPyEndAllowThreads(__tstate); | |
4997 | if (PyErr_Occurred()) SWIG_fail; | |
4998 | } | |
4999 | { | |
5000 | wxColour * resultptr; | |
5001 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 5002 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5003 | } |
5004 | return resultobj; | |
5005 | fail: | |
5006 | return NULL; | |
5007 | } | |
5008 | ||
5009 | ||
a95a7133 | 5010 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5011 | PyObject *resultobj; |
5012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5013 | bool result; | |
5014 | PyObject * obj0 = 0 ; | |
5015 | char *kwnames[] = { | |
5016 | (char *) "self", NULL | |
5017 | }; | |
5018 | ||
5019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5022 | { |
5023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5024 | result = (bool)(arg1)->GetReadOnly(); | |
5025 | ||
5026 | wxPyEndAllowThreads(__tstate); | |
5027 | if (PyErr_Occurred()) SWIG_fail; | |
5028 | } | |
4f89f6a3 RD |
5029 | { |
5030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5031 | } | |
d14a1e28 RD |
5032 | return resultobj; |
5033 | fail: | |
5034 | return NULL; | |
5035 | } | |
5036 | ||
5037 | ||
a95a7133 | 5038 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5039 | PyObject *resultobj; |
5040 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5041 | int arg2 ; | |
5042 | PyObject * obj0 = 0 ; | |
994141e6 | 5043 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5044 | char *kwnames[] = { |
5045 | (char *) "self",(char *) "pos", NULL | |
5046 | }; | |
5047 | ||
994141e6 | 5048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5051 | arg2 = (int) SWIG_AsInt(obj1); | |
5052 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5053 | { |
5054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5055 | (arg1)->SetCurrentPos(arg2); | |
5056 | ||
5057 | wxPyEndAllowThreads(__tstate); | |
5058 | if (PyErr_Occurred()) SWIG_fail; | |
5059 | } | |
5060 | Py_INCREF(Py_None); resultobj = Py_None; | |
5061 | return resultobj; | |
5062 | fail: | |
5063 | return NULL; | |
5064 | } | |
5065 | ||
5066 | ||
a95a7133 | 5067 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5068 | PyObject *resultobj; |
5069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5070 | int arg2 ; | |
5071 | PyObject * obj0 = 0 ; | |
994141e6 | 5072 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5073 | char *kwnames[] = { |
5074 | (char *) "self",(char *) "pos", NULL | |
5075 | }; | |
5076 | ||
994141e6 | 5077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5080 | arg2 = (int) SWIG_AsInt(obj1); | |
5081 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5082 | { |
5083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5084 | (arg1)->SetSelectionStart(arg2); | |
5085 | ||
5086 | wxPyEndAllowThreads(__tstate); | |
5087 | if (PyErr_Occurred()) SWIG_fail; | |
5088 | } | |
5089 | Py_INCREF(Py_None); resultobj = Py_None; | |
5090 | return resultobj; | |
5091 | fail: | |
5092 | return NULL; | |
5093 | } | |
5094 | ||
5095 | ||
a95a7133 | 5096 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5097 | PyObject *resultobj; |
5098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5099 | int result; | |
5100 | PyObject * obj0 = 0 ; | |
5101 | char *kwnames[] = { | |
5102 | (char *) "self", NULL | |
5103 | }; | |
5104 | ||
5105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5108 | { |
5109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5110 | result = (int)(arg1)->GetSelectionStart(); | |
5111 | ||
5112 | wxPyEndAllowThreads(__tstate); | |
5113 | if (PyErr_Occurred()) SWIG_fail; | |
5114 | } | |
15afbcd0 | 5115 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5116 | return resultobj; |
5117 | fail: | |
5118 | return NULL; | |
5119 | } | |
5120 | ||
5121 | ||
a95a7133 | 5122 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5123 | PyObject *resultobj; |
5124 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5125 | int arg2 ; | |
5126 | PyObject * obj0 = 0 ; | |
994141e6 | 5127 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5128 | char *kwnames[] = { |
5129 | (char *) "self",(char *) "pos", NULL | |
5130 | }; | |
5131 | ||
994141e6 | 5132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5135 | arg2 = (int) SWIG_AsInt(obj1); | |
5136 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5137 | { |
5138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5139 | (arg1)->SetSelectionEnd(arg2); | |
5140 | ||
5141 | wxPyEndAllowThreads(__tstate); | |
5142 | if (PyErr_Occurred()) SWIG_fail; | |
5143 | } | |
5144 | Py_INCREF(Py_None); resultobj = Py_None; | |
5145 | return resultobj; | |
5146 | fail: | |
5147 | return NULL; | |
5148 | } | |
5149 | ||
5150 | ||
a95a7133 | 5151 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5152 | PyObject *resultobj; |
5153 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5154 | int result; | |
5155 | PyObject * obj0 = 0 ; | |
5156 | char *kwnames[] = { | |
5157 | (char *) "self", NULL | |
5158 | }; | |
5159 | ||
5160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5163 | { |
5164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5165 | result = (int)(arg1)->GetSelectionEnd(); | |
5166 | ||
5167 | wxPyEndAllowThreads(__tstate); | |
5168 | if (PyErr_Occurred()) SWIG_fail; | |
5169 | } | |
15afbcd0 | 5170 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5171 | return resultobj; |
5172 | fail: | |
5173 | return NULL; | |
5174 | } | |
5175 | ||
5176 | ||
a95a7133 | 5177 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5178 | PyObject *resultobj; |
5179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5180 | int arg2 ; | |
5181 | PyObject * obj0 = 0 ; | |
994141e6 | 5182 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5183 | char *kwnames[] = { |
5184 | (char *) "self",(char *) "magnification", NULL | |
5185 | }; | |
5186 | ||
994141e6 | 5187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5190 | arg2 = (int) SWIG_AsInt(obj1); | |
5191 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5192 | { |
5193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5194 | (arg1)->SetPrintMagnification(arg2); | |
5195 | ||
5196 | wxPyEndAllowThreads(__tstate); | |
5197 | if (PyErr_Occurred()) SWIG_fail; | |
5198 | } | |
5199 | Py_INCREF(Py_None); resultobj = Py_None; | |
5200 | return resultobj; | |
5201 | fail: | |
5202 | return NULL; | |
5203 | } | |
5204 | ||
5205 | ||
a95a7133 | 5206 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5207 | PyObject *resultobj; |
5208 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5209 | int result; | |
5210 | PyObject * obj0 = 0 ; | |
5211 | char *kwnames[] = { | |
5212 | (char *) "self", NULL | |
5213 | }; | |
5214 | ||
5215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5218 | { |
5219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5220 | result = (int)(arg1)->GetPrintMagnification(); | |
5221 | ||
5222 | wxPyEndAllowThreads(__tstate); | |
5223 | if (PyErr_Occurred()) SWIG_fail; | |
5224 | } | |
15afbcd0 | 5225 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5226 | return resultobj; |
5227 | fail: | |
5228 | return NULL; | |
5229 | } | |
5230 | ||
5231 | ||
a95a7133 | 5232 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5233 | PyObject *resultobj; |
5234 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5235 | int arg2 ; | |
5236 | PyObject * obj0 = 0 ; | |
994141e6 | 5237 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5238 | char *kwnames[] = { |
5239 | (char *) "self",(char *) "mode", NULL | |
5240 | }; | |
5241 | ||
994141e6 | 5242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5245 | arg2 = (int) SWIG_AsInt(obj1); | |
5246 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5247 | { |
5248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5249 | (arg1)->SetPrintColourMode(arg2); | |
5250 | ||
5251 | wxPyEndAllowThreads(__tstate); | |
5252 | if (PyErr_Occurred()) SWIG_fail; | |
5253 | } | |
5254 | Py_INCREF(Py_None); resultobj = Py_None; | |
5255 | return resultobj; | |
5256 | fail: | |
5257 | return NULL; | |
5258 | } | |
5259 | ||
5260 | ||
a95a7133 | 5261 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5262 | PyObject *resultobj; |
5263 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5264 | int result; | |
5265 | PyObject * obj0 = 0 ; | |
5266 | char *kwnames[] = { | |
5267 | (char *) "self", NULL | |
5268 | }; | |
5269 | ||
5270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5273 | { |
5274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5275 | result = (int)(arg1)->GetPrintColourMode(); | |
5276 | ||
5277 | wxPyEndAllowThreads(__tstate); | |
5278 | if (PyErr_Occurred()) SWIG_fail; | |
5279 | } | |
15afbcd0 | 5280 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5281 | return resultobj; |
5282 | fail: | |
5283 | return NULL; | |
5284 | } | |
5285 | ||
5286 | ||
a95a7133 | 5287 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5288 | PyObject *resultobj; |
5289 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5290 | int arg2 ; | |
5291 | int arg3 ; | |
5292 | wxString *arg4 = 0 ; | |
5293 | int arg5 = (int) 0 ; | |
5294 | int result; | |
e811c8ce | 5295 | bool temp4 = False ; |
d14a1e28 | 5296 | PyObject * obj0 = 0 ; |
994141e6 RD |
5297 | PyObject * obj1 = 0 ; |
5298 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5299 | PyObject * obj3 = 0 ; |
994141e6 | 5300 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5301 | char *kwnames[] = { |
5302 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
5303 | }; | |
5304 | ||
994141e6 | 5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
5306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5308 | arg2 = (int) SWIG_AsInt(obj1); | |
5309 | if (PyErr_Occurred()) SWIG_fail; | |
5310 | arg3 = (int) SWIG_AsInt(obj2); | |
5311 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5312 | { |
5313 | arg4 = wxString_in_helper(obj3); | |
5314 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 5315 | temp4 = True; |
d14a1e28 | 5316 | } |
994141e6 | 5317 | if (obj4) { |
15afbcd0 RD |
5318 | arg5 = (int) SWIG_AsInt(obj4); |
5319 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5320 | } |
d14a1e28 RD |
5321 | { |
5322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5323 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
5324 | ||
5325 | wxPyEndAllowThreads(__tstate); | |
5326 | if (PyErr_Occurred()) SWIG_fail; | |
5327 | } | |
15afbcd0 | 5328 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5329 | { |
5330 | if (temp4) | |
5331 | delete arg4; | |
5332 | } | |
5333 | return resultobj; | |
5334 | fail: | |
5335 | { | |
5336 | if (temp4) | |
5337 | delete arg4; | |
5338 | } | |
5339 | return NULL; | |
5340 | } | |
5341 | ||
5342 | ||
a95a7133 | 5343 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5344 | PyObject *resultobj; |
5345 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5346 | bool arg2 ; | |
5347 | int arg3 ; | |
5348 | int arg4 ; | |
5349 | wxDC *arg5 = (wxDC *) 0 ; | |
5350 | wxDC *arg6 = (wxDC *) 0 ; | |
5351 | wxRect arg7 ; | |
5352 | wxRect arg8 ; | |
5353 | int result; | |
5354 | wxRect *argp7 ; | |
5355 | wxRect *argp8 ; | |
5356 | PyObject * obj0 = 0 ; | |
5357 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5358 | PyObject * obj2 = 0 ; |
5359 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5360 | PyObject * obj4 = 0 ; |
5361 | PyObject * obj5 = 0 ; | |
5362 | PyObject * obj6 = 0 ; | |
5363 | PyObject * obj7 = 0 ; | |
5364 | char *kwnames[] = { | |
5365 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
5366 | }; | |
5367 | ||
994141e6 | 5368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
5369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5371 | arg2 = (bool) SWIG_AsBool(obj1); | |
5372 | if (PyErr_Occurred()) SWIG_fail; | |
5373 | arg3 = (int) SWIG_AsInt(obj2); | |
5374 | if (PyErr_Occurred()) SWIG_fail; | |
5375 | arg4 = (int) SWIG_AsInt(obj3); | |
5376 | if (PyErr_Occurred()) SWIG_fail; | |
5377 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC, | |
5378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5379 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC, | |
5380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5381 | if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect, | |
5382 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5383 | arg7 = *argp7; | |
5384 | if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect, | |
5385 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5386 | arg8 = *argp8; | |
d14a1e28 RD |
5387 | { |
5388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5389 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
5390 | ||
5391 | wxPyEndAllowThreads(__tstate); | |
5392 | if (PyErr_Occurred()) SWIG_fail; | |
5393 | } | |
15afbcd0 | 5394 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5395 | return resultobj; |
5396 | fail: | |
5397 | return NULL; | |
5398 | } | |
5399 | ||
5400 | ||
a95a7133 | 5401 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5402 | PyObject *resultobj; |
5403 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5404 | int result; | |
5405 | PyObject * obj0 = 0 ; | |
5406 | char *kwnames[] = { | |
5407 | (char *) "self", NULL | |
5408 | }; | |
5409 | ||
5410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5413 | { |
5414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5415 | result = (int)(arg1)->GetFirstVisibleLine(); | |
5416 | ||
5417 | wxPyEndAllowThreads(__tstate); | |
5418 | if (PyErr_Occurred()) SWIG_fail; | |
5419 | } | |
15afbcd0 | 5420 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5421 | return resultobj; |
5422 | fail: | |
5423 | return NULL; | |
5424 | } | |
5425 | ||
5426 | ||
a95a7133 | 5427 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5428 | PyObject *resultobj; |
5429 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5430 | int arg2 ; | |
5431 | wxString result; | |
5432 | PyObject * obj0 = 0 ; | |
994141e6 | 5433 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5434 | char *kwnames[] = { |
5435 | (char *) "self",(char *) "line", NULL | |
5436 | }; | |
5437 | ||
994141e6 | 5438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5441 | arg2 = (int) SWIG_AsInt(obj1); | |
5442 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5443 | { |
5444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5445 | result = (arg1)->GetLine(arg2); | |
5446 | ||
5447 | wxPyEndAllowThreads(__tstate); | |
5448 | if (PyErr_Occurred()) SWIG_fail; | |
5449 | } | |
5450 | { | |
5451 | #if wxUSE_UNICODE | |
5452 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5453 | #else | |
5454 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5455 | #endif | |
5456 | } | |
5457 | return resultobj; | |
5458 | fail: | |
5459 | return NULL; | |
5460 | } | |
5461 | ||
5462 | ||
a95a7133 | 5463 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5464 | PyObject *resultobj; |
5465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5466 | int result; | |
5467 | PyObject * obj0 = 0 ; | |
5468 | char *kwnames[] = { | |
5469 | (char *) "self", NULL | |
5470 | }; | |
5471 | ||
5472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5473 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5475 | { |
5476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5477 | result = (int)(arg1)->GetLineCount(); | |
5478 | ||
5479 | wxPyEndAllowThreads(__tstate); | |
5480 | if (PyErr_Occurred()) SWIG_fail; | |
5481 | } | |
15afbcd0 | 5482 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5483 | return resultobj; |
5484 | fail: | |
5485 | return NULL; | |
5486 | } | |
5487 | ||
5488 | ||
a95a7133 | 5489 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5490 | PyObject *resultobj; |
5491 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5492 | int arg2 ; | |
5493 | PyObject * obj0 = 0 ; | |
994141e6 | 5494 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5495 | char *kwnames[] = { |
5496 | (char *) "self",(char *) "pixelWidth", NULL | |
5497 | }; | |
5498 | ||
994141e6 | 5499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5502 | arg2 = (int) SWIG_AsInt(obj1); | |
5503 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5504 | { |
5505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5506 | (arg1)->SetMarginLeft(arg2); | |
5507 | ||
5508 | wxPyEndAllowThreads(__tstate); | |
5509 | if (PyErr_Occurred()) SWIG_fail; | |
5510 | } | |
5511 | Py_INCREF(Py_None); resultobj = Py_None; | |
5512 | return resultobj; | |
5513 | fail: | |
5514 | return NULL; | |
5515 | } | |
5516 | ||
5517 | ||
a95a7133 | 5518 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5519 | PyObject *resultobj; |
5520 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5521 | int result; | |
5522 | PyObject * obj0 = 0 ; | |
5523 | char *kwnames[] = { | |
5524 | (char *) "self", NULL | |
5525 | }; | |
5526 | ||
5527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5530 | { |
5531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5532 | result = (int)(arg1)->GetMarginLeft(); | |
5533 | ||
5534 | wxPyEndAllowThreads(__tstate); | |
5535 | if (PyErr_Occurred()) SWIG_fail; | |
5536 | } | |
15afbcd0 | 5537 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5538 | return resultobj; |
5539 | fail: | |
5540 | return NULL; | |
5541 | } | |
5542 | ||
5543 | ||
a95a7133 | 5544 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5545 | PyObject *resultobj; |
5546 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5547 | int arg2 ; | |
5548 | PyObject * obj0 = 0 ; | |
994141e6 | 5549 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5550 | char *kwnames[] = { |
5551 | (char *) "self",(char *) "pixelWidth", NULL | |
5552 | }; | |
5553 | ||
994141e6 | 5554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5557 | arg2 = (int) SWIG_AsInt(obj1); | |
5558 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5559 | { |
5560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5561 | (arg1)->SetMarginRight(arg2); | |
5562 | ||
5563 | wxPyEndAllowThreads(__tstate); | |
5564 | if (PyErr_Occurred()) SWIG_fail; | |
5565 | } | |
5566 | Py_INCREF(Py_None); resultobj = Py_None; | |
5567 | return resultobj; | |
5568 | fail: | |
5569 | return NULL; | |
5570 | } | |
5571 | ||
5572 | ||
a95a7133 | 5573 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5574 | PyObject *resultobj; |
5575 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5576 | int result; | |
5577 | PyObject * obj0 = 0 ; | |
5578 | char *kwnames[] = { | |
5579 | (char *) "self", NULL | |
5580 | }; | |
5581 | ||
5582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5583 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5585 | { |
5586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5587 | result = (int)(arg1)->GetMarginRight(); | |
5588 | ||
5589 | wxPyEndAllowThreads(__tstate); | |
5590 | if (PyErr_Occurred()) SWIG_fail; | |
5591 | } | |
15afbcd0 | 5592 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5593 | return resultobj; |
5594 | fail: | |
5595 | return NULL; | |
5596 | } | |
5597 | ||
5598 | ||
a95a7133 | 5599 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5600 | PyObject *resultobj; |
5601 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5602 | bool result; | |
5603 | PyObject * obj0 = 0 ; | |
5604 | char *kwnames[] = { | |
5605 | (char *) "self", NULL | |
5606 | }; | |
5607 | ||
5608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5611 | { |
5612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5613 | result = (bool)(arg1)->GetModify(); | |
5614 | ||
5615 | wxPyEndAllowThreads(__tstate); | |
5616 | if (PyErr_Occurred()) SWIG_fail; | |
5617 | } | |
4f89f6a3 RD |
5618 | { |
5619 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5620 | } | |
d14a1e28 RD |
5621 | return resultobj; |
5622 | fail: | |
5623 | return NULL; | |
5624 | } | |
5625 | ||
5626 | ||
a95a7133 | 5627 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5628 | PyObject *resultobj; |
5629 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5630 | int arg2 ; | |
5631 | int arg3 ; | |
5632 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5633 | PyObject * obj1 = 0 ; |
5634 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5635 | char *kwnames[] = { |
5636 | (char *) "self",(char *) "start",(char *) "end", NULL | |
5637 | }; | |
5638 | ||
994141e6 | 5639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5642 | arg2 = (int) SWIG_AsInt(obj1); | |
5643 | if (PyErr_Occurred()) SWIG_fail; | |
5644 | arg3 = (int) SWIG_AsInt(obj2); | |
5645 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5646 | { |
5647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5648 | (arg1)->SetSelection(arg2,arg3); | |
5649 | ||
5650 | wxPyEndAllowThreads(__tstate); | |
5651 | if (PyErr_Occurred()) SWIG_fail; | |
5652 | } | |
5653 | Py_INCREF(Py_None); resultobj = Py_None; | |
5654 | return resultobj; | |
5655 | fail: | |
5656 | return NULL; | |
5657 | } | |
5658 | ||
5659 | ||
a95a7133 | 5660 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5661 | PyObject *resultobj; |
5662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5663 | wxString result; | |
5664 | PyObject * obj0 = 0 ; | |
5665 | char *kwnames[] = { | |
5666 | (char *) "self", NULL | |
5667 | }; | |
5668 | ||
5669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5672 | { |
5673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5674 | result = (arg1)->GetSelectedText(); | |
5675 | ||
5676 | wxPyEndAllowThreads(__tstate); | |
5677 | if (PyErr_Occurred()) SWIG_fail; | |
5678 | } | |
5679 | { | |
5680 | #if wxUSE_UNICODE | |
5681 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5682 | #else | |
5683 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5684 | #endif | |
5685 | } | |
5686 | return resultobj; | |
5687 | fail: | |
5688 | return NULL; | |
5689 | } | |
5690 | ||
5691 | ||
a95a7133 | 5692 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5693 | PyObject *resultobj; |
5694 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5695 | int arg2 ; | |
5696 | int arg3 ; | |
5697 | wxString result; | |
5698 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5699 | PyObject * obj1 = 0 ; |
5700 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5701 | char *kwnames[] = { |
5702 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
5703 | }; | |
5704 | ||
994141e6 | 5705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5708 | arg2 = (int) SWIG_AsInt(obj1); | |
5709 | if (PyErr_Occurred()) SWIG_fail; | |
5710 | arg3 = (int) SWIG_AsInt(obj2); | |
5711 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5712 | { |
5713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5714 | result = (arg1)->GetTextRange(arg2,arg3); | |
5715 | ||
5716 | wxPyEndAllowThreads(__tstate); | |
5717 | if (PyErr_Occurred()) SWIG_fail; | |
5718 | } | |
5719 | { | |
5720 | #if wxUSE_UNICODE | |
5721 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5722 | #else | |
5723 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5724 | #endif | |
5725 | } | |
5726 | return resultobj; | |
5727 | fail: | |
5728 | return NULL; | |
5729 | } | |
5730 | ||
5731 | ||
a95a7133 | 5732 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5733 | PyObject *resultobj; |
5734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5735 | bool arg2 ; | |
5736 | PyObject * obj0 = 0 ; | |
5737 | PyObject * obj1 = 0 ; | |
5738 | char *kwnames[] = { | |
5739 | (char *) "self",(char *) "normal", NULL | |
5740 | }; | |
5741 | ||
5742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5745 | arg2 = (bool) SWIG_AsBool(obj1); | |
5746 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5747 | { |
5748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5749 | (arg1)->HideSelection(arg2); | |
5750 | ||
5751 | wxPyEndAllowThreads(__tstate); | |
5752 | if (PyErr_Occurred()) SWIG_fail; | |
5753 | } | |
5754 | Py_INCREF(Py_None); resultobj = Py_None; | |
5755 | return resultobj; | |
5756 | fail: | |
5757 | return NULL; | |
5758 | } | |
5759 | ||
5760 | ||
a95a7133 | 5761 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5762 | PyObject *resultobj; |
5763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5764 | int arg2 ; | |
5765 | int result; | |
5766 | PyObject * obj0 = 0 ; | |
994141e6 | 5767 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5768 | char *kwnames[] = { |
5769 | (char *) "self",(char *) "pos", NULL | |
5770 | }; | |
5771 | ||
994141e6 | 5772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5775 | arg2 = (int) SWIG_AsInt(obj1); | |
5776 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5777 | { |
5778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5779 | result = (int)(arg1)->LineFromPosition(arg2); | |
5780 | ||
5781 | wxPyEndAllowThreads(__tstate); | |
5782 | if (PyErr_Occurred()) SWIG_fail; | |
5783 | } | |
15afbcd0 | 5784 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5785 | return resultobj; |
5786 | fail: | |
5787 | return NULL; | |
5788 | } | |
5789 | ||
5790 | ||
a95a7133 | 5791 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5792 | PyObject *resultobj; |
5793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5794 | int arg2 ; | |
5795 | int result; | |
5796 | PyObject * obj0 = 0 ; | |
994141e6 | 5797 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5798 | char *kwnames[] = { |
5799 | (char *) "self",(char *) "line", NULL | |
5800 | }; | |
5801 | ||
994141e6 | 5802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5805 | arg2 = (int) SWIG_AsInt(obj1); | |
5806 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5807 | { |
5808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5809 | result = (int)(arg1)->PositionFromLine(arg2); | |
5810 | ||
5811 | wxPyEndAllowThreads(__tstate); | |
5812 | if (PyErr_Occurred()) SWIG_fail; | |
5813 | } | |
15afbcd0 | 5814 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5815 | return resultobj; |
5816 | fail: | |
5817 | return NULL; | |
5818 | } | |
5819 | ||
5820 | ||
a95a7133 | 5821 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5822 | PyObject *resultobj; |
5823 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5824 | int arg2 ; | |
5825 | int arg3 ; | |
5826 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5827 | PyObject * obj1 = 0 ; |
5828 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5829 | char *kwnames[] = { |
5830 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
5831 | }; | |
5832 | ||
994141e6 | 5833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5836 | arg2 = (int) SWIG_AsInt(obj1); | |
5837 | if (PyErr_Occurred()) SWIG_fail; | |
5838 | arg3 = (int) SWIG_AsInt(obj2); | |
5839 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5840 | { |
5841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5842 | (arg1)->LineScroll(arg2,arg3); | |
5843 | ||
5844 | wxPyEndAllowThreads(__tstate); | |
5845 | if (PyErr_Occurred()) SWIG_fail; | |
5846 | } | |
5847 | Py_INCREF(Py_None); resultobj = Py_None; | |
5848 | return resultobj; | |
5849 | fail: | |
5850 | return NULL; | |
5851 | } | |
5852 | ||
5853 | ||
a95a7133 | 5854 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5855 | PyObject *resultobj; |
5856 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5857 | PyObject * obj0 = 0 ; | |
5858 | char *kwnames[] = { | |
5859 | (char *) "self", NULL | |
5860 | }; | |
5861 | ||
5862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5865 | { |
5866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5867 | (arg1)->EnsureCaretVisible(); | |
5868 | ||
5869 | wxPyEndAllowThreads(__tstate); | |
5870 | if (PyErr_Occurred()) SWIG_fail; | |
5871 | } | |
5872 | Py_INCREF(Py_None); resultobj = Py_None; | |
5873 | return resultobj; | |
5874 | fail: | |
5875 | return NULL; | |
5876 | } | |
5877 | ||
5878 | ||
a95a7133 | 5879 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5880 | PyObject *resultobj; |
5881 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5882 | wxString *arg2 = 0 ; | |
e811c8ce | 5883 | bool temp2 = False ; |
d14a1e28 RD |
5884 | PyObject * obj0 = 0 ; |
5885 | PyObject * obj1 = 0 ; | |
5886 | char *kwnames[] = { | |
5887 | (char *) "self",(char *) "text", NULL | |
5888 | }; | |
5889 | ||
5890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5893 | { |
5894 | arg2 = wxString_in_helper(obj1); | |
5895 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5896 | temp2 = True; |
d14a1e28 RD |
5897 | } |
5898 | { | |
5899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5900 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
5901 | ||
5902 | wxPyEndAllowThreads(__tstate); | |
5903 | if (PyErr_Occurred()) SWIG_fail; | |
5904 | } | |
5905 | Py_INCREF(Py_None); resultobj = Py_None; | |
5906 | { | |
5907 | if (temp2) | |
5908 | delete arg2; | |
5909 | } | |
5910 | return resultobj; | |
5911 | fail: | |
5912 | { | |
5913 | if (temp2) | |
5914 | delete arg2; | |
5915 | } | |
5916 | return NULL; | |
5917 | } | |
5918 | ||
5919 | ||
a95a7133 | 5920 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5921 | PyObject *resultobj; |
5922 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5923 | bool arg2 ; | |
5924 | PyObject * obj0 = 0 ; | |
5925 | PyObject * obj1 = 0 ; | |
5926 | char *kwnames[] = { | |
5927 | (char *) "self",(char *) "readOnly", NULL | |
5928 | }; | |
5929 | ||
5930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5933 | arg2 = (bool) SWIG_AsBool(obj1); | |
5934 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5935 | { |
5936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5937 | (arg1)->SetReadOnly(arg2); | |
5938 | ||
5939 | wxPyEndAllowThreads(__tstate); | |
5940 | if (PyErr_Occurred()) SWIG_fail; | |
5941 | } | |
5942 | Py_INCREF(Py_None); resultobj = Py_None; | |
5943 | return resultobj; | |
5944 | fail: | |
5945 | return NULL; | |
5946 | } | |
5947 | ||
5948 | ||
a95a7133 | 5949 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5950 | PyObject *resultobj; |
5951 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5952 | bool result; | |
5953 | PyObject * obj0 = 0 ; | |
5954 | char *kwnames[] = { | |
5955 | (char *) "self", NULL | |
5956 | }; | |
5957 | ||
5958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5961 | { |
5962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5963 | result = (bool)(arg1)->CanPaste(); | |
5964 | ||
5965 | wxPyEndAllowThreads(__tstate); | |
5966 | if (PyErr_Occurred()) SWIG_fail; | |
5967 | } | |
4f89f6a3 RD |
5968 | { |
5969 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5970 | } | |
d14a1e28 RD |
5971 | return resultobj; |
5972 | fail: | |
5973 | return NULL; | |
5974 | } | |
5975 | ||
5976 | ||
a95a7133 | 5977 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5978 | PyObject *resultobj; |
5979 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5980 | bool result; | |
5981 | PyObject * obj0 = 0 ; | |
5982 | char *kwnames[] = { | |
5983 | (char *) "self", NULL | |
5984 | }; | |
5985 | ||
5986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5989 | { |
5990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5991 | result = (bool)(arg1)->CanUndo(); | |
5992 | ||
5993 | wxPyEndAllowThreads(__tstate); | |
5994 | if (PyErr_Occurred()) SWIG_fail; | |
5995 | } | |
4f89f6a3 RD |
5996 | { |
5997 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5998 | } | |
d14a1e28 RD |
5999 | return resultobj; |
6000 | fail: | |
6001 | return NULL; | |
6002 | } | |
6003 | ||
6004 | ||
a95a7133 | 6005 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6006 | PyObject *resultobj; |
6007 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6008 | PyObject * obj0 = 0 ; | |
6009 | char *kwnames[] = { | |
6010 | (char *) "self", NULL | |
6011 | }; | |
6012 | ||
6013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6016 | { |
6017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6018 | (arg1)->EmptyUndoBuffer(); | |
6019 | ||
6020 | wxPyEndAllowThreads(__tstate); | |
6021 | if (PyErr_Occurred()) SWIG_fail; | |
6022 | } | |
6023 | Py_INCREF(Py_None); resultobj = Py_None; | |
6024 | return resultobj; | |
6025 | fail: | |
6026 | return NULL; | |
6027 | } | |
6028 | ||
6029 | ||
a95a7133 | 6030 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6031 | PyObject *resultobj; |
6032 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6033 | PyObject * obj0 = 0 ; | |
6034 | char *kwnames[] = { | |
6035 | (char *) "self", NULL | |
6036 | }; | |
6037 | ||
6038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6041 | { |
6042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6043 | (arg1)->Undo(); | |
6044 | ||
6045 | wxPyEndAllowThreads(__tstate); | |
6046 | if (PyErr_Occurred()) SWIG_fail; | |
6047 | } | |
6048 | Py_INCREF(Py_None); resultobj = Py_None; | |
6049 | return resultobj; | |
6050 | fail: | |
6051 | return NULL; | |
6052 | } | |
6053 | ||
6054 | ||
a95a7133 | 6055 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6056 | PyObject *resultobj; |
6057 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6058 | PyObject * obj0 = 0 ; | |
6059 | char *kwnames[] = { | |
6060 | (char *) "self", NULL | |
6061 | }; | |
6062 | ||
6063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6064 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6065 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6066 | { |
6067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6068 | (arg1)->Cut(); | |
6069 | ||
6070 | wxPyEndAllowThreads(__tstate); | |
6071 | if (PyErr_Occurred()) SWIG_fail; | |
6072 | } | |
6073 | Py_INCREF(Py_None); resultobj = Py_None; | |
6074 | return resultobj; | |
6075 | fail: | |
6076 | return NULL; | |
6077 | } | |
6078 | ||
6079 | ||
a95a7133 | 6080 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6081 | PyObject *resultobj; |
6082 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6083 | PyObject * obj0 = 0 ; | |
6084 | char *kwnames[] = { | |
6085 | (char *) "self", NULL | |
6086 | }; | |
6087 | ||
6088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6091 | { |
6092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6093 | (arg1)->Copy(); | |
6094 | ||
6095 | wxPyEndAllowThreads(__tstate); | |
6096 | if (PyErr_Occurred()) SWIG_fail; | |
6097 | } | |
6098 | Py_INCREF(Py_None); resultobj = Py_None; | |
6099 | return resultobj; | |
6100 | fail: | |
6101 | return NULL; | |
6102 | } | |
6103 | ||
6104 | ||
a95a7133 | 6105 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6106 | PyObject *resultobj; |
6107 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6108 | PyObject * obj0 = 0 ; | |
6109 | char *kwnames[] = { | |
6110 | (char *) "self", NULL | |
6111 | }; | |
6112 | ||
6113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6116 | { |
6117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6118 | (arg1)->Paste(); | |
6119 | ||
6120 | wxPyEndAllowThreads(__tstate); | |
6121 | if (PyErr_Occurred()) SWIG_fail; | |
6122 | } | |
6123 | Py_INCREF(Py_None); resultobj = Py_None; | |
6124 | return resultobj; | |
6125 | fail: | |
6126 | return NULL; | |
6127 | } | |
6128 | ||
6129 | ||
a95a7133 | 6130 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6131 | PyObject *resultobj; |
6132 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6133 | PyObject * obj0 = 0 ; | |
6134 | char *kwnames[] = { | |
6135 | (char *) "self", NULL | |
6136 | }; | |
6137 | ||
6138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6141 | { |
6142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6143 | (arg1)->Clear(); | |
6144 | ||
6145 | wxPyEndAllowThreads(__tstate); | |
6146 | if (PyErr_Occurred()) SWIG_fail; | |
6147 | } | |
6148 | Py_INCREF(Py_None); resultobj = Py_None; | |
6149 | return resultobj; | |
6150 | fail: | |
6151 | return NULL; | |
6152 | } | |
6153 | ||
6154 | ||
a95a7133 | 6155 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6156 | PyObject *resultobj; |
6157 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6158 | wxString *arg2 = 0 ; | |
e811c8ce | 6159 | bool temp2 = False ; |
d14a1e28 RD |
6160 | PyObject * obj0 = 0 ; |
6161 | PyObject * obj1 = 0 ; | |
6162 | char *kwnames[] = { | |
6163 | (char *) "self",(char *) "text", NULL | |
6164 | }; | |
6165 | ||
6166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6169 | { |
6170 | arg2 = wxString_in_helper(obj1); | |
6171 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6172 | temp2 = True; |
d14a1e28 RD |
6173 | } |
6174 | { | |
6175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6176 | (arg1)->SetText((wxString const &)*arg2); | |
6177 | ||
6178 | wxPyEndAllowThreads(__tstate); | |
6179 | if (PyErr_Occurred()) SWIG_fail; | |
6180 | } | |
6181 | Py_INCREF(Py_None); resultobj = Py_None; | |
6182 | { | |
6183 | if (temp2) | |
6184 | delete arg2; | |
6185 | } | |
6186 | return resultobj; | |
6187 | fail: | |
6188 | { | |
6189 | if (temp2) | |
6190 | delete arg2; | |
6191 | } | |
6192 | return NULL; | |
6193 | } | |
6194 | ||
6195 | ||
a95a7133 | 6196 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6197 | PyObject *resultobj; |
6198 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6199 | wxString result; | |
6200 | PyObject * obj0 = 0 ; | |
6201 | char *kwnames[] = { | |
6202 | (char *) "self", NULL | |
6203 | }; | |
6204 | ||
6205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6208 | { |
6209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6210 | result = (arg1)->GetText(); | |
6211 | ||
6212 | wxPyEndAllowThreads(__tstate); | |
6213 | if (PyErr_Occurred()) SWIG_fail; | |
6214 | } | |
6215 | { | |
6216 | #if wxUSE_UNICODE | |
6217 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6218 | #else | |
6219 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6220 | #endif | |
6221 | } | |
6222 | return resultobj; | |
6223 | fail: | |
6224 | return NULL; | |
6225 | } | |
6226 | ||
6227 | ||
a95a7133 | 6228 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6229 | PyObject *resultobj; |
6230 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6231 | int result; | |
6232 | PyObject * obj0 = 0 ; | |
6233 | char *kwnames[] = { | |
6234 | (char *) "self", NULL | |
6235 | }; | |
6236 | ||
6237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6240 | { |
6241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6242 | result = (int)(arg1)->GetTextLength(); | |
6243 | ||
6244 | wxPyEndAllowThreads(__tstate); | |
6245 | if (PyErr_Occurred()) SWIG_fail; | |
6246 | } | |
15afbcd0 | 6247 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6248 | return resultobj; |
6249 | fail: | |
6250 | return NULL; | |
6251 | } | |
6252 | ||
6253 | ||
a95a7133 | 6254 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6255 | PyObject *resultobj; |
6256 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6257 | bool arg2 ; | |
6258 | PyObject * obj0 = 0 ; | |
6259 | PyObject * obj1 = 0 ; | |
6260 | char *kwnames[] = { | |
6261 | (char *) "self",(char *) "overtype", NULL | |
6262 | }; | |
6263 | ||
6264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6267 | arg2 = (bool) SWIG_AsBool(obj1); | |
6268 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6269 | { |
6270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6271 | (arg1)->SetOvertype(arg2); | |
6272 | ||
6273 | wxPyEndAllowThreads(__tstate); | |
6274 | if (PyErr_Occurred()) SWIG_fail; | |
6275 | } | |
6276 | Py_INCREF(Py_None); resultobj = Py_None; | |
6277 | return resultobj; | |
6278 | fail: | |
6279 | return NULL; | |
6280 | } | |
6281 | ||
6282 | ||
a95a7133 | 6283 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6284 | PyObject *resultobj; |
6285 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6286 | bool result; | |
6287 | PyObject * obj0 = 0 ; | |
6288 | char *kwnames[] = { | |
6289 | (char *) "self", NULL | |
6290 | }; | |
6291 | ||
6292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6295 | { |
6296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6297 | result = (bool)(arg1)->GetOvertype(); | |
6298 | ||
6299 | wxPyEndAllowThreads(__tstate); | |
6300 | if (PyErr_Occurred()) SWIG_fail; | |
6301 | } | |
4f89f6a3 RD |
6302 | { |
6303 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6304 | } | |
d14a1e28 RD |
6305 | return resultobj; |
6306 | fail: | |
6307 | return NULL; | |
6308 | } | |
6309 | ||
6310 | ||
a95a7133 | 6311 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6312 | PyObject *resultobj; |
6313 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6314 | int arg2 ; | |
6315 | PyObject * obj0 = 0 ; | |
994141e6 | 6316 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6317 | char *kwnames[] = { |
6318 | (char *) "self",(char *) "pixelWidth", NULL | |
6319 | }; | |
6320 | ||
994141e6 | 6321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6324 | arg2 = (int) SWIG_AsInt(obj1); | |
6325 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6326 | { |
6327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6328 | (arg1)->SetCaretWidth(arg2); | |
6329 | ||
6330 | wxPyEndAllowThreads(__tstate); | |
6331 | if (PyErr_Occurred()) SWIG_fail; | |
6332 | } | |
6333 | Py_INCREF(Py_None); resultobj = Py_None; | |
6334 | return resultobj; | |
6335 | fail: | |
6336 | return NULL; | |
6337 | } | |
6338 | ||
6339 | ||
a95a7133 | 6340 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6341 | PyObject *resultobj; |
6342 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6343 | int result; | |
6344 | PyObject * obj0 = 0 ; | |
6345 | char *kwnames[] = { | |
6346 | (char *) "self", NULL | |
6347 | }; | |
6348 | ||
6349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6352 | { |
6353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6354 | result = (int)(arg1)->GetCaretWidth(); | |
6355 | ||
6356 | wxPyEndAllowThreads(__tstate); | |
6357 | if (PyErr_Occurred()) SWIG_fail; | |
6358 | } | |
15afbcd0 | 6359 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6360 | return resultobj; |
6361 | fail: | |
6362 | return NULL; | |
6363 | } | |
6364 | ||
6365 | ||
a95a7133 | 6366 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6367 | PyObject *resultobj; |
6368 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6369 | int arg2 ; | |
6370 | PyObject * obj0 = 0 ; | |
994141e6 | 6371 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6372 | char *kwnames[] = { |
6373 | (char *) "self",(char *) "pos", NULL | |
6374 | }; | |
6375 | ||
994141e6 | 6376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6377 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6379 | arg2 = (int) SWIG_AsInt(obj1); | |
6380 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6381 | { |
6382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6383 | (arg1)->SetTargetStart(arg2); | |
6384 | ||
6385 | wxPyEndAllowThreads(__tstate); | |
6386 | if (PyErr_Occurred()) SWIG_fail; | |
6387 | } | |
6388 | Py_INCREF(Py_None); resultobj = Py_None; | |
6389 | return resultobj; | |
6390 | fail: | |
6391 | return NULL; | |
6392 | } | |
6393 | ||
6394 | ||
a95a7133 | 6395 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6396 | PyObject *resultobj; |
6397 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6398 | int result; | |
6399 | PyObject * obj0 = 0 ; | |
6400 | char *kwnames[] = { | |
6401 | (char *) "self", NULL | |
6402 | }; | |
6403 | ||
6404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6407 | { |
6408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6409 | result = (int)(arg1)->GetTargetStart(); | |
6410 | ||
6411 | wxPyEndAllowThreads(__tstate); | |
6412 | if (PyErr_Occurred()) SWIG_fail; | |
6413 | } | |
15afbcd0 | 6414 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6415 | return resultobj; |
6416 | fail: | |
6417 | return NULL; | |
6418 | } | |
6419 | ||
6420 | ||
a95a7133 | 6421 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6422 | PyObject *resultobj; |
6423 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6424 | int arg2 ; | |
6425 | PyObject * obj0 = 0 ; | |
994141e6 | 6426 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6427 | char *kwnames[] = { |
6428 | (char *) "self",(char *) "pos", NULL | |
6429 | }; | |
6430 | ||
994141e6 | 6431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6434 | arg2 = (int) SWIG_AsInt(obj1); | |
6435 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6436 | { |
6437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6438 | (arg1)->SetTargetEnd(arg2); | |
6439 | ||
6440 | wxPyEndAllowThreads(__tstate); | |
6441 | if (PyErr_Occurred()) SWIG_fail; | |
6442 | } | |
6443 | Py_INCREF(Py_None); resultobj = Py_None; | |
6444 | return resultobj; | |
6445 | fail: | |
6446 | return NULL; | |
6447 | } | |
6448 | ||
6449 | ||
a95a7133 | 6450 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6451 | PyObject *resultobj; |
6452 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6453 | int result; | |
6454 | PyObject * obj0 = 0 ; | |
6455 | char *kwnames[] = { | |
6456 | (char *) "self", NULL | |
6457 | }; | |
6458 | ||
6459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6462 | { |
6463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6464 | result = (int)(arg1)->GetTargetEnd(); | |
6465 | ||
6466 | wxPyEndAllowThreads(__tstate); | |
6467 | if (PyErr_Occurred()) SWIG_fail; | |
6468 | } | |
15afbcd0 | 6469 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6470 | return resultobj; |
6471 | fail: | |
6472 | return NULL; | |
6473 | } | |
6474 | ||
6475 | ||
a95a7133 | 6476 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6477 | PyObject *resultobj; |
6478 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6479 | wxString *arg2 = 0 ; | |
6480 | int result; | |
e811c8ce | 6481 | bool temp2 = False ; |
d14a1e28 RD |
6482 | PyObject * obj0 = 0 ; |
6483 | PyObject * obj1 = 0 ; | |
6484 | char *kwnames[] = { | |
6485 | (char *) "self",(char *) "text", NULL | |
6486 | }; | |
6487 | ||
6488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6491 | { |
6492 | arg2 = wxString_in_helper(obj1); | |
6493 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6494 | temp2 = True; |
d14a1e28 RD |
6495 | } |
6496 | { | |
6497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6498 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
6499 | ||
6500 | wxPyEndAllowThreads(__tstate); | |
6501 | if (PyErr_Occurred()) SWIG_fail; | |
6502 | } | |
15afbcd0 | 6503 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6504 | { |
6505 | if (temp2) | |
6506 | delete arg2; | |
6507 | } | |
6508 | return resultobj; | |
6509 | fail: | |
6510 | { | |
6511 | if (temp2) | |
6512 | delete arg2; | |
6513 | } | |
6514 | return NULL; | |
6515 | } | |
6516 | ||
6517 | ||
a95a7133 | 6518 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6519 | PyObject *resultobj; |
6520 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6521 | wxString *arg2 = 0 ; | |
6522 | int result; | |
e811c8ce | 6523 | bool temp2 = False ; |
d14a1e28 RD |
6524 | PyObject * obj0 = 0 ; |
6525 | PyObject * obj1 = 0 ; | |
6526 | char *kwnames[] = { | |
6527 | (char *) "self",(char *) "text", NULL | |
6528 | }; | |
6529 | ||
6530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6533 | { |
6534 | arg2 = wxString_in_helper(obj1); | |
6535 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6536 | temp2 = True; |
d14a1e28 RD |
6537 | } |
6538 | { | |
6539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6540 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
6541 | ||
6542 | wxPyEndAllowThreads(__tstate); | |
6543 | if (PyErr_Occurred()) SWIG_fail; | |
6544 | } | |
15afbcd0 | 6545 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6546 | { |
6547 | if (temp2) | |
6548 | delete arg2; | |
6549 | } | |
6550 | return resultobj; | |
6551 | fail: | |
6552 | { | |
6553 | if (temp2) | |
6554 | delete arg2; | |
6555 | } | |
6556 | return NULL; | |
6557 | } | |
6558 | ||
6559 | ||
a95a7133 | 6560 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6561 | PyObject *resultobj; |
6562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6563 | wxString *arg2 = 0 ; | |
6564 | int result; | |
e811c8ce | 6565 | bool temp2 = False ; |
d14a1e28 RD |
6566 | PyObject * obj0 = 0 ; |
6567 | PyObject * obj1 = 0 ; | |
6568 | char *kwnames[] = { | |
6569 | (char *) "self",(char *) "text", NULL | |
6570 | }; | |
6571 | ||
6572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6575 | { |
6576 | arg2 = wxString_in_helper(obj1); | |
6577 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6578 | temp2 = True; |
d14a1e28 RD |
6579 | } |
6580 | { | |
6581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6582 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
6583 | ||
6584 | wxPyEndAllowThreads(__tstate); | |
6585 | if (PyErr_Occurred()) SWIG_fail; | |
6586 | } | |
15afbcd0 | 6587 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6588 | { |
6589 | if (temp2) | |
6590 | delete arg2; | |
6591 | } | |
6592 | return resultobj; | |
6593 | fail: | |
6594 | { | |
6595 | if (temp2) | |
6596 | delete arg2; | |
6597 | } | |
6598 | return NULL; | |
6599 | } | |
6600 | ||
6601 | ||
a95a7133 | 6602 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6603 | PyObject *resultobj; |
6604 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6605 | int arg2 ; | |
6606 | PyObject * obj0 = 0 ; | |
994141e6 | 6607 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6608 | char *kwnames[] = { |
6609 | (char *) "self",(char *) "flags", NULL | |
6610 | }; | |
6611 | ||
994141e6 | 6612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6615 | arg2 = (int) SWIG_AsInt(obj1); | |
6616 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6617 | { |
6618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6619 | (arg1)->SetSearchFlags(arg2); | |
6620 | ||
6621 | wxPyEndAllowThreads(__tstate); | |
6622 | if (PyErr_Occurred()) SWIG_fail; | |
6623 | } | |
6624 | Py_INCREF(Py_None); resultobj = Py_None; | |
6625 | return resultobj; | |
6626 | fail: | |
6627 | return NULL; | |
6628 | } | |
6629 | ||
6630 | ||
a95a7133 | 6631 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6632 | PyObject *resultobj; |
6633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6634 | int result; | |
6635 | PyObject * obj0 = 0 ; | |
6636 | char *kwnames[] = { | |
6637 | (char *) "self", NULL | |
6638 | }; | |
6639 | ||
6640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6643 | { |
6644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6645 | result = (int)(arg1)->GetSearchFlags(); | |
6646 | ||
6647 | wxPyEndAllowThreads(__tstate); | |
6648 | if (PyErr_Occurred()) SWIG_fail; | |
6649 | } | |
15afbcd0 | 6650 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6651 | return resultobj; |
6652 | fail: | |
6653 | return NULL; | |
6654 | } | |
6655 | ||
6656 | ||
a95a7133 | 6657 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6658 | PyObject *resultobj; |
6659 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6660 | int arg2 ; | |
6661 | wxString *arg3 = 0 ; | |
e811c8ce | 6662 | bool temp3 = False ; |
d14a1e28 | 6663 | PyObject * obj0 = 0 ; |
994141e6 | 6664 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6665 | PyObject * obj2 = 0 ; |
6666 | char *kwnames[] = { | |
6667 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
6668 | }; | |
6669 | ||
994141e6 | 6670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6673 | arg2 = (int) SWIG_AsInt(obj1); | |
6674 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6675 | { |
6676 | arg3 = wxString_in_helper(obj2); | |
6677 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6678 | temp3 = True; |
d14a1e28 RD |
6679 | } |
6680 | { | |
6681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6682 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
6683 | ||
6684 | wxPyEndAllowThreads(__tstate); | |
6685 | if (PyErr_Occurred()) SWIG_fail; | |
6686 | } | |
6687 | Py_INCREF(Py_None); resultobj = Py_None; | |
6688 | { | |
6689 | if (temp3) | |
6690 | delete arg3; | |
6691 | } | |
6692 | return resultobj; | |
6693 | fail: | |
6694 | { | |
6695 | if (temp3) | |
6696 | delete arg3; | |
6697 | } | |
6698 | return NULL; | |
6699 | } | |
6700 | ||
6701 | ||
a95a7133 | 6702 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6703 | PyObject *resultobj; |
6704 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6705 | PyObject * obj0 = 0 ; | |
6706 | char *kwnames[] = { | |
6707 | (char *) "self", NULL | |
6708 | }; | |
6709 | ||
6710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6713 | { |
6714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6715 | (arg1)->CallTipCancel(); | |
6716 | ||
6717 | wxPyEndAllowThreads(__tstate); | |
6718 | if (PyErr_Occurred()) SWIG_fail; | |
6719 | } | |
6720 | Py_INCREF(Py_None); resultobj = Py_None; | |
6721 | return resultobj; | |
6722 | fail: | |
6723 | return NULL; | |
6724 | } | |
6725 | ||
6726 | ||
a95a7133 | 6727 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6728 | PyObject *resultobj; |
6729 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6730 | bool result; | |
6731 | PyObject * obj0 = 0 ; | |
6732 | char *kwnames[] = { | |
6733 | (char *) "self", NULL | |
6734 | }; | |
6735 | ||
6736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6739 | { |
6740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6741 | result = (bool)(arg1)->CallTipActive(); | |
6742 | ||
6743 | wxPyEndAllowThreads(__tstate); | |
6744 | if (PyErr_Occurred()) SWIG_fail; | |
6745 | } | |
4f89f6a3 RD |
6746 | { |
6747 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6748 | } | |
d14a1e28 RD |
6749 | return resultobj; |
6750 | fail: | |
6751 | return NULL; | |
6752 | } | |
6753 | ||
6754 | ||
a95a7133 | 6755 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6756 | PyObject *resultobj; |
6757 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6758 | int result; | |
6759 | PyObject * obj0 = 0 ; | |
6760 | char *kwnames[] = { | |
6761 | (char *) "self", NULL | |
6762 | }; | |
6763 | ||
6764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6767 | { |
6768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6769 | result = (int)(arg1)->CallTipPosAtStart(); | |
6770 | ||
6771 | wxPyEndAllowThreads(__tstate); | |
6772 | if (PyErr_Occurred()) SWIG_fail; | |
6773 | } | |
15afbcd0 | 6774 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6775 | return resultobj; |
6776 | fail: | |
6777 | return NULL; | |
6778 | } | |
6779 | ||
6780 | ||
a95a7133 | 6781 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6782 | PyObject *resultobj; |
6783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6784 | int arg2 ; | |
6785 | int arg3 ; | |
6786 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6787 | PyObject * obj1 = 0 ; |
6788 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6789 | char *kwnames[] = { |
6790 | (char *) "self",(char *) "start",(char *) "end", NULL | |
6791 | }; | |
6792 | ||
994141e6 | 6793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6796 | arg2 = (int) SWIG_AsInt(obj1); | |
6797 | if (PyErr_Occurred()) SWIG_fail; | |
6798 | arg3 = (int) SWIG_AsInt(obj2); | |
6799 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6800 | { |
6801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6802 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
6803 | ||
6804 | wxPyEndAllowThreads(__tstate); | |
6805 | if (PyErr_Occurred()) SWIG_fail; | |
6806 | } | |
6807 | Py_INCREF(Py_None); resultobj = Py_None; | |
6808 | return resultobj; | |
6809 | fail: | |
6810 | return NULL; | |
6811 | } | |
6812 | ||
6813 | ||
a95a7133 | 6814 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6815 | PyObject *resultobj; |
6816 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6817 | wxColour *arg2 = 0 ; | |
6818 | wxColour temp2 ; | |
6819 | PyObject * obj0 = 0 ; | |
6820 | PyObject * obj1 = 0 ; | |
6821 | char *kwnames[] = { | |
6822 | (char *) "self",(char *) "back", NULL | |
6823 | }; | |
6824 | ||
6825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6828 | { |
6829 | arg2 = &temp2; | |
6830 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6831 | } | |
6832 | { | |
6833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6834 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
6835 | ||
6836 | wxPyEndAllowThreads(__tstate); | |
6837 | if (PyErr_Occurred()) SWIG_fail; | |
6838 | } | |
6839 | Py_INCREF(Py_None); resultobj = Py_None; | |
6840 | return resultobj; | |
6841 | fail: | |
6842 | return NULL; | |
6843 | } | |
6844 | ||
6845 | ||
a95a7133 | 6846 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6847 | PyObject *resultobj; |
6848 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6849 | wxColour *arg2 = 0 ; | |
6850 | wxColour temp2 ; | |
6851 | PyObject * obj0 = 0 ; | |
6852 | PyObject * obj1 = 0 ; | |
6853 | char *kwnames[] = { | |
6854 | (char *) "self",(char *) "fore", NULL | |
6855 | }; | |
6856 | ||
6857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6860 | { |
6861 | arg2 = &temp2; | |
6862 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6863 | } | |
6864 | { | |
6865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6866 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
6867 | ||
6868 | wxPyEndAllowThreads(__tstate); | |
6869 | if (PyErr_Occurred()) SWIG_fail; | |
6870 | } | |
6871 | Py_INCREF(Py_None); resultobj = Py_None; | |
6872 | return resultobj; | |
6873 | fail: | |
6874 | return NULL; | |
6875 | } | |
6876 | ||
6877 | ||
a95a7133 | 6878 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6879 | PyObject *resultobj; |
6880 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6881 | wxColour *arg2 = 0 ; | |
6882 | wxColour temp2 ; | |
6883 | PyObject * obj0 = 0 ; | |
6884 | PyObject * obj1 = 0 ; | |
6885 | char *kwnames[] = { | |
6886 | (char *) "self",(char *) "fore", NULL | |
6887 | }; | |
6888 | ||
6889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6892 | { |
6893 | arg2 = &temp2; | |
6894 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6895 | } | |
6896 | { | |
6897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6898 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
6899 | ||
6900 | wxPyEndAllowThreads(__tstate); | |
6901 | if (PyErr_Occurred()) SWIG_fail; | |
6902 | } | |
6903 | Py_INCREF(Py_None); resultobj = Py_None; | |
6904 | return resultobj; | |
6905 | fail: | |
6906 | return NULL; | |
6907 | } | |
6908 | ||
6909 | ||
a95a7133 | 6910 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6911 | PyObject *resultobj; |
6912 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6913 | int arg2 ; | |
6914 | int result; | |
6915 | PyObject * obj0 = 0 ; | |
994141e6 | 6916 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6917 | char *kwnames[] = { |
6918 | (char *) "self",(char *) "line", NULL | |
6919 | }; | |
6920 | ||
994141e6 | 6921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6924 | arg2 = (int) SWIG_AsInt(obj1); | |
6925 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6926 | { |
6927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6928 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
6929 | ||
6930 | wxPyEndAllowThreads(__tstate); | |
6931 | if (PyErr_Occurred()) SWIG_fail; | |
6932 | } | |
15afbcd0 | 6933 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6934 | return resultobj; |
6935 | fail: | |
6936 | return NULL; | |
6937 | } | |
6938 | ||
6939 | ||
a95a7133 | 6940 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6941 | PyObject *resultobj; |
6942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6943 | int arg2 ; | |
6944 | int result; | |
6945 | PyObject * obj0 = 0 ; | |
994141e6 | 6946 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6947 | char *kwnames[] = { |
6948 | (char *) "self",(char *) "lineDisplay", NULL | |
6949 | }; | |
6950 | ||
994141e6 | 6951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6954 | arg2 = (int) SWIG_AsInt(obj1); | |
6955 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6956 | { |
6957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6958 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
6959 | ||
6960 | wxPyEndAllowThreads(__tstate); | |
6961 | if (PyErr_Occurred()) SWIG_fail; | |
6962 | } | |
15afbcd0 | 6963 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6964 | return resultobj; |
6965 | fail: | |
6966 | return NULL; | |
6967 | } | |
6968 | ||
6969 | ||
a95a7133 | 6970 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6971 | PyObject *resultobj; |
6972 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6973 | int arg2 ; | |
6974 | int arg3 ; | |
6975 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6976 | PyObject * obj1 = 0 ; |
6977 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6978 | char *kwnames[] = { |
6979 | (char *) "self",(char *) "line",(char *) "level", NULL | |
6980 | }; | |
6981 | ||
994141e6 | 6982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6985 | arg2 = (int) SWIG_AsInt(obj1); | |
6986 | if (PyErr_Occurred()) SWIG_fail; | |
6987 | arg3 = (int) SWIG_AsInt(obj2); | |
6988 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6989 | { |
6990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6991 | (arg1)->SetFoldLevel(arg2,arg3); | |
6992 | ||
6993 | wxPyEndAllowThreads(__tstate); | |
6994 | if (PyErr_Occurred()) SWIG_fail; | |
6995 | } | |
6996 | Py_INCREF(Py_None); resultobj = Py_None; | |
6997 | return resultobj; | |
6998 | fail: | |
6999 | return NULL; | |
7000 | } | |
7001 | ||
7002 | ||
a95a7133 | 7003 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7004 | PyObject *resultobj; |
7005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7006 | int arg2 ; | |
7007 | int result; | |
7008 | PyObject * obj0 = 0 ; | |
994141e6 | 7009 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7010 | char *kwnames[] = { |
7011 | (char *) "self",(char *) "line", NULL | |
7012 | }; | |
7013 | ||
994141e6 | 7014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7017 | arg2 = (int) SWIG_AsInt(obj1); | |
7018 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7019 | { |
7020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7021 | result = (int)(arg1)->GetFoldLevel(arg2); | |
7022 | ||
7023 | wxPyEndAllowThreads(__tstate); | |
7024 | if (PyErr_Occurred()) SWIG_fail; | |
7025 | } | |
15afbcd0 | 7026 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7027 | return resultobj; |
7028 | fail: | |
7029 | return NULL; | |
7030 | } | |
7031 | ||
7032 | ||
a95a7133 | 7033 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7034 | PyObject *resultobj; |
7035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7036 | int arg2 ; | |
7037 | int arg3 ; | |
7038 | int result; | |
7039 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7040 | PyObject * obj1 = 0 ; |
7041 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7042 | char *kwnames[] = { |
7043 | (char *) "self",(char *) "line",(char *) "level", NULL | |
7044 | }; | |
7045 | ||
994141e6 | 7046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7047 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7048 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7049 | arg2 = (int) SWIG_AsInt(obj1); | |
7050 | if (PyErr_Occurred()) SWIG_fail; | |
7051 | arg3 = (int) SWIG_AsInt(obj2); | |
7052 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7053 | { |
7054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7055 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
7056 | ||
7057 | wxPyEndAllowThreads(__tstate); | |
7058 | if (PyErr_Occurred()) SWIG_fail; | |
7059 | } | |
15afbcd0 | 7060 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7061 | return resultobj; |
7062 | fail: | |
7063 | return NULL; | |
7064 | } | |
7065 | ||
7066 | ||
a95a7133 | 7067 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7068 | PyObject *resultobj; |
7069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7070 | int arg2 ; | |
7071 | int result; | |
7072 | PyObject * obj0 = 0 ; | |
994141e6 | 7073 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7074 | char *kwnames[] = { |
7075 | (char *) "self",(char *) "line", NULL | |
7076 | }; | |
7077 | ||
994141e6 | 7078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7081 | arg2 = (int) SWIG_AsInt(obj1); | |
7082 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7083 | { |
7084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7085 | result = (int)(arg1)->GetFoldParent(arg2); | |
7086 | ||
7087 | wxPyEndAllowThreads(__tstate); | |
7088 | if (PyErr_Occurred()) SWIG_fail; | |
7089 | } | |
15afbcd0 | 7090 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7091 | return resultobj; |
7092 | fail: | |
7093 | return NULL; | |
7094 | } | |
7095 | ||
7096 | ||
a95a7133 | 7097 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7098 | PyObject *resultobj; |
7099 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7100 | int arg2 ; | |
7101 | int arg3 ; | |
7102 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7103 | PyObject * obj1 = 0 ; |
7104 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7105 | char *kwnames[] = { |
7106 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7107 | }; | |
7108 | ||
994141e6 | 7109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7112 | arg2 = (int) SWIG_AsInt(obj1); | |
7113 | if (PyErr_Occurred()) SWIG_fail; | |
7114 | arg3 = (int) SWIG_AsInt(obj2); | |
7115 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7116 | { |
7117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7118 | (arg1)->ShowLines(arg2,arg3); | |
7119 | ||
7120 | wxPyEndAllowThreads(__tstate); | |
7121 | if (PyErr_Occurred()) SWIG_fail; | |
7122 | } | |
7123 | Py_INCREF(Py_None); resultobj = Py_None; | |
7124 | return resultobj; | |
7125 | fail: | |
7126 | return NULL; | |
7127 | } | |
7128 | ||
7129 | ||
a95a7133 | 7130 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7131 | PyObject *resultobj; |
7132 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7133 | int arg2 ; | |
7134 | int arg3 ; | |
7135 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7136 | PyObject * obj1 = 0 ; |
7137 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7138 | char *kwnames[] = { |
7139 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7140 | }; | |
7141 | ||
994141e6 | 7142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7145 | arg2 = (int) SWIG_AsInt(obj1); | |
7146 | if (PyErr_Occurred()) SWIG_fail; | |
7147 | arg3 = (int) SWIG_AsInt(obj2); | |
7148 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7149 | { |
7150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7151 | (arg1)->HideLines(arg2,arg3); | |
7152 | ||
7153 | wxPyEndAllowThreads(__tstate); | |
7154 | if (PyErr_Occurred()) SWIG_fail; | |
7155 | } | |
7156 | Py_INCREF(Py_None); resultobj = Py_None; | |
7157 | return resultobj; | |
7158 | fail: | |
7159 | return NULL; | |
7160 | } | |
7161 | ||
7162 | ||
a95a7133 | 7163 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7164 | PyObject *resultobj; |
7165 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7166 | int arg2 ; | |
7167 | bool result; | |
7168 | PyObject * obj0 = 0 ; | |
994141e6 | 7169 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7170 | char *kwnames[] = { |
7171 | (char *) "self",(char *) "line", NULL | |
7172 | }; | |
7173 | ||
994141e6 | 7174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7177 | arg2 = (int) SWIG_AsInt(obj1); | |
7178 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7179 | { |
7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7181 | result = (bool)(arg1)->GetLineVisible(arg2); | |
7182 | ||
7183 | wxPyEndAllowThreads(__tstate); | |
7184 | if (PyErr_Occurred()) SWIG_fail; | |
7185 | } | |
4f89f6a3 RD |
7186 | { |
7187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7188 | } | |
d14a1e28 RD |
7189 | return resultobj; |
7190 | fail: | |
7191 | return NULL; | |
7192 | } | |
7193 | ||
7194 | ||
a95a7133 | 7195 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7196 | PyObject *resultobj; |
7197 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7198 | int arg2 ; | |
7199 | bool arg3 ; | |
7200 | PyObject * obj0 = 0 ; | |
994141e6 | 7201 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7202 | PyObject * obj2 = 0 ; |
7203 | char *kwnames[] = { | |
7204 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
7205 | }; | |
7206 | ||
994141e6 | 7207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7210 | arg2 = (int) SWIG_AsInt(obj1); | |
7211 | if (PyErr_Occurred()) SWIG_fail; | |
7212 | arg3 = (bool) SWIG_AsBool(obj2); | |
7213 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7214 | { |
7215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7216 | (arg1)->SetFoldExpanded(arg2,arg3); | |
7217 | ||
7218 | wxPyEndAllowThreads(__tstate); | |
7219 | if (PyErr_Occurred()) SWIG_fail; | |
7220 | } | |
7221 | Py_INCREF(Py_None); resultobj = Py_None; | |
7222 | return resultobj; | |
7223 | fail: | |
7224 | return NULL; | |
7225 | } | |
7226 | ||
7227 | ||
a95a7133 | 7228 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7229 | PyObject *resultobj; |
7230 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7231 | int arg2 ; | |
7232 | bool result; | |
7233 | PyObject * obj0 = 0 ; | |
994141e6 | 7234 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7235 | char *kwnames[] = { |
7236 | (char *) "self",(char *) "line", NULL | |
7237 | }; | |
7238 | ||
994141e6 | 7239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7242 | arg2 = (int) SWIG_AsInt(obj1); | |
7243 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7244 | { |
7245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7246 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
7247 | ||
7248 | wxPyEndAllowThreads(__tstate); | |
7249 | if (PyErr_Occurred()) SWIG_fail; | |
7250 | } | |
4f89f6a3 RD |
7251 | { |
7252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7253 | } | |
d14a1e28 RD |
7254 | return resultobj; |
7255 | fail: | |
7256 | return NULL; | |
7257 | } | |
7258 | ||
7259 | ||
a95a7133 | 7260 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7261 | PyObject *resultobj; |
7262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7263 | int arg2 ; | |
7264 | PyObject * obj0 = 0 ; | |
994141e6 | 7265 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7266 | char *kwnames[] = { |
7267 | (char *) "self",(char *) "line", NULL | |
7268 | }; | |
7269 | ||
994141e6 | 7270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7273 | arg2 = (int) SWIG_AsInt(obj1); | |
7274 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7275 | { |
7276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7277 | (arg1)->ToggleFold(arg2); | |
7278 | ||
7279 | wxPyEndAllowThreads(__tstate); | |
7280 | if (PyErr_Occurred()) SWIG_fail; | |
7281 | } | |
7282 | Py_INCREF(Py_None); resultobj = Py_None; | |
7283 | return resultobj; | |
7284 | fail: | |
7285 | return NULL; | |
7286 | } | |
7287 | ||
7288 | ||
a95a7133 | 7289 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7290 | PyObject *resultobj; |
7291 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7292 | int arg2 ; | |
7293 | PyObject * obj0 = 0 ; | |
994141e6 | 7294 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7295 | char *kwnames[] = { |
7296 | (char *) "self",(char *) "line", NULL | |
7297 | }; | |
7298 | ||
994141e6 | 7299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7302 | arg2 = (int) SWIG_AsInt(obj1); | |
7303 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7304 | { |
7305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7306 | (arg1)->EnsureVisible(arg2); | |
7307 | ||
7308 | wxPyEndAllowThreads(__tstate); | |
7309 | if (PyErr_Occurred()) SWIG_fail; | |
7310 | } | |
7311 | Py_INCREF(Py_None); resultobj = Py_None; | |
7312 | return resultobj; | |
7313 | fail: | |
7314 | return NULL; | |
7315 | } | |
7316 | ||
7317 | ||
a95a7133 | 7318 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7319 | PyObject *resultobj; |
7320 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7321 | int arg2 ; | |
7322 | PyObject * obj0 = 0 ; | |
994141e6 | 7323 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7324 | char *kwnames[] = { |
7325 | (char *) "self",(char *) "flags", NULL | |
7326 | }; | |
7327 | ||
994141e6 | 7328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7331 | arg2 = (int) SWIG_AsInt(obj1); | |
7332 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7333 | { |
7334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7335 | (arg1)->SetFoldFlags(arg2); | |
7336 | ||
7337 | wxPyEndAllowThreads(__tstate); | |
7338 | if (PyErr_Occurred()) SWIG_fail; | |
7339 | } | |
7340 | Py_INCREF(Py_None); resultobj = Py_None; | |
7341 | return resultobj; | |
7342 | fail: | |
7343 | return NULL; | |
7344 | } | |
7345 | ||
7346 | ||
a95a7133 | 7347 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7348 | PyObject *resultobj; |
7349 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7350 | int arg2 ; | |
7351 | PyObject * obj0 = 0 ; | |
994141e6 | 7352 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7353 | char *kwnames[] = { |
7354 | (char *) "self",(char *) "line", NULL | |
7355 | }; | |
7356 | ||
994141e6 | 7357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7360 | arg2 = (int) SWIG_AsInt(obj1); | |
7361 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7362 | { |
7363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7364 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
7365 | ||
7366 | wxPyEndAllowThreads(__tstate); | |
7367 | if (PyErr_Occurred()) SWIG_fail; | |
7368 | } | |
7369 | Py_INCREF(Py_None); resultobj = Py_None; | |
7370 | return resultobj; | |
7371 | fail: | |
7372 | return NULL; | |
7373 | } | |
7374 | ||
7375 | ||
a95a7133 | 7376 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7377 | PyObject *resultobj; |
7378 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7379 | bool arg2 ; | |
7380 | PyObject * obj0 = 0 ; | |
7381 | PyObject * obj1 = 0 ; | |
7382 | char *kwnames[] = { | |
7383 | (char *) "self",(char *) "tabIndents", NULL | |
7384 | }; | |
7385 | ||
7386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7389 | arg2 = (bool) SWIG_AsBool(obj1); | |
7390 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7391 | { |
7392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7393 | (arg1)->SetTabIndents(arg2); | |
7394 | ||
7395 | wxPyEndAllowThreads(__tstate); | |
7396 | if (PyErr_Occurred()) SWIG_fail; | |
7397 | } | |
7398 | Py_INCREF(Py_None); resultobj = Py_None; | |
7399 | return resultobj; | |
7400 | fail: | |
7401 | return NULL; | |
7402 | } | |
7403 | ||
7404 | ||
a95a7133 | 7405 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7406 | PyObject *resultobj; |
7407 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7408 | bool result; | |
7409 | PyObject * obj0 = 0 ; | |
7410 | char *kwnames[] = { | |
7411 | (char *) "self", NULL | |
7412 | }; | |
7413 | ||
7414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7417 | { |
7418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7419 | result = (bool)(arg1)->GetTabIndents(); | |
7420 | ||
7421 | wxPyEndAllowThreads(__tstate); | |
7422 | if (PyErr_Occurred()) SWIG_fail; | |
7423 | } | |
4f89f6a3 RD |
7424 | { |
7425 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7426 | } | |
d14a1e28 RD |
7427 | return resultobj; |
7428 | fail: | |
7429 | return NULL; | |
7430 | } | |
7431 | ||
7432 | ||
a95a7133 | 7433 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7434 | PyObject *resultobj; |
7435 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7436 | bool arg2 ; | |
7437 | PyObject * obj0 = 0 ; | |
7438 | PyObject * obj1 = 0 ; | |
7439 | char *kwnames[] = { | |
7440 | (char *) "self",(char *) "bsUnIndents", NULL | |
7441 | }; | |
7442 | ||
7443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7446 | arg2 = (bool) SWIG_AsBool(obj1); | |
7447 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7448 | { |
7449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7450 | (arg1)->SetBackSpaceUnIndents(arg2); | |
7451 | ||
7452 | wxPyEndAllowThreads(__tstate); | |
7453 | if (PyErr_Occurred()) SWIG_fail; | |
7454 | } | |
7455 | Py_INCREF(Py_None); resultobj = Py_None; | |
7456 | return resultobj; | |
7457 | fail: | |
7458 | return NULL; | |
7459 | } | |
7460 | ||
7461 | ||
a95a7133 | 7462 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7463 | PyObject *resultobj; |
7464 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7465 | bool result; | |
7466 | PyObject * obj0 = 0 ; | |
7467 | char *kwnames[] = { | |
7468 | (char *) "self", NULL | |
7469 | }; | |
7470 | ||
7471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7474 | { |
7475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7476 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
7477 | ||
7478 | wxPyEndAllowThreads(__tstate); | |
7479 | if (PyErr_Occurred()) SWIG_fail; | |
7480 | } | |
4f89f6a3 RD |
7481 | { |
7482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7483 | } | |
d14a1e28 RD |
7484 | return resultobj; |
7485 | fail: | |
7486 | return NULL; | |
7487 | } | |
7488 | ||
7489 | ||
a95a7133 | 7490 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7491 | PyObject *resultobj; |
7492 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7493 | int arg2 ; | |
7494 | PyObject * obj0 = 0 ; | |
994141e6 | 7495 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7496 | char *kwnames[] = { |
7497 | (char *) "self",(char *) "periodMilliseconds", NULL | |
7498 | }; | |
7499 | ||
994141e6 | 7500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7503 | arg2 = (int) SWIG_AsInt(obj1); | |
7504 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7505 | { |
7506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7507 | (arg1)->SetMouseDwellTime(arg2); | |
7508 | ||
7509 | wxPyEndAllowThreads(__tstate); | |
7510 | if (PyErr_Occurred()) SWIG_fail; | |
7511 | } | |
7512 | Py_INCREF(Py_None); resultobj = Py_None; | |
7513 | return resultobj; | |
7514 | fail: | |
7515 | return NULL; | |
7516 | } | |
7517 | ||
7518 | ||
a95a7133 | 7519 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7520 | PyObject *resultobj; |
7521 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7522 | int result; | |
7523 | PyObject * obj0 = 0 ; | |
7524 | char *kwnames[] = { | |
7525 | (char *) "self", NULL | |
7526 | }; | |
7527 | ||
7528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7531 | { |
7532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7533 | result = (int)(arg1)->GetMouseDwellTime(); | |
7534 | ||
7535 | wxPyEndAllowThreads(__tstate); | |
7536 | if (PyErr_Occurred()) SWIG_fail; | |
7537 | } | |
15afbcd0 | 7538 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7539 | return resultobj; |
7540 | fail: | |
7541 | return NULL; | |
7542 | } | |
7543 | ||
7544 | ||
a95a7133 | 7545 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7546 | PyObject *resultobj; |
7547 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7548 | int arg2 ; | |
7549 | bool arg3 ; | |
7550 | int result; | |
7551 | PyObject * obj0 = 0 ; | |
994141e6 | 7552 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7553 | PyObject * obj2 = 0 ; |
7554 | char *kwnames[] = { | |
7555 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7556 | }; | |
7557 | ||
994141e6 | 7558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7561 | arg2 = (int) SWIG_AsInt(obj1); | |
7562 | if (PyErr_Occurred()) SWIG_fail; | |
7563 | arg3 = (bool) SWIG_AsBool(obj2); | |
7564 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7565 | { |
7566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7567 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
7568 | ||
7569 | wxPyEndAllowThreads(__tstate); | |
7570 | if (PyErr_Occurred()) SWIG_fail; | |
7571 | } | |
15afbcd0 | 7572 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7573 | return resultobj; |
7574 | fail: | |
7575 | return NULL; | |
7576 | } | |
7577 | ||
7578 | ||
a95a7133 | 7579 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7580 | PyObject *resultobj; |
7581 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7582 | int arg2 ; | |
7583 | bool arg3 ; | |
7584 | int result; | |
7585 | PyObject * obj0 = 0 ; | |
994141e6 | 7586 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7587 | PyObject * obj2 = 0 ; |
7588 | char *kwnames[] = { | |
7589 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7590 | }; | |
7591 | ||
994141e6 | 7592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7595 | arg2 = (int) SWIG_AsInt(obj1); | |
7596 | if (PyErr_Occurred()) SWIG_fail; | |
7597 | arg3 = (bool) SWIG_AsBool(obj2); | |
7598 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7599 | { |
7600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7601 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
7602 | ||
7603 | wxPyEndAllowThreads(__tstate); | |
7604 | if (PyErr_Occurred()) SWIG_fail; | |
7605 | } | |
15afbcd0 | 7606 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7607 | return resultobj; |
7608 | fail: | |
7609 | return NULL; | |
7610 | } | |
7611 | ||
7612 | ||
a95a7133 | 7613 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7614 | PyObject *resultobj; |
7615 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7616 | int arg2 ; | |
7617 | PyObject * obj0 = 0 ; | |
994141e6 | 7618 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7619 | char *kwnames[] = { |
7620 | (char *) "self",(char *) "mode", NULL | |
7621 | }; | |
7622 | ||
994141e6 | 7623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7626 | arg2 = (int) SWIG_AsInt(obj1); | |
7627 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7628 | { |
7629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7630 | (arg1)->SetWrapMode(arg2); | |
7631 | ||
7632 | wxPyEndAllowThreads(__tstate); | |
7633 | if (PyErr_Occurred()) SWIG_fail; | |
7634 | } | |
7635 | Py_INCREF(Py_None); resultobj = Py_None; | |
7636 | return resultobj; | |
7637 | fail: | |
7638 | return NULL; | |
7639 | } | |
7640 | ||
7641 | ||
a95a7133 | 7642 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7643 | PyObject *resultobj; |
7644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7645 | int result; | |
7646 | PyObject * obj0 = 0 ; | |
7647 | char *kwnames[] = { | |
7648 | (char *) "self", NULL | |
7649 | }; | |
7650 | ||
7651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7654 | { |
7655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7656 | result = (int)(arg1)->GetWrapMode(); | |
7657 | ||
7658 | wxPyEndAllowThreads(__tstate); | |
7659 | if (PyErr_Occurred()) SWIG_fail; | |
7660 | } | |
15afbcd0 | 7661 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7662 | return resultobj; |
7663 | fail: | |
7664 | return NULL; | |
7665 | } | |
7666 | ||
7667 | ||
a95a7133 | 7668 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7669 | PyObject *resultobj; |
7670 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7671 | int arg2 ; | |
7672 | PyObject * obj0 = 0 ; | |
994141e6 | 7673 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7674 | char *kwnames[] = { |
7675 | (char *) "self",(char *) "mode", NULL | |
7676 | }; | |
7677 | ||
994141e6 | 7678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7681 | arg2 = (int) SWIG_AsInt(obj1); | |
7682 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7683 | { |
7684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7685 | (arg1)->SetLayoutCache(arg2); | |
7686 | ||
7687 | wxPyEndAllowThreads(__tstate); | |
7688 | if (PyErr_Occurred()) SWIG_fail; | |
7689 | } | |
7690 | Py_INCREF(Py_None); resultobj = Py_None; | |
7691 | return resultobj; | |
7692 | fail: | |
7693 | return NULL; | |
7694 | } | |
7695 | ||
7696 | ||
a95a7133 | 7697 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7698 | PyObject *resultobj; |
7699 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7700 | int result; | |
7701 | PyObject * obj0 = 0 ; | |
7702 | char *kwnames[] = { | |
7703 | (char *) "self", NULL | |
7704 | }; | |
7705 | ||
7706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7707 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7709 | { |
7710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7711 | result = (int)(arg1)->GetLayoutCache(); | |
7712 | ||
7713 | wxPyEndAllowThreads(__tstate); | |
7714 | if (PyErr_Occurred()) SWIG_fail; | |
7715 | } | |
15afbcd0 | 7716 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7717 | return resultobj; |
7718 | fail: | |
7719 | return NULL; | |
7720 | } | |
7721 | ||
7722 | ||
a95a7133 | 7723 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7724 | PyObject *resultobj; |
7725 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7726 | int arg2 ; | |
7727 | PyObject * obj0 = 0 ; | |
994141e6 | 7728 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7729 | char *kwnames[] = { |
7730 | (char *) "self",(char *) "pixelWidth", NULL | |
7731 | }; | |
7732 | ||
994141e6 | 7733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7736 | arg2 = (int) SWIG_AsInt(obj1); | |
7737 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7738 | { |
7739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7740 | (arg1)->SetScrollWidth(arg2); | |
7741 | ||
7742 | wxPyEndAllowThreads(__tstate); | |
7743 | if (PyErr_Occurred()) SWIG_fail; | |
7744 | } | |
7745 | Py_INCREF(Py_None); resultobj = Py_None; | |
7746 | return resultobj; | |
7747 | fail: | |
7748 | return NULL; | |
7749 | } | |
7750 | ||
7751 | ||
a95a7133 | 7752 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7753 | PyObject *resultobj; |
7754 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7755 | int result; | |
7756 | PyObject * obj0 = 0 ; | |
7757 | char *kwnames[] = { | |
7758 | (char *) "self", NULL | |
7759 | }; | |
7760 | ||
7761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7764 | { |
7765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7766 | result = (int)(arg1)->GetScrollWidth(); | |
7767 | ||
7768 | wxPyEndAllowThreads(__tstate); | |
7769 | if (PyErr_Occurred()) SWIG_fail; | |
7770 | } | |
15afbcd0 | 7771 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7772 | return resultobj; |
7773 | fail: | |
7774 | return NULL; | |
7775 | } | |
7776 | ||
7777 | ||
a95a7133 | 7778 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7779 | PyObject *resultobj; |
7780 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7781 | int arg2 ; | |
7782 | wxString *arg3 = 0 ; | |
7783 | int result; | |
e811c8ce | 7784 | bool temp3 = False ; |
d14a1e28 | 7785 | PyObject * obj0 = 0 ; |
994141e6 | 7786 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7787 | PyObject * obj2 = 0 ; |
7788 | char *kwnames[] = { | |
7789 | (char *) "self",(char *) "style",(char *) "text", NULL | |
7790 | }; | |
7791 | ||
994141e6 | 7792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7795 | arg2 = (int) SWIG_AsInt(obj1); | |
7796 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7797 | { |
7798 | arg3 = wxString_in_helper(obj2); | |
7799 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7800 | temp3 = True; |
d14a1e28 RD |
7801 | } |
7802 | { | |
7803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7804 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
7805 | ||
7806 | wxPyEndAllowThreads(__tstate); | |
7807 | if (PyErr_Occurred()) SWIG_fail; | |
7808 | } | |
15afbcd0 | 7809 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7810 | { |
7811 | if (temp3) | |
7812 | delete arg3; | |
7813 | } | |
7814 | return resultobj; | |
7815 | fail: | |
7816 | { | |
7817 | if (temp3) | |
7818 | delete arg3; | |
7819 | } | |
7820 | return NULL; | |
7821 | } | |
7822 | ||
7823 | ||
a95a7133 | 7824 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7825 | PyObject *resultobj; |
7826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7827 | bool arg2 ; | |
7828 | PyObject * obj0 = 0 ; | |
7829 | PyObject * obj1 = 0 ; | |
7830 | char *kwnames[] = { | |
7831 | (char *) "self",(char *) "endAtLastLine", NULL | |
7832 | }; | |
7833 | ||
7834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7837 | arg2 = (bool) SWIG_AsBool(obj1); | |
7838 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7839 | { |
7840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7841 | (arg1)->SetEndAtLastLine(arg2); | |
7842 | ||
7843 | wxPyEndAllowThreads(__tstate); | |
7844 | if (PyErr_Occurred()) SWIG_fail; | |
7845 | } | |
7846 | Py_INCREF(Py_None); resultobj = Py_None; | |
7847 | return resultobj; | |
7848 | fail: | |
7849 | return NULL; | |
7850 | } | |
7851 | ||
7852 | ||
a95a7133 | 7853 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7854 | PyObject *resultobj; |
7855 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7856 | int result; | |
7857 | PyObject * obj0 = 0 ; | |
7858 | char *kwnames[] = { | |
7859 | (char *) "self", NULL | |
7860 | }; | |
7861 | ||
7862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7865 | { |
7866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7867 | result = (int)(arg1)->GetEndAtLastLine(); | |
7868 | ||
7869 | wxPyEndAllowThreads(__tstate); | |
7870 | if (PyErr_Occurred()) SWIG_fail; | |
7871 | } | |
15afbcd0 | 7872 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7873 | return resultobj; |
7874 | fail: | |
7875 | return NULL; | |
7876 | } | |
7877 | ||
7878 | ||
a95a7133 | 7879 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7880 | PyObject *resultobj; |
7881 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7882 | int arg2 ; | |
7883 | int result; | |
7884 | PyObject * obj0 = 0 ; | |
994141e6 | 7885 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7886 | char *kwnames[] = { |
7887 | (char *) "self",(char *) "line", NULL | |
7888 | }; | |
7889 | ||
994141e6 | 7890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7893 | arg2 = (int) SWIG_AsInt(obj1); | |
7894 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7895 | { |
7896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7897 | result = (int)(arg1)->TextHeight(arg2); | |
7898 | ||
7899 | wxPyEndAllowThreads(__tstate); | |
7900 | if (PyErr_Occurred()) SWIG_fail; | |
7901 | } | |
15afbcd0 | 7902 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7903 | return resultobj; |
7904 | fail: | |
7905 | return NULL; | |
7906 | } | |
7907 | ||
7908 | ||
a95a7133 | 7909 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7910 | PyObject *resultobj; |
7911 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7912 | bool arg2 ; | |
7913 | PyObject * obj0 = 0 ; | |
7914 | PyObject * obj1 = 0 ; | |
7915 | char *kwnames[] = { | |
7916 | (char *) "self",(char *) "show", NULL | |
7917 | }; | |
7918 | ||
7919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7922 | arg2 = (bool) SWIG_AsBool(obj1); | |
7923 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7924 | { |
7925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7926 | (arg1)->SetUseVerticalScrollBar(arg2); | |
7927 | ||
7928 | wxPyEndAllowThreads(__tstate); | |
7929 | if (PyErr_Occurred()) SWIG_fail; | |
7930 | } | |
7931 | Py_INCREF(Py_None); resultobj = Py_None; | |
7932 | return resultobj; | |
7933 | fail: | |
7934 | return NULL; | |
7935 | } | |
7936 | ||
7937 | ||
a95a7133 | 7938 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7939 | PyObject *resultobj; |
7940 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7941 | bool result; | |
7942 | PyObject * obj0 = 0 ; | |
7943 | char *kwnames[] = { | |
7944 | (char *) "self", NULL | |
7945 | }; | |
7946 | ||
7947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7950 | { |
7951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7952 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
7953 | ||
7954 | wxPyEndAllowThreads(__tstate); | |
7955 | if (PyErr_Occurred()) SWIG_fail; | |
7956 | } | |
4f89f6a3 RD |
7957 | { |
7958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7959 | } | |
d14a1e28 RD |
7960 | return resultobj; |
7961 | fail: | |
7962 | return NULL; | |
7963 | } | |
7964 | ||
7965 | ||
a95a7133 | 7966 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7967 | PyObject *resultobj; |
7968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7969 | int arg2 ; | |
7970 | wxString *arg3 = 0 ; | |
e811c8ce | 7971 | bool temp3 = False ; |
d14a1e28 | 7972 | PyObject * obj0 = 0 ; |
994141e6 | 7973 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7974 | PyObject * obj2 = 0 ; |
7975 | char *kwnames[] = { | |
7976 | (char *) "self",(char *) "length",(char *) "text", NULL | |
7977 | }; | |
7978 | ||
994141e6 | 7979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7982 | arg2 = (int) SWIG_AsInt(obj1); | |
7983 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7984 | { |
7985 | arg3 = wxString_in_helper(obj2); | |
7986 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7987 | temp3 = True; |
d14a1e28 RD |
7988 | } |
7989 | { | |
7990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7991 | (arg1)->AppendText(arg2,(wxString const &)*arg3); | |
7992 | ||
7993 | wxPyEndAllowThreads(__tstate); | |
7994 | if (PyErr_Occurred()) SWIG_fail; | |
7995 | } | |
7996 | Py_INCREF(Py_None); resultobj = Py_None; | |
7997 | { | |
7998 | if (temp3) | |
7999 | delete arg3; | |
8000 | } | |
8001 | return resultobj; | |
8002 | fail: | |
8003 | { | |
8004 | if (temp3) | |
8005 | delete arg3; | |
8006 | } | |
8007 | return NULL; | |
8008 | } | |
8009 | ||
8010 | ||
a95a7133 | 8011 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8012 | PyObject *resultobj; |
8013 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8014 | bool result; | |
8015 | PyObject * obj0 = 0 ; | |
8016 | char *kwnames[] = { | |
8017 | (char *) "self", NULL | |
8018 | }; | |
8019 | ||
8020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8023 | { |
8024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8025 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
8026 | ||
8027 | wxPyEndAllowThreads(__tstate); | |
8028 | if (PyErr_Occurred()) SWIG_fail; | |
8029 | } | |
4f89f6a3 RD |
8030 | { |
8031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8032 | } | |
d14a1e28 RD |
8033 | return resultobj; |
8034 | fail: | |
8035 | return NULL; | |
8036 | } | |
8037 | ||
8038 | ||
a95a7133 | 8039 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8040 | PyObject *resultobj; |
8041 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8042 | bool arg2 ; | |
8043 | PyObject * obj0 = 0 ; | |
8044 | PyObject * obj1 = 0 ; | |
8045 | char *kwnames[] = { | |
8046 | (char *) "self",(char *) "twoPhase", NULL | |
8047 | }; | |
8048 | ||
8049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8052 | arg2 = (bool) SWIG_AsBool(obj1); | |
8053 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8054 | { |
8055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8056 | (arg1)->SetTwoPhaseDraw(arg2); | |
8057 | ||
8058 | wxPyEndAllowThreads(__tstate); | |
8059 | if (PyErr_Occurred()) SWIG_fail; | |
8060 | } | |
8061 | Py_INCREF(Py_None); resultobj = Py_None; | |
8062 | return resultobj; | |
8063 | fail: | |
8064 | return NULL; | |
8065 | } | |
8066 | ||
8067 | ||
a95a7133 | 8068 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8069 | PyObject *resultobj; |
8070 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8071 | PyObject * obj0 = 0 ; | |
8072 | char *kwnames[] = { | |
8073 | (char *) "self", NULL | |
8074 | }; | |
8075 | ||
8076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8079 | { |
8080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8081 | (arg1)->TargetFromSelection(); | |
8082 | ||
8083 | wxPyEndAllowThreads(__tstate); | |
8084 | if (PyErr_Occurred()) SWIG_fail; | |
8085 | } | |
8086 | Py_INCREF(Py_None); resultobj = Py_None; | |
8087 | return resultobj; | |
8088 | fail: | |
8089 | return NULL; | |
8090 | } | |
8091 | ||
8092 | ||
a95a7133 | 8093 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8094 | PyObject *resultobj; |
8095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8096 | PyObject * obj0 = 0 ; | |
8097 | char *kwnames[] = { | |
8098 | (char *) "self", NULL | |
8099 | }; | |
8100 | ||
8101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8104 | { |
8105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8106 | (arg1)->LinesJoin(); | |
8107 | ||
8108 | wxPyEndAllowThreads(__tstate); | |
8109 | if (PyErr_Occurred()) SWIG_fail; | |
8110 | } | |
8111 | Py_INCREF(Py_None); resultobj = Py_None; | |
8112 | return resultobj; | |
8113 | fail: | |
8114 | return NULL; | |
8115 | } | |
8116 | ||
8117 | ||
a95a7133 | 8118 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8119 | PyObject *resultobj; |
8120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8121 | int arg2 ; | |
8122 | PyObject * obj0 = 0 ; | |
994141e6 | 8123 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8124 | char *kwnames[] = { |
8125 | (char *) "self",(char *) "pixelWidth", NULL | |
8126 | }; | |
8127 | ||
994141e6 | 8128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8131 | arg2 = (int) SWIG_AsInt(obj1); | |
8132 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8133 | { |
8134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8135 | (arg1)->LinesSplit(arg2); | |
8136 | ||
8137 | wxPyEndAllowThreads(__tstate); | |
8138 | if (PyErr_Occurred()) SWIG_fail; | |
8139 | } | |
8140 | Py_INCREF(Py_None); resultobj = Py_None; | |
8141 | return resultobj; | |
8142 | fail: | |
8143 | return NULL; | |
8144 | } | |
8145 | ||
8146 | ||
a95a7133 | 8147 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8148 | PyObject *resultobj; |
8149 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8150 | bool arg2 ; | |
8151 | wxColour *arg3 = 0 ; | |
8152 | wxColour temp3 ; | |
8153 | PyObject * obj0 = 0 ; | |
8154 | PyObject * obj1 = 0 ; | |
8155 | PyObject * obj2 = 0 ; | |
8156 | char *kwnames[] = { | |
8157 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
8158 | }; | |
8159 | ||
8160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8163 | arg2 = (bool) SWIG_AsBool(obj1); | |
8164 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8165 | { |
8166 | arg3 = &temp3; | |
8167 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8168 | } | |
8169 | { | |
8170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8171 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
8172 | ||
8173 | wxPyEndAllowThreads(__tstate); | |
8174 | if (PyErr_Occurred()) SWIG_fail; | |
8175 | } | |
8176 | Py_INCREF(Py_None); resultobj = Py_None; | |
8177 | return resultobj; | |
8178 | fail: | |
8179 | return NULL; | |
8180 | } | |
8181 | ||
8182 | ||
a95a7133 | 8183 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8184 | PyObject *resultobj; |
8185 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8186 | bool arg2 ; | |
8187 | wxColour *arg3 = 0 ; | |
8188 | wxColour temp3 ; | |
8189 | PyObject * obj0 = 0 ; | |
8190 | PyObject * obj1 = 0 ; | |
8191 | PyObject * obj2 = 0 ; | |
8192 | char *kwnames[] = { | |
8193 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
8194 | }; | |
8195 | ||
15afbcd0 RD |
8196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8199 | arg2 = (bool) SWIG_AsBool(obj1); | |
8200 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8201 | { |
8202 | arg3 = &temp3; | |
8203 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8204 | } | |
8205 | { | |
8206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8207 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
8208 | ||
8209 | wxPyEndAllowThreads(__tstate); | |
8210 | if (PyErr_Occurred()) SWIG_fail; | |
8211 | } | |
8212 | Py_INCREF(Py_None); resultobj = Py_None; | |
8213 | return resultobj; | |
8214 | fail: | |
8215 | return NULL; | |
8216 | } | |
8217 | ||
8218 | ||
a95a7133 | 8219 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8220 | PyObject *resultobj; |
8221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8222 | PyObject * obj0 = 0 ; | |
8223 | char *kwnames[] = { | |
8224 | (char *) "self", NULL | |
8225 | }; | |
8226 | ||
4276dc52 | 8227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8230 | { |
8231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8232 | (arg1)->LineDown(); |
d14a1e28 RD |
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 | ||
a95a7133 | 8244 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8245 | PyObject *resultobj; |
8246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8247 | PyObject * obj0 = 0 ; | |
8248 | char *kwnames[] = { | |
8249 | (char *) "self", NULL | |
8250 | }; | |
8251 | ||
4276dc52 | 8252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8255 | { |
8256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8257 | (arg1)->LineDownExtend(); |
d14a1e28 RD |
8258 | |
8259 | wxPyEndAllowThreads(__tstate); | |
8260 | if (PyErr_Occurred()) SWIG_fail; | |
8261 | } | |
8262 | Py_INCREF(Py_None); resultobj = Py_None; | |
8263 | return resultobj; | |
8264 | fail: | |
8265 | return NULL; | |
8266 | } | |
8267 | ||
8268 | ||
a95a7133 | 8269 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8270 | PyObject *resultobj; |
8271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8272 | PyObject * obj0 = 0 ; | |
8273 | char *kwnames[] = { | |
8274 | (char *) "self", NULL | |
8275 | }; | |
8276 | ||
4276dc52 | 8277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8280 | { |
8281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8282 | (arg1)->LineUp(); |
d14a1e28 RD |
8283 | |
8284 | wxPyEndAllowThreads(__tstate); | |
8285 | if (PyErr_Occurred()) SWIG_fail; | |
8286 | } | |
8287 | Py_INCREF(Py_None); resultobj = Py_None; | |
8288 | return resultobj; | |
8289 | fail: | |
8290 | return NULL; | |
8291 | } | |
8292 | ||
8293 | ||
a95a7133 | 8294 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8295 | PyObject *resultobj; |
8296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8297 | PyObject * obj0 = 0 ; | |
8298 | char *kwnames[] = { | |
8299 | (char *) "self", NULL | |
8300 | }; | |
8301 | ||
4276dc52 | 8302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8305 | { |
8306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8307 | (arg1)->LineUpExtend(); |
d14a1e28 RD |
8308 | |
8309 | wxPyEndAllowThreads(__tstate); | |
8310 | if (PyErr_Occurred()) SWIG_fail; | |
8311 | } | |
8312 | Py_INCREF(Py_None); resultobj = Py_None; | |
8313 | return resultobj; | |
8314 | fail: | |
8315 | return NULL; | |
8316 | } | |
8317 | ||
8318 | ||
a95a7133 | 8319 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8320 | PyObject *resultobj; |
8321 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8322 | PyObject * obj0 = 0 ; | |
8323 | char *kwnames[] = { | |
8324 | (char *) "self", NULL | |
8325 | }; | |
8326 | ||
4276dc52 | 8327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8328 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8330 | { |
8331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8332 | (arg1)->CharLeft(); |
d14a1e28 RD |
8333 | |
8334 | wxPyEndAllowThreads(__tstate); | |
8335 | if (PyErr_Occurred()) SWIG_fail; | |
8336 | } | |
8337 | Py_INCREF(Py_None); resultobj = Py_None; | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | return NULL; | |
8341 | } | |
8342 | ||
8343 | ||
a95a7133 | 8344 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8345 | PyObject *resultobj; |
8346 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | char *kwnames[] = { | |
8349 | (char *) "self", NULL | |
8350 | }; | |
8351 | ||
4276dc52 | 8352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8355 | { |
8356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8357 | (arg1)->CharLeftExtend(); |
d14a1e28 RD |
8358 | |
8359 | wxPyEndAllowThreads(__tstate); | |
8360 | if (PyErr_Occurred()) SWIG_fail; | |
8361 | } | |
8362 | Py_INCREF(Py_None); resultobj = Py_None; | |
8363 | return resultobj; | |
8364 | fail: | |
8365 | return NULL; | |
8366 | } | |
8367 | ||
8368 | ||
a95a7133 | 8369 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8370 | PyObject *resultobj; |
8371 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8372 | PyObject * obj0 = 0 ; | |
8373 | char *kwnames[] = { | |
8374 | (char *) "self", NULL | |
8375 | }; | |
8376 | ||
4276dc52 | 8377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8380 | { |
8381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8382 | (arg1)->CharRight(); |
d14a1e28 RD |
8383 | |
8384 | wxPyEndAllowThreads(__tstate); | |
8385 | if (PyErr_Occurred()) SWIG_fail; | |
8386 | } | |
8387 | Py_INCREF(Py_None); resultobj = Py_None; | |
8388 | return resultobj; | |
8389 | fail: | |
8390 | return NULL; | |
8391 | } | |
8392 | ||
8393 | ||
a95a7133 | 8394 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8395 | PyObject *resultobj; |
8396 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8397 | PyObject * obj0 = 0 ; |
8398 | char *kwnames[] = { | |
4276dc52 | 8399 | (char *) "self", NULL |
d14a1e28 RD |
8400 | }; |
8401 | ||
4276dc52 | 8402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8405 | { |
8406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8407 | (arg1)->CharRightExtend(); |
d14a1e28 RD |
8408 | |
8409 | wxPyEndAllowThreads(__tstate); | |
8410 | if (PyErr_Occurred()) SWIG_fail; | |
8411 | } | |
4276dc52 | 8412 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8413 | return resultobj; |
8414 | fail: | |
8415 | return NULL; | |
8416 | } | |
8417 | ||
8418 | ||
a95a7133 | 8419 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8420 | PyObject *resultobj; |
8421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8422 | PyObject * obj0 = 0 ; |
8423 | char *kwnames[] = { | |
4276dc52 | 8424 | (char *) "self", NULL |
d14a1e28 RD |
8425 | }; |
8426 | ||
4276dc52 | 8427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8430 | { |
8431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8432 | (arg1)->WordLeft(); |
d14a1e28 RD |
8433 | |
8434 | wxPyEndAllowThreads(__tstate); | |
8435 | if (PyErr_Occurred()) SWIG_fail; | |
8436 | } | |
8437 | Py_INCREF(Py_None); resultobj = Py_None; | |
8438 | return resultobj; | |
8439 | fail: | |
8440 | return NULL; | |
8441 | } | |
8442 | ||
8443 | ||
a95a7133 | 8444 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8445 | PyObject *resultobj; |
8446 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8447 | PyObject * obj0 = 0 ; |
8448 | char *kwnames[] = { | |
4276dc52 | 8449 | (char *) "self", NULL |
d14a1e28 RD |
8450 | }; |
8451 | ||
4276dc52 | 8452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8455 | { |
8456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8457 | (arg1)->WordLeftExtend(); |
d14a1e28 RD |
8458 | |
8459 | wxPyEndAllowThreads(__tstate); | |
8460 | if (PyErr_Occurred()) SWIG_fail; | |
8461 | } | |
8462 | Py_INCREF(Py_None); resultobj = Py_None; | |
8463 | return resultobj; | |
8464 | fail: | |
8465 | return NULL; | |
8466 | } | |
8467 | ||
8468 | ||
a95a7133 | 8469 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8470 | PyObject *resultobj; |
8471 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8472 | PyObject * obj0 = 0 ; |
8473 | char *kwnames[] = { | |
4276dc52 | 8474 | (char *) "self", NULL |
d14a1e28 RD |
8475 | }; |
8476 | ||
4276dc52 | 8477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8480 | { |
8481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8482 | (arg1)->WordRight(); |
d14a1e28 RD |
8483 | |
8484 | wxPyEndAllowThreads(__tstate); | |
8485 | if (PyErr_Occurred()) SWIG_fail; | |
8486 | } | |
4276dc52 | 8487 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8488 | return resultobj; |
8489 | fail: | |
8490 | return NULL; | |
8491 | } | |
8492 | ||
8493 | ||
a95a7133 | 8494 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8495 | PyObject *resultobj; |
8496 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8497 | PyObject * obj0 = 0 ; |
8498 | char *kwnames[] = { | |
8499 | (char *) "self", NULL | |
8500 | }; | |
8501 | ||
4276dc52 | 8502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8505 | { |
8506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8507 | (arg1)->WordRightExtend(); |
d14a1e28 RD |
8508 | |
8509 | wxPyEndAllowThreads(__tstate); | |
8510 | if (PyErr_Occurred()) SWIG_fail; | |
8511 | } | |
4276dc52 | 8512 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8513 | return resultobj; |
8514 | fail: | |
8515 | return NULL; | |
8516 | } | |
8517 | ||
8518 | ||
a95a7133 | 8519 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8520 | PyObject *resultobj; |
8521 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8522 | PyObject * obj0 = 0 ; |
d14a1e28 | 8523 | char *kwnames[] = { |
4276dc52 | 8524 | (char *) "self", NULL |
d14a1e28 RD |
8525 | }; |
8526 | ||
4276dc52 | 8527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8530 | { |
8531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8532 | (arg1)->Home(); |
d14a1e28 RD |
8533 | |
8534 | wxPyEndAllowThreads(__tstate); | |
8535 | if (PyErr_Occurred()) SWIG_fail; | |
8536 | } | |
8537 | Py_INCREF(Py_None); resultobj = Py_None; | |
8538 | return resultobj; | |
8539 | fail: | |
8540 | return NULL; | |
8541 | } | |
8542 | ||
8543 | ||
a95a7133 | 8544 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8545 | PyObject *resultobj; |
8546 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8547 | PyObject * obj0 = 0 ; |
8548 | char *kwnames[] = { | |
8549 | (char *) "self", NULL | |
8550 | }; | |
8551 | ||
4276dc52 | 8552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8555 | { |
8556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8557 | (arg1)->HomeExtend(); |
d14a1e28 RD |
8558 | |
8559 | wxPyEndAllowThreads(__tstate); | |
8560 | if (PyErr_Occurred()) SWIG_fail; | |
8561 | } | |
4276dc52 | 8562 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8563 | return resultobj; |
8564 | fail: | |
8565 | return NULL; | |
8566 | } | |
8567 | ||
8568 | ||
a95a7133 | 8569 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8570 | PyObject *resultobj; |
8571 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8572 | PyObject * obj0 = 0 ; |
d14a1e28 | 8573 | char *kwnames[] = { |
4276dc52 | 8574 | (char *) "self", NULL |
d14a1e28 RD |
8575 | }; |
8576 | ||
4276dc52 | 8577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8580 | { |
8581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8582 | (arg1)->LineEnd(); |
d14a1e28 RD |
8583 | |
8584 | wxPyEndAllowThreads(__tstate); | |
8585 | if (PyErr_Occurred()) SWIG_fail; | |
8586 | } | |
8587 | Py_INCREF(Py_None); resultobj = Py_None; | |
8588 | return resultobj; | |
8589 | fail: | |
8590 | return NULL; | |
8591 | } | |
8592 | ||
8593 | ||
a95a7133 | 8594 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8595 | PyObject *resultobj; |
8596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8597 | PyObject * obj0 = 0 ; |
8598 | char *kwnames[] = { | |
4276dc52 | 8599 | (char *) "self", NULL |
d14a1e28 RD |
8600 | }; |
8601 | ||
4276dc52 | 8602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8605 | { |
8606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8607 | (arg1)->LineEndExtend(); |
d14a1e28 RD |
8608 | |
8609 | wxPyEndAllowThreads(__tstate); | |
8610 | if (PyErr_Occurred()) SWIG_fail; | |
8611 | } | |
8612 | Py_INCREF(Py_None); resultobj = Py_None; | |
8613 | return resultobj; | |
8614 | fail: | |
8615 | return NULL; | |
8616 | } | |
8617 | ||
8618 | ||
a95a7133 | 8619 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8620 | PyObject *resultobj; |
8621 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8622 | PyObject * obj0 = 0 ; |
8623 | char *kwnames[] = { | |
8624 | (char *) "self", NULL | |
8625 | }; | |
8626 | ||
4276dc52 | 8627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8630 | { |
8631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8632 | (arg1)->DocumentStart(); |
d14a1e28 RD |
8633 | |
8634 | wxPyEndAllowThreads(__tstate); | |
8635 | if (PyErr_Occurred()) SWIG_fail; | |
8636 | } | |
4276dc52 | 8637 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8638 | return resultobj; |
8639 | fail: | |
8640 | return NULL; | |
8641 | } | |
8642 | ||
8643 | ||
a95a7133 | 8644 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8645 | PyObject *resultobj; |
8646 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8647 | PyObject * obj0 = 0 ; |
8648 | char *kwnames[] = { | |
4276dc52 | 8649 | (char *) "self", NULL |
d14a1e28 RD |
8650 | }; |
8651 | ||
4276dc52 | 8652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8655 | { |
8656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8657 | (arg1)->DocumentStartExtend(); |
d14a1e28 RD |
8658 | |
8659 | wxPyEndAllowThreads(__tstate); | |
8660 | if (PyErr_Occurred()) SWIG_fail; | |
8661 | } | |
8662 | Py_INCREF(Py_None); resultobj = Py_None; | |
8663 | return resultobj; | |
8664 | fail: | |
8665 | return NULL; | |
8666 | } | |
8667 | ||
8668 | ||
a95a7133 | 8669 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8670 | PyObject *resultobj; |
8671 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8672 | PyObject * obj0 = 0 ; |
8673 | char *kwnames[] = { | |
8674 | (char *) "self", NULL | |
8675 | }; | |
8676 | ||
4276dc52 | 8677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8678 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8679 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8680 | { |
8681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8682 | (arg1)->DocumentEnd(); |
d14a1e28 RD |
8683 | |
8684 | wxPyEndAllowThreads(__tstate); | |
8685 | if (PyErr_Occurred()) SWIG_fail; | |
8686 | } | |
4276dc52 | 8687 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8688 | return resultobj; |
8689 | fail: | |
8690 | return NULL; | |
8691 | } | |
8692 | ||
8693 | ||
a95a7133 | 8694 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8695 | PyObject *resultobj; |
8696 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8697 | PyObject * obj0 = 0 ; |
8698 | char *kwnames[] = { | |
4276dc52 | 8699 | (char *) "self", NULL |
d14a1e28 RD |
8700 | }; |
8701 | ||
4276dc52 | 8702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8705 | { |
8706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8707 | (arg1)->DocumentEndExtend(); |
d14a1e28 RD |
8708 | |
8709 | wxPyEndAllowThreads(__tstate); | |
8710 | if (PyErr_Occurred()) SWIG_fail; | |
8711 | } | |
8712 | Py_INCREF(Py_None); resultobj = Py_None; | |
8713 | return resultobj; | |
8714 | fail: | |
8715 | return NULL; | |
8716 | } | |
8717 | ||
8718 | ||
a95a7133 | 8719 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8720 | PyObject *resultobj; |
8721 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8722 | PyObject * obj0 = 0 ; |
8723 | char *kwnames[] = { | |
8724 | (char *) "self", NULL | |
8725 | }; | |
8726 | ||
4276dc52 | 8727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8730 | { |
8731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8732 | (arg1)->PageUp(); |
d14a1e28 RD |
8733 | |
8734 | wxPyEndAllowThreads(__tstate); | |
8735 | if (PyErr_Occurred()) SWIG_fail; | |
8736 | } | |
4276dc52 | 8737 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8738 | return resultobj; |
8739 | fail: | |
8740 | return NULL; | |
8741 | } | |
8742 | ||
8743 | ||
a95a7133 | 8744 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8745 | PyObject *resultobj; |
8746 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8747 | PyObject * obj0 = 0 ; |
d14a1e28 | 8748 | char *kwnames[] = { |
4276dc52 | 8749 | (char *) "self", NULL |
d14a1e28 RD |
8750 | }; |
8751 | ||
4276dc52 | 8752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8755 | { |
8756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8757 | (arg1)->PageUpExtend(); |
d14a1e28 RD |
8758 | |
8759 | wxPyEndAllowThreads(__tstate); | |
8760 | if (PyErr_Occurred()) SWIG_fail; | |
8761 | } | |
8762 | Py_INCREF(Py_None); resultobj = Py_None; | |
8763 | return resultobj; | |
8764 | fail: | |
8765 | return NULL; | |
8766 | } | |
8767 | ||
8768 | ||
a95a7133 | 8769 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8770 | PyObject *resultobj; |
8771 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8772 | PyObject * obj0 = 0 ; | |
8773 | char *kwnames[] = { | |
8774 | (char *) "self", NULL | |
8775 | }; | |
8776 | ||
4276dc52 | 8777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8778 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8779 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8780 | { |
8781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8782 | (arg1)->PageDown(); |
d14a1e28 RD |
8783 | |
8784 | wxPyEndAllowThreads(__tstate); | |
8785 | if (PyErr_Occurred()) SWIG_fail; | |
8786 | } | |
8787 | Py_INCREF(Py_None); resultobj = Py_None; | |
8788 | return resultobj; | |
8789 | fail: | |
8790 | return NULL; | |
8791 | } | |
8792 | ||
8793 | ||
a95a7133 | 8794 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8795 | PyObject *resultobj; |
8796 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8797 | PyObject * obj0 = 0 ; |
d14a1e28 | 8798 | char *kwnames[] = { |
4276dc52 | 8799 | (char *) "self", NULL |
d14a1e28 RD |
8800 | }; |
8801 | ||
4276dc52 | 8802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8805 | { |
8806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8807 | (arg1)->PageDownExtend(); |
d14a1e28 RD |
8808 | |
8809 | wxPyEndAllowThreads(__tstate); | |
8810 | if (PyErr_Occurred()) SWIG_fail; | |
8811 | } | |
4276dc52 | 8812 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8813 | return resultobj; |
8814 | fail: | |
d14a1e28 RD |
8815 | return NULL; |
8816 | } | |
8817 | ||
8818 | ||
a95a7133 | 8819 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8820 | PyObject *resultobj; |
8821 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8822 | PyObject * obj0 = 0 ; |
d14a1e28 | 8823 | char *kwnames[] = { |
4276dc52 | 8824 | (char *) "self", NULL |
d14a1e28 RD |
8825 | }; |
8826 | ||
4276dc52 | 8827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8830 | { |
8831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8832 | (arg1)->EditToggleOvertype(); |
d14a1e28 RD |
8833 | |
8834 | wxPyEndAllowThreads(__tstate); | |
8835 | if (PyErr_Occurred()) SWIG_fail; | |
8836 | } | |
4276dc52 | 8837 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8838 | return resultobj; |
8839 | fail: | |
d14a1e28 RD |
8840 | return NULL; |
8841 | } | |
8842 | ||
8843 | ||
a95a7133 | 8844 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8845 | PyObject *resultobj; |
8846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8847 | PyObject * obj0 = 0 ; |
8848 | char *kwnames[] = { | |
8849 | (char *) "self", NULL | |
8850 | }; | |
8851 | ||
4276dc52 | 8852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8855 | { |
8856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8857 | (arg1)->Cancel(); |
d14a1e28 RD |
8858 | |
8859 | wxPyEndAllowThreads(__tstate); | |
8860 | if (PyErr_Occurred()) SWIG_fail; | |
8861 | } | |
4276dc52 | 8862 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8863 | return resultobj; |
8864 | fail: | |
8865 | return NULL; | |
8866 | } | |
8867 | ||
8868 | ||
a95a7133 | 8869 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8870 | PyObject *resultobj; |
8871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8872 | PyObject * obj0 = 0 ; |
d14a1e28 | 8873 | char *kwnames[] = { |
4276dc52 | 8874 | (char *) "self", NULL |
d14a1e28 RD |
8875 | }; |
8876 | ||
4276dc52 | 8877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8880 | { |
8881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8882 | (arg1)->DeleteBack(); |
d14a1e28 RD |
8883 | |
8884 | wxPyEndAllowThreads(__tstate); | |
8885 | if (PyErr_Occurred()) SWIG_fail; | |
8886 | } | |
8887 | Py_INCREF(Py_None); resultobj = Py_None; | |
8888 | return resultobj; | |
8889 | fail: | |
8890 | return NULL; | |
8891 | } | |
8892 | ||
8893 | ||
a95a7133 | 8894 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8895 | PyObject *resultobj; |
8896 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8897 | PyObject * obj0 = 0 ; |
8898 | char *kwnames[] = { | |
8899 | (char *) "self", NULL | |
8900 | }; | |
8901 | ||
4276dc52 | 8902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8905 | { |
8906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8907 | (arg1)->Tab(); |
d14a1e28 RD |
8908 | |
8909 | wxPyEndAllowThreads(__tstate); | |
8910 | if (PyErr_Occurred()) SWIG_fail; | |
8911 | } | |
4276dc52 | 8912 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8913 | return resultobj; |
8914 | fail: | |
8915 | return NULL; | |
8916 | } | |
8917 | ||
8918 | ||
a95a7133 | 8919 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8920 | PyObject *resultobj; |
8921 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8922 | PyObject * obj0 = 0 ; |
8923 | char *kwnames[] = { | |
4276dc52 | 8924 | (char *) "self", NULL |
d14a1e28 RD |
8925 | }; |
8926 | ||
4276dc52 | 8927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8930 | { |
8931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8932 | (arg1)->BackTab(); |
d14a1e28 RD |
8933 | |
8934 | wxPyEndAllowThreads(__tstate); | |
8935 | if (PyErr_Occurred()) SWIG_fail; | |
8936 | } | |
8937 | Py_INCREF(Py_None); resultobj = Py_None; | |
8938 | return resultobj; | |
8939 | fail: | |
8940 | return NULL; | |
8941 | } | |
8942 | ||
8943 | ||
a95a7133 | 8944 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8945 | PyObject *resultobj; |
8946 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8947 | PyObject * obj0 = 0 ; |
8948 | char *kwnames[] = { | |
8949 | (char *) "self", NULL | |
8950 | }; | |
8951 | ||
4276dc52 | 8952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8955 | { |
8956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8957 | (arg1)->NewLine(); |
d14a1e28 RD |
8958 | |
8959 | wxPyEndAllowThreads(__tstate); | |
8960 | if (PyErr_Occurred()) SWIG_fail; | |
8961 | } | |
4276dc52 | 8962 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8963 | return resultobj; |
8964 | fail: | |
8965 | return NULL; | |
8966 | } | |
8967 | ||
8968 | ||
a95a7133 | 8969 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8970 | PyObject *resultobj; |
8971 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8972 | PyObject * obj0 = 0 ; |
8973 | char *kwnames[] = { | |
8974 | (char *) "self", NULL | |
8975 | }; | |
8976 | ||
4276dc52 | 8977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8980 | { |
8981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8982 | (arg1)->FormFeed(); |
d14a1e28 RD |
8983 | |
8984 | wxPyEndAllowThreads(__tstate); | |
8985 | if (PyErr_Occurred()) SWIG_fail; | |
8986 | } | |
4276dc52 | 8987 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8988 | return resultobj; |
8989 | fail: | |
8990 | return NULL; | |
8991 | } | |
8992 | ||
8993 | ||
a95a7133 | 8994 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8995 | PyObject *resultobj; |
8996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8997 | PyObject * obj0 = 0 ; |
d14a1e28 | 8998 | char *kwnames[] = { |
4276dc52 | 8999 | (char *) "self", NULL |
d14a1e28 RD |
9000 | }; |
9001 | ||
4276dc52 | 9002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9005 | { |
9006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9007 | (arg1)->VCHome(); |
d14a1e28 RD |
9008 | |
9009 | wxPyEndAllowThreads(__tstate); | |
9010 | if (PyErr_Occurred()) SWIG_fail; | |
9011 | } | |
9012 | Py_INCREF(Py_None); resultobj = Py_None; | |
9013 | return resultobj; | |
9014 | fail: | |
9015 | return NULL; | |
9016 | } | |
9017 | ||
9018 | ||
a95a7133 | 9019 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9020 | PyObject *resultobj; |
9021 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9022 | PyObject * obj0 = 0 ; |
d14a1e28 | 9023 | char *kwnames[] = { |
4276dc52 | 9024 | (char *) "self", NULL |
d14a1e28 RD |
9025 | }; |
9026 | ||
4276dc52 | 9027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9030 | { |
9031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9032 | (arg1)->VCHomeExtend(); |
d14a1e28 RD |
9033 | |
9034 | wxPyEndAllowThreads(__tstate); | |
9035 | if (PyErr_Occurred()) SWIG_fail; | |
9036 | } | |
9037 | Py_INCREF(Py_None); resultobj = Py_None; | |
9038 | return resultobj; | |
9039 | fail: | |
9040 | return NULL; | |
9041 | } | |
9042 | ||
9043 | ||
a95a7133 | 9044 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9045 | PyObject *resultobj; |
9046 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9047 | PyObject * obj0 = 0 ; |
9048 | char *kwnames[] = { | |
9049 | (char *) "self", NULL | |
9050 | }; | |
9051 | ||
4276dc52 | 9052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9055 | { |
9056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9057 | (arg1)->ZoomIn(); |
d14a1e28 RD |
9058 | |
9059 | wxPyEndAllowThreads(__tstate); | |
9060 | if (PyErr_Occurred()) SWIG_fail; | |
9061 | } | |
4276dc52 | 9062 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9063 | return resultobj; |
9064 | fail: | |
9065 | return NULL; | |
9066 | } | |
9067 | ||
9068 | ||
a95a7133 | 9069 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9070 | PyObject *resultobj; |
9071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9072 | PyObject * obj0 = 0 ; |
d14a1e28 | 9073 | char *kwnames[] = { |
4276dc52 | 9074 | (char *) "self", NULL |
d14a1e28 RD |
9075 | }; |
9076 | ||
4276dc52 | 9077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9080 | { |
9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9082 | (arg1)->ZoomOut(); |
d14a1e28 RD |
9083 | |
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
9087 | Py_INCREF(Py_None); resultobj = Py_None; | |
9088 | return resultobj; | |
9089 | fail: | |
9090 | return NULL; | |
9091 | } | |
9092 | ||
9093 | ||
a95a7133 | 9094 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9095 | PyObject *resultobj; |
9096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9097 | PyObject * obj0 = 0 ; |
9098 | char *kwnames[] = { | |
9099 | (char *) "self", NULL | |
9100 | }; | |
9101 | ||
4276dc52 | 9102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9105 | { |
9106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9107 | (arg1)->DelWordLeft(); |
d14a1e28 RD |
9108 | |
9109 | wxPyEndAllowThreads(__tstate); | |
9110 | if (PyErr_Occurred()) SWIG_fail; | |
9111 | } | |
4276dc52 | 9112 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9113 | return resultobj; |
9114 | fail: | |
9115 | return NULL; | |
9116 | } | |
9117 | ||
9118 | ||
a95a7133 | 9119 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9120 | PyObject *resultobj; |
9121 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9122 | PyObject * obj0 = 0 ; |
9123 | char *kwnames[] = { | |
4276dc52 | 9124 | (char *) "self", NULL |
d14a1e28 RD |
9125 | }; |
9126 | ||
4276dc52 | 9127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9130 | { |
9131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9132 | (arg1)->DelWordRight(); |
d14a1e28 RD |
9133 | |
9134 | wxPyEndAllowThreads(__tstate); | |
9135 | if (PyErr_Occurred()) SWIG_fail; | |
9136 | } | |
9137 | Py_INCREF(Py_None); resultobj = Py_None; | |
9138 | return resultobj; | |
9139 | fail: | |
9140 | return NULL; | |
9141 | } | |
9142 | ||
9143 | ||
a95a7133 | 9144 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9145 | PyObject *resultobj; |
9146 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9147 | PyObject * obj0 = 0 ; |
9148 | char *kwnames[] = { | |
9149 | (char *) "self", NULL | |
9150 | }; | |
9151 | ||
4276dc52 | 9152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9155 | { |
9156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9157 | (arg1)->LineCut(); |
d14a1e28 RD |
9158 | |
9159 | wxPyEndAllowThreads(__tstate); | |
9160 | if (PyErr_Occurred()) SWIG_fail; | |
9161 | } | |
4276dc52 | 9162 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9163 | return resultobj; |
9164 | fail: | |
9165 | return NULL; | |
9166 | } | |
9167 | ||
9168 | ||
a95a7133 | 9169 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9170 | PyObject *resultobj; |
9171 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9172 | PyObject * obj0 = 0 ; |
d14a1e28 | 9173 | char *kwnames[] = { |
4276dc52 | 9174 | (char *) "self", NULL |
d14a1e28 RD |
9175 | }; |
9176 | ||
4276dc52 | 9177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9180 | { |
9181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9182 | (arg1)->LineDelete(); |
d14a1e28 RD |
9183 | |
9184 | wxPyEndAllowThreads(__tstate); | |
9185 | if (PyErr_Occurred()) SWIG_fail; | |
9186 | } | |
9187 | Py_INCREF(Py_None); resultobj = Py_None; | |
9188 | return resultobj; | |
9189 | fail: | |
9190 | return NULL; | |
9191 | } | |
9192 | ||
9193 | ||
a95a7133 | 9194 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9195 | PyObject *resultobj; |
9196 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9197 | PyObject * obj0 = 0 ; |
9198 | char *kwnames[] = { | |
9199 | (char *) "self", NULL | |
9200 | }; | |
9201 | ||
4276dc52 | 9202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9205 | { |
9206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9207 | (arg1)->LineTranspose(); |
d14a1e28 RD |
9208 | |
9209 | wxPyEndAllowThreads(__tstate); | |
9210 | if (PyErr_Occurred()) SWIG_fail; | |
9211 | } | |
4276dc52 | 9212 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9213 | return resultobj; |
9214 | fail: | |
9215 | return NULL; | |
9216 | } | |
9217 | ||
9218 | ||
a95a7133 | 9219 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9220 | PyObject *resultobj; |
9221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9222 | PyObject * obj0 = 0 ; |
9223 | char *kwnames[] = { | |
4276dc52 | 9224 | (char *) "self", NULL |
d14a1e28 RD |
9225 | }; |
9226 | ||
4276dc52 | 9227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9230 | { |
9231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9232 | (arg1)->LineDuplicate(); |
d14a1e28 RD |
9233 | |
9234 | wxPyEndAllowThreads(__tstate); | |
9235 | if (PyErr_Occurred()) SWIG_fail; | |
9236 | } | |
9237 | Py_INCREF(Py_None); resultobj = Py_None; | |
9238 | return resultobj; | |
9239 | fail: | |
9240 | return NULL; | |
9241 | } | |
9242 | ||
9243 | ||
a95a7133 | 9244 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9245 | PyObject *resultobj; |
9246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9247 | PyObject * obj0 = 0 ; |
9248 | char *kwnames[] = { | |
9249 | (char *) "self", NULL | |
9250 | }; | |
9251 | ||
4276dc52 | 9252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9255 | { |
9256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9257 | (arg1)->LowerCase(); |
d14a1e28 RD |
9258 | |
9259 | wxPyEndAllowThreads(__tstate); | |
9260 | if (PyErr_Occurred()) SWIG_fail; | |
9261 | } | |
4276dc52 | 9262 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9263 | return resultobj; |
9264 | fail: | |
9265 | return NULL; | |
9266 | } | |
9267 | ||
9268 | ||
a95a7133 | 9269 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9270 | PyObject *resultobj; |
9271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9272 | PyObject * obj0 = 0 ; |
9273 | char *kwnames[] = { | |
4276dc52 | 9274 | (char *) "self", NULL |
d14a1e28 RD |
9275 | }; |
9276 | ||
4276dc52 | 9277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9280 | { |
9281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9282 | (arg1)->UpperCase(); |
d14a1e28 RD |
9283 | |
9284 | wxPyEndAllowThreads(__tstate); | |
9285 | if (PyErr_Occurred()) SWIG_fail; | |
9286 | } | |
9287 | Py_INCREF(Py_None); resultobj = Py_None; | |
9288 | return resultobj; | |
9289 | fail: | |
9290 | return NULL; | |
9291 | } | |
9292 | ||
9293 | ||
a95a7133 | 9294 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9295 | PyObject *resultobj; |
9296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9297 | PyObject * obj0 = 0 ; |
9298 | char *kwnames[] = { | |
9299 | (char *) "self", NULL | |
9300 | }; | |
9301 | ||
4276dc52 | 9302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9305 | { |
9306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9307 | (arg1)->LineScrollDown(); |
d14a1e28 RD |
9308 | |
9309 | wxPyEndAllowThreads(__tstate); | |
9310 | if (PyErr_Occurred()) SWIG_fail; | |
9311 | } | |
4276dc52 | 9312 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9313 | return resultobj; |
9314 | fail: | |
9315 | return NULL; | |
9316 | } | |
9317 | ||
9318 | ||
a95a7133 | 9319 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9320 | PyObject *resultobj; |
9321 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9322 | PyObject * obj0 = 0 ; | |
9323 | char *kwnames[] = { | |
9324 | (char *) "self", NULL | |
9325 | }; | |
9326 | ||
4276dc52 | 9327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9328 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9330 | { |
9331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9332 | (arg1)->LineScrollUp(); |
d14a1e28 RD |
9333 | |
9334 | wxPyEndAllowThreads(__tstate); | |
9335 | if (PyErr_Occurred()) SWIG_fail; | |
9336 | } | |
9337 | Py_INCREF(Py_None); resultobj = Py_None; | |
9338 | return resultobj; | |
9339 | fail: | |
9340 | return NULL; | |
9341 | } | |
9342 | ||
9343 | ||
a95a7133 | 9344 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9345 | PyObject *resultobj; |
9346 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9347 | PyObject * obj0 = 0 ; | |
9348 | char *kwnames[] = { | |
9349 | (char *) "self", NULL | |
9350 | }; | |
9351 | ||
4276dc52 | 9352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9355 | { |
9356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9357 | (arg1)->DeleteBackNotLine(); |
d14a1e28 RD |
9358 | |
9359 | wxPyEndAllowThreads(__tstate); | |
9360 | if (PyErr_Occurred()) SWIG_fail; | |
9361 | } | |
9362 | Py_INCREF(Py_None); resultobj = Py_None; | |
9363 | return resultobj; | |
9364 | fail: | |
9365 | return NULL; | |
9366 | } | |
9367 | ||
9368 | ||
a95a7133 | 9369 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9370 | PyObject *resultobj; |
9371 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9372 | PyObject * obj0 = 0 ; | |
9373 | char *kwnames[] = { | |
9374 | (char *) "self", NULL | |
9375 | }; | |
9376 | ||
4276dc52 | 9377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9380 | { |
9381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9382 | (arg1)->HomeDisplay(); |
d14a1e28 RD |
9383 | |
9384 | wxPyEndAllowThreads(__tstate); | |
9385 | if (PyErr_Occurred()) SWIG_fail; | |
9386 | } | |
9387 | Py_INCREF(Py_None); resultobj = Py_None; | |
9388 | return resultobj; | |
9389 | fail: | |
9390 | return NULL; | |
9391 | } | |
9392 | ||
9393 | ||
a95a7133 | 9394 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9395 | PyObject *resultobj; |
9396 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9397 | PyObject * obj0 = 0 ; | |
9398 | char *kwnames[] = { | |
9399 | (char *) "self", NULL | |
9400 | }; | |
9401 | ||
4276dc52 | 9402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9405 | { |
9406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9407 | (arg1)->HomeDisplayExtend(); |
d14a1e28 RD |
9408 | |
9409 | wxPyEndAllowThreads(__tstate); | |
9410 | if (PyErr_Occurred()) SWIG_fail; | |
9411 | } | |
9412 | Py_INCREF(Py_None); resultobj = Py_None; | |
9413 | return resultobj; | |
9414 | fail: | |
9415 | return NULL; | |
9416 | } | |
9417 | ||
9418 | ||
a95a7133 | 9419 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9420 | PyObject *resultobj; |
9421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9422 | PyObject * obj0 = 0 ; |
9423 | char *kwnames[] = { | |
4276dc52 | 9424 | (char *) "self", NULL |
d14a1e28 RD |
9425 | }; |
9426 | ||
4276dc52 | 9427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9430 | { |
9431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9432 | (arg1)->LineEndDisplay(); |
d14a1e28 RD |
9433 | |
9434 | wxPyEndAllowThreads(__tstate); | |
9435 | if (PyErr_Occurred()) SWIG_fail; | |
9436 | } | |
9437 | Py_INCREF(Py_None); resultobj = Py_None; | |
9438 | return resultobj; | |
9439 | fail: | |
9440 | return NULL; | |
9441 | } | |
9442 | ||
9443 | ||
a95a7133 | 9444 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9445 | PyObject *resultobj; |
9446 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9447 | PyObject * obj0 = 0 ; | |
9448 | char *kwnames[] = { | |
9449 | (char *) "self", NULL | |
9450 | }; | |
9451 | ||
4276dc52 | 9452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9455 | { |
9456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9457 | (arg1)->LineEndDisplayExtend(); |
d14a1e28 RD |
9458 | |
9459 | wxPyEndAllowThreads(__tstate); | |
9460 | if (PyErr_Occurred()) SWIG_fail; | |
9461 | } | |
9462 | Py_INCREF(Py_None); resultobj = Py_None; | |
9463 | return resultobj; | |
9464 | fail: | |
9465 | return NULL; | |
9466 | } | |
9467 | ||
9468 | ||
a95a7133 | 9469 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9470 | PyObject *resultobj; |
9471 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9472 | PyObject * obj0 = 0 ; | |
9473 | char *kwnames[] = { | |
9474 | (char *) "self", NULL | |
9475 | }; | |
9476 | ||
4276dc52 | 9477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9480 | { |
9481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9482 | (arg1)->HomeWrap(); |
d14a1e28 RD |
9483 | |
9484 | wxPyEndAllowThreads(__tstate); | |
9485 | if (PyErr_Occurred()) SWIG_fail; | |
9486 | } | |
9487 | Py_INCREF(Py_None); resultobj = Py_None; | |
9488 | return resultobj; | |
9489 | fail: | |
9490 | return NULL; | |
9491 | } | |
9492 | ||
9493 | ||
a95a7133 | 9494 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9495 | PyObject *resultobj; |
9496 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9497 | PyObject * obj0 = 0 ; |
9498 | char *kwnames[] = { | |
4276dc52 | 9499 | (char *) "self", NULL |
d14a1e28 RD |
9500 | }; |
9501 | ||
4276dc52 | 9502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9505 | { |
9506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9507 | (arg1)->HomeWrapExtend(); |
d14a1e28 RD |
9508 | |
9509 | wxPyEndAllowThreads(__tstate); | |
9510 | if (PyErr_Occurred()) SWIG_fail; | |
9511 | } | |
9512 | Py_INCREF(Py_None); resultobj = Py_None; | |
9513 | return resultobj; | |
9514 | fail: | |
9515 | return NULL; | |
9516 | } | |
9517 | ||
9518 | ||
a95a7133 | 9519 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9520 | PyObject *resultobj; |
9521 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9522 | PyObject * obj0 = 0 ; |
9523 | char *kwnames[] = { | |
9524 | (char *) "self", NULL | |
9525 | }; | |
9526 | ||
4276dc52 | 9527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9530 | { |
9531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9532 | (arg1)->LineEndWrap(); |
d14a1e28 RD |
9533 | |
9534 | wxPyEndAllowThreads(__tstate); | |
9535 | if (PyErr_Occurred()) SWIG_fail; | |
9536 | } | |
4276dc52 | 9537 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9538 | return resultobj; |
9539 | fail: | |
9540 | return NULL; | |
9541 | } | |
9542 | ||
9543 | ||
a95a7133 | 9544 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9545 | PyObject *resultobj; |
9546 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9547 | PyObject * obj0 = 0 ; | |
9548 | char *kwnames[] = { | |
9549 | (char *) "self", NULL | |
9550 | }; | |
9551 | ||
4276dc52 | 9552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9555 | { |
9556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9557 | (arg1)->LineEndWrapExtend(); |
d14a1e28 RD |
9558 | |
9559 | wxPyEndAllowThreads(__tstate); | |
9560 | if (PyErr_Occurred()) SWIG_fail; | |
9561 | } | |
9562 | Py_INCREF(Py_None); resultobj = Py_None; | |
9563 | return resultobj; | |
9564 | fail: | |
9565 | return NULL; | |
9566 | } | |
9567 | ||
9568 | ||
a95a7133 | 9569 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9570 | PyObject *resultobj; |
9571 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9572 | PyObject * obj0 = 0 ; |
9573 | char *kwnames[] = { | |
4276dc52 | 9574 | (char *) "self", NULL |
d14a1e28 RD |
9575 | }; |
9576 | ||
4276dc52 | 9577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9580 | { |
9581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9582 | (arg1)->VCHomeWrap(); |
d14a1e28 RD |
9583 | |
9584 | wxPyEndAllowThreads(__tstate); | |
9585 | if (PyErr_Occurred()) SWIG_fail; | |
9586 | } | |
9587 | Py_INCREF(Py_None); resultobj = Py_None; | |
9588 | return resultobj; | |
9589 | fail: | |
9590 | return NULL; | |
9591 | } | |
9592 | ||
9593 | ||
a95a7133 | 9594 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9595 | PyObject *resultobj; |
9596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9597 | PyObject * obj0 = 0 ; |
9598 | char *kwnames[] = { | |
4276dc52 | 9599 | (char *) "self", NULL |
d14a1e28 RD |
9600 | }; |
9601 | ||
4276dc52 | 9602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9605 | { |
9606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9607 | (arg1)->VCHomeWrapExtend(); |
d14a1e28 RD |
9608 | |
9609 | wxPyEndAllowThreads(__tstate); | |
9610 | if (PyErr_Occurred()) SWIG_fail; | |
9611 | } | |
9612 | Py_INCREF(Py_None); resultobj = Py_None; | |
9613 | return resultobj; | |
9614 | fail: | |
9615 | return NULL; | |
9616 | } | |
9617 | ||
9618 | ||
a95a7133 | 9619 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9620 | PyObject *resultobj; |
9621 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9622 | PyObject * obj0 = 0 ; |
9623 | char *kwnames[] = { | |
4276dc52 | 9624 | (char *) "self", NULL |
d14a1e28 RD |
9625 | }; |
9626 | ||
4276dc52 | 9627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9630 | { |
9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9632 | (arg1)->LineCopy(); |
d14a1e28 RD |
9633 | |
9634 | wxPyEndAllowThreads(__tstate); | |
9635 | if (PyErr_Occurred()) SWIG_fail; | |
9636 | } | |
9637 | Py_INCREF(Py_None); resultobj = Py_None; | |
9638 | return resultobj; | |
9639 | fail: | |
9640 | return NULL; | |
9641 | } | |
9642 | ||
9643 | ||
a95a7133 | 9644 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9645 | PyObject *resultobj; |
9646 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9647 | PyObject * obj0 = 0 ; |
9648 | char *kwnames[] = { | |
9649 | (char *) "self", NULL | |
9650 | }; | |
9651 | ||
4276dc52 | 9652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9655 | { |
9656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9657 | (arg1)->MoveCaretInsideView(); |
d14a1e28 RD |
9658 | |
9659 | wxPyEndAllowThreads(__tstate); | |
9660 | if (PyErr_Occurred()) SWIG_fail; | |
9661 | } | |
4276dc52 | 9662 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9663 | return resultobj; |
9664 | fail: | |
9665 | return NULL; | |
9666 | } | |
9667 | ||
9668 | ||
a95a7133 | 9669 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9670 | PyObject *resultobj; |
9671 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9672 | int arg2 ; |
9673 | int result; | |
d14a1e28 RD |
9674 | PyObject * obj0 = 0 ; |
9675 | PyObject * obj1 = 0 ; | |
d14a1e28 | 9676 | char *kwnames[] = { |
4276dc52 | 9677 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
9678 | }; |
9679 | ||
4276dc52 | 9680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 9683 | arg2 = (int) SWIG_AsInt(obj1); |
15afbcd0 | 9684 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9685 | { |
9686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9687 | result = (int)(arg1)->LineLength(arg2); |
d14a1e28 RD |
9688 | |
9689 | wxPyEndAllowThreads(__tstate); | |
9690 | if (PyErr_Occurred()) SWIG_fail; | |
9691 | } | |
4276dc52 | 9692 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9693 | return resultobj; |
9694 | fail: | |
9695 | return NULL; | |
9696 | } | |
9697 | ||
9698 | ||
a95a7133 | 9699 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9700 | PyObject *resultobj; |
9701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9702 | int arg2 ; |
9703 | int arg3 ; | |
d14a1e28 RD |
9704 | PyObject * obj0 = 0 ; |
9705 | PyObject * obj1 = 0 ; | |
9706 | PyObject * obj2 = 0 ; | |
9707 | char *kwnames[] = { | |
4276dc52 | 9708 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
d14a1e28 RD |
9709 | }; |
9710 | ||
4276dc52 | 9711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 RD |
9714 | arg2 = (int) SWIG_AsInt(obj1); |
9715 | if (PyErr_Occurred()) SWIG_fail; | |
9716 | arg3 = (int) SWIG_AsInt(obj2); | |
15afbcd0 | 9717 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9718 | { |
9719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9720 | (arg1)->BraceHighlight(arg2,arg3); |
d14a1e28 RD |
9721 | |
9722 | wxPyEndAllowThreads(__tstate); | |
9723 | if (PyErr_Occurred()) SWIG_fail; | |
9724 | } | |
9725 | Py_INCREF(Py_None); resultobj = Py_None; | |
9726 | return resultobj; | |
9727 | fail: | |
9728 | return NULL; | |
9729 | } | |
9730 | ||
9731 | ||
a95a7133 | 9732 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9733 | PyObject *resultobj; |
9734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9735 | int arg2 ; |
d14a1e28 RD |
9736 | PyObject * obj0 = 0 ; |
9737 | PyObject * obj1 = 0 ; | |
9738 | char *kwnames[] = { | |
4276dc52 | 9739 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
9740 | }; |
9741 | ||
4276dc52 | 9742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 9745 | arg2 = (int) SWIG_AsInt(obj1); |
15afbcd0 | 9746 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9747 | { |
9748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9749 | (arg1)->BraceBadLight(arg2); |
d14a1e28 RD |
9750 | |
9751 | wxPyEndAllowThreads(__tstate); | |
9752 | if (PyErr_Occurred()) SWIG_fail; | |
9753 | } | |
9754 | Py_INCREF(Py_None); resultobj = Py_None; | |
9755 | return resultobj; | |
9756 | fail: | |
9757 | return NULL; | |
9758 | } | |
9759 | ||
9760 | ||
a95a7133 | 9761 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
9762 | PyObject *resultobj; |
9763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9764 | int arg2 ; |
9765 | int result; | |
96b3fa7c RD |
9766 | PyObject * obj0 = 0 ; |
9767 | PyObject * obj1 = 0 ; | |
9768 | char *kwnames[] = { | |
4276dc52 | 9769 | (char *) "self",(char *) "pos", NULL |
96b3fa7c RD |
9770 | }; |
9771 | ||
4276dc52 | 9772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 9775 | arg2 = (int) SWIG_AsInt(obj1); |
15afbcd0 | 9776 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
9777 | { |
9778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9779 | result = (int)(arg1)->BraceMatch(arg2); |
96b3fa7c RD |
9780 | |
9781 | wxPyEndAllowThreads(__tstate); | |
9782 | if (PyErr_Occurred()) SWIG_fail; | |
9783 | } | |
4276dc52 | 9784 | resultobj = SWIG_FromInt((int)result); |
96b3fa7c RD |
9785 | return resultobj; |
9786 | fail: | |
9787 | return NULL; | |
9788 | } | |
9789 | ||
9790 | ||
a95a7133 | 9791 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9792 | PyObject *resultobj; |
9793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9794 | bool result; |
d14a1e28 RD |
9795 | PyObject * obj0 = 0 ; |
9796 | char *kwnames[] = { | |
4276dc52 | 9797 | (char *) "self", NULL |
d14a1e28 RD |
9798 | }; |
9799 | ||
4276dc52 | 9800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9803 | { |
9804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9805 | result = (bool)(arg1)->GetViewEOL(); |
d14a1e28 RD |
9806 | |
9807 | wxPyEndAllowThreads(__tstate); | |
9808 | if (PyErr_Occurred()) SWIG_fail; | |
9809 | } | |
4f89f6a3 RD |
9810 | { |
9811 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9812 | } | |
d14a1e28 RD |
9813 | return resultobj; |
9814 | fail: | |
9815 | return NULL; | |
9816 | } | |
9817 | ||
9818 | ||
a95a7133 | 9819 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9820 | PyObject *resultobj; |
9821 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9822 | bool arg2 ; |
d14a1e28 | 9823 | PyObject * obj0 = 0 ; |
994141e6 | 9824 | PyObject * obj1 = 0 ; |
d14a1e28 | 9825 | char *kwnames[] = { |
4276dc52 | 9826 | (char *) "self",(char *) "visible", NULL |
d14a1e28 RD |
9827 | }; |
9828 | ||
4276dc52 | 9829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 9832 | arg2 = (bool) SWIG_AsBool(obj1); |
15afbcd0 | 9833 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9834 | { |
9835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9836 | (arg1)->SetViewEOL(arg2); |
d14a1e28 RD |
9837 | |
9838 | wxPyEndAllowThreads(__tstate); | |
9839 | if (PyErr_Occurred()) SWIG_fail; | |
9840 | } | |
4276dc52 | 9841 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9842 | return resultobj; |
9843 | fail: | |
9844 | return NULL; | |
9845 | } | |
9846 | ||
9847 | ||
a95a7133 | 9848 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9849 | PyObject *resultobj; |
9850 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9851 | void *result; |
9852 | PyObject * obj0 = 0 ; | |
9853 | char *kwnames[] = { | |
9854 | (char *) "self", NULL | |
9855 | }; | |
9856 | ||
9857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
9858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9860 | { | |
9861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9862 | result = (void *)(arg1)->GetDocPointer(); | |
9863 | ||
9864 | wxPyEndAllowThreads(__tstate); | |
9865 | if (PyErr_Occurred()) SWIG_fail; | |
9866 | } | |
9867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
9868 | return resultobj; | |
9869 | fail: | |
9870 | return NULL; | |
9871 | } | |
9872 | ||
9873 | ||
a95a7133 | 9874 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
9875 | PyObject *resultobj; |
9876 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9877 | void *arg2 = (void *) 0 ; | |
d14a1e28 | 9878 | PyObject * obj0 = 0 ; |
994141e6 | 9879 | PyObject * obj1 = 0 ; |
d14a1e28 | 9880 | char *kwnames[] = { |
4276dc52 | 9881 | (char *) "self",(char *) "docPointer", NULL |
d14a1e28 RD |
9882 | }; |
9883 | ||
4276dc52 | 9884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 9887 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
9888 | { |
9889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9890 | (arg1)->SetDocPointer(arg2); |
d14a1e28 RD |
9891 | |
9892 | wxPyEndAllowThreads(__tstate); | |
9893 | if (PyErr_Occurred()) SWIG_fail; | |
9894 | } | |
9895 | Py_INCREF(Py_None); resultobj = Py_None; | |
9896 | return resultobj; | |
9897 | fail: | |
9898 | return NULL; | |
9899 | } | |
9900 | ||
9901 | ||
a95a7133 | 9902 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9903 | PyObject *resultobj; |
9904 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9905 | int arg2 ; | |
d14a1e28 | 9906 | PyObject * obj0 = 0 ; |
994141e6 | 9907 | PyObject * obj1 = 0 ; |
d14a1e28 | 9908 | char *kwnames[] = { |
4276dc52 | 9909 | (char *) "self",(char *) "mask", NULL |
d14a1e28 RD |
9910 | }; |
9911 | ||
4276dc52 | 9912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9915 | arg2 = (int) SWIG_AsInt(obj1); | |
9916 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9917 | { |
9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9919 | (arg1)->SetModEventMask(arg2); |
d14a1e28 RD |
9920 | |
9921 | wxPyEndAllowThreads(__tstate); | |
9922 | if (PyErr_Occurred()) SWIG_fail; | |
9923 | } | |
9924 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
9925 | return resultobj; |
9926 | fail: | |
4276dc52 RD |
9927 | return NULL; |
9928 | } | |
9929 | ||
9930 | ||
a95a7133 | 9931 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
9932 | PyObject *resultobj; |
9933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9934 | int result; | |
9935 | PyObject * obj0 = 0 ; | |
9936 | char *kwnames[] = { | |
9937 | (char *) "self", NULL | |
9938 | }; | |
9939 | ||
9940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
9941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 9943 | { |
4276dc52 RD |
9944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9945 | result = (int)(arg1)->GetEdgeColumn(); | |
9946 | ||
9947 | wxPyEndAllowThreads(__tstate); | |
9948 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 9949 | } |
4276dc52 RD |
9950 | resultobj = SWIG_FromInt((int)result); |
9951 | return resultobj; | |
9952 | fail: | |
d14a1e28 RD |
9953 | return NULL; |
9954 | } | |
9955 | ||
9956 | ||
a95a7133 | 9957 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
9958 | PyObject *resultobj; |
9959 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9960 | int arg2 ; | |
9961 | PyObject * obj0 = 0 ; | |
9962 | PyObject * obj1 = 0 ; | |
9963 | char *kwnames[] = { | |
4276dc52 | 9964 | (char *) "self",(char *) "column", NULL |
96b3fa7c RD |
9965 | }; |
9966 | ||
4276dc52 | 9967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9970 | arg2 = (int) SWIG_AsInt(obj1); | |
9971 | if (PyErr_Occurred()) SWIG_fail; | |
96b3fa7c RD |
9972 | { |
9973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9974 | (arg1)->SetEdgeColumn(arg2); |
96b3fa7c RD |
9975 | |
9976 | wxPyEndAllowThreads(__tstate); | |
9977 | if (PyErr_Occurred()) SWIG_fail; | |
9978 | } | |
9979 | Py_INCREF(Py_None); resultobj = Py_None; | |
9980 | return resultobj; | |
9981 | fail: | |
9982 | return NULL; | |
9983 | } | |
9984 | ||
9985 | ||
a95a7133 | 9986 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
9987 | PyObject *resultobj; |
9988 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9989 | int result; | |
9990 | PyObject * obj0 = 0 ; | |
9991 | char *kwnames[] = { | |
9992 | (char *) "self", NULL | |
9993 | }; | |
9994 | ||
4276dc52 | 9995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
9998 | { |
9999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10000 | result = (int)(arg1)->GetEdgeMode(); |
96b3fa7c RD |
10001 | |
10002 | wxPyEndAllowThreads(__tstate); | |
10003 | if (PyErr_Occurred()) SWIG_fail; | |
10004 | } | |
15afbcd0 | 10005 | resultobj = SWIG_FromInt((int)result); |
96b3fa7c RD |
10006 | return resultobj; |
10007 | fail: | |
10008 | return NULL; | |
10009 | } | |
10010 | ||
10011 | ||
a95a7133 | 10012 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10013 | PyObject *resultobj; |
10014 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10015 | int arg2 ; | |
96b3fa7c RD |
10016 | PyObject * obj0 = 0 ; |
10017 | PyObject * obj1 = 0 ; | |
10018 | char *kwnames[] = { | |
4276dc52 | 10019 | (char *) "self",(char *) "mode", NULL |
96b3fa7c RD |
10020 | }; |
10021 | ||
4276dc52 | 10022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10025 | arg2 = (int) SWIG_AsInt(obj1); | |
10026 | if (PyErr_Occurred()) SWIG_fail; | |
96b3fa7c RD |
10027 | { |
10028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10029 | (arg1)->SetEdgeMode(arg2); |
96b3fa7c RD |
10030 | |
10031 | wxPyEndAllowThreads(__tstate); | |
10032 | if (PyErr_Occurred()) SWIG_fail; | |
10033 | } | |
4276dc52 | 10034 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
10035 | return resultobj; |
10036 | fail: | |
10037 | return NULL; | |
10038 | } | |
10039 | ||
10040 | ||
a95a7133 | 10041 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10042 | PyObject *resultobj; |
10043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
10044 | wxColour result; |
10045 | PyObject * obj0 = 0 ; | |
10046 | char *kwnames[] = { | |
10047 | (char *) "self", NULL | |
10048 | }; | |
10049 | ||
10050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
10051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10053 | { | |
10054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10055 | result = (arg1)->GetEdgeColour(); | |
10056 | ||
10057 | wxPyEndAllowThreads(__tstate); | |
10058 | if (PyErr_Occurred()) SWIG_fail; | |
10059 | } | |
10060 | { | |
10061 | wxColour * resultptr; | |
10062 | resultptr = new wxColour((wxColour &) result); | |
10063 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
10064 | } | |
10065 | return resultobj; | |
10066 | fail: | |
10067 | return NULL; | |
10068 | } | |
10069 | ||
10070 | ||
a95a7133 | 10071 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10072 | PyObject *resultobj; |
10073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10074 | wxColour *arg2 = 0 ; | |
10075 | wxColour temp2 ; | |
96b3fa7c RD |
10076 | PyObject * obj0 = 0 ; |
10077 | PyObject * obj1 = 0 ; | |
10078 | char *kwnames[] = { | |
4276dc52 | 10079 | (char *) "self",(char *) "edgeColour", NULL |
96b3fa7c RD |
10080 | }; |
10081 | ||
4276dc52 | 10082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10083 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 RD |
10085 | { |
10086 | arg2 = &temp2; | |
10087 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10088 | } | |
96b3fa7c RD |
10089 | { |
10090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10091 | (arg1)->SetEdgeColour((wxColour const &)*arg2); |
96b3fa7c RD |
10092 | |
10093 | wxPyEndAllowThreads(__tstate); | |
10094 | if (PyErr_Occurred()) SWIG_fail; | |
10095 | } | |
4276dc52 RD |
10096 | Py_INCREF(Py_None); resultobj = Py_None; |
10097 | return resultobj; | |
10098 | fail: | |
10099 | return NULL; | |
10100 | } | |
10101 | ||
10102 | ||
a95a7133 | 10103 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10104 | PyObject *resultobj; |
10105 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10106 | PyObject * obj0 = 0 ; | |
10107 | char *kwnames[] = { | |
10108 | (char *) "self", NULL | |
10109 | }; | |
10110 | ||
10111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
10112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10114 | { | |
10115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10116 | (arg1)->SearchAnchor(); | |
10117 | ||
10118 | wxPyEndAllowThreads(__tstate); | |
10119 | if (PyErr_Occurred()) SWIG_fail; | |
10120 | } | |
10121 | Py_INCREF(Py_None); resultobj = Py_None; | |
10122 | return resultobj; | |
10123 | fail: | |
10124 | return NULL; | |
10125 | } | |
10126 | ||
10127 | ||
a95a7133 | 10128 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10129 | PyObject *resultobj; |
10130 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10131 | int arg2 ; | |
10132 | wxString *arg3 = 0 ; | |
10133 | int result; | |
10134 | bool temp3 = False ; | |
10135 | PyObject * obj0 = 0 ; | |
10136 | PyObject * obj1 = 0 ; | |
10137 | PyObject * obj2 = 0 ; | |
10138 | char *kwnames[] = { | |
10139 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10140 | }; | |
10141 | ||
10142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10145 | arg2 = (int) SWIG_AsInt(obj1); | |
10146 | if (PyErr_Occurred()) SWIG_fail; | |
10147 | { | |
10148 | arg3 = wxString_in_helper(obj2); | |
10149 | if (arg3 == NULL) SWIG_fail; | |
10150 | temp3 = True; | |
10151 | } | |
10152 | { | |
10153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10154 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
10155 | ||
10156 | wxPyEndAllowThreads(__tstate); | |
10157 | if (PyErr_Occurred()) SWIG_fail; | |
10158 | } | |
10159 | resultobj = SWIG_FromInt((int)result); | |
10160 | { | |
10161 | if (temp3) | |
10162 | delete arg3; | |
10163 | } | |
10164 | return resultobj; | |
10165 | fail: | |
10166 | { | |
10167 | if (temp3) | |
10168 | delete arg3; | |
10169 | } | |
10170 | return NULL; | |
10171 | } | |
10172 | ||
10173 | ||
a95a7133 | 10174 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10175 | PyObject *resultobj; |
10176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10177 | int arg2 ; | |
10178 | wxString *arg3 = 0 ; | |
10179 | int result; | |
10180 | bool temp3 = False ; | |
10181 | PyObject * obj0 = 0 ; | |
10182 | PyObject * obj1 = 0 ; | |
10183 | PyObject * obj2 = 0 ; | |
10184 | char *kwnames[] = { | |
10185 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10186 | }; | |
10187 | ||
10188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10191 | arg2 = (int) SWIG_AsInt(obj1); | |
10192 | if (PyErr_Occurred()) SWIG_fail; | |
10193 | { | |
10194 | arg3 = wxString_in_helper(obj2); | |
10195 | if (arg3 == NULL) SWIG_fail; | |
10196 | temp3 = True; | |
10197 | } | |
10198 | { | |
10199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10200 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
10201 | ||
10202 | wxPyEndAllowThreads(__tstate); | |
10203 | if (PyErr_Occurred()) SWIG_fail; | |
10204 | } | |
10205 | resultobj = SWIG_FromInt((int)result); | |
10206 | { | |
10207 | if (temp3) | |
10208 | delete arg3; | |
10209 | } | |
10210 | return resultobj; | |
10211 | fail: | |
10212 | { | |
10213 | if (temp3) | |
10214 | delete arg3; | |
10215 | } | |
10216 | return NULL; | |
10217 | } | |
10218 | ||
10219 | ||
a95a7133 | 10220 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10221 | PyObject *resultobj; |
10222 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10223 | int result; | |
10224 | PyObject * obj0 = 0 ; | |
10225 | char *kwnames[] = { | |
10226 | (char *) "self", NULL | |
10227 | }; | |
10228 | ||
10229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
10230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10232 | { | |
10233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10234 | result = (int)(arg1)->LinesOnScreen(); | |
10235 | ||
10236 | wxPyEndAllowThreads(__tstate); | |
10237 | if (PyErr_Occurred()) SWIG_fail; | |
10238 | } | |
10239 | resultobj = SWIG_FromInt((int)result); | |
10240 | return resultobj; | |
10241 | fail: | |
10242 | return NULL; | |
10243 | } | |
10244 | ||
10245 | ||
a95a7133 | 10246 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10247 | PyObject *resultobj; |
10248 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10249 | bool arg2 ; | |
10250 | PyObject * obj0 = 0 ; | |
10251 | PyObject * obj1 = 0 ; | |
10252 | char *kwnames[] = { | |
10253 | (char *) "self",(char *) "allowPopUp", NULL | |
10254 | }; | |
10255 | ||
10256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
10257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10259 | arg2 = (bool) SWIG_AsBool(obj1); | |
10260 | if (PyErr_Occurred()) SWIG_fail; | |
10261 | { | |
10262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10263 | (arg1)->UsePopUp(arg2); | |
10264 | ||
10265 | wxPyEndAllowThreads(__tstate); | |
10266 | if (PyErr_Occurred()) SWIG_fail; | |
10267 | } | |
10268 | Py_INCREF(Py_None); resultobj = Py_None; | |
10269 | return resultobj; | |
10270 | fail: | |
10271 | return NULL; | |
10272 | } | |
10273 | ||
10274 | ||
a95a7133 | 10275 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10276 | PyObject *resultobj; |
10277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10278 | bool result; | |
10279 | PyObject * obj0 = 0 ; | |
10280 | char *kwnames[] = { | |
10281 | (char *) "self", NULL | |
10282 | }; | |
10283 | ||
10284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
10285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10287 | { | |
10288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10289 | result = (bool)(arg1)->SelectionIsRectangle(); | |
10290 | ||
10291 | wxPyEndAllowThreads(__tstate); | |
10292 | if (PyErr_Occurred()) SWIG_fail; | |
10293 | } | |
4f89f6a3 RD |
10294 | { |
10295 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10296 | } | |
4276dc52 RD |
10297 | return resultobj; |
10298 | fail: | |
10299 | return NULL; | |
10300 | } | |
10301 | ||
10302 | ||
a95a7133 | 10303 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10304 | PyObject *resultobj; |
10305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10306 | int arg2 ; | |
10307 | PyObject * obj0 = 0 ; | |
10308 | PyObject * obj1 = 0 ; | |
10309 | char *kwnames[] = { | |
10310 | (char *) "self",(char *) "zoom", NULL | |
10311 | }; | |
10312 | ||
10313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
10314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10316 | arg2 = (int) SWIG_AsInt(obj1); | |
10317 | if (PyErr_Occurred()) SWIG_fail; | |
10318 | { | |
10319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10320 | (arg1)->SetZoom(arg2); | |
10321 | ||
10322 | wxPyEndAllowThreads(__tstate); | |
10323 | if (PyErr_Occurred()) SWIG_fail; | |
10324 | } | |
10325 | Py_INCREF(Py_None); resultobj = Py_None; | |
10326 | return resultobj; | |
10327 | fail: | |
10328 | return NULL; | |
10329 | } | |
10330 | ||
10331 | ||
a95a7133 | 10332 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10333 | PyObject *resultobj; |
10334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10335 | int result; | |
10336 | PyObject * obj0 = 0 ; | |
10337 | char *kwnames[] = { | |
10338 | (char *) "self", NULL | |
10339 | }; | |
10340 | ||
10341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
10342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10344 | { | |
10345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10346 | result = (int)(arg1)->GetZoom(); | |
10347 | ||
10348 | wxPyEndAllowThreads(__tstate); | |
10349 | if (PyErr_Occurred()) SWIG_fail; | |
10350 | } | |
10351 | resultobj = SWIG_FromInt((int)result); | |
10352 | return resultobj; | |
10353 | fail: | |
10354 | return NULL; | |
10355 | } | |
10356 | ||
10357 | ||
a95a7133 | 10358 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10359 | PyObject *resultobj; |
10360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10361 | void *result; | |
10362 | PyObject * obj0 = 0 ; | |
10363 | char *kwnames[] = { | |
10364 | (char *) "self", NULL | |
10365 | }; | |
10366 | ||
10367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
10368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10370 | { | |
10371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10372 | result = (void *)(arg1)->CreateDocument(); | |
10373 | ||
10374 | wxPyEndAllowThreads(__tstate); | |
10375 | if (PyErr_Occurred()) SWIG_fail; | |
10376 | } | |
10377 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
10378 | return resultobj; | |
10379 | fail: | |
10380 | return NULL; | |
10381 | } | |
10382 | ||
10383 | ||
a95a7133 | 10384 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10385 | PyObject *resultobj; |
10386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10387 | void *arg2 = (void *) 0 ; | |
10388 | PyObject * obj0 = 0 ; | |
10389 | PyObject * obj1 = 0 ; | |
10390 | char *kwnames[] = { | |
10391 | (char *) "self",(char *) "docPointer", NULL | |
10392 | }; | |
10393 | ||
10394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
10395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10397 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10398 | { | |
10399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10400 | (arg1)->AddRefDocument(arg2); | |
10401 | ||
10402 | wxPyEndAllowThreads(__tstate); | |
10403 | if (PyErr_Occurred()) SWIG_fail; | |
10404 | } | |
10405 | Py_INCREF(Py_None); resultobj = Py_None; | |
10406 | return resultobj; | |
10407 | fail: | |
10408 | return NULL; | |
10409 | } | |
10410 | ||
10411 | ||
a95a7133 | 10412 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10413 | PyObject *resultobj; |
10414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10415 | void *arg2 = (void *) 0 ; | |
10416 | PyObject * obj0 = 0 ; | |
10417 | PyObject * obj1 = 0 ; | |
10418 | char *kwnames[] = { | |
10419 | (char *) "self",(char *) "docPointer", NULL | |
10420 | }; | |
10421 | ||
10422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
10423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10425 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10426 | { | |
10427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10428 | (arg1)->ReleaseDocument(arg2); | |
10429 | ||
10430 | wxPyEndAllowThreads(__tstate); | |
10431 | if (PyErr_Occurred()) SWIG_fail; | |
10432 | } | |
10433 | Py_INCREF(Py_None); resultobj = Py_None; | |
10434 | return resultobj; | |
10435 | fail: | |
10436 | return NULL; | |
10437 | } | |
10438 | ||
10439 | ||
a95a7133 | 10440 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10441 | PyObject *resultobj; |
10442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10443 | int result; | |
10444 | PyObject * obj0 = 0 ; | |
10445 | char *kwnames[] = { | |
10446 | (char *) "self", NULL | |
10447 | }; | |
10448 | ||
10449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
10450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10452 | { | |
10453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10454 | result = (int)(arg1)->GetModEventMask(); | |
10455 | ||
10456 | wxPyEndAllowThreads(__tstate); | |
10457 | if (PyErr_Occurred()) SWIG_fail; | |
10458 | } | |
10459 | resultobj = SWIG_FromInt((int)result); | |
10460 | return resultobj; | |
10461 | fail: | |
10462 | return NULL; | |
10463 | } | |
10464 | ||
10465 | ||
a95a7133 | 10466 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10467 | PyObject *resultobj; |
10468 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10469 | bool arg2 ; | |
10470 | PyObject * obj0 = 0 ; | |
10471 | PyObject * obj1 = 0 ; | |
10472 | char *kwnames[] = { | |
10473 | (char *) "self",(char *) "focus", NULL | |
10474 | }; | |
10475 | ||
10476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
10477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10479 | arg2 = (bool) SWIG_AsBool(obj1); | |
10480 | if (PyErr_Occurred()) SWIG_fail; | |
10481 | { | |
10482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10483 | (arg1)->SetSTCFocus(arg2); | |
10484 | ||
10485 | wxPyEndAllowThreads(__tstate); | |
10486 | if (PyErr_Occurred()) SWIG_fail; | |
10487 | } | |
10488 | Py_INCREF(Py_None); resultobj = Py_None; | |
10489 | return resultobj; | |
10490 | fail: | |
10491 | return NULL; | |
10492 | } | |
10493 | ||
10494 | ||
a95a7133 | 10495 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10496 | PyObject *resultobj; |
10497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10498 | bool result; | |
10499 | PyObject * obj0 = 0 ; | |
10500 | char *kwnames[] = { | |
10501 | (char *) "self", NULL | |
10502 | }; | |
10503 | ||
10504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
10505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10507 | { | |
10508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10509 | result = (bool)(arg1)->GetSTCFocus(); | |
10510 | ||
10511 | wxPyEndAllowThreads(__tstate); | |
10512 | if (PyErr_Occurred()) SWIG_fail; | |
10513 | } | |
4f89f6a3 RD |
10514 | { |
10515 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10516 | } | |
4276dc52 RD |
10517 | return resultobj; |
10518 | fail: | |
10519 | return NULL; | |
10520 | } | |
10521 | ||
10522 | ||
a95a7133 | 10523 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10524 | PyObject *resultobj; |
10525 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10526 | int arg2 ; | |
10527 | PyObject * obj0 = 0 ; | |
10528 | PyObject * obj1 = 0 ; | |
10529 | char *kwnames[] = { | |
10530 | (char *) "self",(char *) "statusCode", NULL | |
10531 | }; | |
10532 | ||
10533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; | |
10534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10536 | arg2 = (int) SWIG_AsInt(obj1); | |
10537 | if (PyErr_Occurred()) SWIG_fail; | |
10538 | { | |
10539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10540 | (arg1)->SetStatus(arg2); | |
10541 | ||
10542 | wxPyEndAllowThreads(__tstate); | |
10543 | if (PyErr_Occurred()) SWIG_fail; | |
10544 | } | |
10545 | Py_INCREF(Py_None); resultobj = Py_None; | |
10546 | return resultobj; | |
10547 | fail: | |
10548 | return NULL; | |
10549 | } | |
10550 | ||
10551 | ||
a95a7133 | 10552 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10553 | PyObject *resultobj; |
10554 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10555 | int result; | |
10556 | PyObject * obj0 = 0 ; | |
10557 | char *kwnames[] = { | |
10558 | (char *) "self", NULL | |
10559 | }; | |
10560 | ||
10561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
10562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10564 | { | |
10565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10566 | result = (int)(arg1)->GetStatus(); | |
10567 | ||
10568 | wxPyEndAllowThreads(__tstate); | |
10569 | if (PyErr_Occurred()) SWIG_fail; | |
10570 | } | |
10571 | resultobj = SWIG_FromInt((int)result); | |
10572 | return resultobj; | |
10573 | fail: | |
10574 | return NULL; | |
10575 | } | |
10576 | ||
10577 | ||
a95a7133 | 10578 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10579 | PyObject *resultobj; |
10580 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10581 | bool arg2 ; | |
10582 | PyObject * obj0 = 0 ; | |
10583 | PyObject * obj1 = 0 ; | |
10584 | char *kwnames[] = { | |
10585 | (char *) "self",(char *) "captures", NULL | |
10586 | }; | |
10587 | ||
10588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
10589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10591 | arg2 = (bool) SWIG_AsBool(obj1); | |
10592 | if (PyErr_Occurred()) SWIG_fail; | |
10593 | { | |
10594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10595 | (arg1)->SetMouseDownCaptures(arg2); | |
10596 | ||
10597 | wxPyEndAllowThreads(__tstate); | |
10598 | if (PyErr_Occurred()) SWIG_fail; | |
10599 | } | |
10600 | Py_INCREF(Py_None); resultobj = Py_None; | |
10601 | return resultobj; | |
10602 | fail: | |
10603 | return NULL; | |
10604 | } | |
10605 | ||
10606 | ||
a95a7133 | 10607 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10608 | PyObject *resultobj; |
10609 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10610 | bool result; | |
10611 | PyObject * obj0 = 0 ; | |
10612 | char *kwnames[] = { | |
10613 | (char *) "self", NULL | |
10614 | }; | |
10615 | ||
10616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
10617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10619 | { | |
10620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10621 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
10622 | ||
10623 | wxPyEndAllowThreads(__tstate); | |
10624 | if (PyErr_Occurred()) SWIG_fail; | |
10625 | } | |
4f89f6a3 RD |
10626 | { |
10627 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10628 | } | |
4276dc52 RD |
10629 | return resultobj; |
10630 | fail: | |
10631 | return NULL; | |
10632 | } | |
10633 | ||
10634 | ||
a95a7133 | 10635 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10636 | PyObject *resultobj; |
10637 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10638 | int arg2 ; | |
10639 | PyObject * obj0 = 0 ; | |
10640 | PyObject * obj1 = 0 ; | |
10641 | char *kwnames[] = { | |
10642 | (char *) "self",(char *) "cursorType", NULL | |
10643 | }; | |
10644 | ||
10645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; | |
10646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10648 | arg2 = (int) SWIG_AsInt(obj1); | |
10649 | if (PyErr_Occurred()) SWIG_fail; | |
10650 | { | |
10651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10652 | (arg1)->SetSTCCursor(arg2); | |
10653 | ||
10654 | wxPyEndAllowThreads(__tstate); | |
10655 | if (PyErr_Occurred()) SWIG_fail; | |
10656 | } | |
10657 | Py_INCREF(Py_None); resultobj = Py_None; | |
10658 | return resultobj; | |
10659 | fail: | |
10660 | return NULL; | |
10661 | } | |
10662 | ||
10663 | ||
a95a7133 | 10664 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10665 | PyObject *resultobj; |
10666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10667 | int result; | |
10668 | PyObject * obj0 = 0 ; | |
10669 | char *kwnames[] = { | |
10670 | (char *) "self", NULL | |
10671 | }; | |
10672 | ||
10673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
10674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10676 | { | |
10677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10678 | result = (int)(arg1)->GetSTCCursor(); | |
10679 | ||
10680 | wxPyEndAllowThreads(__tstate); | |
10681 | if (PyErr_Occurred()) SWIG_fail; | |
10682 | } | |
10683 | resultobj = SWIG_FromInt((int)result); | |
10684 | return resultobj; | |
10685 | fail: | |
10686 | return NULL; | |
10687 | } | |
10688 | ||
10689 | ||
a95a7133 | 10690 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10691 | PyObject *resultobj; |
10692 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10693 | int arg2 ; | |
10694 | PyObject * obj0 = 0 ; | |
10695 | PyObject * obj1 = 0 ; | |
10696 | char *kwnames[] = { | |
10697 | (char *) "self",(char *) "symbol", NULL | |
10698 | }; | |
10699 | ||
10700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; | |
10701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10703 | arg2 = (int) SWIG_AsInt(obj1); | |
10704 | if (PyErr_Occurred()) SWIG_fail; | |
10705 | { | |
10706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10707 | (arg1)->SetControlCharSymbol(arg2); | |
10708 | ||
10709 | wxPyEndAllowThreads(__tstate); | |
10710 | if (PyErr_Occurred()) SWIG_fail; | |
10711 | } | |
10712 | Py_INCREF(Py_None); resultobj = Py_None; | |
10713 | return resultobj; | |
10714 | fail: | |
10715 | return NULL; | |
10716 | } | |
10717 | ||
10718 | ||
a95a7133 | 10719 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10720 | PyObject *resultobj; |
10721 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10722 | int result; | |
10723 | PyObject * obj0 = 0 ; | |
10724 | char *kwnames[] = { | |
10725 | (char *) "self", NULL | |
10726 | }; | |
10727 | ||
10728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
10729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10731 | { | |
10732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10733 | result = (int)(arg1)->GetControlCharSymbol(); | |
10734 | ||
10735 | wxPyEndAllowThreads(__tstate); | |
10736 | if (PyErr_Occurred()) SWIG_fail; | |
10737 | } | |
10738 | resultobj = SWIG_FromInt((int)result); | |
10739 | return resultobj; | |
10740 | fail: | |
10741 | return NULL; | |
10742 | } | |
10743 | ||
10744 | ||
a95a7133 | 10745 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10746 | PyObject *resultobj; |
10747 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10748 | PyObject * obj0 = 0 ; | |
10749 | char *kwnames[] = { | |
10750 | (char *) "self", NULL | |
10751 | }; | |
10752 | ||
10753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
10754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10756 | { | |
10757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10758 | (arg1)->WordPartLeft(); | |
10759 | ||
10760 | wxPyEndAllowThreads(__tstate); | |
10761 | if (PyErr_Occurred()) SWIG_fail; | |
10762 | } | |
10763 | Py_INCREF(Py_None); resultobj = Py_None; | |
10764 | return resultobj; | |
10765 | fail: | |
10766 | return NULL; | |
10767 | } | |
10768 | ||
10769 | ||
a95a7133 | 10770 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10771 | PyObject *resultobj; |
10772 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10773 | PyObject * obj0 = 0 ; | |
10774 | char *kwnames[] = { | |
10775 | (char *) "self", NULL | |
10776 | }; | |
10777 | ||
10778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
10779 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10781 | { | |
10782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10783 | (arg1)->WordPartLeftExtend(); | |
10784 | ||
10785 | wxPyEndAllowThreads(__tstate); | |
10786 | if (PyErr_Occurred()) SWIG_fail; | |
10787 | } | |
10788 | Py_INCREF(Py_None); resultobj = Py_None; | |
10789 | return resultobj; | |
10790 | fail: | |
10791 | return NULL; | |
10792 | } | |
10793 | ||
10794 | ||
a95a7133 | 10795 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10796 | PyObject *resultobj; |
10797 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10798 | PyObject * obj0 = 0 ; | |
10799 | char *kwnames[] = { | |
10800 | (char *) "self", NULL | |
10801 | }; | |
10802 | ||
10803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
10804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10806 | { | |
10807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10808 | (arg1)->WordPartRight(); | |
10809 | ||
10810 | wxPyEndAllowThreads(__tstate); | |
10811 | if (PyErr_Occurred()) SWIG_fail; | |
10812 | } | |
10813 | Py_INCREF(Py_None); resultobj = Py_None; | |
10814 | return resultobj; | |
10815 | fail: | |
10816 | return NULL; | |
10817 | } | |
10818 | ||
10819 | ||
a95a7133 | 10820 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10821 | PyObject *resultobj; |
10822 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10823 | PyObject * obj0 = 0 ; | |
10824 | char *kwnames[] = { | |
10825 | (char *) "self", NULL | |
10826 | }; | |
10827 | ||
10828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
10829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10831 | { | |
10832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10833 | (arg1)->WordPartRightExtend(); | |
10834 | ||
10835 | wxPyEndAllowThreads(__tstate); | |
10836 | if (PyErr_Occurred()) SWIG_fail; | |
10837 | } | |
10838 | Py_INCREF(Py_None); resultobj = Py_None; | |
10839 | return resultobj; | |
10840 | fail: | |
10841 | return NULL; | |
10842 | } | |
10843 | ||
10844 | ||
a95a7133 | 10845 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10846 | PyObject *resultobj; |
10847 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10848 | int arg2 ; | |
10849 | int arg3 ; | |
10850 | PyObject * obj0 = 0 ; | |
10851 | PyObject * obj1 = 0 ; | |
10852 | PyObject * obj2 = 0 ; | |
10853 | char *kwnames[] = { | |
10854 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
10855 | }; | |
10856 | ||
10857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10860 | arg2 = (int) SWIG_AsInt(obj1); | |
10861 | if (PyErr_Occurred()) SWIG_fail; | |
10862 | arg3 = (int) SWIG_AsInt(obj2); | |
10863 | if (PyErr_Occurred()) SWIG_fail; | |
10864 | { | |
10865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10866 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
10867 | ||
10868 | wxPyEndAllowThreads(__tstate); | |
10869 | if (PyErr_Occurred()) SWIG_fail; | |
10870 | } | |
10871 | Py_INCREF(Py_None); resultobj = Py_None; | |
10872 | return resultobj; | |
10873 | fail: | |
10874 | return NULL; | |
10875 | } | |
10876 | ||
10877 | ||
a95a7133 | 10878 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10879 | PyObject *resultobj; |
10880 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10881 | PyObject * obj0 = 0 ; | |
10882 | char *kwnames[] = { | |
10883 | (char *) "self", NULL | |
10884 | }; | |
10885 | ||
10886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; | |
10887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10889 | { | |
10890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10891 | (arg1)->DelLineLeft(); | |
10892 | ||
10893 | wxPyEndAllowThreads(__tstate); | |
10894 | if (PyErr_Occurred()) SWIG_fail; | |
10895 | } | |
10896 | Py_INCREF(Py_None); resultobj = Py_None; | |
10897 | return resultobj; | |
10898 | fail: | |
10899 | return NULL; | |
10900 | } | |
10901 | ||
10902 | ||
a95a7133 | 10903 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10904 | PyObject *resultobj; |
10905 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10906 | PyObject * obj0 = 0 ; | |
10907 | char *kwnames[] = { | |
10908 | (char *) "self", NULL | |
10909 | }; | |
10910 | ||
10911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
10912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10914 | { | |
10915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10916 | (arg1)->DelLineRight(); | |
10917 | ||
10918 | wxPyEndAllowThreads(__tstate); | |
10919 | if (PyErr_Occurred()) SWIG_fail; | |
10920 | } | |
10921 | Py_INCREF(Py_None); resultobj = Py_None; | |
10922 | return resultobj; | |
10923 | fail: | |
10924 | return NULL; | |
10925 | } | |
10926 | ||
10927 | ||
a95a7133 | 10928 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10929 | PyObject *resultobj; |
10930 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10931 | int arg2 ; | |
10932 | PyObject * obj0 = 0 ; | |
10933 | PyObject * obj1 = 0 ; | |
10934 | char *kwnames[] = { | |
10935 | (char *) "self",(char *) "newOffset", NULL | |
10936 | }; | |
10937 | ||
10938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; | |
10939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10941 | arg2 = (int) SWIG_AsInt(obj1); | |
10942 | if (PyErr_Occurred()) SWIG_fail; | |
10943 | { | |
10944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10945 | (arg1)->SetXOffset(arg2); | |
10946 | ||
10947 | wxPyEndAllowThreads(__tstate); | |
10948 | if (PyErr_Occurred()) SWIG_fail; | |
10949 | } | |
10950 | Py_INCREF(Py_None); resultobj = Py_None; | |
10951 | return resultobj; | |
10952 | fail: | |
10953 | return NULL; | |
10954 | } | |
10955 | ||
10956 | ||
a95a7133 | 10957 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10958 | PyObject *resultobj; |
10959 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10960 | int result; | |
10961 | PyObject * obj0 = 0 ; | |
10962 | char *kwnames[] = { | |
10963 | (char *) "self", NULL | |
10964 | }; | |
10965 | ||
10966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
10967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10969 | { | |
10970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10971 | result = (int)(arg1)->GetXOffset(); | |
10972 | ||
10973 | wxPyEndAllowThreads(__tstate); | |
10974 | if (PyErr_Occurred()) SWIG_fail; | |
10975 | } | |
10976 | resultobj = SWIG_FromInt((int)result); | |
10977 | return resultobj; | |
10978 | fail: | |
10979 | return NULL; | |
10980 | } | |
10981 | ||
10982 | ||
a95a7133 | 10983 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10984 | PyObject *resultobj; |
10985 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10986 | PyObject * obj0 = 0 ; | |
10987 | char *kwnames[] = { | |
10988 | (char *) "self", NULL | |
10989 | }; | |
10990 | ||
10991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
10992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10994 | { | |
10995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10996 | (arg1)->ChooseCaretX(); | |
10997 | ||
10998 | wxPyEndAllowThreads(__tstate); | |
10999 | if (PyErr_Occurred()) SWIG_fail; | |
11000 | } | |
11001 | Py_INCREF(Py_None); resultobj = Py_None; | |
11002 | return resultobj; | |
11003 | fail: | |
11004 | return NULL; | |
11005 | } | |
11006 | ||
11007 | ||
a95a7133 | 11008 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11009 | PyObject *resultobj; |
11010 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11011 | int arg2 ; | |
11012 | int arg3 ; | |
11013 | PyObject * obj0 = 0 ; | |
11014 | PyObject * obj1 = 0 ; | |
11015 | PyObject * obj2 = 0 ; | |
11016 | char *kwnames[] = { | |
11017 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11018 | }; | |
11019 | ||
11020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11023 | arg2 = (int) SWIG_AsInt(obj1); | |
11024 | if (PyErr_Occurred()) SWIG_fail; | |
11025 | arg3 = (int) SWIG_AsInt(obj2); | |
11026 | if (PyErr_Occurred()) SWIG_fail; | |
11027 | { | |
11028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11029 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
11030 | ||
11031 | wxPyEndAllowThreads(__tstate); | |
11032 | if (PyErr_Occurred()) SWIG_fail; | |
11033 | } | |
11034 | Py_INCREF(Py_None); resultobj = Py_None; | |
11035 | return resultobj; | |
11036 | fail: | |
11037 | return NULL; | |
11038 | } | |
11039 | ||
11040 | ||
a95a7133 | 11041 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11042 | PyObject *resultobj; |
11043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11044 | int arg2 ; | |
11045 | int arg3 ; | |
11046 | PyObject * obj0 = 0 ; | |
11047 | PyObject * obj1 = 0 ; | |
11048 | PyObject * obj2 = 0 ; | |
11049 | char *kwnames[] = { | |
11050 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11051 | }; | |
11052 | ||
11053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11056 | arg2 = (int) SWIG_AsInt(obj1); | |
11057 | if (PyErr_Occurred()) SWIG_fail; | |
11058 | arg3 = (int) SWIG_AsInt(obj2); | |
11059 | if (PyErr_Occurred()) SWIG_fail; | |
11060 | { | |
11061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11062 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
11063 | ||
11064 | wxPyEndAllowThreads(__tstate); | |
11065 | if (PyErr_Occurred()) SWIG_fail; | |
11066 | } | |
11067 | Py_INCREF(Py_None); resultobj = Py_None; | |
11068 | return resultobj; | |
11069 | fail: | |
11070 | return NULL; | |
11071 | } | |
11072 | ||
11073 | ||
a95a7133 | 11074 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11075 | PyObject *resultobj; |
11076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11077 | int arg2 ; | |
11078 | PyObject * obj0 = 0 ; | |
11079 | PyObject * obj1 = 0 ; | |
11080 | char *kwnames[] = { | |
11081 | (char *) "self",(char *) "mode", NULL | |
11082 | }; | |
11083 | ||
11084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
11085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11087 | arg2 = (int) SWIG_AsInt(obj1); | |
11088 | if (PyErr_Occurred()) SWIG_fail; | |
11089 | { | |
11090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11091 | (arg1)->SetPrintWrapMode(arg2); | |
11092 | ||
11093 | wxPyEndAllowThreads(__tstate); | |
11094 | if (PyErr_Occurred()) SWIG_fail; | |
11095 | } | |
11096 | Py_INCREF(Py_None); resultobj = Py_None; | |
11097 | return resultobj; | |
11098 | fail: | |
11099 | return NULL; | |
11100 | } | |
11101 | ||
11102 | ||
a95a7133 | 11103 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11104 | PyObject *resultobj; |
11105 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11106 | int result; | |
11107 | PyObject * obj0 = 0 ; | |
11108 | char *kwnames[] = { | |
11109 | (char *) "self", NULL | |
11110 | }; | |
11111 | ||
11112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
11113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11115 | { | |
11116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11117 | result = (int)(arg1)->GetPrintWrapMode(); | |
11118 | ||
11119 | wxPyEndAllowThreads(__tstate); | |
11120 | if (PyErr_Occurred()) SWIG_fail; | |
11121 | } | |
11122 | resultobj = SWIG_FromInt((int)result); | |
11123 | return resultobj; | |
11124 | fail: | |
11125 | return NULL; | |
11126 | } | |
11127 | ||
11128 | ||
a95a7133 | 11129 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11130 | PyObject *resultobj; |
11131 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11132 | bool arg2 ; | |
11133 | wxColour *arg3 = 0 ; | |
11134 | wxColour temp3 ; | |
11135 | PyObject * obj0 = 0 ; | |
11136 | PyObject * obj1 = 0 ; | |
11137 | PyObject * obj2 = 0 ; | |
11138 | char *kwnames[] = { | |
11139 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
11140 | }; | |
11141 | ||
11142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11145 | arg2 = (bool) SWIG_AsBool(obj1); | |
11146 | if (PyErr_Occurred()) SWIG_fail; | |
11147 | { | |
11148 | arg3 = &temp3; | |
11149 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11150 | } | |
11151 | { | |
11152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11153 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
11154 | ||
11155 | wxPyEndAllowThreads(__tstate); | |
11156 | if (PyErr_Occurred()) SWIG_fail; | |
11157 | } | |
11158 | Py_INCREF(Py_None); resultobj = Py_None; | |
11159 | return resultobj; | |
11160 | fail: | |
11161 | return NULL; | |
11162 | } | |
11163 | ||
11164 | ||
a95a7133 | 11165 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11166 | PyObject *resultobj; |
11167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11168 | bool arg2 ; | |
11169 | wxColour *arg3 = 0 ; | |
11170 | wxColour temp3 ; | |
11171 | PyObject * obj0 = 0 ; | |
11172 | PyObject * obj1 = 0 ; | |
11173 | PyObject * obj2 = 0 ; | |
11174 | char *kwnames[] = { | |
11175 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
11176 | }; | |
11177 | ||
11178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11181 | arg2 = (bool) SWIG_AsBool(obj1); | |
11182 | if (PyErr_Occurred()) SWIG_fail; | |
11183 | { | |
11184 | arg3 = &temp3; | |
11185 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11186 | } | |
11187 | { | |
11188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11189 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
11190 | ||
11191 | wxPyEndAllowThreads(__tstate); | |
11192 | if (PyErr_Occurred()) SWIG_fail; | |
11193 | } | |
11194 | Py_INCREF(Py_None); resultobj = Py_None; | |
11195 | return resultobj; | |
11196 | fail: | |
11197 | return NULL; | |
11198 | } | |
11199 | ||
11200 | ||
a95a7133 | 11201 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11202 | PyObject *resultobj; |
11203 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11204 | bool arg2 ; | |
11205 | PyObject * obj0 = 0 ; | |
11206 | PyObject * obj1 = 0 ; | |
11207 | char *kwnames[] = { | |
11208 | (char *) "self",(char *) "underline", NULL | |
11209 | }; | |
11210 | ||
11211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
11212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11214 | arg2 = (bool) SWIG_AsBool(obj1); | |
11215 | if (PyErr_Occurred()) SWIG_fail; | |
11216 | { | |
11217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11218 | (arg1)->SetHotspotActiveUnderline(arg2); | |
11219 | ||
11220 | wxPyEndAllowThreads(__tstate); | |
11221 | if (PyErr_Occurred()) SWIG_fail; | |
11222 | } | |
11223 | Py_INCREF(Py_None); resultobj = Py_None; | |
11224 | return resultobj; | |
11225 | fail: | |
11226 | return NULL; | |
11227 | } | |
11228 | ||
11229 | ||
a95a7133 | 11230 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11231 | PyObject *resultobj; |
11232 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11233 | bool arg2 ; | |
11234 | PyObject * obj0 = 0 ; | |
11235 | PyObject * obj1 = 0 ; | |
11236 | char *kwnames[] = { | |
11237 | (char *) "self",(char *) "singleLine", NULL | |
11238 | }; | |
11239 | ||
11240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; | |
11241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11243 | arg2 = (bool) SWIG_AsBool(obj1); | |
11244 | if (PyErr_Occurred()) SWIG_fail; | |
11245 | { | |
11246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11247 | (arg1)->SetHotspotSingleLine(arg2); | |
11248 | ||
11249 | wxPyEndAllowThreads(__tstate); | |
11250 | if (PyErr_Occurred()) SWIG_fail; | |
11251 | } | |
11252 | Py_INCREF(Py_None); resultobj = Py_None; | |
11253 | return resultobj; | |
11254 | fail: | |
11255 | return NULL; | |
11256 | } | |
11257 | ||
11258 | ||
a95a7133 | 11259 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11260 | PyObject *resultobj; |
11261 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11262 | PyObject * obj0 = 0 ; | |
11263 | char *kwnames[] = { | |
11264 | (char *) "self", NULL | |
11265 | }; | |
11266 | ||
11267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; | |
11268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11270 | { | |
11271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11272 | (arg1)->ParaDown(); | |
11273 | ||
11274 | wxPyEndAllowThreads(__tstate); | |
11275 | if (PyErr_Occurred()) SWIG_fail; | |
11276 | } | |
11277 | Py_INCREF(Py_None); resultobj = Py_None; | |
11278 | return resultobj; | |
11279 | fail: | |
11280 | return NULL; | |
11281 | } | |
11282 | ||
11283 | ||
a95a7133 | 11284 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11285 | PyObject *resultobj; |
11286 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11287 | PyObject * obj0 = 0 ; | |
11288 | char *kwnames[] = { | |
11289 | (char *) "self", NULL | |
11290 | }; | |
11291 | ||
11292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; | |
11293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11295 | { | |
11296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11297 | (arg1)->ParaDownExtend(); | |
11298 | ||
11299 | wxPyEndAllowThreads(__tstate); | |
11300 | if (PyErr_Occurred()) SWIG_fail; | |
11301 | } | |
11302 | Py_INCREF(Py_None); resultobj = Py_None; | |
11303 | return resultobj; | |
11304 | fail: | |
11305 | return NULL; | |
11306 | } | |
11307 | ||
11308 | ||
a95a7133 | 11309 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11310 | PyObject *resultobj; |
11311 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11312 | PyObject * obj0 = 0 ; | |
11313 | char *kwnames[] = { | |
11314 | (char *) "self", NULL | |
11315 | }; | |
11316 | ||
11317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; | |
11318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11320 | { | |
11321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11322 | (arg1)->ParaUp(); | |
11323 | ||
11324 | wxPyEndAllowThreads(__tstate); | |
11325 | if (PyErr_Occurred()) SWIG_fail; | |
11326 | } | |
11327 | Py_INCREF(Py_None); resultobj = Py_None; | |
11328 | return resultobj; | |
11329 | fail: | |
11330 | return NULL; | |
11331 | } | |
11332 | ||
11333 | ||
a95a7133 | 11334 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11335 | PyObject *resultobj; |
11336 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11337 | PyObject * obj0 = 0 ; | |
11338 | char *kwnames[] = { | |
11339 | (char *) "self", NULL | |
11340 | }; | |
11341 | ||
11342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; | |
11343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11345 | { | |
11346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11347 | (arg1)->ParaUpExtend(); | |
11348 | ||
11349 | wxPyEndAllowThreads(__tstate); | |
11350 | if (PyErr_Occurred()) SWIG_fail; | |
11351 | } | |
11352 | Py_INCREF(Py_None); resultobj = Py_None; | |
11353 | return resultobj; | |
11354 | fail: | |
11355 | return NULL; | |
11356 | } | |
11357 | ||
11358 | ||
a95a7133 | 11359 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11360 | PyObject *resultobj; |
11361 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11362 | int arg2 ; | |
11363 | int result; | |
11364 | PyObject * obj0 = 0 ; | |
11365 | PyObject * obj1 = 0 ; | |
11366 | char *kwnames[] = { | |
11367 | (char *) "self",(char *) "pos", NULL | |
11368 | }; | |
11369 | ||
11370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; | |
11371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11373 | arg2 = (int) SWIG_AsInt(obj1); | |
11374 | if (PyErr_Occurred()) SWIG_fail; | |
11375 | { | |
11376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11377 | result = (int)(arg1)->PositionBefore(arg2); | |
11378 | ||
11379 | wxPyEndAllowThreads(__tstate); | |
11380 | if (PyErr_Occurred()) SWIG_fail; | |
11381 | } | |
11382 | resultobj = SWIG_FromInt((int)result); | |
11383 | return resultobj; | |
11384 | fail: | |
11385 | return NULL; | |
11386 | } | |
11387 | ||
11388 | ||
a95a7133 | 11389 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11390 | PyObject *resultobj; |
11391 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11392 | int arg2 ; | |
11393 | int result; | |
11394 | PyObject * obj0 = 0 ; | |
11395 | PyObject * obj1 = 0 ; | |
11396 | char *kwnames[] = { | |
11397 | (char *) "self",(char *) "pos", NULL | |
11398 | }; | |
11399 | ||
11400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; | |
11401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11403 | arg2 = (int) SWIG_AsInt(obj1); | |
11404 | if (PyErr_Occurred()) SWIG_fail; | |
11405 | { | |
11406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11407 | result = (int)(arg1)->PositionAfter(arg2); | |
11408 | ||
11409 | wxPyEndAllowThreads(__tstate); | |
11410 | if (PyErr_Occurred()) SWIG_fail; | |
11411 | } | |
11412 | resultobj = SWIG_FromInt((int)result); | |
11413 | return resultobj; | |
11414 | fail: | |
11415 | return NULL; | |
11416 | } | |
11417 | ||
11418 | ||
a95a7133 | 11419 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11420 | PyObject *resultobj; |
11421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11422 | int arg2 ; | |
11423 | int arg3 ; | |
11424 | PyObject * obj0 = 0 ; | |
11425 | PyObject * obj1 = 0 ; | |
11426 | PyObject * obj2 = 0 ; | |
11427 | char *kwnames[] = { | |
11428 | (char *) "self",(char *) "start",(char *) "end", NULL | |
11429 | }; | |
11430 | ||
11431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11434 | arg2 = (int) SWIG_AsInt(obj1); | |
11435 | if (PyErr_Occurred()) SWIG_fail; | |
11436 | arg3 = (int) SWIG_AsInt(obj2); | |
11437 | if (PyErr_Occurred()) SWIG_fail; | |
11438 | { | |
11439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11440 | (arg1)->CopyRange(arg2,arg3); | |
11441 | ||
11442 | wxPyEndAllowThreads(__tstate); | |
11443 | if (PyErr_Occurred()) SWIG_fail; | |
11444 | } | |
11445 | Py_INCREF(Py_None); resultobj = Py_None; | |
11446 | return resultobj; | |
11447 | fail: | |
11448 | return NULL; | |
11449 | } | |
11450 | ||
11451 | ||
a95a7133 | 11452 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11453 | PyObject *resultobj; |
11454 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11455 | int arg2 ; | |
11456 | wxString *arg3 = 0 ; | |
11457 | bool temp3 = False ; | |
11458 | PyObject * obj0 = 0 ; | |
11459 | PyObject * obj1 = 0 ; | |
11460 | PyObject * obj2 = 0 ; | |
11461 | char *kwnames[] = { | |
11462 | (char *) "self",(char *) "length",(char *) "text", NULL | |
11463 | }; | |
11464 | ||
11465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11468 | arg2 = (int) SWIG_AsInt(obj1); | |
11469 | if (PyErr_Occurred()) SWIG_fail; | |
11470 | { | |
11471 | arg3 = wxString_in_helper(obj2); | |
11472 | if (arg3 == NULL) SWIG_fail; | |
11473 | temp3 = True; | |
11474 | } | |
11475 | { | |
11476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11477 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
11478 | ||
11479 | wxPyEndAllowThreads(__tstate); | |
11480 | if (PyErr_Occurred()) SWIG_fail; | |
11481 | } | |
11482 | Py_INCREF(Py_None); resultobj = Py_None; | |
11483 | { | |
11484 | if (temp3) | |
11485 | delete arg3; | |
11486 | } | |
11487 | return resultobj; | |
11488 | fail: | |
11489 | { | |
11490 | if (temp3) | |
11491 | delete arg3; | |
11492 | } | |
11493 | return NULL; | |
11494 | } | |
11495 | ||
11496 | ||
a95a7133 | 11497 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11498 | PyObject *resultobj; |
11499 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11500 | int arg2 ; | |
11501 | PyObject * obj0 = 0 ; | |
11502 | PyObject * obj1 = 0 ; | |
11503 | char *kwnames[] = { | |
11504 | (char *) "self",(char *) "mode", NULL | |
11505 | }; | |
11506 | ||
11507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; | |
11508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11510 | arg2 = (int) SWIG_AsInt(obj1); | |
11511 | if (PyErr_Occurred()) SWIG_fail; | |
11512 | { | |
11513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11514 | (arg1)->SetSelectionMode(arg2); | |
11515 | ||
11516 | wxPyEndAllowThreads(__tstate); | |
11517 | if (PyErr_Occurred()) SWIG_fail; | |
11518 | } | |
11519 | Py_INCREF(Py_None); resultobj = Py_None; | |
11520 | return resultobj; | |
11521 | fail: | |
11522 | return NULL; | |
11523 | } | |
11524 | ||
11525 | ||
a95a7133 | 11526 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11527 | PyObject *resultobj; |
11528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11529 | int result; | |
11530 | PyObject * obj0 = 0 ; | |
11531 | char *kwnames[] = { | |
11532 | (char *) "self", NULL | |
11533 | }; | |
11534 | ||
11535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; | |
11536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11538 | { | |
11539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11540 | result = (int)(arg1)->GetSelectionMode(); | |
11541 | ||
11542 | wxPyEndAllowThreads(__tstate); | |
11543 | if (PyErr_Occurred()) SWIG_fail; | |
11544 | } | |
11545 | resultobj = SWIG_FromInt((int)result); | |
11546 | return resultobj; | |
11547 | fail: | |
11548 | return NULL; | |
11549 | } | |
11550 | ||
11551 | ||
a95a7133 | 11552 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11553 | PyObject *resultobj; |
11554 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11555 | int arg2 ; | |
11556 | int result; | |
11557 | PyObject * obj0 = 0 ; | |
11558 | PyObject * obj1 = 0 ; | |
11559 | char *kwnames[] = { | |
11560 | (char *) "self",(char *) "line", NULL | |
11561 | }; | |
11562 | ||
11563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; | |
11564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11566 | arg2 = (int) SWIG_AsInt(obj1); | |
11567 | if (PyErr_Occurred()) SWIG_fail; | |
11568 | { | |
11569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11570 | result = (int)(arg1)->GetLineSelStartPosition(arg2); | |
11571 | ||
11572 | wxPyEndAllowThreads(__tstate); | |
11573 | if (PyErr_Occurred()) SWIG_fail; | |
11574 | } | |
11575 | resultobj = SWIG_FromInt((int)result); | |
11576 | return resultobj; | |
11577 | fail: | |
11578 | return NULL; | |
11579 | } | |
11580 | ||
11581 | ||
a95a7133 | 11582 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11583 | PyObject *resultobj; |
11584 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11585 | int arg2 ; | |
11586 | int result; | |
11587 | PyObject * obj0 = 0 ; | |
11588 | PyObject * obj1 = 0 ; | |
11589 | char *kwnames[] = { | |
11590 | (char *) "self",(char *) "line", NULL | |
11591 | }; | |
11592 | ||
11593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
11594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11596 | arg2 = (int) SWIG_AsInt(obj1); | |
11597 | if (PyErr_Occurred()) SWIG_fail; | |
11598 | { | |
11599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11600 | result = (int)(arg1)->GetLineSelEndPosition(arg2); | |
11601 | ||
11602 | wxPyEndAllowThreads(__tstate); | |
11603 | if (PyErr_Occurred()) SWIG_fail; | |
11604 | } | |
11605 | resultobj = SWIG_FromInt((int)result); | |
11606 | return resultobj; | |
11607 | fail: | |
11608 | return NULL; | |
11609 | } | |
11610 | ||
11611 | ||
a95a7133 | 11612 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11613 | PyObject *resultobj; |
11614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11615 | PyObject * obj0 = 0 ; | |
11616 | char *kwnames[] = { | |
11617 | (char *) "self", NULL | |
11618 | }; | |
11619 | ||
11620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; | |
11621 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11622 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11623 | { | |
11624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11625 | (arg1)->LineDownRectExtend(); | |
11626 | ||
11627 | wxPyEndAllowThreads(__tstate); | |
11628 | if (PyErr_Occurred()) SWIG_fail; | |
11629 | } | |
11630 | Py_INCREF(Py_None); resultobj = Py_None; | |
11631 | return resultobj; | |
11632 | fail: | |
11633 | return NULL; | |
11634 | } | |
11635 | ||
11636 | ||
a95a7133 | 11637 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11638 | PyObject *resultobj; |
11639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11640 | PyObject * obj0 = 0 ; | |
11641 | char *kwnames[] = { | |
11642 | (char *) "self", NULL | |
11643 | }; | |
11644 | ||
11645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; | |
11646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11648 | { | |
11649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11650 | (arg1)->LineUpRectExtend(); | |
11651 | ||
11652 | wxPyEndAllowThreads(__tstate); | |
11653 | if (PyErr_Occurred()) SWIG_fail; | |
11654 | } | |
11655 | Py_INCREF(Py_None); resultobj = Py_None; | |
11656 | return resultobj; | |
11657 | fail: | |
11658 | return NULL; | |
11659 | } | |
11660 | ||
11661 | ||
a95a7133 | 11662 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11663 | PyObject *resultobj; |
11664 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11665 | PyObject * obj0 = 0 ; | |
11666 | char *kwnames[] = { | |
11667 | (char *) "self", NULL | |
11668 | }; | |
11669 | ||
11670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; | |
11671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11673 | { | |
11674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11675 | (arg1)->CharLeftRectExtend(); | |
11676 | ||
11677 | wxPyEndAllowThreads(__tstate); | |
11678 | if (PyErr_Occurred()) SWIG_fail; | |
11679 | } | |
11680 | Py_INCREF(Py_None); resultobj = Py_None; | |
11681 | return resultobj; | |
11682 | fail: | |
11683 | return NULL; | |
11684 | } | |
11685 | ||
11686 | ||
a95a7133 | 11687 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11688 | PyObject *resultobj; |
11689 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11690 | PyObject * obj0 = 0 ; | |
11691 | char *kwnames[] = { | |
11692 | (char *) "self", NULL | |
11693 | }; | |
11694 | ||
11695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; | |
11696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11698 | { | |
11699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11700 | (arg1)->CharRightRectExtend(); | |
11701 | ||
11702 | wxPyEndAllowThreads(__tstate); | |
11703 | if (PyErr_Occurred()) SWIG_fail; | |
11704 | } | |
11705 | Py_INCREF(Py_None); resultobj = Py_None; | |
11706 | return resultobj; | |
11707 | fail: | |
11708 | return NULL; | |
11709 | } | |
11710 | ||
11711 | ||
a95a7133 | 11712 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11713 | PyObject *resultobj; |
11714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11715 | PyObject * obj0 = 0 ; | |
11716 | char *kwnames[] = { | |
11717 | (char *) "self", NULL | |
11718 | }; | |
11719 | ||
11720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; | |
11721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11723 | { | |
11724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11725 | (arg1)->HomeRectExtend(); | |
11726 | ||
11727 | wxPyEndAllowThreads(__tstate); | |
11728 | if (PyErr_Occurred()) SWIG_fail; | |
11729 | } | |
11730 | Py_INCREF(Py_None); resultobj = Py_None; | |
11731 | return resultobj; | |
11732 | fail: | |
11733 | return NULL; | |
11734 | } | |
11735 | ||
11736 | ||
a95a7133 | 11737 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11738 | PyObject *resultobj; |
11739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11740 | PyObject * obj0 = 0 ; | |
11741 | char *kwnames[] = { | |
11742 | (char *) "self", NULL | |
11743 | }; | |
11744 | ||
11745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; | |
11746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11748 | { | |
11749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11750 | (arg1)->VCHomeRectExtend(); | |
11751 | ||
11752 | wxPyEndAllowThreads(__tstate); | |
11753 | if (PyErr_Occurred()) SWIG_fail; | |
11754 | } | |
11755 | Py_INCREF(Py_None); resultobj = Py_None; | |
11756 | return resultobj; | |
11757 | fail: | |
11758 | return NULL; | |
11759 | } | |
11760 | ||
11761 | ||
a95a7133 | 11762 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11763 | PyObject *resultobj; |
11764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11765 | PyObject * obj0 = 0 ; | |
11766 | char *kwnames[] = { | |
11767 | (char *) "self", NULL | |
11768 | }; | |
11769 | ||
11770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; | |
11771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11773 | { | |
11774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11775 | (arg1)->LineEndRectExtend(); | |
11776 | ||
11777 | wxPyEndAllowThreads(__tstate); | |
11778 | if (PyErr_Occurred()) SWIG_fail; | |
11779 | } | |
11780 | Py_INCREF(Py_None); resultobj = Py_None; | |
11781 | return resultobj; | |
11782 | fail: | |
11783 | return NULL; | |
11784 | } | |
11785 | ||
11786 | ||
a95a7133 | 11787 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11788 | PyObject *resultobj; |
11789 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11790 | PyObject * obj0 = 0 ; | |
11791 | char *kwnames[] = { | |
11792 | (char *) "self", NULL | |
11793 | }; | |
11794 | ||
11795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; | |
11796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11798 | { | |
11799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11800 | (arg1)->PageUpRectExtend(); | |
11801 | ||
11802 | wxPyEndAllowThreads(__tstate); | |
11803 | if (PyErr_Occurred()) SWIG_fail; | |
11804 | } | |
11805 | Py_INCREF(Py_None); resultobj = Py_None; | |
11806 | return resultobj; | |
11807 | fail: | |
11808 | return NULL; | |
11809 | } | |
11810 | ||
11811 | ||
a95a7133 | 11812 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11813 | PyObject *resultobj; |
11814 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11815 | PyObject * obj0 = 0 ; | |
11816 | char *kwnames[] = { | |
11817 | (char *) "self", NULL | |
11818 | }; | |
11819 | ||
11820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; | |
11821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11823 | { | |
11824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11825 | (arg1)->PageDownRectExtend(); | |
11826 | ||
11827 | wxPyEndAllowThreads(__tstate); | |
11828 | if (PyErr_Occurred()) SWIG_fail; | |
11829 | } | |
11830 | Py_INCREF(Py_None); resultobj = Py_None; | |
11831 | return resultobj; | |
11832 | fail: | |
11833 | return NULL; | |
11834 | } | |
11835 | ||
11836 | ||
a95a7133 | 11837 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11838 | PyObject *resultobj; |
11839 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11840 | PyObject * obj0 = 0 ; | |
11841 | char *kwnames[] = { | |
11842 | (char *) "self", NULL | |
11843 | }; | |
11844 | ||
11845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; | |
11846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11848 | { | |
11849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11850 | (arg1)->StutteredPageUp(); | |
11851 | ||
11852 | wxPyEndAllowThreads(__tstate); | |
11853 | if (PyErr_Occurred()) SWIG_fail; | |
11854 | } | |
11855 | Py_INCREF(Py_None); resultobj = Py_None; | |
11856 | return resultobj; | |
11857 | fail: | |
11858 | return NULL; | |
11859 | } | |
11860 | ||
11861 | ||
a95a7133 | 11862 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11863 | PyObject *resultobj; |
11864 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11865 | PyObject * obj0 = 0 ; | |
11866 | char *kwnames[] = { | |
11867 | (char *) "self", NULL | |
11868 | }; | |
11869 | ||
11870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; | |
11871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11873 | { | |
11874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11875 | (arg1)->StutteredPageUpExtend(); | |
11876 | ||
11877 | wxPyEndAllowThreads(__tstate); | |
11878 | if (PyErr_Occurred()) SWIG_fail; | |
11879 | } | |
11880 | Py_INCREF(Py_None); resultobj = Py_None; | |
11881 | return resultobj; | |
11882 | fail: | |
11883 | return NULL; | |
11884 | } | |
11885 | ||
11886 | ||
a95a7133 | 11887 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11888 | PyObject *resultobj; |
11889 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11890 | PyObject * obj0 = 0 ; | |
11891 | char *kwnames[] = { | |
11892 | (char *) "self", NULL | |
11893 | }; | |
11894 | ||
11895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; | |
11896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11898 | { | |
11899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11900 | (arg1)->StutteredPageDown(); | |
11901 | ||
11902 | wxPyEndAllowThreads(__tstate); | |
11903 | if (PyErr_Occurred()) SWIG_fail; | |
11904 | } | |
11905 | Py_INCREF(Py_None); resultobj = Py_None; | |
11906 | return resultobj; | |
11907 | fail: | |
11908 | return NULL; | |
11909 | } | |
11910 | ||
11911 | ||
a95a7133 | 11912 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11913 | PyObject *resultobj; |
11914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11915 | PyObject * obj0 = 0 ; | |
11916 | char *kwnames[] = { | |
11917 | (char *) "self", NULL | |
11918 | }; | |
11919 | ||
11920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; | |
11921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11923 | { | |
11924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11925 | (arg1)->StutteredPageDownExtend(); | |
11926 | ||
11927 | wxPyEndAllowThreads(__tstate); | |
11928 | if (PyErr_Occurred()) SWIG_fail; | |
11929 | } | |
11930 | Py_INCREF(Py_None); resultobj = Py_None; | |
11931 | return resultobj; | |
11932 | fail: | |
11933 | return NULL; | |
11934 | } | |
11935 | ||
11936 | ||
a95a7133 | 11937 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11938 | PyObject *resultobj; |
11939 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11940 | PyObject * obj0 = 0 ; | |
11941 | char *kwnames[] = { | |
11942 | (char *) "self", NULL | |
11943 | }; | |
11944 | ||
11945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; | |
11946 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11947 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11948 | { | |
11949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11950 | (arg1)->WordLeftEnd(); | |
11951 | ||
11952 | wxPyEndAllowThreads(__tstate); | |
11953 | if (PyErr_Occurred()) SWIG_fail; | |
11954 | } | |
11955 | Py_INCREF(Py_None); resultobj = Py_None; | |
11956 | return resultobj; | |
11957 | fail: | |
11958 | return NULL; | |
11959 | } | |
11960 | ||
11961 | ||
a95a7133 | 11962 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11963 | PyObject *resultobj; |
11964 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11965 | PyObject * obj0 = 0 ; | |
11966 | char *kwnames[] = { | |
11967 | (char *) "self", NULL | |
11968 | }; | |
11969 | ||
11970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; | |
11971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11973 | { | |
11974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11975 | (arg1)->WordLeftEndExtend(); | |
11976 | ||
11977 | wxPyEndAllowThreads(__tstate); | |
11978 | if (PyErr_Occurred()) SWIG_fail; | |
11979 | } | |
11980 | Py_INCREF(Py_None); resultobj = Py_None; | |
11981 | return resultobj; | |
11982 | fail: | |
11983 | return NULL; | |
11984 | } | |
11985 | ||
11986 | ||
a95a7133 | 11987 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11988 | PyObject *resultobj; |
11989 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11990 | PyObject * obj0 = 0 ; | |
11991 | char *kwnames[] = { | |
11992 | (char *) "self", NULL | |
11993 | }; | |
11994 | ||
11995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; | |
11996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11998 | { | |
11999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12000 | (arg1)->WordRightEnd(); | |
12001 | ||
12002 | wxPyEndAllowThreads(__tstate); | |
12003 | if (PyErr_Occurred()) SWIG_fail; | |
12004 | } | |
12005 | Py_INCREF(Py_None); resultobj = Py_None; | |
12006 | return resultobj; | |
12007 | fail: | |
12008 | return NULL; | |
12009 | } | |
12010 | ||
12011 | ||
a95a7133 | 12012 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12013 | PyObject *resultobj; |
12014 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12015 | PyObject * obj0 = 0 ; | |
12016 | char *kwnames[] = { | |
12017 | (char *) "self", NULL | |
12018 | }; | |
12019 | ||
12020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; | |
12021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12023 | { | |
12024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12025 | (arg1)->WordRightEndExtend(); | |
12026 | ||
12027 | wxPyEndAllowThreads(__tstate); | |
12028 | if (PyErr_Occurred()) SWIG_fail; | |
12029 | } | |
12030 | Py_INCREF(Py_None); resultobj = Py_None; | |
96b3fa7c RD |
12031 | return resultobj; |
12032 | fail: | |
12033 | return NULL; | |
12034 | } | |
12035 | ||
12036 | ||
a95a7133 | 12037 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12038 | PyObject *resultobj; |
12039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12040 | wxString *arg2 = 0 ; | |
12041 | bool temp2 = False ; | |
12042 | PyObject * obj0 = 0 ; | |
12043 | PyObject * obj1 = 0 ; | |
12044 | char *kwnames[] = { | |
12045 | (char *) "self",(char *) "characters", NULL | |
12046 | }; | |
12047 | ||
12048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12051 | { |
12052 | arg2 = wxString_in_helper(obj1); | |
12053 | if (arg2 == NULL) SWIG_fail; | |
12054 | temp2 = True; | |
12055 | } | |
12056 | { | |
12057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12058 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); | |
12059 | ||
12060 | wxPyEndAllowThreads(__tstate); | |
12061 | if (PyErr_Occurred()) SWIG_fail; | |
12062 | } | |
12063 | Py_INCREF(Py_None); resultobj = Py_None; | |
12064 | { | |
12065 | if (temp2) | |
12066 | delete arg2; | |
12067 | } | |
12068 | return resultobj; | |
12069 | fail: | |
12070 | { | |
12071 | if (temp2) | |
12072 | delete arg2; | |
12073 | } | |
12074 | return NULL; | |
12075 | } | |
12076 | ||
12077 | ||
a95a7133 | 12078 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12079 | PyObject *resultobj; |
12080 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12081 | PyObject * obj0 = 0 ; | |
12082 | char *kwnames[] = { | |
12083 | (char *) "self", NULL | |
12084 | }; | |
12085 | ||
12086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12089 | { |
12090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12091 | (arg1)->SetCharsDefault(); | |
12092 | ||
12093 | wxPyEndAllowThreads(__tstate); | |
12094 | if (PyErr_Occurred()) SWIG_fail; | |
12095 | } | |
12096 | Py_INCREF(Py_None); resultobj = Py_None; | |
12097 | return resultobj; | |
12098 | fail: | |
12099 | return NULL; | |
12100 | } | |
12101 | ||
12102 | ||
a95a7133 | 12103 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12104 | PyObject *resultobj; |
12105 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12106 | int result; | |
12107 | PyObject * obj0 = 0 ; | |
12108 | char *kwnames[] = { | |
12109 | (char *) "self", NULL | |
12110 | }; | |
12111 | ||
12112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12115 | { |
12116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12117 | result = (int)(arg1)->AutoCompGetCurrent(); | |
12118 | ||
12119 | wxPyEndAllowThreads(__tstate); | |
12120 | if (PyErr_Occurred()) SWIG_fail; | |
12121 | } | |
15afbcd0 | 12122 | resultobj = SWIG_FromInt((int)result); |
96b3fa7c RD |
12123 | return resultobj; |
12124 | fail: | |
12125 | return NULL; | |
12126 | } | |
12127 | ||
12128 | ||
a95a7133 | 12129 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12130 | PyObject *resultobj; |
12131 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12132 | PyObject * obj0 = 0 ; | |
12133 | char *kwnames[] = { | |
12134 | (char *) "self", NULL | |
12135 | }; | |
12136 | ||
12137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12140 | { |
12141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12142 | (arg1)->StartRecord(); | |
12143 | ||
12144 | wxPyEndAllowThreads(__tstate); | |
12145 | if (PyErr_Occurred()) SWIG_fail; | |
12146 | } | |
12147 | Py_INCREF(Py_None); resultobj = Py_None; | |
12148 | return resultobj; | |
12149 | fail: | |
12150 | return NULL; | |
12151 | } | |
12152 | ||
12153 | ||
a95a7133 | 12154 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12155 | PyObject *resultobj; |
12156 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12157 | PyObject * obj0 = 0 ; | |
12158 | char *kwnames[] = { | |
12159 | (char *) "self", NULL | |
12160 | }; | |
12161 | ||
12162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12165 | { |
12166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12167 | (arg1)->StopRecord(); | |
12168 | ||
12169 | wxPyEndAllowThreads(__tstate); | |
12170 | if (PyErr_Occurred()) SWIG_fail; | |
12171 | } | |
12172 | Py_INCREF(Py_None); resultobj = Py_None; | |
12173 | return resultobj; | |
12174 | fail: | |
12175 | return NULL; | |
12176 | } | |
12177 | ||
12178 | ||
a95a7133 | 12179 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12180 | PyObject *resultobj; |
12181 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12182 | int arg2 ; | |
12183 | PyObject * obj0 = 0 ; | |
994141e6 | 12184 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12185 | char *kwnames[] = { |
12186 | (char *) "self",(char *) "lexer", NULL | |
12187 | }; | |
12188 | ||
994141e6 | 12189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12192 | arg2 = (int) SWIG_AsInt(obj1); | |
12193 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12194 | { |
12195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12196 | (arg1)->SetLexer(arg2); | |
12197 | ||
12198 | wxPyEndAllowThreads(__tstate); | |
12199 | if (PyErr_Occurred()) SWIG_fail; | |
12200 | } | |
12201 | Py_INCREF(Py_None); resultobj = Py_None; | |
12202 | return resultobj; | |
12203 | fail: | |
12204 | return NULL; | |
12205 | } | |
12206 | ||
12207 | ||
a95a7133 | 12208 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12209 | PyObject *resultobj; |
12210 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12211 | int result; | |
12212 | PyObject * obj0 = 0 ; | |
12213 | char *kwnames[] = { | |
12214 | (char *) "self", NULL | |
12215 | }; | |
12216 | ||
12217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12220 | { |
12221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12222 | result = (int)(arg1)->GetLexer(); | |
12223 | ||
12224 | wxPyEndAllowThreads(__tstate); | |
12225 | if (PyErr_Occurred()) SWIG_fail; | |
12226 | } | |
15afbcd0 | 12227 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12228 | return resultobj; |
12229 | fail: | |
12230 | return NULL; | |
12231 | } | |
12232 | ||
12233 | ||
a95a7133 | 12234 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12235 | PyObject *resultobj; |
12236 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12237 | int arg2 ; | |
12238 | int arg3 ; | |
12239 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12240 | PyObject * obj1 = 0 ; |
12241 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12242 | char *kwnames[] = { |
12243 | (char *) "self",(char *) "start",(char *) "end", NULL | |
12244 | }; | |
12245 | ||
994141e6 | 12246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12249 | arg2 = (int) SWIG_AsInt(obj1); | |
12250 | if (PyErr_Occurred()) SWIG_fail; | |
12251 | arg3 = (int) SWIG_AsInt(obj2); | |
12252 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12253 | { |
12254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12255 | (arg1)->Colourise(arg2,arg3); | |
12256 | ||
12257 | wxPyEndAllowThreads(__tstate); | |
12258 | if (PyErr_Occurred()) SWIG_fail; | |
12259 | } | |
12260 | Py_INCREF(Py_None); resultobj = Py_None; | |
12261 | return resultobj; | |
12262 | fail: | |
12263 | return NULL; | |
12264 | } | |
12265 | ||
12266 | ||
a95a7133 | 12267 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12268 | PyObject *resultobj; |
12269 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12270 | wxString *arg2 = 0 ; | |
12271 | wxString *arg3 = 0 ; | |
e811c8ce RD |
12272 | bool temp2 = False ; |
12273 | bool temp3 = False ; | |
d14a1e28 RD |
12274 | PyObject * obj0 = 0 ; |
12275 | PyObject * obj1 = 0 ; | |
12276 | PyObject * obj2 = 0 ; | |
12277 | char *kwnames[] = { | |
12278 | (char *) "self",(char *) "key",(char *) "value", NULL | |
12279 | }; | |
12280 | ||
12281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
12282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12284 | { |
12285 | arg2 = wxString_in_helper(obj1); | |
12286 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12287 | temp2 = True; |
d14a1e28 RD |
12288 | } |
12289 | { | |
12290 | arg3 = wxString_in_helper(obj2); | |
12291 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12292 | temp3 = True; |
d14a1e28 RD |
12293 | } |
12294 | { | |
12295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12296 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
12297 | ||
12298 | wxPyEndAllowThreads(__tstate); | |
12299 | if (PyErr_Occurred()) SWIG_fail; | |
12300 | } | |
12301 | Py_INCREF(Py_None); resultobj = Py_None; | |
12302 | { | |
12303 | if (temp2) | |
12304 | delete arg2; | |
12305 | } | |
12306 | { | |
12307 | if (temp3) | |
12308 | delete arg3; | |
12309 | } | |
12310 | return resultobj; | |
12311 | fail: | |
12312 | { | |
12313 | if (temp2) | |
12314 | delete arg2; | |
12315 | } | |
12316 | { | |
12317 | if (temp3) | |
12318 | delete arg3; | |
12319 | } | |
12320 | return NULL; | |
12321 | } | |
12322 | ||
12323 | ||
a95a7133 | 12324 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12325 | PyObject *resultobj; |
12326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12327 | int arg2 ; | |
12328 | wxString *arg3 = 0 ; | |
e811c8ce | 12329 | bool temp3 = False ; |
d14a1e28 | 12330 | PyObject * obj0 = 0 ; |
994141e6 | 12331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12332 | PyObject * obj2 = 0 ; |
12333 | char *kwnames[] = { | |
12334 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
12335 | }; | |
12336 | ||
994141e6 | 12337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12340 | arg2 = (int) SWIG_AsInt(obj1); | |
12341 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12342 | { |
12343 | arg3 = wxString_in_helper(obj2); | |
12344 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12345 | temp3 = True; |
d14a1e28 RD |
12346 | } |
12347 | { | |
12348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12349 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
12350 | ||
12351 | wxPyEndAllowThreads(__tstate); | |
12352 | if (PyErr_Occurred()) SWIG_fail; | |
12353 | } | |
12354 | Py_INCREF(Py_None); resultobj = Py_None; | |
12355 | { | |
12356 | if (temp3) | |
12357 | delete arg3; | |
12358 | } | |
12359 | return resultobj; | |
12360 | fail: | |
12361 | { | |
12362 | if (temp3) | |
12363 | delete arg3; | |
12364 | } | |
12365 | return NULL; | |
12366 | } | |
12367 | ||
12368 | ||
a95a7133 | 12369 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12370 | PyObject *resultobj; |
12371 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12372 | wxString *arg2 = 0 ; | |
e811c8ce | 12373 | bool temp2 = False ; |
d14a1e28 RD |
12374 | PyObject * obj0 = 0 ; |
12375 | PyObject * obj1 = 0 ; | |
12376 | char *kwnames[] = { | |
12377 | (char *) "self",(char *) "language", NULL | |
12378 | }; | |
12379 | ||
12380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12383 | { |
12384 | arg2 = wxString_in_helper(obj1); | |
12385 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12386 | temp2 = True; |
d14a1e28 RD |
12387 | } |
12388 | { | |
12389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12390 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
12391 | ||
12392 | wxPyEndAllowThreads(__tstate); | |
12393 | if (PyErr_Occurred()) SWIG_fail; | |
12394 | } | |
12395 | Py_INCREF(Py_None); resultobj = Py_None; | |
12396 | { | |
12397 | if (temp2) | |
12398 | delete arg2; | |
12399 | } | |
12400 | return resultobj; | |
12401 | fail: | |
12402 | { | |
12403 | if (temp2) | |
12404 | delete arg2; | |
12405 | } | |
12406 | return NULL; | |
12407 | } | |
12408 | ||
12409 | ||
a95a7133 | 12410 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12411 | PyObject *resultobj; |
12412 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12413 | int result; | |
12414 | PyObject * obj0 = 0 ; | |
12415 | char *kwnames[] = { | |
12416 | (char *) "self", NULL | |
12417 | }; | |
12418 | ||
12419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12422 | { |
12423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12424 | result = (int)(arg1)->GetCurrentLine(); | |
12425 | ||
12426 | wxPyEndAllowThreads(__tstate); | |
12427 | if (PyErr_Occurred()) SWIG_fail; | |
12428 | } | |
15afbcd0 | 12429 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12430 | return resultobj; |
12431 | fail: | |
12432 | return NULL; | |
12433 | } | |
12434 | ||
12435 | ||
a95a7133 | 12436 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12437 | PyObject *resultobj; |
12438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12439 | int arg2 ; | |
12440 | wxString *arg3 = 0 ; | |
e811c8ce | 12441 | bool temp3 = False ; |
d14a1e28 | 12442 | PyObject * obj0 = 0 ; |
994141e6 | 12443 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12444 | PyObject * obj2 = 0 ; |
12445 | char *kwnames[] = { | |
12446 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
12447 | }; | |
12448 | ||
994141e6 | 12449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12452 | arg2 = (int) SWIG_AsInt(obj1); | |
12453 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12454 | { |
12455 | arg3 = wxString_in_helper(obj2); | |
12456 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12457 | temp3 = True; |
d14a1e28 RD |
12458 | } |
12459 | { | |
12460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12461 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
12462 | ||
12463 | wxPyEndAllowThreads(__tstate); | |
12464 | if (PyErr_Occurred()) SWIG_fail; | |
12465 | } | |
12466 | Py_INCREF(Py_None); resultobj = Py_None; | |
12467 | { | |
12468 | if (temp3) | |
12469 | delete arg3; | |
12470 | } | |
12471 | return resultobj; | |
12472 | fail: | |
12473 | { | |
12474 | if (temp3) | |
12475 | delete arg3; | |
12476 | } | |
12477 | return NULL; | |
12478 | } | |
12479 | ||
12480 | ||
a95a7133 | 12481 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12482 | PyObject *resultobj; |
12483 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12484 | int arg2 ; | |
12485 | wxFont *arg3 = 0 ; | |
12486 | PyObject * obj0 = 0 ; | |
994141e6 | 12487 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12488 | PyObject * obj2 = 0 ; |
12489 | char *kwnames[] = { | |
12490 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
12491 | }; | |
12492 | ||
994141e6 | 12493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12496 | arg2 = (int) SWIG_AsInt(obj1); | |
12497 | if (PyErr_Occurred()) SWIG_fail; | |
12498 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, | |
12499 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12500 | SWIG_fail; | |
d14a1e28 | 12501 | if (arg3 == NULL) { |
15afbcd0 RD |
12502 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12503 | SWIG_fail; | |
d14a1e28 RD |
12504 | } |
12505 | { | |
12506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12507 | (arg1)->StyleSetFont(arg2,*arg3); | |
12508 | ||
12509 | wxPyEndAllowThreads(__tstate); | |
12510 | if (PyErr_Occurred()) SWIG_fail; | |
12511 | } | |
12512 | Py_INCREF(Py_None); resultobj = Py_None; | |
12513 | return resultobj; | |
12514 | fail: | |
12515 | return NULL; | |
12516 | } | |
12517 | ||
12518 | ||
a95a7133 | 12519 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12520 | PyObject *resultobj; |
12521 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12522 | int arg2 ; | |
12523 | int arg3 ; | |
12524 | wxString *arg4 = 0 ; | |
12525 | bool arg5 ; | |
12526 | bool arg6 ; | |
12527 | bool arg7 ; | |
e811c8ce | 12528 | bool temp4 = False ; |
d14a1e28 | 12529 | PyObject * obj0 = 0 ; |
994141e6 RD |
12530 | PyObject * obj1 = 0 ; |
12531 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12532 | PyObject * obj3 = 0 ; |
12533 | PyObject * obj4 = 0 ; | |
12534 | PyObject * obj5 = 0 ; | |
12535 | PyObject * obj6 = 0 ; | |
12536 | char *kwnames[] = { | |
12537 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL | |
12538 | }; | |
12539 | ||
994141e6 | 12540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
12541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12543 | arg2 = (int) SWIG_AsInt(obj1); | |
12544 | if (PyErr_Occurred()) SWIG_fail; | |
12545 | arg3 = (int) SWIG_AsInt(obj2); | |
12546 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12547 | { |
12548 | arg4 = wxString_in_helper(obj3); | |
12549 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12550 | temp4 = True; |
d14a1e28 | 12551 | } |
15afbcd0 RD |
12552 | arg5 = (bool) SWIG_AsBool(obj4); |
12553 | if (PyErr_Occurred()) SWIG_fail; | |
12554 | arg6 = (bool) SWIG_AsBool(obj5); | |
12555 | if (PyErr_Occurred()) SWIG_fail; | |
12556 | arg7 = (bool) SWIG_AsBool(obj6); | |
12557 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12558 | { |
12559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12560 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
12561 | ||
12562 | wxPyEndAllowThreads(__tstate); | |
12563 | if (PyErr_Occurred()) SWIG_fail; | |
12564 | } | |
12565 | Py_INCREF(Py_None); resultobj = Py_None; | |
12566 | { | |
12567 | if (temp4) | |
12568 | delete arg4; | |
12569 | } | |
12570 | return resultobj; | |
12571 | fail: | |
12572 | { | |
12573 | if (temp4) | |
12574 | delete arg4; | |
12575 | } | |
12576 | return NULL; | |
12577 | } | |
12578 | ||
12579 | ||
a95a7133 | 12580 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12581 | PyObject *resultobj; |
12582 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12583 | int arg2 ; | |
12584 | PyObject * obj0 = 0 ; | |
994141e6 | 12585 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12586 | char *kwnames[] = { |
12587 | (char *) "self",(char *) "cmd", NULL | |
12588 | }; | |
12589 | ||
994141e6 | 12590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12593 | arg2 = (int) SWIG_AsInt(obj1); | |
12594 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12595 | { |
12596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12597 | (arg1)->CmdKeyExecute(arg2); | |
12598 | ||
12599 | wxPyEndAllowThreads(__tstate); | |
12600 | if (PyErr_Occurred()) SWIG_fail; | |
12601 | } | |
12602 | Py_INCREF(Py_None); resultobj = Py_None; | |
12603 | return resultobj; | |
12604 | fail: | |
12605 | return NULL; | |
12606 | } | |
12607 | ||
12608 | ||
a95a7133 | 12609 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12610 | PyObject *resultobj; |
12611 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12612 | int arg2 ; | |
12613 | int arg3 ; | |
12614 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12615 | PyObject * obj1 = 0 ; |
12616 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12617 | char *kwnames[] = { |
12618 | (char *) "self",(char *) "left",(char *) "right", NULL | |
12619 | }; | |
12620 | ||
994141e6 | 12621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12624 | arg2 = (int) SWIG_AsInt(obj1); | |
12625 | if (PyErr_Occurred()) SWIG_fail; | |
12626 | arg3 = (int) SWIG_AsInt(obj2); | |
12627 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12628 | { |
12629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12630 | (arg1)->SetMargins(arg2,arg3); | |
12631 | ||
12632 | wxPyEndAllowThreads(__tstate); | |
12633 | if (PyErr_Occurred()) SWIG_fail; | |
12634 | } | |
12635 | Py_INCREF(Py_None); resultobj = Py_None; | |
12636 | return resultobj; | |
12637 | fail: | |
12638 | return NULL; | |
12639 | } | |
12640 | ||
12641 | ||
a95a7133 | 12642 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12643 | PyObject *resultobj; |
12644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12645 | int *arg2 = (int *) 0 ; | |
12646 | int *arg3 = (int *) 0 ; | |
12647 | int temp2 ; | |
12648 | int temp3 ; | |
12649 | PyObject * obj0 = 0 ; | |
12650 | char *kwnames[] = { | |
12651 | (char *) "self", NULL | |
12652 | }; | |
12653 | ||
12654 | arg2 = &temp2; | |
12655 | arg3 = &temp3; | |
12656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12659 | { |
12660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12661 | (arg1)->GetSelection(arg2,arg3); | |
12662 | ||
12663 | wxPyEndAllowThreads(__tstate); | |
12664 | if (PyErr_Occurred()) SWIG_fail; | |
12665 | } | |
12666 | Py_INCREF(Py_None); resultobj = Py_None; | |
12667 | { | |
12668 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
12669 | resultobj = t_output_helper(resultobj,o); | |
12670 | } | |
12671 | { | |
12672 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
12673 | resultobj = t_output_helper(resultobj,o); | |
12674 | } | |
12675 | return resultobj; | |
12676 | fail: | |
12677 | return NULL; | |
12678 | } | |
12679 | ||
12680 | ||
a95a7133 | 12681 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12682 | PyObject *resultobj; |
12683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12684 | int arg2 ; | |
12685 | wxPoint result; | |
12686 | PyObject * obj0 = 0 ; | |
994141e6 | 12687 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12688 | char *kwnames[] = { |
12689 | (char *) "self",(char *) "pos", NULL | |
12690 | }; | |
12691 | ||
994141e6 | 12692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12693 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12694 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12695 | arg2 = (int) SWIG_AsInt(obj1); | |
12696 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12697 | { |
12698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12699 | result = (arg1)->PointFromPosition(arg2); | |
12700 | ||
12701 | wxPyEndAllowThreads(__tstate); | |
12702 | if (PyErr_Occurred()) SWIG_fail; | |
12703 | } | |
12704 | { | |
12705 | wxPoint * resultptr; | |
12706 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 12707 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
12708 | } |
12709 | return resultobj; | |
12710 | fail: | |
12711 | return NULL; | |
12712 | } | |
12713 | ||
12714 | ||
a95a7133 | 12715 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12716 | PyObject *resultobj; |
12717 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12718 | int arg2 ; | |
12719 | PyObject * obj0 = 0 ; | |
994141e6 | 12720 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12721 | char *kwnames[] = { |
12722 | (char *) "self",(char *) "line", NULL | |
12723 | }; | |
12724 | ||
994141e6 | 12725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12726 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12727 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12728 | arg2 = (int) SWIG_AsInt(obj1); | |
12729 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12730 | { |
12731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12732 | (arg1)->ScrollToLine(arg2); | |
12733 | ||
12734 | wxPyEndAllowThreads(__tstate); | |
12735 | if (PyErr_Occurred()) SWIG_fail; | |
12736 | } | |
12737 | Py_INCREF(Py_None); resultobj = Py_None; | |
12738 | return resultobj; | |
12739 | fail: | |
12740 | return NULL; | |
12741 | } | |
12742 | ||
12743 | ||
a95a7133 | 12744 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12745 | PyObject *resultobj; |
12746 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12747 | int arg2 ; | |
12748 | PyObject * obj0 = 0 ; | |
994141e6 | 12749 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12750 | char *kwnames[] = { |
12751 | (char *) "self",(char *) "column", NULL | |
12752 | }; | |
12753 | ||
994141e6 | 12754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12757 | arg2 = (int) SWIG_AsInt(obj1); | |
12758 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12759 | { |
12760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12761 | (arg1)->ScrollToColumn(arg2); | |
12762 | ||
12763 | wxPyEndAllowThreads(__tstate); | |
12764 | if (PyErr_Occurred()) SWIG_fail; | |
12765 | } | |
12766 | Py_INCREF(Py_None); resultobj = Py_None; | |
12767 | return resultobj; | |
12768 | fail: | |
12769 | return NULL; | |
12770 | } | |
12771 | ||
12772 | ||
a95a7133 | 12773 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12774 | PyObject *resultobj; |
12775 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12776 | int arg2 ; | |
12777 | long arg3 = (long) 0 ; | |
12778 | long arg4 = (long) 0 ; | |
12779 | long result; | |
12780 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12781 | PyObject * obj1 = 0 ; |
12782 | PyObject * obj2 = 0 ; | |
12783 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
12784 | char *kwnames[] = { |
12785 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
12786 | }; | |
12787 | ||
994141e6 | 12788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
12789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12791 | arg2 = (int) SWIG_AsInt(obj1); | |
12792 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12793 | if (obj2) { |
15afbcd0 RD |
12794 | arg3 = (long) SWIG_AsLong(obj2); |
12795 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
12796 | } |
12797 | if (obj3) { | |
15afbcd0 RD |
12798 | arg4 = (long) SWIG_AsLong(obj3); |
12799 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12800 | } |
d14a1e28 RD |
12801 | { |
12802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12803 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
12804 | ||
12805 | wxPyEndAllowThreads(__tstate); | |
12806 | if (PyErr_Occurred()) SWIG_fail; | |
12807 | } | |
15afbcd0 | 12808 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
12809 | return resultobj; |
12810 | fail: | |
12811 | return NULL; | |
12812 | } | |
12813 | ||
12814 | ||
a95a7133 | 12815 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12816 | PyObject *resultobj; |
12817 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12818 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
12819 | PyObject * obj0 = 0 ; | |
12820 | PyObject * obj1 = 0 ; | |
12821 | char *kwnames[] = { | |
12822 | (char *) "self",(char *) "bar", NULL | |
12823 | }; | |
12824 | ||
12825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12828 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
12829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12830 | { |
12831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12832 | (arg1)->SetVScrollBar(arg2); | |
12833 | ||
12834 | wxPyEndAllowThreads(__tstate); | |
12835 | if (PyErr_Occurred()) SWIG_fail; | |
12836 | } | |
12837 | Py_INCREF(Py_None); resultobj = Py_None; | |
12838 | return resultobj; | |
12839 | fail: | |
12840 | return NULL; | |
12841 | } | |
12842 | ||
12843 | ||
a95a7133 | 12844 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12845 | PyObject *resultobj; |
12846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12847 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
12848 | PyObject * obj0 = 0 ; | |
12849 | PyObject * obj1 = 0 ; | |
12850 | char *kwnames[] = { | |
12851 | (char *) "self",(char *) "bar", NULL | |
12852 | }; | |
12853 | ||
12854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12857 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
12858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12859 | { |
12860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12861 | (arg1)->SetHScrollBar(arg2); | |
12862 | ||
12863 | wxPyEndAllowThreads(__tstate); | |
12864 | if (PyErr_Occurred()) SWIG_fail; | |
12865 | } | |
12866 | Py_INCREF(Py_None); resultobj = Py_None; | |
12867 | return resultobj; | |
12868 | fail: | |
12869 | return NULL; | |
12870 | } | |
12871 | ||
12872 | ||
a95a7133 | 12873 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12874 | PyObject *resultobj; |
12875 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12876 | bool result; | |
12877 | PyObject * obj0 = 0 ; | |
12878 | char *kwnames[] = { | |
12879 | (char *) "self", NULL | |
12880 | }; | |
12881 | ||
12882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12885 | { |
12886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12887 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
12888 | ||
12889 | wxPyEndAllowThreads(__tstate); | |
12890 | if (PyErr_Occurred()) SWIG_fail; | |
12891 | } | |
4f89f6a3 RD |
12892 | { |
12893 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12894 | } | |
d14a1e28 RD |
12895 | return resultobj; |
12896 | fail: | |
12897 | return NULL; | |
12898 | } | |
12899 | ||
12900 | ||
a95a7133 | 12901 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12902 | PyObject *resultobj; |
12903 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12904 | bool arg2 ; | |
12905 | PyObject * obj0 = 0 ; | |
12906 | PyObject * obj1 = 0 ; | |
12907 | char *kwnames[] = { | |
12908 | (char *) "self",(char *) "val", NULL | |
12909 | }; | |
12910 | ||
12911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12914 | arg2 = (bool) SWIG_AsBool(obj1); | |
12915 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12916 | { |
12917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12918 | (arg1)->SetLastKeydownProcessed(arg2); | |
12919 | ||
12920 | wxPyEndAllowThreads(__tstate); | |
12921 | if (PyErr_Occurred()) SWIG_fail; | |
12922 | } | |
12923 | Py_INCREF(Py_None); resultobj = Py_None; | |
12924 | return resultobj; | |
12925 | fail: | |
12926 | return NULL; | |
12927 | } | |
12928 | ||
12929 | ||
a95a7133 | 12930 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12931 | PyObject *resultobj; |
12932 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12933 | wxString *arg2 = 0 ; | |
12934 | bool result; | |
e811c8ce | 12935 | bool temp2 = False ; |
d14a1e28 RD |
12936 | PyObject * obj0 = 0 ; |
12937 | PyObject * obj1 = 0 ; | |
12938 | char *kwnames[] = { | |
12939 | (char *) "self",(char *) "filename", NULL | |
12940 | }; | |
12941 | ||
12942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12945 | { |
12946 | arg2 = wxString_in_helper(obj1); | |
12947 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12948 | temp2 = True; |
d14a1e28 RD |
12949 | } |
12950 | { | |
12951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12952 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
12953 | ||
12954 | wxPyEndAllowThreads(__tstate); | |
12955 | if (PyErr_Occurred()) SWIG_fail; | |
12956 | } | |
4f89f6a3 RD |
12957 | { |
12958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12959 | } | |
d14a1e28 RD |
12960 | { |
12961 | if (temp2) | |
12962 | delete arg2; | |
12963 | } | |
12964 | return resultobj; | |
12965 | fail: | |
12966 | { | |
12967 | if (temp2) | |
12968 | delete arg2; | |
12969 | } | |
12970 | return NULL; | |
12971 | } | |
12972 | ||
12973 | ||
a95a7133 | 12974 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12975 | PyObject *resultobj; |
12976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12977 | wxString *arg2 = 0 ; | |
12978 | bool result; | |
e811c8ce | 12979 | bool temp2 = False ; |
d14a1e28 RD |
12980 | PyObject * obj0 = 0 ; |
12981 | PyObject * obj1 = 0 ; | |
12982 | char *kwnames[] = { | |
12983 | (char *) "self",(char *) "filename", NULL | |
12984 | }; | |
12985 | ||
12986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12989 | { |
12990 | arg2 = wxString_in_helper(obj1); | |
12991 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12992 | temp2 = True; |
d14a1e28 RD |
12993 | } |
12994 | { | |
12995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12996 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
12997 | ||
12998 | wxPyEndAllowThreads(__tstate); | |
12999 | if (PyErr_Occurred()) SWIG_fail; | |
13000 | } | |
4f89f6a3 RD |
13001 | { |
13002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13003 | } | |
d14a1e28 RD |
13004 | { |
13005 | if (temp2) | |
13006 | delete arg2; | |
13007 | } | |
13008 | return resultobj; | |
13009 | fail: | |
13010 | { | |
13011 | if (temp2) | |
13012 | delete arg2; | |
13013 | } | |
13014 | return NULL; | |
13015 | } | |
13016 | ||
13017 | ||
a95a7133 | 13018 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13019 | PyObject *resultobj; |
13020 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
e811c8ce RD |
13021 | int arg2 ; |
13022 | int arg3 ; | |
96b3fa7c RD |
13023 | int arg4 ; |
13024 | int result; | |
d14a1e28 | 13025 | PyObject * obj0 = 0 ; |
994141e6 RD |
13026 | PyObject * obj1 = 0 ; |
13027 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13028 | PyObject * obj3 = 0 ; |
13029 | char *kwnames[] = { | |
13030 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
13031 | }; | |
13032 | ||
994141e6 | 13033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13036 | arg2 = (int) SWIG_AsInt(obj1); | |
13037 | if (PyErr_Occurred()) SWIG_fail; | |
13038 | arg3 = (int) SWIG_AsInt(obj2); | |
13039 | if (PyErr_Occurred()) SWIG_fail; | |
13040 | arg4 = (wxDragResult) SWIG_AsInt(obj3); | |
13041 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13042 | { |
13043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 13044 | result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); |
d14a1e28 RD |
13045 | |
13046 | wxPyEndAllowThreads(__tstate); | |
13047 | if (PyErr_Occurred()) SWIG_fail; | |
13048 | } | |
15afbcd0 | 13049 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13050 | return resultobj; |
13051 | fail: | |
13052 | return NULL; | |
13053 | } | |
13054 | ||
13055 | ||
a95a7133 | 13056 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13057 | PyObject *resultobj; |
13058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13059 | long arg2 ; | |
13060 | long arg3 ; | |
13061 | wxString *arg4 = 0 ; | |
13062 | bool result; | |
e811c8ce | 13063 | bool temp4 = False ; |
d14a1e28 | 13064 | PyObject * obj0 = 0 ; |
994141e6 RD |
13065 | PyObject * obj1 = 0 ; |
13066 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13067 | PyObject * obj3 = 0 ; |
13068 | char *kwnames[] = { | |
13069 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
13070 | }; | |
13071 | ||
994141e6 | 13072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13073 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13075 | arg2 = (long) SWIG_AsLong(obj1); | |
13076 | if (PyErr_Occurred()) SWIG_fail; | |
13077 | arg3 = (long) SWIG_AsLong(obj2); | |
13078 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13079 | { |
13080 | arg4 = wxString_in_helper(obj3); | |
13081 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 13082 | temp4 = True; |
d14a1e28 RD |
13083 | } |
13084 | { | |
13085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13086 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
13087 | ||
13088 | wxPyEndAllowThreads(__tstate); | |
13089 | if (PyErr_Occurred()) SWIG_fail; | |
13090 | } | |
4f89f6a3 RD |
13091 | { |
13092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13093 | } | |
d14a1e28 RD |
13094 | { |
13095 | if (temp4) | |
13096 | delete arg4; | |
13097 | } | |
13098 | return resultobj; | |
13099 | fail: | |
13100 | { | |
13101 | if (temp4) | |
13102 | delete arg4; | |
13103 | } | |
13104 | return NULL; | |
13105 | } | |
13106 | ||
13107 | ||
a95a7133 | 13108 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { |
db914595 RD |
13109 | PyObject *resultobj; |
13110 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13111 | bool arg2 ; | |
13112 | PyObject * obj0 = 0 ; | |
13113 | PyObject * obj1 = 0 ; | |
13114 | char *kwnames[] = { | |
13115 | (char *) "self",(char *) "useAA", NULL | |
13116 | }; | |
13117 | ||
13118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13121 | arg2 = (bool) SWIG_AsBool(obj1); | |
13122 | if (PyErr_Occurred()) SWIG_fail; | |
db914595 RD |
13123 | { |
13124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13125 | (arg1)->SetUseAntiAliasing(arg2); | |
13126 | ||
13127 | wxPyEndAllowThreads(__tstate); | |
13128 | if (PyErr_Occurred()) SWIG_fail; | |
13129 | } | |
13130 | Py_INCREF(Py_None); resultobj = Py_None; | |
13131 | return resultobj; | |
13132 | fail: | |
13133 | return NULL; | |
13134 | } | |
13135 | ||
13136 | ||
a95a7133 | 13137 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { |
db914595 RD |
13138 | PyObject *resultobj; |
13139 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13140 | bool result; | |
13141 | PyObject * obj0 = 0 ; | |
13142 | char *kwnames[] = { | |
13143 | (char *) "self", NULL | |
13144 | }; | |
13145 | ||
13146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
13149 | { |
13150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13151 | result = (bool)(arg1)->GetUseAntiAliasing(); | |
13152 | ||
13153 | wxPyEndAllowThreads(__tstate); | |
13154 | if (PyErr_Occurred()) SWIG_fail; | |
13155 | } | |
4f89f6a3 RD |
13156 | { |
13157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13158 | } | |
db914595 RD |
13159 | return resultobj; |
13160 | fail: | |
13161 | return NULL; | |
13162 | } | |
13163 | ||
13164 | ||
a95a7133 | 13165 | static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) { |
d14a1e28 RD |
13166 | PyObject *obj; |
13167 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13168 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
13169 | Py_INCREF(obj); | |
13170 | return Py_BuildValue((char *)""); | |
13171 | } | |
a95a7133 | 13172 | static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13173 | PyObject *resultobj; |
13174 | wxEventType arg1 = (wxEventType) 0 ; | |
13175 | int arg2 = (int) 0 ; | |
13176 | wxStyledTextEvent *result; | |
994141e6 RD |
13177 | PyObject * obj0 = 0 ; |
13178 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13179 | char *kwnames[] = { |
13180 | (char *) "commandType",(char *) "id", NULL | |
13181 | }; | |
13182 | ||
994141e6 RD |
13183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
13184 | if (obj0) { | |
15afbcd0 RD |
13185 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13186 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
13187 | } |
13188 | if (obj1) { | |
15afbcd0 RD |
13189 | arg2 = (int) SWIG_AsInt(obj1); |
13190 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13191 | } |
d14a1e28 RD |
13192 | { |
13193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13194 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
13195 | ||
13196 | wxPyEndAllowThreads(__tstate); | |
13197 | if (PyErr_Occurred()) SWIG_fail; | |
13198 | } | |
15afbcd0 | 13199 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
d14a1e28 RD |
13200 | return resultobj; |
13201 | fail: | |
13202 | return NULL; | |
13203 | } | |
13204 | ||
13205 | ||
a95a7133 | 13206 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13207 | PyObject *resultobj; |
13208 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13209 | PyObject * obj0 = 0 ; | |
13210 | char *kwnames[] = { | |
13211 | (char *) "self", NULL | |
13212 | }; | |
13213 | ||
13214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13217 | { |
13218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13219 | delete arg1; | |
13220 | ||
13221 | wxPyEndAllowThreads(__tstate); | |
13222 | if (PyErr_Occurred()) SWIG_fail; | |
13223 | } | |
13224 | Py_INCREF(Py_None); resultobj = Py_None; | |
13225 | return resultobj; | |
13226 | fail: | |
13227 | return NULL; | |
13228 | } | |
13229 | ||
13230 | ||
a95a7133 | 13231 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13232 | PyObject *resultobj; |
13233 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13234 | int arg2 ; | |
13235 | PyObject * obj0 = 0 ; | |
994141e6 | 13236 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13237 | char *kwnames[] = { |
13238 | (char *) "self",(char *) "pos", NULL | |
13239 | }; | |
13240 | ||
994141e6 | 13241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13244 | arg2 = (int) SWIG_AsInt(obj1); | |
13245 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13246 | { |
13247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13248 | (arg1)->SetPosition(arg2); | |
13249 | ||
13250 | wxPyEndAllowThreads(__tstate); | |
13251 | if (PyErr_Occurred()) SWIG_fail; | |
13252 | } | |
13253 | Py_INCREF(Py_None); resultobj = Py_None; | |
13254 | return resultobj; | |
13255 | fail: | |
13256 | return NULL; | |
13257 | } | |
13258 | ||
13259 | ||
a95a7133 | 13260 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13261 | PyObject *resultobj; |
13262 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13263 | int arg2 ; | |
13264 | PyObject * obj0 = 0 ; | |
994141e6 | 13265 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13266 | char *kwnames[] = { |
13267 | (char *) "self",(char *) "k", NULL | |
13268 | }; | |
13269 | ||
994141e6 | 13270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13273 | arg2 = (int) SWIG_AsInt(obj1); | |
13274 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13275 | { |
13276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13277 | (arg1)->SetKey(arg2); | |
13278 | ||
13279 | wxPyEndAllowThreads(__tstate); | |
13280 | if (PyErr_Occurred()) SWIG_fail; | |
13281 | } | |
13282 | Py_INCREF(Py_None); resultobj = Py_None; | |
13283 | return resultobj; | |
13284 | fail: | |
13285 | return NULL; | |
13286 | } | |
13287 | ||
13288 | ||
a95a7133 | 13289 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13290 | PyObject *resultobj; |
13291 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13292 | int arg2 ; | |
13293 | PyObject * obj0 = 0 ; | |
994141e6 | 13294 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13295 | char *kwnames[] = { |
13296 | (char *) "self",(char *) "m", NULL | |
13297 | }; | |
13298 | ||
994141e6 | 13299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13302 | arg2 = (int) SWIG_AsInt(obj1); | |
13303 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13304 | { |
13305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13306 | (arg1)->SetModifiers(arg2); | |
13307 | ||
13308 | wxPyEndAllowThreads(__tstate); | |
13309 | if (PyErr_Occurred()) SWIG_fail; | |
13310 | } | |
13311 | Py_INCREF(Py_None); resultobj = Py_None; | |
13312 | return resultobj; | |
13313 | fail: | |
13314 | return NULL; | |
13315 | } | |
13316 | ||
13317 | ||
a95a7133 | 13318 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13319 | PyObject *resultobj; |
13320 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13321 | int arg2 ; | |
13322 | PyObject * obj0 = 0 ; | |
994141e6 | 13323 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13324 | char *kwnames[] = { |
13325 | (char *) "self",(char *) "t", NULL | |
13326 | }; | |
13327 | ||
994141e6 | 13328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13331 | arg2 = (int) SWIG_AsInt(obj1); | |
13332 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13333 | { |
13334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13335 | (arg1)->SetModificationType(arg2); | |
13336 | ||
13337 | wxPyEndAllowThreads(__tstate); | |
13338 | if (PyErr_Occurred()) SWIG_fail; | |
13339 | } | |
13340 | Py_INCREF(Py_None); resultobj = Py_None; | |
13341 | return resultobj; | |
13342 | fail: | |
13343 | return NULL; | |
13344 | } | |
13345 | ||
13346 | ||
a95a7133 | 13347 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13348 | PyObject *resultobj; |
13349 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13350 | wxString *arg2 = 0 ; | |
e811c8ce | 13351 | bool temp2 = False ; |
d14a1e28 RD |
13352 | PyObject * obj0 = 0 ; |
13353 | PyObject * obj1 = 0 ; | |
13354 | char *kwnames[] = { | |
13355 | (char *) "self",(char *) "t", NULL | |
13356 | }; | |
13357 | ||
13358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13361 | { |
13362 | arg2 = wxString_in_helper(obj1); | |
13363 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13364 | temp2 = True; |
d14a1e28 RD |
13365 | } |
13366 | { | |
13367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13368 | (arg1)->SetText((wxString const &)*arg2); | |
13369 | ||
13370 | wxPyEndAllowThreads(__tstate); | |
13371 | if (PyErr_Occurred()) SWIG_fail; | |
13372 | } | |
13373 | Py_INCREF(Py_None); resultobj = Py_None; | |
13374 | { | |
13375 | if (temp2) | |
13376 | delete arg2; | |
13377 | } | |
13378 | return resultobj; | |
13379 | fail: | |
13380 | { | |
13381 | if (temp2) | |
13382 | delete arg2; | |
13383 | } | |
13384 | return NULL; | |
13385 | } | |
13386 | ||
13387 | ||
a95a7133 | 13388 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13389 | PyObject *resultobj; |
13390 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13391 | int arg2 ; | |
13392 | PyObject * obj0 = 0 ; | |
994141e6 | 13393 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13394 | char *kwnames[] = { |
13395 | (char *) "self",(char *) "len", NULL | |
13396 | }; | |
13397 | ||
994141e6 | 13398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13401 | arg2 = (int) SWIG_AsInt(obj1); | |
13402 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13403 | { |
13404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13405 | (arg1)->SetLength(arg2); | |
13406 | ||
13407 | wxPyEndAllowThreads(__tstate); | |
13408 | if (PyErr_Occurred()) SWIG_fail; | |
13409 | } | |
13410 | Py_INCREF(Py_None); resultobj = Py_None; | |
13411 | return resultobj; | |
13412 | fail: | |
13413 | return NULL; | |
13414 | } | |
13415 | ||
13416 | ||
a95a7133 | 13417 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13418 | PyObject *resultobj; |
13419 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13420 | int arg2 ; | |
13421 | PyObject * obj0 = 0 ; | |
994141e6 | 13422 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13423 | char *kwnames[] = { |
13424 | (char *) "self",(char *) "num", NULL | |
13425 | }; | |
13426 | ||
994141e6 | 13427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13430 | arg2 = (int) SWIG_AsInt(obj1); | |
13431 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13432 | { |
13433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13434 | (arg1)->SetLinesAdded(arg2); | |
13435 | ||
13436 | wxPyEndAllowThreads(__tstate); | |
13437 | if (PyErr_Occurred()) SWIG_fail; | |
13438 | } | |
13439 | Py_INCREF(Py_None); resultobj = Py_None; | |
13440 | return resultobj; | |
13441 | fail: | |
13442 | return NULL; | |
13443 | } | |
13444 | ||
13445 | ||
a95a7133 | 13446 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13447 | PyObject *resultobj; |
13448 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13449 | int arg2 ; | |
13450 | PyObject * obj0 = 0 ; | |
994141e6 | 13451 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13452 | char *kwnames[] = { |
13453 | (char *) "self",(char *) "val", NULL | |
13454 | }; | |
13455 | ||
994141e6 | 13456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13459 | arg2 = (int) SWIG_AsInt(obj1); | |
13460 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13461 | { |
13462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13463 | (arg1)->SetLine(arg2); | |
13464 | ||
13465 | wxPyEndAllowThreads(__tstate); | |
13466 | if (PyErr_Occurred()) SWIG_fail; | |
13467 | } | |
13468 | Py_INCREF(Py_None); resultobj = Py_None; | |
13469 | return resultobj; | |
13470 | fail: | |
13471 | return NULL; | |
13472 | } | |
13473 | ||
13474 | ||
a95a7133 | 13475 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13476 | PyObject *resultobj; |
13477 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13478 | int arg2 ; | |
13479 | PyObject * obj0 = 0 ; | |
994141e6 | 13480 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13481 | char *kwnames[] = { |
13482 | (char *) "self",(char *) "val", NULL | |
13483 | }; | |
13484 | ||
994141e6 | 13485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13488 | arg2 = (int) SWIG_AsInt(obj1); | |
13489 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13490 | { |
13491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13492 | (arg1)->SetFoldLevelNow(arg2); | |
13493 | ||
13494 | wxPyEndAllowThreads(__tstate); | |
13495 | if (PyErr_Occurred()) SWIG_fail; | |
13496 | } | |
13497 | Py_INCREF(Py_None); resultobj = Py_None; | |
13498 | return resultobj; | |
13499 | fail: | |
13500 | return NULL; | |
13501 | } | |
13502 | ||
13503 | ||
a95a7133 | 13504 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13505 | PyObject *resultobj; |
13506 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13507 | int arg2 ; | |
13508 | PyObject * obj0 = 0 ; | |
994141e6 | 13509 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13510 | char *kwnames[] = { |
13511 | (char *) "self",(char *) "val", NULL | |
13512 | }; | |
13513 | ||
994141e6 | 13514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13517 | arg2 = (int) SWIG_AsInt(obj1); | |
13518 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13519 | { |
13520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13521 | (arg1)->SetFoldLevelPrev(arg2); | |
13522 | ||
13523 | wxPyEndAllowThreads(__tstate); | |
13524 | if (PyErr_Occurred()) SWIG_fail; | |
13525 | } | |
13526 | Py_INCREF(Py_None); resultobj = Py_None; | |
13527 | return resultobj; | |
13528 | fail: | |
13529 | return NULL; | |
13530 | } | |
13531 | ||
13532 | ||
a95a7133 | 13533 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13534 | PyObject *resultobj; |
13535 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13536 | int arg2 ; | |
13537 | PyObject * obj0 = 0 ; | |
994141e6 | 13538 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13539 | char *kwnames[] = { |
13540 | (char *) "self",(char *) "val", NULL | |
13541 | }; | |
13542 | ||
994141e6 | 13543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13546 | arg2 = (int) SWIG_AsInt(obj1); | |
13547 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13548 | { |
13549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13550 | (arg1)->SetMargin(arg2); | |
13551 | ||
13552 | wxPyEndAllowThreads(__tstate); | |
13553 | if (PyErr_Occurred()) SWIG_fail; | |
13554 | } | |
13555 | Py_INCREF(Py_None); resultobj = Py_None; | |
13556 | return resultobj; | |
13557 | fail: | |
13558 | return NULL; | |
13559 | } | |
13560 | ||
13561 | ||
a95a7133 | 13562 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13563 | PyObject *resultobj; |
13564 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13565 | int arg2 ; | |
13566 | PyObject * obj0 = 0 ; | |
994141e6 | 13567 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13568 | char *kwnames[] = { |
13569 | (char *) "self",(char *) "val", NULL | |
13570 | }; | |
13571 | ||
994141e6 | 13572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13575 | arg2 = (int) SWIG_AsInt(obj1); | |
13576 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13577 | { |
13578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13579 | (arg1)->SetMessage(arg2); | |
13580 | ||
13581 | wxPyEndAllowThreads(__tstate); | |
13582 | if (PyErr_Occurred()) SWIG_fail; | |
13583 | } | |
13584 | Py_INCREF(Py_None); resultobj = Py_None; | |
13585 | return resultobj; | |
13586 | fail: | |
13587 | return NULL; | |
13588 | } | |
13589 | ||
13590 | ||
a95a7133 | 13591 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13592 | PyObject *resultobj; |
13593 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13594 | int arg2 ; | |
13595 | PyObject * obj0 = 0 ; | |
994141e6 | 13596 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13597 | char *kwnames[] = { |
13598 | (char *) "self",(char *) "val", NULL | |
13599 | }; | |
13600 | ||
994141e6 | 13601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13604 | arg2 = (int) SWIG_AsInt(obj1); | |
13605 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13606 | { |
13607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13608 | (arg1)->SetWParam(arg2); | |
13609 | ||
13610 | wxPyEndAllowThreads(__tstate); | |
13611 | if (PyErr_Occurred()) SWIG_fail; | |
13612 | } | |
13613 | Py_INCREF(Py_None); resultobj = Py_None; | |
13614 | return resultobj; | |
13615 | fail: | |
13616 | return NULL; | |
13617 | } | |
13618 | ||
13619 | ||
a95a7133 | 13620 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13621 | PyObject *resultobj; |
13622 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13623 | int arg2 ; | |
13624 | PyObject * obj0 = 0 ; | |
994141e6 | 13625 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13626 | char *kwnames[] = { |
13627 | (char *) "self",(char *) "val", NULL | |
13628 | }; | |
13629 | ||
994141e6 | 13630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13633 | arg2 = (int) SWIG_AsInt(obj1); | |
13634 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13635 | { |
13636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13637 | (arg1)->SetLParam(arg2); | |
13638 | ||
13639 | wxPyEndAllowThreads(__tstate); | |
13640 | if (PyErr_Occurred()) SWIG_fail; | |
13641 | } | |
13642 | Py_INCREF(Py_None); resultobj = Py_None; | |
13643 | return resultobj; | |
13644 | fail: | |
13645 | return NULL; | |
13646 | } | |
13647 | ||
13648 | ||
a95a7133 | 13649 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13650 | PyObject *resultobj; |
13651 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13652 | int arg2 ; | |
13653 | PyObject * obj0 = 0 ; | |
994141e6 | 13654 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13655 | char *kwnames[] = { |
13656 | (char *) "self",(char *) "val", NULL | |
13657 | }; | |
13658 | ||
994141e6 | 13659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13662 | arg2 = (int) SWIG_AsInt(obj1); | |
13663 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13664 | { |
13665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13666 | (arg1)->SetListType(arg2); | |
13667 | ||
13668 | wxPyEndAllowThreads(__tstate); | |
13669 | if (PyErr_Occurred()) SWIG_fail; | |
13670 | } | |
13671 | Py_INCREF(Py_None); resultobj = Py_None; | |
13672 | return resultobj; | |
13673 | fail: | |
13674 | return NULL; | |
13675 | } | |
13676 | ||
13677 | ||
a95a7133 | 13678 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13679 | PyObject *resultobj; |
13680 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13681 | int arg2 ; | |
13682 | PyObject * obj0 = 0 ; | |
994141e6 | 13683 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13684 | char *kwnames[] = { |
13685 | (char *) "self",(char *) "val", NULL | |
13686 | }; | |
13687 | ||
994141e6 | 13688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13691 | arg2 = (int) SWIG_AsInt(obj1); | |
13692 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13693 | { |
13694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13695 | (arg1)->SetX(arg2); | |
13696 | ||
13697 | wxPyEndAllowThreads(__tstate); | |
13698 | if (PyErr_Occurred()) SWIG_fail; | |
13699 | } | |
13700 | Py_INCREF(Py_None); resultobj = Py_None; | |
13701 | return resultobj; | |
13702 | fail: | |
13703 | return NULL; | |
13704 | } | |
13705 | ||
13706 | ||
a95a7133 | 13707 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13708 | PyObject *resultobj; |
13709 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13710 | int arg2 ; | |
13711 | PyObject * obj0 = 0 ; | |
994141e6 | 13712 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13713 | char *kwnames[] = { |
13714 | (char *) "self",(char *) "val", NULL | |
13715 | }; | |
13716 | ||
994141e6 | 13717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13720 | arg2 = (int) SWIG_AsInt(obj1); | |
13721 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13722 | { |
13723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13724 | (arg1)->SetY(arg2); | |
13725 | ||
13726 | wxPyEndAllowThreads(__tstate); | |
13727 | if (PyErr_Occurred()) SWIG_fail; | |
13728 | } | |
13729 | Py_INCREF(Py_None); resultobj = Py_None; | |
13730 | return resultobj; | |
13731 | fail: | |
13732 | return NULL; | |
13733 | } | |
13734 | ||
13735 | ||
a95a7133 | 13736 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13737 | PyObject *resultobj; |
13738 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13739 | wxString *arg2 = 0 ; | |
e811c8ce | 13740 | bool temp2 = False ; |
d14a1e28 RD |
13741 | PyObject * obj0 = 0 ; |
13742 | PyObject * obj1 = 0 ; | |
13743 | char *kwnames[] = { | |
13744 | (char *) "self",(char *) "val", NULL | |
13745 | }; | |
13746 | ||
13747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13750 | { |
13751 | arg2 = wxString_in_helper(obj1); | |
13752 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13753 | temp2 = True; |
d14a1e28 RD |
13754 | } |
13755 | { | |
13756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13757 | (arg1)->SetDragText((wxString const &)*arg2); | |
13758 | ||
13759 | wxPyEndAllowThreads(__tstate); | |
13760 | if (PyErr_Occurred()) SWIG_fail; | |
13761 | } | |
13762 | Py_INCREF(Py_None); resultobj = Py_None; | |
13763 | { | |
13764 | if (temp2) | |
13765 | delete arg2; | |
13766 | } | |
13767 | return resultobj; | |
13768 | fail: | |
13769 | { | |
13770 | if (temp2) | |
13771 | delete arg2; | |
13772 | } | |
13773 | return NULL; | |
13774 | } | |
13775 | ||
13776 | ||
a95a7133 | 13777 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13778 | PyObject *resultobj; |
13779 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13780 | bool arg2 ; | |
13781 | PyObject * obj0 = 0 ; | |
13782 | PyObject * obj1 = 0 ; | |
13783 | char *kwnames[] = { | |
13784 | (char *) "self",(char *) "val", NULL | |
13785 | }; | |
13786 | ||
13787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13790 | arg2 = (bool) SWIG_AsBool(obj1); | |
13791 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13792 | { |
13793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13794 | (arg1)->SetDragAllowMove(arg2); | |
13795 | ||
13796 | wxPyEndAllowThreads(__tstate); | |
13797 | if (PyErr_Occurred()) SWIG_fail; | |
13798 | } | |
13799 | Py_INCREF(Py_None); resultobj = Py_None; | |
13800 | return resultobj; | |
13801 | fail: | |
13802 | return NULL; | |
13803 | } | |
13804 | ||
13805 | ||
a95a7133 | 13806 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13807 | PyObject *resultobj; |
13808 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
96b3fa7c | 13809 | int arg2 ; |
d14a1e28 RD |
13810 | PyObject * obj0 = 0 ; |
13811 | PyObject * obj1 = 0 ; | |
13812 | char *kwnames[] = { | |
13813 | (char *) "self",(char *) "val", NULL | |
13814 | }; | |
13815 | ||
13816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13819 | arg2 = (wxDragResult) SWIG_AsInt(obj1); | |
13820 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13821 | { |
13822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 13823 | (arg1)->SetDragResult((wxDragResult )arg2); |
d14a1e28 RD |
13824 | |
13825 | wxPyEndAllowThreads(__tstate); | |
13826 | if (PyErr_Occurred()) SWIG_fail; | |
13827 | } | |
13828 | Py_INCREF(Py_None); resultobj = Py_None; | |
13829 | return resultobj; | |
13830 | fail: | |
13831 | return NULL; | |
13832 | } | |
13833 | ||
13834 | ||
a95a7133 | 13835 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13836 | PyObject *resultobj; |
13837 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13838 | int result; | |
13839 | PyObject * obj0 = 0 ; | |
13840 | char *kwnames[] = { | |
13841 | (char *) "self", NULL | |
13842 | }; | |
13843 | ||
13844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13847 | { |
13848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13849 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
13850 | ||
13851 | wxPyEndAllowThreads(__tstate); | |
13852 | if (PyErr_Occurred()) SWIG_fail; | |
13853 | } | |
15afbcd0 | 13854 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13855 | return resultobj; |
13856 | fail: | |
13857 | return NULL; | |
13858 | } | |
13859 | ||
13860 | ||
a95a7133 | 13861 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13862 | PyObject *resultobj; |
13863 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13864 | int result; | |
13865 | PyObject * obj0 = 0 ; | |
13866 | char *kwnames[] = { | |
13867 | (char *) "self", NULL | |
13868 | }; | |
13869 | ||
13870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13873 | { |
13874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13875 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
13876 | ||
13877 | wxPyEndAllowThreads(__tstate); | |
13878 | if (PyErr_Occurred()) SWIG_fail; | |
13879 | } | |
15afbcd0 | 13880 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13881 | return resultobj; |
13882 | fail: | |
13883 | return NULL; | |
13884 | } | |
13885 | ||
13886 | ||
a95a7133 | 13887 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13888 | PyObject *resultobj; |
13889 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13890 | int result; | |
13891 | PyObject * obj0 = 0 ; | |
13892 | char *kwnames[] = { | |
13893 | (char *) "self", NULL | |
13894 | }; | |
13895 | ||
13896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13899 | { |
13900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13901 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
13902 | ||
13903 | wxPyEndAllowThreads(__tstate); | |
13904 | if (PyErr_Occurred()) SWIG_fail; | |
13905 | } | |
15afbcd0 | 13906 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13907 | return resultobj; |
13908 | fail: | |
13909 | return NULL; | |
13910 | } | |
13911 | ||
13912 | ||
a95a7133 | 13913 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13914 | PyObject *resultobj; |
13915 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13916 | int result; | |
13917 | PyObject * obj0 = 0 ; | |
13918 | char *kwnames[] = { | |
13919 | (char *) "self", NULL | |
13920 | }; | |
13921 | ||
13922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13925 | { |
13926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13927 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
13928 | ||
13929 | wxPyEndAllowThreads(__tstate); | |
13930 | if (PyErr_Occurred()) SWIG_fail; | |
13931 | } | |
15afbcd0 | 13932 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13933 | return resultobj; |
13934 | fail: | |
13935 | return NULL; | |
13936 | } | |
13937 | ||
13938 | ||
a95a7133 | 13939 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13940 | PyObject *resultobj; |
13941 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13942 | wxString result; | |
13943 | PyObject * obj0 = 0 ; | |
13944 | char *kwnames[] = { | |
13945 | (char *) "self", NULL | |
13946 | }; | |
13947 | ||
13948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13951 | { |
13952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13953 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
13954 | ||
13955 | wxPyEndAllowThreads(__tstate); | |
13956 | if (PyErr_Occurred()) SWIG_fail; | |
13957 | } | |
13958 | { | |
13959 | #if wxUSE_UNICODE | |
13960 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13961 | #else | |
13962 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13963 | #endif | |
13964 | } | |
13965 | return resultobj; | |
13966 | fail: | |
13967 | return NULL; | |
13968 | } | |
13969 | ||
13970 | ||
a95a7133 | 13971 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13972 | PyObject *resultobj; |
13973 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13974 | int result; | |
13975 | PyObject * obj0 = 0 ; | |
13976 | char *kwnames[] = { | |
13977 | (char *) "self", NULL | |
13978 | }; | |
13979 | ||
13980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13983 | { |
13984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13985 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
13986 | ||
13987 | wxPyEndAllowThreads(__tstate); | |
13988 | if (PyErr_Occurred()) SWIG_fail; | |
13989 | } | |
15afbcd0 | 13990 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13991 | return resultobj; |
13992 | fail: | |
13993 | return NULL; | |
13994 | } | |
13995 | ||
13996 | ||
a95a7133 | 13997 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13998 | PyObject *resultobj; |
13999 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14000 | int result; | |
14001 | PyObject * obj0 = 0 ; | |
14002 | char *kwnames[] = { | |
14003 | (char *) "self", NULL | |
14004 | }; | |
14005 | ||
14006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14009 | { |
14010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14011 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
14012 | ||
14013 | wxPyEndAllowThreads(__tstate); | |
14014 | if (PyErr_Occurred()) SWIG_fail; | |
14015 | } | |
15afbcd0 | 14016 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14017 | return resultobj; |
14018 | fail: | |
14019 | return NULL; | |
14020 | } | |
14021 | ||
14022 | ||
a95a7133 | 14023 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14024 | PyObject *resultobj; |
14025 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14026 | int result; | |
14027 | PyObject * obj0 = 0 ; | |
14028 | char *kwnames[] = { | |
14029 | (char *) "self", NULL | |
14030 | }; | |
14031 | ||
14032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14035 | { |
14036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14037 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
14038 | ||
14039 | wxPyEndAllowThreads(__tstate); | |
14040 | if (PyErr_Occurred()) SWIG_fail; | |
14041 | } | |
15afbcd0 | 14042 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14043 | return resultobj; |
14044 | fail: | |
14045 | return NULL; | |
14046 | } | |
14047 | ||
14048 | ||
a95a7133 | 14049 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14050 | PyObject *resultobj; |
14051 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14052 | int result; | |
14053 | PyObject * obj0 = 0 ; | |
14054 | char *kwnames[] = { | |
14055 | (char *) "self", NULL | |
14056 | }; | |
14057 | ||
14058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14061 | { |
14062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14063 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
14064 | ||
14065 | wxPyEndAllowThreads(__tstate); | |
14066 | if (PyErr_Occurred()) SWIG_fail; | |
14067 | } | |
15afbcd0 | 14068 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14069 | return resultobj; |
14070 | fail: | |
14071 | return NULL; | |
14072 | } | |
14073 | ||
14074 | ||
a95a7133 | 14075 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14076 | PyObject *resultobj; |
14077 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14078 | int result; | |
14079 | PyObject * obj0 = 0 ; | |
14080 | char *kwnames[] = { | |
14081 | (char *) "self", NULL | |
14082 | }; | |
14083 | ||
14084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14087 | { |
14088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14089 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
14090 | ||
14091 | wxPyEndAllowThreads(__tstate); | |
14092 | if (PyErr_Occurred()) SWIG_fail; | |
14093 | } | |
15afbcd0 | 14094 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14095 | return resultobj; |
14096 | fail: | |
14097 | return NULL; | |
14098 | } | |
14099 | ||
14100 | ||
a95a7133 | 14101 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14102 | PyObject *resultobj; |
14103 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14104 | int result; | |
14105 | PyObject * obj0 = 0 ; | |
14106 | char *kwnames[] = { | |
14107 | (char *) "self", NULL | |
14108 | }; | |
14109 | ||
14110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14113 | { |
14114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14115 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
14116 | ||
14117 | wxPyEndAllowThreads(__tstate); | |
14118 | if (PyErr_Occurred()) SWIG_fail; | |
14119 | } | |
15afbcd0 | 14120 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14121 | return resultobj; |
14122 | fail: | |
14123 | return NULL; | |
14124 | } | |
14125 | ||
14126 | ||
a95a7133 | 14127 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14128 | PyObject *resultobj; |
14129 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14130 | int result; | |
14131 | PyObject * obj0 = 0 ; | |
14132 | char *kwnames[] = { | |
14133 | (char *) "self", NULL | |
14134 | }; | |
14135 | ||
14136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14139 | { |
14140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14141 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
14142 | ||
14143 | wxPyEndAllowThreads(__tstate); | |
14144 | if (PyErr_Occurred()) SWIG_fail; | |
14145 | } | |
15afbcd0 | 14146 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14147 | return resultobj; |
14148 | fail: | |
14149 | return NULL; | |
14150 | } | |
14151 | ||
14152 | ||
a95a7133 | 14153 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14154 | PyObject *resultobj; |
14155 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14156 | int result; | |
14157 | PyObject * obj0 = 0 ; | |
14158 | char *kwnames[] = { | |
14159 | (char *) "self", NULL | |
14160 | }; | |
14161 | ||
14162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14165 | { |
14166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14167 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
14168 | ||
14169 | wxPyEndAllowThreads(__tstate); | |
14170 | if (PyErr_Occurred()) SWIG_fail; | |
14171 | } | |
15afbcd0 | 14172 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14173 | return resultobj; |
14174 | fail: | |
14175 | return NULL; | |
14176 | } | |
14177 | ||
14178 | ||
a95a7133 | 14179 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14180 | PyObject *resultobj; |
14181 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14182 | int result; | |
14183 | PyObject * obj0 = 0 ; | |
14184 | char *kwnames[] = { | |
14185 | (char *) "self", NULL | |
14186 | }; | |
14187 | ||
14188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14191 | { |
14192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14193 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
14194 | ||
14195 | wxPyEndAllowThreads(__tstate); | |
14196 | if (PyErr_Occurred()) SWIG_fail; | |
14197 | } | |
15afbcd0 | 14198 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14199 | return resultobj; |
14200 | fail: | |
14201 | return NULL; | |
14202 | } | |
14203 | ||
14204 | ||
a95a7133 | 14205 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14206 | PyObject *resultobj; |
14207 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14208 | int result; | |
14209 | PyObject * obj0 = 0 ; | |
14210 | char *kwnames[] = { | |
14211 | (char *) "self", NULL | |
14212 | }; | |
14213 | ||
14214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14217 | { |
14218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14219 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
14220 | ||
14221 | wxPyEndAllowThreads(__tstate); | |
14222 | if (PyErr_Occurred()) SWIG_fail; | |
14223 | } | |
15afbcd0 | 14224 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14225 | return resultobj; |
14226 | fail: | |
14227 | return NULL; | |
14228 | } | |
14229 | ||
14230 | ||
a95a7133 | 14231 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14232 | PyObject *resultobj; |
14233 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14234 | int result; | |
14235 | PyObject * obj0 = 0 ; | |
14236 | char *kwnames[] = { | |
14237 | (char *) "self", NULL | |
14238 | }; | |
14239 | ||
14240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14243 | { |
14244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14245 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
14246 | ||
14247 | wxPyEndAllowThreads(__tstate); | |
14248 | if (PyErr_Occurred()) SWIG_fail; | |
14249 | } | |
15afbcd0 | 14250 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14251 | return resultobj; |
14252 | fail: | |
14253 | return NULL; | |
14254 | } | |
14255 | ||
14256 | ||
a95a7133 | 14257 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14258 | PyObject *resultobj; |
14259 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14260 | int result; | |
14261 | PyObject * obj0 = 0 ; | |
14262 | char *kwnames[] = { | |
14263 | (char *) "self", NULL | |
14264 | }; | |
14265 | ||
14266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14269 | { |
14270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14271 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
14272 | ||
14273 | wxPyEndAllowThreads(__tstate); | |
14274 | if (PyErr_Occurred()) SWIG_fail; | |
14275 | } | |
15afbcd0 | 14276 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14277 | return resultobj; |
14278 | fail: | |
14279 | return NULL; | |
14280 | } | |
14281 | ||
14282 | ||
a95a7133 | 14283 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14284 | PyObject *resultobj; |
14285 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14286 | wxString result; | |
14287 | PyObject * obj0 = 0 ; | |
14288 | char *kwnames[] = { | |
14289 | (char *) "self", NULL | |
14290 | }; | |
14291 | ||
14292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14295 | { |
14296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14297 | result = (arg1)->GetDragText(); | |
14298 | ||
14299 | wxPyEndAllowThreads(__tstate); | |
14300 | if (PyErr_Occurred()) SWIG_fail; | |
14301 | } | |
14302 | { | |
14303 | #if wxUSE_UNICODE | |
14304 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14305 | #else | |
14306 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14307 | #endif | |
14308 | } | |
14309 | return resultobj; | |
14310 | fail: | |
14311 | return NULL; | |
14312 | } | |
14313 | ||
14314 | ||
a95a7133 | 14315 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14316 | PyObject *resultobj; |
14317 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14318 | bool result; | |
14319 | PyObject * obj0 = 0 ; | |
14320 | char *kwnames[] = { | |
14321 | (char *) "self", NULL | |
14322 | }; | |
14323 | ||
14324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14327 | { |
14328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14329 | result = (bool)(arg1)->GetDragAllowMove(); | |
14330 | ||
14331 | wxPyEndAllowThreads(__tstate); | |
14332 | if (PyErr_Occurred()) SWIG_fail; | |
14333 | } | |
4f89f6a3 RD |
14334 | { |
14335 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14336 | } | |
d14a1e28 RD |
14337 | return resultobj; |
14338 | fail: | |
14339 | return NULL; | |
14340 | } | |
14341 | ||
14342 | ||
a95a7133 | 14343 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14344 | PyObject *resultobj; |
14345 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
96b3fa7c | 14346 | int result; |
d14a1e28 RD |
14347 | PyObject * obj0 = 0 ; |
14348 | char *kwnames[] = { | |
14349 | (char *) "self", NULL | |
14350 | }; | |
14351 | ||
14352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14355 | { |
14356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 14357 | result = (int)(arg1)->GetDragResult(); |
d14a1e28 RD |
14358 | |
14359 | wxPyEndAllowThreads(__tstate); | |
14360 | if (PyErr_Occurred()) SWIG_fail; | |
14361 | } | |
15afbcd0 | 14362 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14363 | return resultobj; |
14364 | fail: | |
14365 | return NULL; | |
14366 | } | |
14367 | ||
14368 | ||
a95a7133 | 14369 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14370 | PyObject *resultobj; |
14371 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14372 | bool result; | |
14373 | PyObject * obj0 = 0 ; | |
14374 | char *kwnames[] = { | |
14375 | (char *) "self", NULL | |
14376 | }; | |
14377 | ||
14378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14381 | { |
14382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14383 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
14384 | ||
14385 | wxPyEndAllowThreads(__tstate); | |
14386 | if (PyErr_Occurred()) SWIG_fail; | |
14387 | } | |
4f89f6a3 RD |
14388 | { |
14389 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14390 | } | |
d14a1e28 RD |
14391 | return resultobj; |
14392 | fail: | |
14393 | return NULL; | |
14394 | } | |
14395 | ||
14396 | ||
a95a7133 | 14397 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14398 | PyObject *resultobj; |
14399 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14400 | bool result; | |
14401 | PyObject * obj0 = 0 ; | |
14402 | char *kwnames[] = { | |
14403 | (char *) "self", NULL | |
14404 | }; | |
14405 | ||
14406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14407 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14408 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14409 | { |
14410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14411 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
14412 | ||
14413 | wxPyEndAllowThreads(__tstate); | |
14414 | if (PyErr_Occurred()) SWIG_fail; | |
14415 | } | |
4f89f6a3 RD |
14416 | { |
14417 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14418 | } | |
d14a1e28 RD |
14419 | return resultobj; |
14420 | fail: | |
14421 | return NULL; | |
14422 | } | |
14423 | ||
14424 | ||
a95a7133 | 14425 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14426 | PyObject *resultobj; |
14427 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14428 | bool result; | |
14429 | PyObject * obj0 = 0 ; | |
14430 | char *kwnames[] = { | |
14431 | (char *) "self", NULL | |
14432 | }; | |
14433 | ||
14434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14437 | { |
14438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14439 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
14440 | ||
14441 | wxPyEndAllowThreads(__tstate); | |
14442 | if (PyErr_Occurred()) SWIG_fail; | |
14443 | } | |
4f89f6a3 RD |
14444 | { |
14445 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14446 | } | |
d14a1e28 RD |
14447 | return resultobj; |
14448 | fail: | |
14449 | return NULL; | |
14450 | } | |
14451 | ||
14452 | ||
a95a7133 | 14453 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14454 | PyObject *resultobj; |
14455 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14456 | wxEvent *result; | |
14457 | PyObject * obj0 = 0 ; | |
14458 | char *kwnames[] = { | |
14459 | (char *) "self", NULL | |
14460 | }; | |
14461 | ||
14462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14465 | { |
14466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14467 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
14468 | ||
14469 | wxPyEndAllowThreads(__tstate); | |
14470 | if (PyErr_Occurred()) SWIG_fail; | |
14471 | } | |
15afbcd0 | 14472 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); |
d14a1e28 RD |
14473 | return resultobj; |
14474 | fail: | |
14475 | return NULL; | |
14476 | } | |
14477 | ||
14478 | ||
a95a7133 | 14479 | static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) { |
d14a1e28 RD |
14480 | PyObject *obj; |
14481 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14482 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
14483 | Py_INCREF(obj); | |
14484 | return Py_BuildValue((char *)""); | |
14485 | } | |
14486 | static PyMethodDef SwigMethods[] = { | |
a95a7133 RD |
14487 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
14488 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
14489 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
14490 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
14491 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
14492 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
14493 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
14494 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
14495 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
14496 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
14497 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
14498 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
14499 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
14500 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
14501 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
14502 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
14503 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
14504 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
14505 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
14506 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
14507 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
14508 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
14509 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
14510 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
14511 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
14512 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
14513 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
14514 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
14515 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
14516 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
14517 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
14518 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
14519 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
14520 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
14521 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
14522 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
14523 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
14524 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
14525 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
14526 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
14527 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
14528 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
14529 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14530 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
14531 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
14532 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
14533 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
14534 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
14535 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
14536 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
14537 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS }, | |
14538 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
14539 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
14540 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
14541 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
14542 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
14543 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
14544 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
14545 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
14546 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
14547 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14548 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
14549 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
14550 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
14551 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
14552 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
14553 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
14554 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
14555 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
14556 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, | |
14557 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, | |
14558 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS }, | |
14559 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
14560 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
14561 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
14562 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
14563 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
14564 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
14565 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
14566 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
14567 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
14568 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
14569 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
14570 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
14571 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
14572 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
14573 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
14574 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14575 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14576 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS }, | |
14577 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS }, | |
14578 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
14579 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
14580 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
14581 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
14582 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
14583 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
14584 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
14585 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
14586 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
14587 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, | |
14588 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
14589 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
14590 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
14591 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
14592 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
14593 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
14594 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14595 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14596 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
14597 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
14598 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
14599 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
14600 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
14601 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
14602 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
14603 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
14604 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
14605 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
14606 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
14607 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
14608 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
14609 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS }, | |
14610 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS }, | |
14611 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14612 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14613 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
14614 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
14615 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
14616 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
14617 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
14618 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
14619 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
14620 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
14621 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14622 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14623 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
14624 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
14625 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
14626 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
14627 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
14628 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
14629 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
14630 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14631 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
14632 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
14633 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
14634 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
14635 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
14636 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
14637 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
14638 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
14639 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
14640 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
14641 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
14642 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
14643 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
14644 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
14645 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
14646 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
14647 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
14648 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
14649 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
14650 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
14651 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
14652 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
14653 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
14654 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
14655 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
14656 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
14657 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
14658 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
14659 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14660 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
14661 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
14662 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
14663 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
14664 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
14665 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
14666 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
14667 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
14668 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
14669 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
14670 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
14671 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
14672 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
14673 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
14674 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
14675 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
14676 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
14677 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
14678 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
14679 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
14680 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
14681 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
14682 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
14683 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
14684 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
14685 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
14686 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
14687 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
14688 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14689 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
14690 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14691 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14692 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
14693 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
14694 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
14695 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
14696 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
14697 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
14698 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
14699 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
14700 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
14701 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
14702 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
14703 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
14704 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
14705 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
14706 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
14707 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
14708 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
14709 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
14710 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
14711 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
14712 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
14713 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
14714 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
14715 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14716 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14717 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
14718 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
14719 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
14720 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
14721 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS }, | |
14722 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
14723 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
14724 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS }, | |
14725 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14726 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14727 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, | |
14728 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
14729 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
14730 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS }, | |
14731 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS }, | |
14732 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS }, | |
14733 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS }, | |
14734 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS }, | |
14735 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS }, | |
14736 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14737 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS }, | |
14738 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14739 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS }, | |
14740 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
14741 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS }, | |
14742 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
14743 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS }, | |
14744 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
14745 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS }, | |
14746 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
14747 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS }, | |
14748 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS }, | |
14749 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS }, | |
14750 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14751 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS }, | |
14752 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS }, | |
14753 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS }, | |
14754 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14755 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS }, | |
14756 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14757 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS }, | |
14758 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14759 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS }, | |
14760 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS }, | |
14761 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS }, | |
14762 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS }, | |
14763 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS }, | |
14764 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS }, | |
14765 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS }, | |
14766 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS }, | |
14767 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS }, | |
14768 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS }, | |
14769 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS }, | |
14770 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS }, | |
14771 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS }, | |
14772 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS }, | |
14773 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS }, | |
14774 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS }, | |
14775 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS }, | |
14776 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS }, | |
14777 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS }, | |
14778 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS }, | |
14779 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS }, | |
14780 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS }, | |
14781 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS }, | |
14782 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
14783 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS }, | |
14784 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
14785 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS }, | |
14786 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS }, | |
14787 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS }, | |
14788 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS }, | |
14789 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS }, | |
14790 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS }, | |
14791 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS }, | |
14792 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
14793 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
14794 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14795 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
14796 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
14797 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
14798 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
14799 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
14800 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
14801 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
14802 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
14803 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
14804 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
14805 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
14806 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
14807 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
14808 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
14809 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
14810 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
14811 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
14812 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
14813 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
14814 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
14815 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
14816 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
14817 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
14818 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
14819 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
14820 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
14821 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
14822 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
14823 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
14824 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
14825 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
14826 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
14827 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
14828 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
14829 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
14830 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
14831 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
14832 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
14833 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
14834 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
14835 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
14836 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, | |
14837 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
14838 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
14839 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS }, | |
14840 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
14841 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
14842 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14843 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14844 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS }, | |
14845 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS }, | |
14846 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS }, | |
14847 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS }, | |
14848 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS }, | |
14849 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14850 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS }, | |
14851 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14852 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS }, | |
14853 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS }, | |
14854 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS }, | |
14855 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS }, | |
14856 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
14857 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
14858 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
14859 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
14860 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14861 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14862 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14863 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14864 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14865 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14866 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14867 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14868 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14869 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS }, | |
14870 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14871 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS }, | |
14872 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14873 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS }, | |
14874 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14875 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS }, | |
14876 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14877 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS }, | |
14878 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS }, | |
14879 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS }, | |
14880 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
14881 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
14882 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
14883 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
14884 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
14885 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
14886 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
14887 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
14888 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
14889 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
14890 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
14891 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
14892 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
14893 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
14894 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
14895 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
14896 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
14897 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
14898 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, | |
14899 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14900 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14901 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
14902 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
14903 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
14904 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
14905 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS }, | |
14906 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS }, | |
14907 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS }, | |
14908 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS }, | |
14909 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS }, | |
14910 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
14911 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
14912 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14913 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
14914 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
14915 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
14916 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
14917 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
14918 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
14919 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
14920 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
14921 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
14922 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
14923 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
14924 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
14925 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
14926 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
14927 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
14928 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, | |
14929 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
14930 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
14931 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
14932 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14933 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
14934 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
14935 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
14936 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
14937 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
14938 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
14939 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
14940 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
14941 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
14942 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
14943 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
14944 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
14945 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
14946 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
14947 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
14948 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
14949 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
14950 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
14951 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
14952 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
14953 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14954 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, | |
14955 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14956 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS }, | |
14957 | { NULL, NULL } | |
d14a1e28 RD |
14958 | }; |
14959 | ||
14960 | ||
14961 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
14962 | ||
14963 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
14964 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
14965 | } | |
14966 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
14967 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
14968 | } | |
14969 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
14970 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
14971 | } | |
14972 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
14973 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
14974 | } | |
14975 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
14976 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
14977 | } | |
14978 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
14979 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
14980 | } | |
14981 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
14982 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
14983 | } | |
14984 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
14985 | return (void *)((wxObject *) ((wxSizer *) x)); | |
14986 | } | |
14987 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
14988 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
14989 | } | |
96b3fa7c RD |
14990 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { |
14991 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
14992 | } | |
d14a1e28 RD |
14993 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
14994 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
14995 | } | |
14996 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
14997 | return (void *)((wxObject *) ((wxEvent *) x)); | |
14998 | } | |
14999 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
15000 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15001 | } | |
15002 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
15003 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
15004 | } | |
15005 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
15006 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
15007 | } | |
d14a1e28 RD |
15008 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
15009 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
15010 | } | |
15011 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15012 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15013 | } | |
0df68c9f RD |
15014 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { |
15015 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15016 | } | |
d14a1e28 RD |
15017 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
15018 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15019 | } | |
15020 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
15021 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15022 | } | |
15023 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
15024 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15025 | } | |
15026 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
15027 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15028 | } | |
15029 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
15030 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
15031 | } | |
15032 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
15033 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
15034 | } | |
96b3fa7c RD |
15035 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { |
15036 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
15037 | } | |
d14a1e28 RD |
15038 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
15039 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
15040 | } | |
96b3fa7c RD |
15041 | static void *_p_wxClipboardTo_p_wxObject(void *x) { |
15042 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
15043 | } | |
d14a1e28 RD |
15044 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
15045 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
15046 | } | |
15047 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
15048 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15049 | } | |
15050 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15051 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15052 | } | |
15053 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
15054 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15055 | } | |
15056 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
15057 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
15058 | } | |
96b3fa7c RD |
15059 | static void *_p_wxToolTipTo_p_wxObject(void *x) { |
15060 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
15061 | } | |
d14a1e28 RD |
15062 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
15063 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
15064 | } | |
15065 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
15066 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
15067 | } | |
15068 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
15069 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15070 | } | |
15071 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
15072 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15073 | } | |
15074 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
15075 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
15076 | } | |
15077 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
15078 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
15079 | } | |
15080 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
15081 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
15082 | } | |
15083 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
15084 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
15085 | } | |
15086 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
15087 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
15088 | } | |
15089 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
15090 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
15091 | } | |
15092 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
15093 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
15094 | } | |
15095 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
15096 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
15097 | } | |
15098 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
15099 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
15100 | } | |
15101 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
15102 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
15103 | } | |
15104 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
15105 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
15106 | } | |
15107 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
15108 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
15109 | } | |
15110 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
15111 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
15112 | } | |
15113 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
15114 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
15115 | } | |
15116 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
15117 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
15118 | } | |
15119 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
15120 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
15121 | } | |
15122 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
15123 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
15124 | } | |
15125 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
15126 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
15127 | } | |
0df68c9f RD |
15128 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
15129 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
15130 | } | |
d14a1e28 RD |
15131 | static void *_p_wxImageTo_p_wxObject(void *x) { |
15132 | return (void *)((wxObject *) ((wxImage *) x)); | |
15133 | } | |
15134 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
15135 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
15136 | } | |
96b3fa7c RD |
15137 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { |
15138 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
15139 | } | |
15140 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
15141 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
15142 | } | |
d14a1e28 RD |
15143 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
15144 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15145 | } | |
15146 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
15147 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15148 | } | |
15149 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
15150 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
15151 | } | |
15152 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
15153 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
15154 | } | |
15155 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
15156 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
15157 | } | |
15158 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
15159 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
15160 | } | |
96b3fa7c RD |
15161 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { |
15162 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
15163 | } | |
d14a1e28 RD |
15164 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
15165 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
15166 | } | |
15167 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
15168 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15169 | } | |
15170 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
15171 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
15172 | } | |
15173 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
15174 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
15175 | } | |
15176 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
15177 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
15178 | } | |
15179 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
15180 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
15181 | } | |
15182 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
15183 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
15184 | } | |
96b3fa7c RD |
15185 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { |
15186 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
15187 | } | |
d14a1e28 RD |
15188 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
15189 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15190 | } | |
15191 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
15192 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
15193 | } | |
15194 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
15195 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
15196 | } | |
15197 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
15198 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
15199 | } | |
15200 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
15201 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15202 | } | |
96b3fa7c RD |
15203 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { |
15204 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
15205 | } | |
d14a1e28 RD |
15206 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
15207 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15208 | } | |
15209 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
15210 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
15211 | } | |
15212 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
15213 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
15214 | } | |
96b3fa7c RD |
15215 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { |
15216 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
15217 | } | |
d14a1e28 RD |
15218 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
15219 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15220 | } | |
15221 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15222 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15223 | } | |
15224 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
15225 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
15226 | } | |
15227 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15228 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15229 | } | |
15230 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
15231 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15232 | } | |
15233 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
15234 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
15235 | } | |
15236 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
15237 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15238 | } | |
15239 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
15240 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15241 | } | |
15242 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
15243 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15244 | } | |
15245 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
15246 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15247 | } | |
15248 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
15249 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15250 | } | |
15251 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
15252 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15253 | } | |
15254 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
15255 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15256 | } | |
15257 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
15258 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
15259 | } | |
15260 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
15261 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
15262 | } | |
15263 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
15264 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15265 | } | |
15266 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
15267 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
15268 | } | |
96b3fa7c RD |
15269 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { |
15270 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
15271 | } | |
d14a1e28 RD |
15272 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { |
15273 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15274 | } | |
15275 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
15276 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
15277 | } | |
15278 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
15279 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
15280 | } | |
15281 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
15282 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
15283 | } | |
15284 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
15285 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
15286 | } | |
96b3fa7c RD |
15287 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { |
15288 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
15289 | } | |
d14a1e28 RD |
15290 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { |
15291 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15292 | } | |
15293 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
15294 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
15295 | } | |
15296 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
15297 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15298 | } | |
15299 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15300 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15301 | } | |
15302 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15303 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15304 | } | |
15305 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15306 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15307 | } | |
15308 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15309 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15310 | } | |
15311 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15312 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15313 | } | |
96b3fa7c RD |
15314 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { |
15315 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
15316 | } | |
d14a1e28 RD |
15317 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
15318 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15319 | } | |
15320 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15321 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15322 | } | |
15323 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
15324 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15325 | } | |
15326 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15327 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15328 | } | |
96b3fa7c RD |
15329 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { |
15330 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
15331 | } | |
d14a1e28 RD |
15332 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15333 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15334 | } | |
15335 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15336 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15337 | } | |
15338 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15339 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15340 | } | |
15341 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15342 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15343 | } | |
15344 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15345 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15346 | } | |
15347 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15348 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15349 | } | |
15350 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15351 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15352 | } | |
15353 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15354 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15355 | } | |
15356 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
15357 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15358 | } | |
15359 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15360 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15361 | } | |
15362 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
15363 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15364 | } | |
15365 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
15366 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15367 | } | |
15368 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15369 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15370 | } | |
15371 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15372 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15373 | } | |
15374 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15375 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15376 | } | |
15377 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15378 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15379 | } | |
15380 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15381 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15382 | } | |
15383 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15384 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15385 | } | |
15386 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15387 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15388 | } | |
96b3fa7c RD |
15389 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { |
15390 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
15391 | } | |
d14a1e28 RD |
15392 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
15393 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15394 | } | |
15395 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15396 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15397 | } | |
15398 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15399 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15400 | } | |
15401 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15402 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15403 | } | |
15404 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15405 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15406 | } | |
15407 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15408 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15409 | } | |
15410 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15411 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15412 | } | |
15afbcd0 RD |
15413 | 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}}; |
15414 | 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}}; | |
15415 | 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}}; | |
15416 | 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}}; | |
15417 | 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}}; | |
15418 | 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}}; | |
15419 | 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}}; | |
15420 | 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}}; | |
15421 | 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}}; | |
15422 | 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}}; | |
15423 | 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}}; | |
15424 | 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}}; | |
15425 | 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}}; | |
15426 | 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}}; | |
15427 | 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}}; | |
15428 | 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}}; | |
15429 | 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}}; | |
15430 | 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}}; | |
15431 | 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 |
15432 | |
15433 | static swig_type_info *swig_types_initial[] = { | |
15434 | _swigt__p_wxRect, | |
15435 | _swigt__p_wxColour, | |
15436 | _swigt__p_wxObject, | |
15437 | _swigt__p_wxScrollBar, | |
15438 | _swigt__p_wxStyledTextEvent, | |
15439 | _swigt__p_wxWindow, | |
15440 | _swigt__p_wxCommandEvent, | |
15441 | _swigt__p_wxBitmap, | |
15442 | _swigt__p_void, | |
15443 | _swigt__p_wxPoint, | |
15444 | _swigt__p_wxDC, | |
4d5c3d91 | 15445 | _swigt__p_char, |
d14a1e28 RD |
15446 | _swigt__p_wxEvtHandler, |
15447 | _swigt__p_wxStyledTextCtrl, | |
15448 | _swigt__p_wxFont, | |
15449 | _swigt__p_wxControl, | |
15450 | _swigt__p_wxEvent, | |
15451 | _swigt__p_int, | |
15452 | _swigt__p_wxMemoryBuffer, | |
15453 | 0 | |
15454 | }; | |
15455 | ||
15456 | ||
15457 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
15458 | ||
15459 | static swig_const_info swig_const_table[] = { | |
a95a7133 | 15460 | {0}}; |
d14a1e28 RD |
15461 | |
15462 | #ifdef __cplusplus | |
15463 | } | |
15464 | #endif | |
15465 | ||
15466 | #ifdef __cplusplus | |
15467 | extern "C" | |
15468 | #endif | |
15469 | SWIGEXPORT(void) SWIG_init(void) { | |
15470 | static PyObject *SWIG_globals = 0; | |
15471 | static int typeinit = 0; | |
15472 | PyObject *m, *d; | |
15473 | int i; | |
15474 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
15475 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
15476 | d = PyModule_GetDict(m); | |
15477 | ||
15478 | if (!typeinit) { | |
15479 | for (i = 0; swig_types_initial[i]; i++) { | |
15480 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
15481 | } | |
15482 | typeinit = 1; | |
15483 | } | |
15484 | SWIG_InstallConstants(d,swig_const_table); | |
15485 | ||
b2dc1044 RD |
15486 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
15487 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
15afbcd0 RD |
15488 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1)); |
15489 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1)); | |
15490 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1)); | |
15491 | PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000)); | |
15492 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000)); | |
15493 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000)); | |
15494 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0)); | |
15495 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1)); | |
15496 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2)); | |
15497 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0)); | |
15498 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1)); | |
15499 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2)); | |
15500 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001)); | |
15501 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1)); | |
15502 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31)); | |
15503 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0)); | |
15504 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1)); | |
15505 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2)); | |
15506 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3)); | |
15507 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4)); | |
15508 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5)); | |
15509 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6)); | |
15510 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7)); | |
15511 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8)); | |
15512 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9)); | |
15513 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10)); | |
15514 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11)); | |
15515 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12)); | |
15516 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13)); | |
15517 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14)); | |
15518 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15)); | |
15519 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16)); | |
15520 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17)); | |
15521 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18)); | |
15522 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19)); | |
15523 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20)); | |
15524 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21)); | |
15525 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22)); | |
15526 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23)); | |
15527 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24)); | |
15528 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25)); | |
15529 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000)); | |
15530 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25)); | |
15531 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26)); | |
15532 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27)); | |
15533 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28)); | |
15534 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29)); | |
15535 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30)); | |
15536 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31)); | |
15537 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000)); | |
15538 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0)); | |
15539 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1)); | |
15540 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32)); | |
15541 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33)); | |
15542 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34)); | |
15543 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35)); | |
15544 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36)); | |
15545 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37)); | |
15546 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39)); | |
15547 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127)); | |
15548 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0)); | |
15549 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1)); | |
15550 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186)); | |
15551 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136)); | |
15552 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238)); | |
15553 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134)); | |
15554 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161)); | |
15555 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129)); | |
15556 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77)); | |
15557 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255)); | |
15558 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204)); | |
15559 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128)); | |
15560 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2)); | |
15561 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162)); | |
15562 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130)); | |
15563 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177)); | |
15564 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178)); | |
15565 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163)); | |
15566 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222)); | |
15567 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0)); | |
15568 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1)); | |
15569 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2)); | |
15570 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7)); | |
15571 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0)); | |
15572 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1)); | |
15573 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2)); | |
15574 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3)); | |
15575 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4)); | |
15576 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5)); | |
15577 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6)); | |
15578 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20)); | |
15579 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40)); | |
15580 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80)); | |
15581 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0)); | |
15582 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0)); | |
15583 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1)); | |
15584 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2)); | |
15585 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3)); | |
15586 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4)); | |
15587 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2)); | |
15588 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4)); | |
15589 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000)); | |
15590 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000)); | |
15591 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000)); | |
15592 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400)); | |
15593 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000)); | |
15594 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000)); | |
15595 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000)); | |
15596 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000)); | |
15597 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000)); | |
15598 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000)); | |
15599 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF)); | |
15600 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002)); | |
15601 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004)); | |
15602 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008)); | |
15603 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010)); | |
15604 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040)); | |
15605 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001)); | |
15606 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000)); | |
15607 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0)); | |
15608 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1)); | |
15609 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0)); | |
15610 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1)); | |
15611 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2)); | |
15612 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3)); | |
15613 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0)); | |
15614 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1)); | |
15615 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2)); | |
15616 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1)); | |
15617 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4)); | |
15618 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01)); | |
15619 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04)); | |
15620 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01)); | |
15621 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04)); | |
15622 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10)); | |
15623 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08)); | |
15624 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0)); | |
15625 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1)); | |
15626 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2)); | |
15627 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8)); | |
15628 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1)); | |
15629 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2)); | |
15630 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4)); | |
15631 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8)); | |
15632 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10)); | |
15633 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20)); | |
15634 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40)); | |
15635 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100)); | |
15636 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200)); | |
15637 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400)); | |
15638 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800)); | |
15639 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77)); | |
15640 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300)); | |
15641 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301)); | |
15642 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302)); | |
15643 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303)); | |
15644 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304)); | |
15645 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305)); | |
15646 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306)); | |
15647 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307)); | |
15648 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308)); | |
15649 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309)); | |
15650 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7)); | |
15651 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8)); | |
15652 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9)); | |
15653 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13)); | |
15654 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310)); | |
15655 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311)); | |
15656 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312)); | |
15657 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1)); | |
15658 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2)); | |
15659 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4)); | |
15660 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0)); | |
15661 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1)); | |
15662 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2)); | |
15663 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3)); | |
15664 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4)); | |
15665 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5)); | |
15666 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6)); | |
15667 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7)); | |
15668 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8)); | |
15669 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9)); | |
15670 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10)); | |
15671 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11)); | |
15672 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12)); | |
15673 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13)); | |
15674 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14)); | |
15675 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15)); | |
15676 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16)); | |
15677 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17)); | |
15678 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18)); | |
15679 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19)); | |
15680 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20)); | |
15681 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21)); | |
15682 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22)); | |
15683 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23)); | |
15684 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24)); | |
15685 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25)); | |
15686 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26)); | |
15687 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27)); | |
15688 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28)); | |
15689 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29)); | |
15690 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30)); | |
15691 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31)); | |
15692 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32)); | |
15693 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33)); | |
15694 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34)); | |
15695 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35)); | |
15696 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36)); | |
15697 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37)); | |
15698 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38)); | |
15699 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39)); | |
15700 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40)); | |
15701 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41)); | |
15702 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42)); | |
15703 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43)); | |
15704 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44)); | |
15705 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45)); | |
15706 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46)); | |
15707 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47)); | |
15708 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48)); | |
15709 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49)); | |
15710 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50)); | |
15711 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51)); | |
15712 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52)); | |
15713 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53)); | |
15714 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54)); | |
15715 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000)); | |
15716 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0)); | |
15717 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1)); | |
15718 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2)); | |
15719 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3)); | |
15720 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4)); | |
15721 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5)); | |
15722 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6)); | |
15723 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7)); | |
15724 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8)); | |
15725 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9)); | |
15726 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10)); | |
15727 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11)); | |
15728 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12)); | |
15729 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13)); | |
15730 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0)); | |
15731 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1)); | |
15732 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2)); | |
15733 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3)); | |
15734 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4)); | |
15735 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5)); | |
15736 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6)); | |
15737 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7)); | |
15738 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8)); | |
15739 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9)); | |
15740 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10)); | |
15741 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11)); | |
15742 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12)); | |
15743 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13)); | |
15744 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14)); | |
15745 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15)); | |
15746 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16)); | |
15747 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17)); | |
15748 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18)); | |
15749 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19)); | |
15750 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0)); | |
15751 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1)); | |
15752 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2)); | |
15753 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3)); | |
15754 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4)); | |
15755 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5)); | |
15756 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6)); | |
15757 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7)); | |
15758 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8)); | |
15759 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9)); | |
15760 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10)); | |
15761 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11)); | |
15762 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12)); | |
15763 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13)); | |
15764 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14)); | |
15765 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15)); | |
15766 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16)); | |
15767 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17)); | |
15768 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18)); | |
15769 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19)); | |
15770 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20)); | |
15771 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21)); | |
15772 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22)); | |
15773 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23)); | |
15774 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24)); | |
15775 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25)); | |
15776 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26)); | |
15777 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27)); | |
15778 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28)); | |
15779 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29)); | |
15780 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30)); | |
15781 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31)); | |
15782 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40)); | |
15783 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41)); | |
15784 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42)); | |
15785 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43)); | |
15786 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44)); | |
15787 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45)); | |
15788 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46)); | |
15789 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47)); | |
15790 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48)); | |
15791 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49)); | |
15792 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50)); | |
15793 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51)); | |
15794 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52)); | |
15795 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55)); | |
15796 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56)); | |
15797 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57)); | |
15798 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58)); | |
15799 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59)); | |
15800 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60)); | |
15801 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61)); | |
15802 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62)); | |
15803 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63)); | |
15804 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64)); | |
15805 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65)); | |
15806 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66)); | |
15807 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67)); | |
15808 | PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70)); | |
15809 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71)); | |
15810 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72)); | |
15811 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73)); | |
15812 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74)); | |
15813 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75)); | |
15814 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76)); | |
15815 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77)); | |
15816 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80)); | |
15817 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81)); | |
15818 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82)); | |
15819 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83)); | |
15820 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84)); | |
15821 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85)); | |
15822 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86)); | |
15823 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87)); | |
15824 | PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90)); | |
15825 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91)); | |
15826 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92)); | |
15827 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93)); | |
15828 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94)); | |
15829 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95)); | |
15830 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96)); | |
15831 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97)); | |
15832 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98)); | |
15833 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99)); | |
15834 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100)); | |
15835 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101)); | |
15836 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102)); | |
15837 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105)); | |
15838 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106)); | |
15839 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107)); | |
15840 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108)); | |
15841 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109)); | |
15842 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110)); | |
15843 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111)); | |
15844 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112)); | |
15845 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113)); | |
15846 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114)); | |
15847 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115)); | |
15848 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116)); | |
15849 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117)); | |
15850 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118)); | |
15851 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119)); | |
15852 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120)); | |
15853 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121)); | |
15854 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122)); | |
15855 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123)); | |
15856 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124)); | |
15857 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125)); | |
15858 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126)); | |
15859 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127)); | |
15860 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0)); | |
15861 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1)); | |
15862 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2)); | |
15863 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3)); | |
15864 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4)); | |
15865 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5)); | |
15866 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6)); | |
15867 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7)); | |
15868 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8)); | |
15869 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9)); | |
15870 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10)); | |
15871 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11)); | |
15872 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12)); | |
15873 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13)); | |
15874 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14)); | |
15875 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15)); | |
15876 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17)); | |
15877 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18)); | |
15878 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19)); | |
15879 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20)); | |
15880 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21)); | |
15881 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22)); | |
15882 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23)); | |
15883 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24)); | |
15884 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25)); | |
15885 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26)); | |
15886 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27)); | |
15887 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28)); | |
15888 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29)); | |
15889 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30)); | |
15890 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0)); | |
15891 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1)); | |
15892 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2)); | |
15893 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3)); | |
15894 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4)); | |
15895 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5)); | |
15896 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6)); | |
15897 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7)); | |
15898 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8)); | |
15899 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9)); | |
15900 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10)); | |
15901 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11)); | |
15902 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12)); | |
15903 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0)); | |
15904 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1)); | |
15905 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2)); | |
15906 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3)); | |
15907 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4)); | |
15908 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0)); | |
15909 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1)); | |
15910 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2)); | |
15911 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3)); | |
15912 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4)); | |
15913 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0)); | |
15914 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1)); | |
15915 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2)); | |
15916 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3)); | |
15917 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4)); | |
15918 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5)); | |
15919 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6)); | |
15920 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7)); | |
15921 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8)); | |
15922 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9)); | |
15923 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10)); | |
15924 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11)); | |
15925 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12)); | |
15926 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13)); | |
15927 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14)); | |
15928 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15)); | |
15929 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16)); | |
15930 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17)); | |
15931 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18)); | |
15932 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19)); | |
15933 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0)); | |
15934 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1)); | |
15935 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2)); | |
15936 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3)); | |
15937 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4)); | |
15938 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5)); | |
15939 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6)); | |
15940 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7)); | |
15941 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8)); | |
15942 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9)); | |
15943 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10)); | |
15944 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11)); | |
15945 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12)); | |
15946 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13)); | |
15947 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14)); | |
15948 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15)); | |
15949 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16)); | |
15950 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17)); | |
15951 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18)); | |
15952 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0)); | |
15953 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1)); | |
15954 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2)); | |
15955 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3)); | |
15956 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4)); | |
15957 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5)); | |
15958 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6)); | |
15959 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7)); | |
15960 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0)); | |
15961 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1)); | |
15962 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2)); | |
15963 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3)); | |
15964 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4)); | |
15965 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5)); | |
15966 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9)); | |
15967 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0)); | |
15968 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1)); | |
15969 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2)); | |
15970 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3)); | |
15971 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4)); | |
15972 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5)); | |
15973 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6)); | |
15974 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0)); | |
15975 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1)); | |
15976 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2)); | |
15977 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3)); | |
15978 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4)); | |
15979 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5)); | |
15980 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6)); | |
15981 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7)); | |
15982 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8)); | |
15983 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9)); | |
15984 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0)); | |
15985 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1)); | |
15986 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2)); | |
15987 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3)); | |
15988 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6)); | |
15989 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7)); | |
15990 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8)); | |
15991 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9)); | |
15992 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10)); | |
15993 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11)); | |
15994 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12)); | |
15995 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13)); | |
15996 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14)); | |
15997 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15)); | |
15998 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16)); | |
15999 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0)); | |
16000 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1)); | |
16001 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2)); | |
16002 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3)); | |
16003 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4)); | |
16004 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5)); | |
16005 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6)); | |
16006 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7)); | |
16007 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8)); | |
16008 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9)); | |
16009 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10)); | |
16010 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11)); | |
16011 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0)); | |
16012 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1)); | |
16013 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2)); | |
16014 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3)); | |
16015 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4)); | |
16016 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5)); | |
16017 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6)); | |
16018 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7)); | |
16019 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8)); | |
16020 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9)); | |
16021 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10)); | |
16022 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0)); | |
16023 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1)); | |
16024 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2)); | |
16025 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3)); | |
16026 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6)); | |
16027 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8)); | |
16028 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9)); | |
16029 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10)); | |
16030 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0)); | |
16031 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1)); | |
16032 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2)); | |
16033 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3)); | |
16034 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4)); | |
16035 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5)); | |
16036 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6)); | |
16037 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7)); | |
16038 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8)); | |
16039 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0)); | |
16040 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1)); | |
16041 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2)); | |
16042 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3)); | |
16043 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4)); | |
16044 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5)); | |
16045 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6)); | |
16046 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7)); | |
16047 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8)); | |
16048 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9)); | |
16049 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10)); | |
16050 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0)); | |
16051 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1)); | |
16052 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2)); | |
16053 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3)); | |
16054 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4)); | |
16055 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5)); | |
16056 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6)); | |
16057 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7)); | |
16058 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8)); | |
16059 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9)); | |
16060 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10)); | |
16061 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11)); | |
16062 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0)); | |
16063 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1)); | |
16064 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2)); | |
16065 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3)); | |
16066 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4)); | |
16067 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5)); | |
16068 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6)); | |
16069 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7)); | |
16070 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8)); | |
16071 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0)); | |
16072 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1)); | |
16073 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2)); | |
16074 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3)); | |
16075 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4)); | |
16076 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5)); | |
16077 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6)); | |
16078 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7)); | |
16079 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8)); | |
16080 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9)); | |
16081 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10)); | |
16082 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11)); | |
16083 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12)); | |
16084 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13)); | |
16085 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14)); | |
16086 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15)); | |
16087 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0)); | |
16088 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1)); | |
16089 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2)); | |
16090 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3)); | |
16091 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4)); | |
16092 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5)); | |
16093 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6)); | |
16094 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7)); | |
16095 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8)); | |
16096 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9)); | |
16097 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10)); | |
16098 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11)); | |
16099 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12)); | |
16100 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13)); | |
16101 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14)); | |
16102 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0)); | |
16103 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1)); | |
16104 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2)); | |
16105 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3)); | |
16106 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4)); | |
16107 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5)); | |
16108 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6)); | |
16109 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7)); | |
16110 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8)); | |
16111 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9)); | |
16112 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10)); | |
16113 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11)); | |
16114 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12)); | |
16115 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13)); | |
16116 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14)); | |
16117 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0)); | |
16118 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1)); | |
16119 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2)); | |
16120 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3)); | |
16121 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4)); | |
16122 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5)); | |
16123 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6)); | |
16124 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7)); | |
16125 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8)); | |
16126 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9)); | |
16127 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10)); | |
16128 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11)); | |
16129 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12)); | |
16130 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13)); | |
16131 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14)); | |
16132 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0)); | |
16133 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1)); | |
16134 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2)); | |
16135 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3)); | |
16136 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4)); | |
16137 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5)); | |
16138 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6)); | |
16139 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7)); | |
16140 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8)); | |
16141 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9)); | |
16142 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10)); | |
16143 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11)); | |
16144 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12)); | |
16145 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13)); | |
16146 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14)); | |
16147 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15)); | |
16148 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16)); | |
16149 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0)); | |
16150 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1)); | |
16151 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2)); | |
16152 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3)); | |
16153 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4)); | |
16154 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5)); | |
16155 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6)); | |
16156 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7)); | |
16157 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8)); | |
16158 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9)); | |
16159 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10)); | |
16160 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0)); | |
16161 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1)); | |
16162 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2)); | |
16163 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3)); | |
16164 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4)); | |
16165 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5)); | |
16166 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6)); | |
16167 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7)); | |
16168 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8)); | |
16169 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9)); | |
16170 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10)); | |
16171 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11)); | |
16172 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0)); | |
16173 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1)); | |
16174 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2)); | |
16175 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3)); | |
16176 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4)); | |
16177 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5)); | |
16178 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6)); | |
16179 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7)); | |
16180 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8)); | |
16181 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9)); | |
16182 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10)); | |
16183 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11)); | |
16184 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12)); | |
16185 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13)); | |
16186 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14)); | |
16187 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15)); | |
16188 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0)); | |
16189 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1)); | |
16190 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2)); | |
16191 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3)); | |
16192 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4)); | |
16193 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5)); | |
16194 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6)); | |
16195 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7)); | |
16196 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8)); | |
16197 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9)); | |
16198 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10)); | |
16199 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11)); | |
16200 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12)); | |
16201 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13)); | |
16202 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0)); | |
16203 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1)); | |
16204 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2)); | |
16205 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3)); | |
16206 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4)); | |
16207 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5)); | |
16208 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6)); | |
16209 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7)); | |
16210 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8)); | |
16211 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9)); | |
16212 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10)); | |
16213 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11)); | |
16214 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12)); | |
16215 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13)); | |
16216 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14)); | |
16217 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15)); | |
16218 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16)); | |
16219 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17)); | |
16220 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0)); | |
16221 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1)); | |
16222 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2)); | |
16223 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3)); | |
16224 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4)); | |
16225 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5)); | |
16226 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6)); | |
16227 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7)); | |
16228 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8)); | |
16229 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9)); | |
16230 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10)); | |
16231 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11)); | |
16232 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12)); | |
16233 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13)); | |
16234 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14)); | |
16235 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0)); | |
16236 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1)); | |
16237 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2)); | |
16238 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3)); | |
16239 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4)); | |
16240 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5)); | |
16241 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6)); | |
16242 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0)); | |
16243 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1)); | |
16244 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2)); | |
16245 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3)); | |
16246 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4)); | |
16247 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5)); | |
16248 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6)); | |
16249 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7)); | |
16250 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8)); | |
16251 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0)); | |
16252 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1)); | |
16253 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2)); | |
16254 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3)); | |
16255 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4)); | |
16256 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5)); | |
16257 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0)); | |
16258 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1)); | |
16259 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2)); | |
16260 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3)); | |
16261 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4)); | |
16262 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5)); | |
16263 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6)); | |
16264 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0)); | |
16265 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1)); | |
16266 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2)); | |
16267 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3)); | |
16268 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4)); | |
16269 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5)); | |
16270 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6)); | |
16271 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7)); | |
16272 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8)); | |
16273 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9)); | |
16274 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10)); | |
16275 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11)); | |
16276 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12)); | |
16277 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13)); | |
16278 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31)); | |
16279 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011)); | |
16280 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013)); | |
16281 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176)); | |
16282 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177)); | |
16283 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178)); | |
16284 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179)); | |
16285 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180)); | |
16286 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300)); | |
16287 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301)); | |
16288 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302)); | |
16289 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303)); | |
16290 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304)); | |
16291 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305)); | |
16292 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306)); | |
16293 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307)); | |
16294 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308)); | |
16295 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309)); | |
16296 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310)); | |
16297 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311)); | |
16298 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312)); | |
16299 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313)); | |
16300 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314)); | |
16301 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315)); | |
16302 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316)); | |
16303 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317)); | |
16304 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318)); | |
16305 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319)); | |
16306 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320)); | |
16307 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321)); | |
16308 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322)); | |
16309 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323)); | |
16310 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324)); | |
16311 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325)); | |
16312 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326)); | |
16313 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327)); | |
16314 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328)); | |
16315 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329)); | |
16316 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330)); | |
16317 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331)); | |
16318 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332)); | |
16319 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333)); | |
16320 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334)); | |
16321 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335)); | |
16322 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336)); | |
16323 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337)); | |
16324 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338)); | |
16325 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339)); | |
16326 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404)); | |
16327 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340)); | |
16328 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341)); | |
16329 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342)); | |
16330 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343)); | |
16331 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344)); | |
16332 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345)); | |
16333 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346)); | |
16334 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347)); | |
16335 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348)); | |
16336 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349)); | |
16337 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450)); | |
16338 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451)); | |
16339 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452)); | |
16340 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453)); | |
16341 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454)); | |
4276dc52 | 16342 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455)); |
15afbcd0 RD |
16343 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390)); |
16344 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391)); | |
16345 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392)); | |
16346 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393)); | |
16347 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395)); | |
16348 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396)); | |
16349 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413)); | |
16350 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414)); | |
16351 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415)); | |
16352 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416)); | |
16353 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426)); | |
16354 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427)); | |
16355 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428)); | |
16356 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429)); | |
16357 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430)); | |
16358 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431)); | |
16359 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432)); | |
16360 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433)); | |
16361 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434)); | |
16362 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435)); | |
16363 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436)); | |
16364 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437)); | |
16365 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438)); | |
16366 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439)); | |
16367 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440)); | |
16368 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441)); | |
16369 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442)); | |
16370 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE)); | |
16371 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED)); | |
16372 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED)); | |
16373 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED)); | |
16374 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT)); | |
16375 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT)); | |
16376 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY)); | |
16377 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK)); | |
16378 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI)); | |
16379 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED)); | |
16380 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD)); | |
16381 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK)); | |
16382 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN)); | |
16383 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_FromInt((int)wxEVT_STC_POSCHANGED)); | |
16384 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED)); | |
16385 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION)); | |
16386 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED)); | |
16387 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART)); | |
16388 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND)); | |
16389 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG)); | |
16390 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER)); | |
16391 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP)); | |
16392 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM)); | |
16393 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK)); | |
16394 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK)); | |
16395 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK)); | |
d14a1e28 RD |
16396 | |
16397 | ||
16398 | } | |
16399 |